System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q2661: In a multitasking system, processes compete for resources like _______.
- A: processor and memory
- B: disk space
- C: network bandwidth
- D: power supply
View Answer
A
Q2662: The Windows kernel always runs the ________ priority thread that is ready for execution.
- A: highest
- B: lowest
- C: average
- D: normal
View Answer
A
Q2663: A thread is not ready if it is ________.
- A: waiting
- B: running
- C: executing
- D: ready
View Answer
A
Q2664: Threads receive priority relative to their ________.
- A: process priority classes
- B: CPU speed
- C: thread ID
- D: memory size
View Answer
A
Q2665: Process priority classes are set when processes are created using the ________ API.
- A: CreateProcess
- B: CreateThread
- C: SetPriorityClass
- D: GetPriorityClass
View Answer
A
Q2666: The lowest priority process class is ________.
- A: IDLE_PRIORITY_CLASS
- B: NORMAL_PRIORITY_CLASS
- C: HIGH_PRIORITY_CLASS
- D: REALTIME_PRIORITY_CLASS
View Answer
A
Q2667: The process class for time-critical tasks is called ________.
- A: HIGH_PRIORITY_CLASS
- B: IDLE_PRIORITY_CLASS
- C: NORMAL_PRIORITY_CLASS
- D: REALTIME_PRIORITY_CLASS
View Answer
A
Q2668: The highest possible process priority class is ________.
- A: REALTIME_PRIORITY_CLASS
- B: HIGH_PRIORITY_CLASS
- C: NORMAL_PRIORITY_CLASS
- D: IDLE_PRIORITY_CLASS
View Answer
A
Q2669: The API to set process priority class is ________.
- A: SetPriorityClass
- B: GetPriorityClass
- C: SetThreadPriority
- D: GetThreadPriority
View Answer
A
Q2670: The API to get process priority class is ________.
- A: GetPriorityClass
- B: SetPriorityClass
- C: SetThreadPriority
- D: GetThreadPriority
View Answer
A