Operating Systems Test 2

    Question 1OS - Types of Operating Systems

    Which option correctly describes the different types of operating systems?

    Question 2OS - System Calls

    What are system calls in an operating system?

    Question 3OS - Process State Transitions

    What happens when a process moves from the Ready state to the Running state?

    Question 4OS - User-Level Threads

    Which statement best describes user-level threads (ULTs)?

    Question 5OS - FCFS Limitation

    What is a major disadvantage of FCFS scheduling?

    Question 6OS - Deadlock Prevention

    How does deadlock prevention work in operating systems?

    Question 7OS - Virtual Memory

    What is the main advantage of virtual memory?

    Question 8OS - Contiguous Allocation

    What is the main drawback of contiguous file allocation?

    Question 9OS - Peterson’s Solution

    What does Peterson’s Solution use to achieve mutual exclusion in the critical section problem?

    Question 10OS - Access Control Models

    Which access control model allows users to control permissions on their own files?

    Question 11OS - Batch Operating System

    What is a Batch Operating System, and where is it commonly used?

    Question 12OS - Examples of System Calls

    Which of the following is an example of a system call?

    Question 13OS - Process Control Block (PCB)

    What information is typically stored in a Process Control Block (PCB)?

    Question 14OS - Kernel-Level Threads

    What is the key feature of kernel-level threads (KLTs)?

    Question 15OS - Shortest Job First (SJF)

    What is the key characteristic of the Shortest Job First (SJF) scheduling algorithm?

    Question 16OS - Deadlock Avoidance

    Which algorithm is most commonly used for deadlock avoidance?

    Question 17OS - Page Table

    What is the role of a page table in paging?

    Question 18OS - Linked Allocation

    In linked file allocation, how are file blocks organized?

    Question 19OS - Peterson’s Limitations

    Why is Peterson’s Solution not widely used in modern systems?

    Question 20OS - Role-Based Access Control (RBAC)

    What is the primary advantage of Role-Based Access Control (RBAC)?