SPSC Lecturer Computer Science Past Paper
02-02-2011

1- Which of the following data structure can't store the non-homogeneous data elements?

A. Arrays
B. Records
C. Pointers
D. None of these

Answer : A. Arrays

2- Which of the following file organization is most efficient for a file with a high degree of file activity?

A. Sequential
B. ISAM
C. VSAM
D. All of these

Answer : C. VSAM

3- In communication satellite, transponders receive and transmit radio signals at a prescribed frequency range, transponders are known as:

A. Multiple repeater
B. Multiple modulator
C. Multiple detector
D. Multiple station

Answer : A. Multiple repeater

4- An information system that responds immediately to the need of physical system is called:

A. advertisement
B. real time system
C. online system
D. inline system

Answer : B. real time system

5- Which of the following TCP/IP protocol is used to monitor IP gateway and the network to which they attach:

A. SMTP
B. SGMP
C. FTP
D. None of these

Answer : B. SGMP

6- Virtual Memory is typically located?

A. In RAM
B. In CPU
C. On Hard Disk
D. In Flash card

Answer : C. On Hard Disk

7- While designing a website, which of the following factors an internet market should pay attention to?

A. Easy site navigation (i.e. Site map)
B. Frequently asked questions (FAQs) section
C. Privacy policy
D. All of these

Answer : D. All of these

8- The infix notation (A + B ↑ D) / (E-F) + G can be written in prefix notation:

A. + ↑ + A/BD-EFG
B. ↑ + + A/BD-EFG
C. +/-B ↑ AD-EFG
D. +/- A ↑ BD-EFG

Answer : D. +/- A ↑ BD-EFG

9- In a binary search tree, element at the left of parent node must be:

A. greater than or equal to parent node
B. less than or equal to parent node
C. less than parent node
D. greater than parent node

Answer : C. less than parent node

10- In the following function definition
int ADD(int x, int y)
{int c = x+y; return c; }
The variables x and y are called:

A. Global variables
B. Actual parameters
C. Formal parameters
D. None of these

Answer : C. Formal parameters

11- Handshaking is a:

A. Smooth running of a program
B. Context-free language
C. A programming language with self correcting codes
D. Synchronization of two communicating devices

Answer : D. Synchronization of two communicating devices

12- A locked file can be:

A. accessed by only one user
B. modified by users with the correct password
C. is used to hide sensitive information
D. both B and C

Answer : A. accessed by only one user

13- What is the last step in data encapsulation?

A. User information is converted into data
B. Segments are converted into datagrams and packets
C. Frames are put into bits
D. Data is converted into segments

Answer : C. Frames are put into bits

14- The network portion of an address typically represents a:

A. Router
B. Ethernet MAC address
C. Computer
D. Segment

Answer : D. Segment

15- ftp best matches with which OSI layer?

A. Physical
B. Transport
C. Datalink
D. Application

Answer : D. Application

16- Which one of these type of computers are used primarily for advanced scientific computations?

A. Mainframes
B. Super Computers
C. Micro Computers
D. Personal Computers

Answer : B. Super Computers

17- Which one executes the code one line a time?

A. Interpreter
B. Parser
C. Compiler
D. Haskell

Answer : A. Interpreter

18- Which one is not a type of programming language?

A. Functional
B. Random
C. Modular
D. Object-Oriented

Answer : B. Random

19- If integer needs two bytes of storage, then maximum value of an unsigned integer is:

A. 2¹⁶⁻¹
B. 2¹⁵⁻¹
C. 2¹⁶
D. 2¹²

Answer : A. 2¹⁶⁻¹

20- Choose the best answer. Prior to using pointer variable:

A. It should be initialized
B. It should be declared
C. It should be both declared and initialized
D. None of these

Answer : C. It should be both declared and initialized

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top