Operating Systems · Question 24 · Medium
Operating Systems question 24
A disk has cylinders 0 to 199 and the head is at cylinder 50. The request queue is 82, 170, 43, 140, 24, 16, 190. What is the total head movement (in cylinders) with Shortest Seek Time First (SSTF)?
- 208
- 642
- 332
- 314
Answer and explanation
Answer: A. 208
Explanation: SSTF order: 43, 24, 16, 82, 140, 170, 190. Movement = 7 + 19 + 8 + 66 + 58 + 30 + 20 = 208 cylinders.
Previous: How many times is "A" printed when this C program runs? Assume every fork()… · Next: A system uses 32-bit logical addresses, a page size of 4 KB and 4-byte…
Practise operating systems
Try a fresh set of operating systems questions with an explanation after every answer, free and without signing up: Operating Systems practice. Or sit a full placement mock test.
More operating systems questions
- A system has 3 page frames, all initially empty. For the page reference string…
- Process (arrival time, burst time) in ms: P1 (0, 7), P2 (2, 4), P3 (4, 1), P4…
- How many times is "A" printed when this C program runs? Assume every fork()…
- A system uses 32-bit logical addresses, a page size of 4 KB and 4-byte…
- Process (arrival time, burst time, priority) in ms: P1 (0, 5, 3), P2 (1, 3…
- A system has three resource types. Available = (1, 2, 2). Process | Allocation…
- Memory access time is 200 ns, and servicing a page fault takes 8 ms. If 1 in…
- Three processes share identical units of one resource, and each process may…
- A disk has cylinders 0 to 199 and the head is at cylinder 50, moving towards…
More technical & programming practice
Computer Networks · Software Engineering · Cloud & DevOps · GenAI Basics · Pseudo-code · C Programming · Java · Python
LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge