mcqs from operating system set 51-75

51. What is the primary role of the dispatcher in the operating system?

a) To load programs into memory
b) To handle process synchronization
c) To switch the CPU from one process to another
d) To schedule I/O devices
Answer: c


52. Which type of operating system is designed for embedded devices?

a) Real-Time Operating System
b) Distributed Operating System
c) Batch Operating System
d) Time-Sharing Operating System
Answer: a


53. What is the main purpose of a buffer in operating systems?

a) To store temporary data during processing
b) To manage memory fragmentation
c) To allocate memory for processes
d) To store the operating system kernel
Answer: a


54. In which situation is demand paging used?

a) When all pages are preloaded into memory
b) When pages are loaded only when needed
c) When processes are swapped entirely
d) When processes require real-time execution
Answer: b


55. Which of the following is an example of an interrupt-driven I/O system?

a) Programmed I/O
b) Polling
c) DMA (Direct Memory Access)
d) Keyboard input
Answer: d


56. What is meant by process starvation?

a) When processes are terminated prematurely
b) When low-priority processes are indefinitely delayed
c) When processes run out of memory
d) When processes cannot access the CPU
Answer: b


57. Which of the following is an advantage of multilevel queue scheduling?

a) Easy to implement
b) Better CPU utilization by separating processes based on priority
c) No overhead for context switching
d) Simple priority-based scheduling
Answer: b


58. What does a page replacement algorithm do?

a) Replaces processes in the CPU
b) Determines which memory page to swap out when memory is full
c) Allocates additional memory to processes
d) Handles file system organization
Answer: b


59. Which of these algorithms uses the "least recently used" concept?

a) FIFO
b) LRU
c) Optimal
d) SCAN
Answer: b


60. Which of the following is used to recover from deadlock?

a) Priority scheduling
b) Resource allocation graph
c) Killing one or more processes
d) Increasing CPU cycles
Answer: c


61. A zombie process is one that:

a) Is waiting for resources
b) Has completed execution but still has an entry in the process table
c) Is terminated by the user
d) Has been preempted by the operating system
Answer: b


62. What does “fork bomb” refer to?

a) A type of kernel crash
b) A process that creates an unlimited number of child processes
c) A malware program in operating systems
d) An I/O scheduling algorithm
Answer: b


63. What is the primary goal of I/O scheduling?

a) To maximize CPU utilization
b) To allocate memory for processes
c) To improve overall I/O system performance
d) To handle page faults
Answer: c


64. Which of these is NOT a valid memory management technique?

a) Paging
b) Segmentation
c) Demand Paging
d) Job Scheduling
Answer: d


65. In Linux, what is the init process?

a) The parent of all processes
b) A scheduling algorithm
c) A file system manager
d) A kernel module
Answer: a


66. Which of these file systems is used in Linux?

a) NTFS
b) FAT32
c) ext4
d) HFS+
Answer: c


67. What is the primary function of a semaphore in an operating system?

a) To prevent unauthorized access to memory
b) To synchronize access to shared resources
c) To manage I/O devices
d) To allocate CPU cycles
Answer: b


68. In a time-sharing system, the time allocated to each task is called:

a) Turnaround time
b) Waiting time
c) Response time
d) Time quantum
Answer: d


69. The concept of "working set" is used in:

a) Deadlock detection
b) CPU scheduling
c) Memory management
d) Disk scheduling
Answer: c


70. Which of the following best describes a soft real-time system?

a) Tasks must meet strict deadlines
b) Tasks have relaxed deadline requirements
c) System focuses on batch processing
d) No deadlines exist for tasks
Answer: b


71. What does DMA stand for?

a) Direct Machine Access
b) Direct Memory Allocation
c) Direct Memory Access
d) Disk Management Algorithm
Answer: c


72. In operating systems, the term "throughput" refers to:

a) The amount of CPU time used by a process
b) The number of processes completed in a unit of time
c) The time taken for a process to complete
d) The maximum memory allocated to a process
Answer: b


73. What is the main function of the command interpreter in an operating system?

a) To translate high-level code to machine code
b) To handle system calls
c) To interpret user commands and pass them to the operating system
d) To execute programs in kernel mode
Answer: c


74. Which of the following is an example of a hybrid kernel?

a) Linux
b) Windows NT
c) Unix
d) DOS
Answer: b


75. In a RAID system, which level is known for providing both striping and parity?

a) RAID 0
b) RAID 1
c) RAID 3
d) RAID 5
Answer: d

Previous Post Next Post

نموذج الاتصال