Operating systems MCQ questions set 4 for competitive exams with answers explained



Operating systems MCQ Set - 4



1. Consider a disk with the following characteristics; Find the size of each sector of the given 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 KB
b. 2 KB
c. 4 KB
d. 8 KB

Click here to view answer and explanation


2. Suppose you had a computer that supported virtual memory and had 32-bit virtual addresses and 4KB (212 byte) pages. If a process actually uses 1024 (210) pages of its virtual address space, how much space would be occupied by the page table for that process if a single-level page table was used? Assume each page table entry occupies 4 bytes.
a. 2 MB
b. 4 MB
c. 8 MB
d. None of the above

Click here to view answer and explanation


3. A CPU burst is
a. an example of priority inversion where a low priority process gets access to the CPU.
b. a temporary increase in the priority of a process to ensure that it gets the CPU.
c. an unexpected increase in a process' need for computation.
d. the period of time that a process uses the processor between I/O requests.

Click here to view answer and explanation


4. Compared to a non-preemptive scheduler, a preemptive scheduler can move processes from the:
a. running to the blocked state.
b. ready to the running state.
c. blocked to the ready state.
d. running to the ready state.

Click here to view answer and explanation


5. The main advantage of DMA is that it
a. Increases the speed of the CPU
b. Increases the speed of the data bus
c. Increases the performance of the system by allowing more things to happen at once

Click here to view answer and explanation

********