Top 50+ Solved Shared Memory Programming with OpenMP MCQ Questions Answer
Q. A ___________ construct must be enclosed within a parallel region in orderfor the directive to execute in parallel.
a. Parallel sections
b. Critical
c. Single
d. work-sharing
Q. ____________ is a form of parallelization across multiple processors in parallelcomputing environments.
a. Work-Sharing Constructs
b. Data parallelism
c. Functional Parallelism
d. Handling loops
Q. In OpenMP, assigning iterations to threads is called ________________
a. scheduling
b. Static
c. Dynamic
d. Guided
Q. The ____________is implemented more efficiently than a general parallelregion containing possibly several loops.
a. Sections
b. Parallel Do/For
c. Parallel sections
d. Critical
Q. _______________ causes no synchronization overhead and can maintain datalocality when data fits in cache.
a. Guided
b. Auto
c. Runtime
d. Static
Q. How does the difference between the logical view and the reality ofparallel architectures affect parallelization?
a. Performance
b. Latency
c. Bandwidth
d. Accuracy
Q. How many assembly instructions does the following C instruction take?global_count += 5;
a. 4 instructions
b. 3 instructions
c. 5 instructions
d. 2 instructions