Kerala PSC Computer Programmer Exam Questions and Answers 2015
Model Questions and Answers
A. PL/1
B. FORTRAN
C. BASIC
D. PASCAL
2.A computer assisted method for the recording and analyzing of existing or hypothetical systems is
A. Data transmission
B. Data flow
C. Data capture
D. Data processing
3.The brain of any computer system is
A. ALU
B. Memory
C. CPU
D. Control unit
4.What difference does the 5th generation computer have from other generation computers?
A. Technological advancement
B. Scientific code
C. Object Oriented Programming
D. All of the above
5.Which of the following computer language is used for artificial intelligence?
A. FORTRAN
B. PROLOG
C. C
D. COBOL
6. The part of machine level instruction, which tells the central processor what has to be done, is
A. Operation code
B. Address
C. Locator
D. Flip-Flop
7.Which of the following refers to the associative memory?
A. the address of the data is generated by the CPU
B. the address of the data is supplied by the users
C. there is no need for an address i.e. the data is used as an address
D. the data are accessed sequentially
8.To avoid the race condition, the number of processes that may be simultaneously inside their critical section is
A. 8
B. 1
C. 16
D. 0
9.A system program that combines the separately compiled modules of a program into a form suitable for execution
A. assembler
B. linking loader
C. cross compiler
D. load and go
10.Process is
A. program in High level language kept on disk
B. contents of main memory
C. a program in execution
D. a job in secondary memory
11.A default catch block catches
A. all thrown objects
B. no thrown objects
C. any thrown object that has not been caught by an earlier catch block
D. all thrown objects that have been caught by an earlier catch block
12.Format flags may be combined using
A. the bitwise OR operator (|)
B. the logical OR operator (||)
C. the bitwise AND operator (&)
D. the logical AND operator (&&)
13.The use of the break statement in a switch statement is
A. optional
B. compulsory
C. not allowed. It gives an error message
D. to check an error
14.A C++ program contains a function with the header int function(double d, char c). Which of the following function headers could be used within the same program?
A. char function(double d, char c)
B. int function(int d, char c)
C. both (a) and (b)
D. neither (a) nor (b)
15.To expose a data member to the program, you must declare the data member in the _____ section of the class
A. common
B. exposed
C. public
D. unrestricted