Operating Systems Test 3

    Question 1OS - Time-Sharing Operating System

    What is the key advantage of a time-sharing operating system?

    Question 2OS - Modes of Operation

    What are the two fundamental modes of operation in modern operating systems?

    Question 3OS - Role of PCB in Context Switching

    How does the PCB help during context switching?

    Question 4OS - Advantages of Multithreading

    Which of the following is a key advantage of multithreading in operating systems?

    Question 5OS - Preemptive vs Non-Preemptive SJF

    How does preemptive SJF (also known as Shortest Remaining Time First, SRTF) differ from non-preemptive SJF?

    Question 6OS - Safe State Concept

    In deadlock avoidance, what does a safe state mean?

    Question 7OS - FIFO Page Replacement

    In FIFO page replacement, how is a page selected for replacement?

    Question 8OS - Indexed Allocation

    What is the main advantage of indexed file allocation?

    Question 9OS - Semaphores

    What are semaphores used for in operating systems?

    Question 10OS - Malware Types

    Which of the following correctly matches malware with its primary characteristic?

    Question 11OS - Real-Time Operating System (RTOS)

    What defines a Real-Time Operating System (RTOS)?

    Question 12OS - Kernel Mode Characteristics

    Which of the following best describes kernel mode?

    Question 13OS - Context Switching Definition

    What is context switching in process management?

    Question 14OS - Disadvantages of User-Level Threads

    What is the major limitation of user-level threads?

    Question 15OS - Priority Scheduling

    How does priority scheduling determine which process executes next?

    Question 16OS - Deadlock Detection

    How does a system typically perform deadlock detection?

    Question 17OS - Page Faults

    What happens when a page fault occurs?

    Question 18OS - Directory Structures

    Which of the following directory structures allows the same file to appear in multiple directories without duplication of data?

    Question 19OS - Types of Semaphores

    Which of the following correctly describes the two types of semaphores?

    Question 20OS - Malware Protection

    Which method is most effective for preventing zero-day malware attacks?