Threads, CPU scheduling algorithms, deadlock characterization and handling, memory management (paging, segmentation, demand paging) and storage management (RAID, disk scheduling). - Question Bank
1. Which of the following RAID levels provides the best read performance?
2. Which of the following memory management techniques can lead to external fragmentation?
3. A 'deadlock' is a situation where:
4. In the context of threads, a 'mutex' is primarily used for:
5. Which of the following is a mechanism used to implement virtual memory?
6. Virtual memory is a memory management technique that:
7. Which RAID level offers good performance and fault tolerance using parity, but requires at least three disks?
8. The C-SCAN (Circular-SCAN) disk scheduling algorithm differs from SCAN by:
9. What is a potential disadvantage of the SSTF algorithm?
10. In the SCAN disk scheduling algorithm, the disk head:
11. The SSTF disk scheduling algorithm selects the request with the:
12. Which disk scheduling algorithm services requests in the order they arrive?
13. What is the primary goal of disk scheduling?
14. Which RAID level combines striping and mirroring?
15. RAID 0 is known for:
16. In RAID levels, which level provides mirroring for fault tolerance?
17. RAID stands for:
18. Which of the following is a characteristic of storage management?
19. What is 'internal fragmentation'?
20. Which memory management scheme allows a process to be non-contiguous in memory?
21. In demand paging, when a page fault occurs, the operating system needs to:
22. What is the main disadvantage of segmentation?
23. Which memory management technique divides a program into logical units of varying sizes?
24. What is the primary advantage of paging?
25. The FIFO page replacement algorithm:
26. Which page replacement algorithm aims to minimize the number of page faults by replacing the page that has not been used for the longest period?
27. A 'page fault' occurs when:
28. What is 'demand paging'?
29. Which of the following is a strategy for deadlock handling?
30. What is the main goal of deadlock avoidance?
31. The Banker's algorithm is primarily used for:
32. Which of the following is a method for deadlock prevention?
33. What does the 'Circular Wait' condition imply?
34. The 'Hold and Wait' condition for deadlock means:
35. Which of the following is NOT a necessary condition for a deadlock to occur?
36. What is 'starvation' in the context of CPU scheduling?
37. In Priority Scheduling, a process with a higher priority number typically means:
38. What is the 'time quantum' in the Round Robin scheduling algorithm?
39. Which scheduling algorithm is known for its fairness and is often used in time-sharing systems?
40. In Shortest Remaining Time First (SRTF), if a new process arrives with a CPU burst length shorter than the remaining time of the currently executing process, what happens?
41. What is the main drawback of the First-Come, First-Served (FCFS) scheduling algorithm?
42. Which CPU scheduling algorithm aims to minimize the average waiting time?
43. In the context of CPU scheduling, what is 'preemption'?
44. What is the main disadvantage of the many-to-one threading model?
45. Which threading model maps multiple user threads to a single kernel thread?
46. What is a major advantage of using kernel-level threads (KLT) over user-level threads?
47. In a user-level threads (ULT) model, thread management is handled by:
48. Which of the following is NOT a typical state of a thread?
49. What is the primary purpose of a thread in an operating system?