System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q3901: Cilk++ supports
- A: parallel programming in C and C++
- B: only Java programming
- C: language independent programming
- D: sequential programming
View Answer
A
Q3902: Identifying independent subtasks in parallel programming is
- A: always easy
- B: especially difficult with older serialized codes
- C: never required
- D: simpler with global variables
View Answer
B
Q3903: Having too many subtasks in a parallel program
- A: may improve performance
- B: can degrade performance
- C: has no effect
- D: increases memory only
View Answer
B
Q3904: Excessive use of locking in parallel programs
- A: can degrade performance
- B: improves speed
- C: avoids race conditions
- D: makes debugging easier
View Answer
A
Q3905: Global variables in parallel programs
- A: can cause problems
- B: are always safe
- C: to speed up execution
- D: are replaced automatically
View Answer
A
Q3906: Updating global counters in parallel requires
- A: careful synchronization
- B: ignoring updates
- C: using local variables only
- D: using print statements
View Answer
A
Q3907: Memory cache architecture can cause
- A: performance issues in parallelism
- B: only benefits performance
- C: does not affect multicore chips
- D: makes parallelism easier
View Answer
A
Q3908: Multicore chips may cause subtle
- A: performance issues due to memory cache architecture
- B: problems with synchronization
- C: only help increase speed
- D: have no disadvantages
View Answer
A
Q3909: Threads are
- A: always simple to use
- B: straightforward but with pitfalls
- C: only used in serial programming
- D: unrelated to parallelism
View Answer
B
Q3910: Parallelism challenges include
- A: all of the above
- B: only memory issues
- C: only global variables
- D: only thread management
View Answer
A