System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q2671: ABOVE_NORMAL_PRIORITY_CLASS is ________ HIGH_PRIORITY_CLASS.
- A: below
- B: above
- C: same
- D: unrelated
View Answer
A
Q2672: BELOW_NORMAL_PRIORITY_CLASS is ________ IDLE_PRIORITY_CLASS.
- A: above
- B: below
- C: same
- D: unrelated
View Answer
A
Q2673: PROCESS_MODE_BACKGROUND_BEGIN lowers the priority of a process and its threads for ________.
- A: background work
- B: foreground work
- C: system services
- D: kernel tasks
View Answer
A
Q2674: PROCESS_MODE_BACKGROUND_END ________ the process priority to its previous value.
- A: restores
- B: lowers
- C: ignores
- D: removes
View Answer
A
Q2675: Thread priorities can be set relative to the process base priority by ± ________ points.
- A: 2
- B: 1
- C: 3
- D: 5
View Answer
A
Q2676: The symbolic name for the lowest relative thread priority is ________.
- A: THREAD_PRIORITY_LOWEST
- B: THREAD_PRIORITY_HIGHEST
- C: THREAD_PRIORITY_NORMAL
- D: THREAD_PRIORITY_IDLE
View Answer
A
Q2677: THREAD_PRIORITY_TIME_CRITICAL has the value 15 or 31 if the process class is ________.
- A: REALTIME_PRIORITY_CLASS
- B: IDLE_PRIORITY_CLASS
- C: NORMAL_PRIORITY_CLASS
- D: HIGH_PRIORITY_CLASS
View Answer
A
Q2678: THREAD_PRIORITY_IDLE has the value 1 or 16 for ________ process classes.
- A: REALTIME_PRIORITY_CLASS
- B: NORMAL_PRIORITY_CLASS
- C: HIGH_PRIORITY_CLASS
- D: IDLE_PRIORITY_CLASS
View Answer
A
Q2679: THREAD_MODE_BACKGROUND_BEGIN is similar to ________.
- A: PROCESS_MODE_BACKGROUND_BEGIN
- B: SetThreadPriority
- C: SetPriorityClass
- D: CreateProcess
View Answer
A
Q2680: The API used to set thread priority is ________.
- A: SetThreadPriority
- B: GetThreadPriority
- C: SetPriorityClass
- D: GetPriorityClass
View Answer
A