Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q2781: The fiber management scheme discussed is controlled by the ________.
  • A: application
  • B: operating system
  • C: hardware
  • D: kernel
View Answer
A

Q2782: SwitchToFiber() requires the address of the fiber to which it will ________.
  • A: switch
  • B: create
  • C: delete
  • D: pause
View Answer
A

Q2783: The primary fiber after switching can switch to ________ fibers.
  • A: multiple
  • B: only one
  • C: zero
  • D: none
View Answer
A

Q2784: The scheme described ends when the ________ is closed.
  • A: thread
  • B: fiber
  • C: process
  • D: application
View Answer
A

Q2785: In the fiber scheduling scheme, fiber 1 acts as a ________ in Master-Slave scheduling.
  • A: slave
  • B: master
  • C: peer
  • D: scheduler
View Answer
A

Q2786: What is a primary reason for thread synchronization?
  • A: To increase memory
  • B: To improve UI design
  • C: To ensure correct data access
  • D: To create more threads
View Answer
C

Q2787: Threads enable ________ processing in multiple processors.
  • A: Sequential
  • B: Manual
  • C: Concurrent
  • D: Serial
View Answer
C

Q2788: In the Boss-worker model, the boss thread waits for ________ to finish.
  • A: System call
  • B: Worker threads
  • C: CPU cycle
  • D: IO operation
View Answer
B

Q2789: Synchronization is required when threads use ________ data.
  • A: Shared
  • B: Separate
  • C: Private
  • D: Isolated
View Answer
A

Q2790: Two threads must not modify the same data ________.
  • A: One after another
  • B: At the same time
  • C: During debugging
  • D: In parallel execution
View Answer
B

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now