System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q3871: Multi-core processors help improve performance by
- A: executing multiple instructions simultaneously
- B: running a single thread faster
- C: increasing clock speed
- D: reducing cache size
View Answer
A
Q3872: What is the first step in writing a parallel program?
- A: Identify parallel components
- B: Debug the program
- C: Optimize code
- D: Write sequential code
View Answer
A
Q3873: In parallel programming, after identifying parallel components, you must implement them with
- A: parallel execution
- B: single-thread execution
- C: serial processing
- D: error handling
View Answer
A
Q3874: Which synchronization constraint is commonly used in parallel programming?
- A: Mutual exclusion
- B: Mutual inclusion
- C: Mutual division
- D: Mutual exclusion and inclusion
View Answer
A
Q3875: The DIY approach in parallel programming means
- A: Thread management and synchronization are done by the programmer
- B: Thread management is done by OS
- C: Thread management is automatic
- D: Thread management is handled by hardware
View Answer
A
Q3876: The DIY approach is more suitable for
- A: small programs with simple parallel structures
- B: large programs with complex parallelism
- C: distributed systems
- D: GUI applications
View Answer
A
Q3877: One downside of DIY parallel programming is
- A: that it can become complex and error-prone when using recursion
- B: It is always faster than thread pools
- C: It does not require synchronization
- D: It is recommended for all program sizes
View Answer
A
Q3878: Thread pool APIs are available starting from which Windows version?
- A: NT6 and above
- B: Windows XP
- C: Windows 95
- D: NT4
View Answer
A
Q3879: Using a parallelism framework in programming
- A: extends the programming language to express parallelism
- B: makes programming sequential
- C: removes the need for synchronization
- D: limits multi-threading
View Answer
A
Q3880: Which method is the most widely accepted approach for implementing parallelism?
- A: Using parallelism frameworks
- B: DIY approach
- C: Manual thread scheduling
- D: Thread pools
View Answer
C