System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q2751: Fibers are ________ scheduled, unlike threads.
- A: preemptively
- B: cooperatively
- C: randomly
- D: simultaneously
View Answer
B
Q2752: Windows OS is ________ of fibers.
- A: fully aware
- B: partially aware
- C: unaware
- D: responsible for
View Answer
C
Q2753: Fibers are controlled and managed by ________.
- A: the kernel
- B: the OS scheduler
- C: fiber DLL
- D: hardware
View Answer
C
Q2754: Fibers can be used as ________ to switch between related tasks.
- A: co-routines
- B: processes
- C: threads
- D: interrupts
View Answer
A
Q2755: In threading, applications have ________ control over which thread executes next.
- A: full
- B: no
- C: partial
- D: exclusive
View Answer
B
Q2756: Major software platforms claim that fibers offer performance ________.
- A: disadvantages
- B: penalties
- C: advantages
- D: complexities
View Answer
C
Q2757: Which API function must a thread call to enable fiber operation?
- A: ConvertThreadToFiber()
- B: CreateFiber()
- C: SwitchToFiber()
- D: DeleteFiber()
View Answer
A
Q2758: ConvertThreadToFiberEx() is an alternative to ________.
- A: ConvertThreadToFiber()
- B: GetCurrentFiber()
- C: GetFiberData()
- D: SwitchToFiber()
View Answer
A
Q2759: After calling ConvertThreadToFiber(), the thread contains a ________.
- A: fiber
- B: process
- C: handle
- D: thread data
View Answer
A
Q2760: The pointer returned by ConvertThreadToFiber() can be used like ________.
- A: thread data
- B: hardware register
- C: file handle
- D: process ID
View Answer
A