C191 Operating Systems for Programmers Practice Questions - Set 2 - Part 1
Test your knowledge of data-driven decision making concepts with these practice questions. Each question includes detailed explanations to help you understand the correct answers.
Question 1: What is the purpose of the long-term scheduler in an operating system?
Question 2: In a system with demand paging, what causes a page fault?
Question 3: Which of the following is true about the First-Come, First-Served (FCFS) scheduling algorithm?
Question 4: What is a major disadvantage of the Banker’s algorithm?
Question 5: What is the purpose of the short-term scheduler?
Question 6: In Round-Robin scheduling, what happens when a process’s time quantum expires?
Question 7: Which of the following is an example of preemptive scheduling?
Question 8: What is the key advantage of dynamic linking?
Question 9: What is the purpose of a page replacement algorithm?
Question 10: Which of the following is true about the Least Recently Used (LRU) page replacement algorithm?
Question 11: Which of the following is NOT a deadlock prevention strategy?
Question 12: In segmentation, what is a segment?
Question 13: What is the primary drawback of the Best-Fit memory allocation strategy?
Question 14: What is a context switch?
Question 15: In a paging system, what is the purpose of the Translation Lookaside Buffer (TLB)?
Question 16: What is the main goal of the I/O scheduler?
Question 17: What happens during a fork() system call in Unix-based systems?
Question 18: What is a major disadvantage of contiguous memory allocation?
Question 19: In a multi-threaded environment, what does thread synchronization ensure?
Question 20: What is the primary function of the dispatcher in an operating system?
Need Guaranteed Results?
Don't want to study? Our exam support service guarantees you'll pass your OA on the first attempt. Pay only after you pass!
Get Exam Support