UGC NET Computer Science : June 2012 - Paper 2 (Solved Papers)
Question 1 |
Resources are allocated to the process on non-sharable basis is
hold and wait | |
circular wait | |
mutual exclusion | |
no pre-emption |
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 ?
- Cached memory is best suited for small loops.
- Interleaved memory is best suited for small loops
- Interleaved memory is best suited for large sequential code.
- Cached memory is best suited for large sequential code.
(i) and (iii) are true. | |
(i) and (ii) are true. | |
(iv) and (iii) are true. | |
(iv) and (ii) are true. |
Question 3 |
Consider the following page trace :
4,3, 2, 1, 4, 3, 5, 4, 3, 2, 1, 5Percentage of page fault that would occur if FIFO page replacement algorithm is used with number of frames for the JOB m = 4 will be
12 | |
10 | |
8 | |
9 |
Question 4 |
Check sum used along with each packet computes the sum of the data, where data is treated as a sequence of
Bits | |
Real numbers | |
Integer | |
Character |
Question 5 |
If an integer needs two bytes of storage, then the maximum value of a signed integer is
215 – 1 | |
215 | |
216 – 1 | |
216 |