Sunday, September 12, 2010

Objective Type Computer Science Questions for Public Sector Recruitment Exam

1. The problem of fragmentation arises in
(a) static storage Allocation
(b) stack allocation of storage
(c) stack allocation with dynamic binding
(d) Heap allocation

Ans: (d)

2. The process of organizing the memory into two banks to allow 8 and 16-bit data operation is called

a. Bank Switching
b. Indexed Mapping
c. Two-way memory interleaving
d. Memory segmentation

Ans: (c)

3. Memory refreshing may be done

a. by the CPU that contains a special regress counter, only
b. by an external refresh controller, only
c. either by the CPU or by an external refresh controller
d. none of the above

Ans: (c)

4. The use of hardware in memory management is through segment relocation and protection is

a. to perform address translation to reduce size of the memory
b. to perform address translation to reduce execution time overhead
c. both (a) and (b)
d. none of the above

Ans: (c)

5. Thrashing occurs when

a. too much of the time is spent in waiting to swap between memory and disk
b. two processes try to access the same resource
c. the size of the data to be inserted is less than the size of a page in memory
d. the processor's mapping table discovers that the program is trying to use an address that doesn't currently exist

Ans: (a)

No comments: