Operating systems MCQ questions set 3 for competitive exams with answers



Operating systems MCQ Set - 3


1. The memory map of a multithreaded process looks similar to that of a single threaded process except that the multithreaded one has
a. a copy of the data segment per thread.
b. a stack for each thread.
c. a heap for each thread.
d. a heap and stack for each thread

Click here to view answer and explanation


2. In a thread-aware operating system, which information is no longer stored in the Process Control Block (PCB)?
a. saved registers.
b. process owner.
c. open files.
d. memory map.

Click here to view answer and explanation


3. Inverted page tables are
a. Faster than regular page tables
b. Smaller than regular page tables
c. More flexible than regular page tables
d. None of the above

Click here to view answer and explanation


4. Assume three jobs arrive at approximately the same time, but Job A arrives slightly before Job B, and Job B arrives slightly before job C. Job A requires 2 sec of CPU, Job B is 8 secs, and Job C is 7 secs. Assume a time-slice of 1 sec. Given a FIFO scheduler, what is the turnaround time of job B?
a. 0 seconds
b. 2 seconds
c. 8 seconds
d. 10 seconds

Click here to view answer and explanation


5. Consider a disk with the following characteristics; Find the number of heads for this disk.
• Number of surfaces: 8 (= 23)
• Number of tracks / surface: 512 K (= 219)
• Number of bytes / track: 8 MB (= 223 bytes)
• Number of sectors / track: 8 K (= 213)
• On-disk cache: 16 MB (= 224 bytes)
a. 1
b. 2
c. 4
d. 8

Click here to view answer and explanation



**********