Top 50+ Solved Shared Memory Programming with OpenMP MCQ Questions Answer

From 16 to 22 of 22

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

  • 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

  • b. Data parallelism

Q. In OpenMP, assigning iterations to threads is called ________________

a. scheduling

b. Static

c. Dynamic

d. Guided

  • a. scheduling

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

  • b. Parallel Do/For

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

  • a. 4 instructions
Subscribe Now

Get All Updates & News