NEW
Font size
Worksheetsparallel computing quiz
Total questions: 10
Worksheet time: 5mins
What is the main goal of parallelism in computer systems?
Reduce power consumption
Increase memory size
Improve performance by executing multiple tasks simultaneously
Minimize hardware usage
What is the formula for Speedup in parallel computing?
.
𝑆=𝑇𝑠/𝑇𝑝
S=Tp/Ts
S=Ts*Tp
S=Ts+Tp
Which of the following is a performance metric for parallel systems?
Execution Time
Total Parallel Overhead
Speedup
All of the above
Which OpenMP directive is used to specify the scope of variables in parallel regions?
#pragma omp parallel
#pragma omp for
#pragma omp shared
#pragma omp private
What does Amdahl’s Law help in understanding?
Data parallelism
Task parallelism
Scalability limits in parallel computing
Synchronization techniques
Which is a key characteristic of GPU programming?
Using a single, powerful processing core
Executing a single thread of execution at a time
Offloading large computational tasks from the CPU to the GPU
Relying primarily on the Message Passing Interface (MPI) model
Which of the following is a possible implementation of MIMD?
A single-core CPU
A cluster of independent computers
A graphics processing unit (GPU)
A vector processing unit
In a shared memory parallel computer, how do multiple CPUs typically access memory?
Each CPU has its own private memory.
All CPUs share a common, global address space.
Communication is done via message passing.
Access is always non-uniform (NUMA)
In a distributed-memory MIMD system, which factor significantly impacts scalability by requiring processors to exchange data explicitly?
Message passing overhead.
Shared cache miss rates.
Centralized control unit delays
The clock speed of the processors.
A race condition occurs when:
A process is waiting for another process to release a resource.
Two or more threads are blocked, waiting for each other.
Two or more threads try to update the same shared data at the same time
A single process is using the CPU for too long.
