(Conceptual) Why is Shortest Job First (SJF) difficult to implement in real-time
Operating Systems?
10Multiple Choice
(Conceptual) What is the Turnaround Time?
11Multiple Choice
(Comparison) What is the difference between CPU-bound and I/O-bound
processes?
12Multiple Choice
(Scenario-Based) If the time quantum in Round Robin is too small (e.g., 1
microsecond), what happens?
13Multiple Choice
(Conceptual) In Multilevel Queue Scheduling, why are processes moved between
queues?
14Multiple Choice
(Calculation) Process A arrives at t=0, Burst=5. Process B arrives at t=1, Burst=2.
Using SRTF (Preemptive SJF), at what time does Process A complete?
15Multiple Choice
(Conceptual) Which scheduling algorithm requires the most complex hardware
support?
1Multiple Choice
(Conceptual) What is the primary advantage of Kernel-Level Threads over User-Level
Threads?
2Multiple Choice
(Comparison) Which of the following is shared by all threads within the same process?
3Multiple Choice
(Scenario-Based) Why is context switching between Threads significantly faster than
switching between Processes? •
4Multiple Choice
(Conceptual) In the Many-to-One threading model, what happens if one thread
performs a blocking I/O operation?
5Multiple Choice
(Conceptual) Which structure is unique to each individual thread?
6Multiple Choice
(Code/Logic) Looking at this pseudo-code, what is the output of the variable counter
if two threads increment it concurrently?
thread_race.c
// Shared variable
int counter = 0;
void thread_func() {
int temp = counter;
7Multiple Choice
(Conceptual) What is Thread Cancellation?
8Multiple Choice
(Comparison) What is a Green Thread?
9Multiple Choice
(Conceptual) What are Thread-Local Variables (or TLS)?
10Multiple Choice
(Conceptual) In the Many-to-Many threading model, what is the role of the LWP
(Lightweight Process)?
1Multiple Choice
(Conceptual) What is the primary requirement for a solution to the Critical Section
Problem?
2Multiple Choice
(Scenario-Based) Which of the following is a classic problem used to demonstrate the
need for synchronization in Producer-Consumer systems?
3Multiple Choice
(Code-Tracing) In a Semaphore implementation, what does the wait() operation do
when the value is 0?
4Multiple Choice
(Conceptual) What is a Monitor in synchronization?
17Multiple Choice
Which condition is NOT one of the four Coffman conditions necessary for a system deadlock to occur?
19Multiple Choice
What is the primary difference between a process and a thread in modern operating systems?