Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q2091: The return value WAIT_OBJECT_0 indicates ______.
  • A: object was not found
  • B: timeout occurred
  • C: object is signaled
  • D: process failed
View Answer
C

Q2092: The return value WAIT_TIMEDOUT indicates ______.
  • A: wait completed
  • B: object was abandoned
  • C: wait failed
  • D: wait timed out
View Answer
D

Q2093: The return value WAIT_FAILED means ______.
  • A: all handles were signaled
  • B: wait timed out
  • C: object signaled
  • D: function failed
View Answer
D

Q2094: WAIT_ABANDONED_0 indicates that the ______.
  • A: object was deleted
  • B: mutex was not released
  • C: timeout expired
  • D: thread ended unexpectedly
View Answer
B

Q2095: WaitForSingleObject() is part of the Windows API.
  • A: A
  • B: B
  • C:
  • D:
View Answer
A

Q2096: WaitForMultipleObjects() can wait on up to MAXIMUM_WAIT_OBJECTS handles.
  • A: A
  • B: B
  • C:
  • D:
View Answer
A

Q2097: A wait function in Windows is used for process synchronization.
  • A: A
  • B: B
  • C:
  • D:
View Answer
A

Q2098: WaitForSingleObject() allows waiting on an array of objects.
  • A: A
  • B: B
  • C:
  • D:
View Answer
B

Q2099: The timeout parameter in wait functions can be set to 0 for no wait.
  • A: A
  • B: B
  • C:
  • D:
View Answer
A

Q2100: In WaitForMultipleObjects, bWaitAll = TRUE waits for all objects.
  • A: A
  • B: B
  • C:
  • D:
View Answer
A

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now