Question 26
What formula defines Turnaround Time (TAT) for a process?
Option C is correct. Turnaround Time (TAT) is the total elapsed time from process submission (Arrival Time) to its completion: Turnaround Time = Completion Time - Arrival Time.
What formula defines Turnaround Time (TAT) for a process?
Option C is correct. Turnaround Time (TAT) is the total elapsed time from process submission (Arrival Time) to its completion: Turnaround Time = Completion Time - Arrival Time.
What formula defines Waiting Time (WT) for a process?
Option B is correct. Waiting Time (WT) is the total time a process spends waiting in the ready queue: Waiting Time = Turnaround Time - Burst Time.
Which POSIX C API function is used to create a new thread inside a C program?
Option D is correct. pthread_create(&thread_id, &attr, start_routine, arg) is the standard POSIX function used to initialize and launch a new execution thread within a C process.
What is the primary role of the Short-Term Scheduler (CPU Scheduler)?
Option C is correct. The Short-Term Scheduler (CPU Scheduler) executes very frequently (every few milliseconds) to select one process from the ready queue in memory and dispatch it to the CPU for execution.
What is 'Degree of Multiprogramming'?
Option C is correct. Degree of Multiprogramming refers to the total count of active processes currently held in main memory (RAM) competing for CPU and I/O execution.