System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q2631: In parallel programs, only the master worker is synchronized with ________.
- A: every worker thread
- B: the CPU
- C: the memory
- D: the file system
View Answer
A
Q2632: The most optimal situation in parallel programming is when every worker runs on a ________.
- A: separate thread on a single processor
- B: separate thread on a separate processor
- C: single thread on multiple processors
- D: master thread only
View Answer
B
Q2633: Program performance scales automatically based on the number of ________.
- A: threads
- B: processors
- C: users
- D: IO devices
View Answer
B
Q2634: In Windows, the assignment of worker subtasks to processors is handled by the ________.
- A: program itself
- B: Windows kernel
- C: CPU scheduler
- D: user
View Answer
B
Q2635: Parallel programs produce the same output as their ________ counterparts.
- A: serialized programs
- B: distributed programs
- C: single-threaded programs
- D: hardware threads
View Answer
A
Q2636: Serializing a program makes it easier to ________.
- A: run faster
- B: debug
- C: parallelize
- D: deploy
View Answer
B
Q2637: The maximum performance improvement in parallelism is limited by thread management overhead and ________.
- A: hardware faults
- B: computations that cannot be parallelized
- C: memory size
- D: network latency
View Answer
B
Q2638: The tasks performed by worker threads require ________ exclusion in the given parallelism model.
- A: mutual
- B: no
- C: forced
- D: delayed
View Answer
B
Q2639: Parallel programs with no mutual exclusion between worker threads avoid ________ conditions.
- A: deadlock
- B: race
- C: bottleneck
- D: cache miss
View Answer
B
Q2640: Multiprocessors and multicore systems require ________ programming techniques for better performance.
- A: serial
- B: parallel
- C: procedural
- D: functional
View Answer
B