Home > Computer Engineering > Quizzes > Multi-core Architectures and Programming Practice Test: Shared Memory Programming with OpenMP
Multi-core Architectures and Programming Practice Test: Shared Memory Programming with OpenMP
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 64% Most missed: “How does the difference between the logical view and the reality of parallel arc…”
Multi-core Architectures and Programming Practice Test: Shared Memory Programming with OpenMP
Time left 00:00
22 Questions

1. Within a parallel region, declared variables are by default ________ .
2. When a thread reaches a _____________ directive, it creates a team of threads and becomes the master of the team.
3. ____________ is a form of parallelization across multiple processors in parallel computing environments.
4. _______________ causes no synchronization overhead and can maintain data locality when data fits in cache.
5. A ______________ construct by itself creates a “single program multiple data” program, i.e., each thread executes the same code.
6. _______________ Function returns the number of threads that are currently active in the parallel section region.
7. The ______________ specifies that the iterations of the for loop should be executed in parallel by multiple threads.
8. How does the difference between the logical view and the reality of parallel architectures affect parallelization?
9. Within a parallel region, declared variables are by default ________ .
10. Use the _________ library function to determine if nested parallel regions are enabled.
11. When compiling an OpenMP program with gcc, what flag must be included?
12. A ___________ construct must be enclosed within a parallel region in order for the directive to execute in parallel.
13. The __________________ of a parallel region extends the lexical extent by the code of functions that are called (directly or indirectly) from within the parallel region.
14. _______________ causes no synchronization overhead and can maintain data locality when data fits in cache.
15. Which directive must precede the directive: #pragma omp sections (not necessarily immediately)?
16. ____________ is a form of parallelization across multiple processors in parallel computing environments.
17. The ______________ specifies that the iterations of the for loop should be executed in parallel by multiple threads.
18. In OpenMP, assigning iterations to threads is called ________________
19. How does the difference between the logical view and the reality of parallel architectures affect parallelization?
20. In OpenMP, the collection of threads executing the parallel block the original thread and the new thread is called a ____________
21. ___________________ initializes each private copy with the corresponding value from the master thread.
22. The size of the initial chunksize _____________.