Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q2741: A fiber is a unit of execution scheduled by the ________.
  • A: operating system
  • B: application
  • C: hardware
  • D: processor
View Answer
B

Q2742: Fibers have independent ________, but run in the context of the thread on which they are scheduled.
  • A: stacks
  • B: mutexes
  • C: locks
  • D: processes
View Answer
A

Q2743: Fiber management occurs entirely in ________.
  • A: kernel
  • B: user space
  • C: hardware
  • D: BIOS
View Answer
B

Q2744: Fibers can be thought of as ________ threads.
  • A: heavy
  • B: lightweight
  • C: preemptive
  • D: non-concurrent
View Answer
B

Q2745: A fiber can execute on ________ thread(s) at a time.
  • A: multiple
  • B: any
  • C: only one
  • D: no
View Answer
C

Q2746: Fibers that run on different threads should avoid accessing thread-specific data from ________.
  • A: TLS
  • B: CPU registers
  • C: stack
  • D: cache
View Answer
A

Q2747: Fibers make ________ easy.
  • A: scheduling
  • B: portability
  • C: synchronization
  • D: debugging
View Answer
B

Q2748: Fibers need not wait or block on ________, unlike threads.
  • A: CPU time
  • B: file locks, mutexes, and pipes
  • C: memory allocation
  • D: I/O operations
View Answer
B

Q2749: Fibers can switch to another fiber when ________ are not available.
  • A: resources
  • B: CPU cycles
  • C: memory
  • D: threads
View Answer
A

Q2750: Fibers run as part of threads but are not ________ to any specific thread.
  • A: related
  • B: bound
  • C: dependent
  • D: linked
View Answer
B

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now