Operating System Quiz (Set 10) Operating System (Set 10) 1 / 10 What is the role of a device driver in operating systems? To manage communication between hardware devices and the CPU To allocate memory to different processes To provide an abstract representation of an opened file To switch the CPU from one process to another and save the state of the current process 2 / 10 What is the purpose of a system call in operating systems? To allocate memory to different processes To provide an abstract representation of an opened file To provide a way for user programs to request services from the operating system To switch the CPU from one process to another and save the state of the current process 3 / 10 What is the role of a dirty bit in page replacement algorithms? To indicate whether a page has been modified since it was last loaded into memory To determine the priority of a process To track the number of times a page has been accessed To manage communication between hardware devices and the CPU 4 / 10 What is the purpose of a resident set size (RSS) in memory management? To manage communication between hardware devices and the CPU To determine the priority of a process To represent the amount of time a process spends executing before it's preempted and moved to the ready queue To represent the portion of a process's memory that is currently in main memory 5 / 10 What is the role of a logical OR operator in process synchronization? To synchronize the execution of multiple processes by ensuring that all of them reach a certain point before proceeding To determine the priority of a process To manage communication between hardware devices and the CPU To coordinate processes by allowing any one of them to proceed if a specific condition is met 6 / 10 What is the purpose of a preemptive scheduling algorithm? To manage communication between hardware devices and the CPU To allocate a fixed time slice to each process in a cyclic order, ensuring fairness To synchronize and control access to shared resources among multiple processes To provide an abstract representation of an opened file 7 / 10 What is the role of a page table in memory management? To store all the necessary information about a process, including its state, priority, and register values To represent a location in the address space of a process To translate virtual addresses to physical addresses To determine the priority of a process 8 / 10 What is the purpose of a demand-paging mechanism in virtual memory? To provide an abstract representation of an opened file To determine the priority of a process To dynamically load pages into main memory only when they are needed To manage communication between hardware devices and the CPU 9 / 10 What is the role of a file allocation table (FAT) in file systems? To store metadata and information about a file To manage communication between hardware devices and the CPU To manage the storage and retrieval of files To keep track of the allocation status of each block in a storage device 10 / 10 What is the purpose of a semaphore in process synchronization? To manage communication between hardware devices and the CPU To allocate memory to different processes To ensure that only one process at a time can access a shared resource To represent a location in the address space of a process Your score isThe average score is 0% 0% Restart quiz