System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q3311: The auto-reset event automatically resets after releasing a single _______.
- A: thread
- B: process
- C: handle
- D: object
View Answer
A
Q3312: Event Usage Models are designed based on different types of _______.
- A: events
- B: models
- C: processes
- D: threads
View Answer
B
Q3313: There are _______ distinct ways to use events according to combinations of SetEvent(), PulseEvent(), and event types.
- A: 2
- B: 3
- C: 4
- D: 5
View Answer
C
Q3314: An auto-reset event can be conceptualized as a door that _______ automatically when opened.
- A: closes
- B: opens
- C: locks
- D: remains open
View Answer
A
Q3315: A manual-reset event _______ automatically when opened.
- A: does not close
- B: closes
- C: locks
- D: opens
View Answer
A
Q3316: PulseEvent() in an auto-reset event allows _______ thread to pass through before closing the door.
- A: a single
- B: multiple
- C: no
- D: any
View Answer
A
Q3317: PulseEvent() in a manual-reset event allows _______ waiting threads to pass through.
- A: multiple
- B: one
- C: none
- D: single
View Answer
A
Q3318: SetEvent() in event usage is equivalent to _______ the door.
- A: opening
- B: closing
- C: locking
- D: waiting
View Answer
A
Q3319: An auto-reset event closes automatically after releasing a _______.
- A: thread
- B: process
- C: handle
- D: object
View Answer
A
Q3320: Manual-reset events require an explicit call to _______ to close the door.
- A: ResetEvent()
- B: SetEvent()
- C: PulseEvent()
- D: OpenEvent()
View Answer
A