Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q2961: Windows supports how many basic synchronization objects?
  • A: Two
  • B: Three
  • C: Four
  • D: Five
View Answer
C

Q2962: Which of the following is NOT a synchronization object in Windows?
  • A: Mutex
  • B: Semaphore
  • C: Event
  • D: Array
View Answer
D

Q2963: ________ is used to enforce mutual exclusion between threads.
  • A: Critical Section
  • B: Deadlock
  • C: Event Handler
  • D: Pointer Arithmetic
View Answer
A

Q2964: File locks are useful when ________.
  • A: handling system calls
  • B: synchronizing local memory
  • C: multiple processes access a file
  • D: encrypting folders
View Answer
C

Q2965: Synchronization objects must be used carefully to avoid ________.
  • A: low performance
  • B: syntax errors
  • C: deadlocks
  • D: memory leaks
View Answer
C

Q2966: A ________ is used when multiple processes need shared access control to a resource.
  • A: Function Pointer
  • B: Semaphore
  • C: Compiler
  • D: Switch
View Answer
B

Q2967: SRW Locks and Condition Variables are available in ________ versions of Windows.
  • A: legacy
  • B: newer
  • C: beta
  • D: enterprise
View Answer
B

Q2968: Which is an advanced synchronization object introduced in newer Windows versions?
  • A: Thread Group
  • B: Waitable Timer
  • C: File Handle
  • D: DLL Lock
View Answer
B

Q2969: IO Completion Ports are used for ________.
  • A: thread priority
  • B: asynchronous I/O operations
  • C: deadlock resolution
  • D: security updates
View Answer
B

Q2970: Critical Sections are lighter than Mutexes because they are used in ________.
  • A: file systems
  • B: single-process scenarios
  • C: multiple processes
  • D: kernel mode
View Answer
B

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now