System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q3511: Which two synchronization techniques showed almost the same performance time?
- A: MX and CS
- B: NS and IN
- C: IN and MX
- D: NS and MX
View Answer
B
Q3512: What is the performance cost of using a Critical Section compared to Interlocked functions?
- A: Equal
- B: 2 times more
- C: 10 times less
- D: 30 times more
View Answer
B
Q3513: Mutex-based synchronization can cost up to ______ more than interlocked functions.
- A: 2 to 10 times
- B: 2 to 30 times
- C: 1 to 5 times
- D: 5 to 15 times
View Answer
B
Q3514: Older versions of Windows had CS implementations that were ______.
- A: highly scalable
- B: not scalable
- C: partially scalable
- D: suitable for real-time
View Answer
B
Q3515: Recent versions of Windows make CS implementation ______.
- A: non-scalable
- B: slower
- C: scalable
- D: irrelevant
View Answer
C
Q3516: Which synchronization method is considered the slowest as processor count increases?
- A: Critical Section
- B: Mutex
- C: Interlocked Functions
- D: No Sync
View Answer
B
Q3517: Performance of mutexes ______ as number of processors increase.
- A: improves
- B: stabilizes
- C: degrades
- D: improves then degrades
View Answer
C
Q3518: What type of synchronization showed the best performance in testing?
- A: CS
- B: MX
- C: IN
- D: NS
View Answer
D
Q3519: ______ and ______ showed nearly equal performance in the example programs.
- A: IN and CS
- B: MX and CS
- C: NS and IN
- D: IN and MX
View Answer
C
Q3520: Any type of locking is ______ than no locking.
- A: more efficient
- B: more expensive
- C: cheaper
- D: irrelevant
View Answer
B