Table of Content

UGC NET Computer Science : June 2012 – Paper 2 (Solved Papers)


Question 1
Resources are allocated to the process on non-sharable basis is
A
hold and wait
B
no pre-emption
C
circular wait
D
mutual exclusion
Question 2
Cached and interleaved memories are ways of speeding up memory access between CPU’s and slower RAM. Which memory models are best suited (i.e. improves the performance most) for which programs ?
  1. Cached memory is best suited for small loops.
  2. Interleaved memory is best suited for small loops
  3. Interleaved memory is best suited for large sequential code.
  4. Cached memory is best suited for large sequential code.
A
(i) and (ii) are true.
B
(iv) and (ii) are true.
C
(iv) and (iii) are true.
D
(i) and (iii) are true.
Question 3
Consider the following page trace :
4,3, 2, 1, 4, 3, 5, 4, 3, 2, 1, 5
Percentage of page fault that would occur if FIFO page replacement algorithm is used with number of frames for the JOB m = 4 will be
A
9
B
12
C
8
D
10
Question 4
Check sum used along with each packet computes the sum of the data, where data is treated as a sequence of
A
Bits
B
Real numbers
C
Character
D
Integer
Question 5
If an integer needs two bytes of storage, then the maximum value of a signed integer is
A
215
B
216 – 1
C
216
D
215 – 1