Skip to main content

System Programming MCQs with Answers

Practice important System Programming MCQs with answers and explanations.

Multiple Choice Questions

Q3821: A work object in thread pool must have
  • A: an associated callback function
  • B: Multiple callback functions
  • C: No callback function
  • D: Only timer callbacks
View Answer
A

Q3822: CreateThreadpoolTimer() callback can execute
  • A: Periodically
  • B: Only once
  • C: Only on I/O completion
  • D: Only on thread creation
View Answer
A

Q3823: CreateThreadpoolWait() is used to wait for
  • A: an object to be signaled
  • B: CPU idle time
  • C: I/O completion
  • D: Network request completion
View Answer
A

Q3824: CreateThreadpoolTimer() callbacks are specified in
  • A: time intervals
  • B: of thread counts
  • C: of process IDs
  • D: of CPU cores
View Answer
A

Q3825: The callback function associated with CreateThreadPoolWork() is executed
  • A: By a thread from the thread pool
  • B: By the main thread
  • C: By a hardware interrupt
  • D: By a kernel thread
View Answer
A

Q3826: SetThreadpoolWait() is used to specify
  • A: the object to wait on
  • B: the callback function
  • C: the thread pool size
  • D: the maximum wait time
View Answer
A

Q3827: CreateThreadpoolIO() is mainly used for
  • A: Overlapped I/O operations
  • B: Thread synchronization
  • C: Timer events
  • D: Memory management
View Answer
A

Q3828: CreateThreadpoolWait() callbacks occur
  • A: when the object is signaled
  • B: or when the callback completes
  • C: or after a timer expires
  • D: or after thread termination
View Answer
A

Q3829: CreateThreadpoolTimer() callbacks may be executed
  • A: Periodically or after a delay
  • B: Only at system startup
  • C: Only on user request
  • D: Only on I/O completion
View Answer
A

Q3830: If no callback function is associated with a work object, it
  • A: will not execute
  • B: Execute immediately
  • C: Cause system crash
  • D: Execute repeatedly
View Answer
A

Test Your Knowledge

Take a timed quiz on System Programming

🚀 Start Quiz Now