Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q3281: Using a CriticalSection around wait calls ensures that the execution remains _______ during waits.
  • A: unsynchronized
  • B: atomic
  • C: parallel
  • D: interrupted
View Answer
B

Q3282: In semaphore limitations, the critical issue is that multiple wait calls may not execute as a _______ operation.
  • A: serial
  • B: parallel
  • C: atomic
  • D: locked
View Answer
C

Q3283: Threads may enter a deadlock-like state if wait calls are _______ and thread switching occurs between them.
  • A: sequential
  • B: atomic
  • C: separate
  • D: combined
View Answer
C

Q3284: Events are synchronization objects like Mutexes, Semaphores, and _______.
  • A: Critical Sections
  • B: Threads
  • C: Processes
  • D: Messages
View Answer
A

Q3285: Events can indicate to other threads that a specific _______ now holds.
  • A: message condition
  • B: process state
  • C: variable change
  • D: system error
View Answer
A

Q3286: Multiple threads can be released simultaneously when an event is _______.
  • A: triggered
  • B: reset
  • C: set
  • D: suspended
View Answer
A

Q3287: Events are classified as either manual-reset or _______.
  • A: auto-reset
  • B: semi-reset
  • C: dual-reset
  • D: multi-reset
View Answer
B

Q3288: The property of an event is set using the function _______.
  • A: CreateEvent()
  • B: OpenEvent()
  • C: SetEvent()
  • D: ResetEvent()
View Answer
A

Q3289: A manual-reset event can signal _______ waiting threads simultaneously.
  • A: one
  • B: all
  • C: single
  • D: multiple
View Answer
D

Q3290: An auto-reset event signals _______ waiting thread.
  • A: single
  • B: multiple
  • C: none
  • D: any
View Answer
A

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now