System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q2691: The thread moves through the ________ state before entering the ready state.
- A: standby
- B: running
- C: waiting
- D: terminated
View Answer
A
Q2692: The scheduler runs the highest-priority ready thread when a ________ becomes available.
- A: processor
- B: thread
- C: disk
- D: memory
View Answer
A
Q2693: If several threads have the same high priority, the scheduler runs the one that has been in the ready state for the ________.
- A: longest time
- B: shortest time
- C: medium time
- D: least time
View Answer
A
Q2694: When a thread’s time slice expires without waiting, the executive moves the thread from running to ________.
- A: ready
- B: waiting
- C: terminated
- D: suspended
View Answer
A
Q2695: The executive places a thread in the ready state as soon as the appropriate handles are ________.
- A: signaled
- B: blocked
- C: terminated
- D: suspended
View Answer
A
Q2696: A thread can be suspended regardless of its ________.
- A: state
- B: priority
- C: CPU usage
- D: memory usage
View Answer
A
Q2697: A suspended ready thread ________ be run by the scheduler.
- A: will not
- B: will
- C: sometimes
- D: always
View Answer
A
Q2698: If a running thread is suspended, it is placed in the ________ state.
- A: ready
- B: running
- C: waiting
- D: terminated
View Answer
A
Q2699: A thread is in the terminated state after it ________.
- A: terminates
- B: starts
- C: waits
- D: suspends
View Answer
A
Q2700: A terminated thread remains in the terminated state as long as there are any open ________ on it.
- A: handles
- B: processes
- C: threads
- D: schedulers
View Answer
A