Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q2681: The API used to get thread priority is ________.
  • A: GetThreadPriority
  • B: SetThreadPriority
  • C: SetPriorityClass
  • D: GetPriorityClass
View Answer
A

Q2682: Thread priorities are dynamic and can change with process priority or be boosted by ________.
  • A: Windows
  • B: CPU
  • C: Kernel
  • D: Memory
View Answer
A

Q2683: The feature to enable or disable priority boosting is controlled by ________.
  • A: SetThreadPriorityBoost
  • B: SetPriorityClass
  • C: CreateProcess
  • D: GetThreadPriority
View Answer
A

Q2684: In Windows multithreading, thread priority can range from ________ to ________ relative to process priority.
  • A: -2 to +2
  • B: 0 to +5
  • C: -5 to +5
  • D: 1 to 10
View Answer
A

Q2685: Threads that are waiting, suspended, or blocked are considered ________ for scheduling.
  • A: not ready
  • B: ready
  • C: running
  • D: finished
View Answer
A

Q2686: A thread is in the running state when it is _______.
  • A: running on a processor
  • B: waiting for I/O
  • C: suspended
  • D: terminated
View Answer
A

Q2687: On a multiprocessor computer, ________ threads can be in the running state simultaneously.
  • A: more than one
  • B: only one
  • C: none
  • D: only two
View Answer
A

Q2688: A thread enters the wait state when it performs a wait on a ________ handle.
  • A: non-signaled
  • B: signaled
  • C: terminated
  • D: running
View Answer
A

Q2689: When a thread is waiting for disk or data transfer, it is commonly called ________.
  • A: blocked
  • B: running
  • C: ready
  • D: terminated
View Answer
A

Q2690: A thread is ready if it could be _______.
  • A: running
  • B: suspended
  • C: terminated
  • D: blocked
View Answer
A

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now