General OS Intermediate Process and Memory Management Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Questions: 20 | Updated: Aug 14, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. Which scheduling algorithm minimizes average waiting time for processes?

Explanation

Shortest Job First (SJF) schedules the process with the smallest CPU burst first. This reduces the time short processes spend waiting behind longer ones and, when burst times are known, produces the minimum average waiting time among the listed algorithms.

Submit
Please wait...
About This Quiz
General OS Intermediate Process and Memory Management Quiz - Quiz

This quiz evaluates your understanding of core operating systems concepts, focusing on process management, memory organization, and system resource allocation. Designed for college-level learners, it covers process states, scheduling algorithms, virtual memory, paging, and synchronization mechanisms essential for OS design and implementation.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. The OS maintains a ____ for each process to track its resource allocation and execution state.

Explanation

A process control block (PCB) is the operating system’s record for an individual process. It stores details such as the process’s current state, program counter, CPU registers, scheduling information, memory details, and allocated resources. The OS uses this information to manage the process and resume its execution after interruptions or context switches.

Submit

3. In preemptive scheduling, the OS can interrupt a running process to allocate CPU time to another. True or false?

Explanation

In preemptive scheduling, the operating system can pause a running process before it finishes and assign the CPU to another process. This may happen when a time slice expires or a higher-priority process becomes ready, helping the system share CPU time effectively.

Submit

4. What is thrashing in virtual memory?

Explanation

Thrashing occurs when a system spends more time swapping pages between memory and disk than executing processes. Frequent page faults trigger heavy disk I/O, often because processes lack enough physical memory to keep their actively used pages resident.

Submit

5. The working set model in virtual memory aims to keep frequently used pages ____ to minimize page faults.

Explanation

The working set model keeps a process’s recently and frequently used pages in physical memory. This makes them readily available when needed, reducing page faults and avoiding the delays associated with fetching pages from secondary storage.

Submit

6. Which memory allocation strategy assigns the smallest available partition that fits a process?

Explanation

Best Fit scans the available partitions and assigns the process to the smallest one that is large enough to accommodate it. This leaves the least unused space in the chosen partition, though repeated allocations can create small fragments that are difficult to use later.

Submit

7. In Round Robin scheduling, the time slice allocated to each process is known as the ____.

Explanation

In Round Robin scheduling, each process receives the CPU for a fixed interval before being paused and placed at the end of the ready queue. This interval is called the **time quantum**.

Submit

8. A semaphore with an initial value of 1 used to protect a critical section is called a ____.

Explanation

A semaphore initialized to 1 allows one process or thread at a time to enter the critical section. It provides mutual exclusion, so this type of semaphore is called a mutex.

Submit

9. What is internal fragmentation in memory management?

Explanation

Internal fragmentation occurs when a process is allocated a memory block larger than it needs. The leftover space remains unused inside that allocated block and cannot be assigned to another process, even though it is technically part of the allocation. This differs from external fragmentation, which involves gaps between allocated blocks.

Submit

10. In virtual memory, the Translation Lookaside Buffer (TLB) stores ____ mappings.

Explanation

A Translation Lookaside Buffer (TLB) is a small, fast cache used by the memory-management unit. It stores recently used mappings from virtual memory addresses or pages to their corresponding physical memory addresses or frames, allowing address translation without repeatedly consulting the page table.

Submit

11. What is the primary difference between a process and a thread?

Explanation

A process runs in its own isolated memory space, so processes generally cannot access each other’s data directly. Threads are smaller execution units within a process and share that process’s memory and resources, allowing them to communicate more easily but also requiring care to avoid conflicts.

Submit

12. Context switching involves saving and restoring the ____ of a process.

Explanation

During a context switch, the operating system saves the running process’s state, such as its CPU registers, program counter, and stack information. It then restores the saved state of another process so that process can resume execution from where it previously stopped.

Submit

13. A deadlock can occur when processes hold resources and wait for others. Which condition is NOT required for deadlock?

Explanation

Deadlock requires mutual exclusion, hold and wait, no preemption, and circular wait. Since resources must be non-preemptible for deadlock to occur, **preemption** is not a required condition; it can instead help prevent deadlock by allowing resources to be taken from waiting processes.

Submit

14. What synchronization primitive is used to protect a critical section accessed by multiple processes?

Explanation

A semaphore controls access to a shared resource by coordinating processes. It allows only the permitted number of processes to enter a critical section at once, helping prevent race conditions and inconsistent data.

Submit

15. The LRU (Least Recently Used) page replacement algorithm evicts the page that ____ recently.

Explanation

LRU keeps track of when each page was last accessed. When a replacement is needed, it evicts the page that has gone the longest without being used—that is, the page that was least recently used.

Submit

16. In memory management, what is a page fault?

Explanation

A page fault occurs when a program accesses a page that is not currently loaded in physical memory. The operating system handles the resulting interrupt by locating the page on storage and bringing it into RAM, allowing the program to continue.

Submit

17. What is the primary advantage of paging over segmentation?

Explanation

Paging divides memory into fixed-size pages and frames, so a process’s pages can be placed in any available frames rather than needing one contiguous block. This avoids external fragmentation, which occurs when free memory is scattered into small gaps. Paging can still cause internal fragmentation, especially in the final page.

Submit

18. Virtual memory allows programs to use more memory than physically available by using ____.

Explanation

Virtual memory extends the memory available to programs by temporarily storing data on disk when it does not fit in physical RAM. This disk space acts as an extension of main memory.

Submit

19. Which process state represents a process waiting for an I/O operation to complete?

Explanation

A process enters the Waiting state when it cannot continue until an event occurs, such as an I/O operation completing. Once the operation finishes, the process can move back to the Ready state and wait for the CPU to execute it.

Submit

20. In process scheduling, what does the FCFS algorithm stand for?

Explanation

FCFS stands for “First Come, First Served.” It schedules processes in the order they arrive in the ready queue, so the process that arrives first gets the CPU first.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Which scheduling algorithm minimizes average waiting time for...
The OS maintains a ____ for each process to track its resource...
In preemptive scheduling, the OS can interrupt a running process to...
What is thrashing in virtual memory?
The working set model in virtual memory aims to keep frequently used...
Which memory allocation strategy assigns the smallest available...
In Round Robin scheduling, the time slice allocated to each process is...
A semaphore with an initial value of 1 used to protect a critical...
What is internal fragmentation in memory management?
In virtual memory, the Translation Lookaside Buffer (TLB) stores ____...
What is the primary difference between a process and a thread?
Context switching involves saving and restoring the ____ of a process.
A deadlock can occur when processes hold resources and wait for...
What synchronization primitive is used to protect a critical section...
The LRU (Least Recently Used) page replacement algorithm evicts the...
In memory management, what is a page fault?
What is the primary advantage of paging over segmentation?
Virtual memory allows programs to use more memory than physically...
Which process state represents a process waiting for an I/O operation...
In process scheduling, what does the FCFS algorithm stand for?
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!