wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

parallel computing quiz

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What is the main goal of parallelism in computer systems?

a)
  • Reduce power consumption


b)

Increase memory size

c)

Improve performance by executing multiple tasks simultaneously

d)

Minimize hardware usage

2.

What is the formula for Speedup in parallel computing?

a)

.

𝑆=𝑇𝑠/𝑇𝑝

b)
  • S=Tp/Ts

c)
  • S=Ts*Tp

d)
  • S=Ts+Tp

3.

Which of the following is a performance metric for parallel systems?

a)

Execution Time

b)

Total Parallel Overhead

c)

Speedup

d)

All of the above

4.

Which OpenMP directive is used to specify the scope of variables in parallel regions?

a)

#pragma omp parallel

b)

#pragma omp for

c)

#pragma omp shared

d)

#pragma omp private

5.

What does Amdahl’s Law help in understanding?

a)

Data parallelism

b)

Task parallelism

c)

Scalability limits in parallel computing

d)

Synchronization techniques

6.

Which is a key characteristic of GPU programming?

a)

Using a single, powerful processing core

b)

Executing a single thread of execution at a time

c)

Offloading large computational tasks from the CPU to the GPU

d)

Relying primarily on the Message Passing Interface (MPI) model 

7.

Which of the following is a possible implementation of MIMD?

a)

A single-core CPU

b)

A cluster of independent computers

c)

A graphics processing unit (GPU)

d)

A vector processing unit 

8.

In a shared memory parallel computer, how do multiple CPUs typically access memory?

a)

Each CPU has its own private memory.

b)

All CPUs share a common, global address space.

c)

Communication is done via message passing.

d)

Access is always non-uniform (NUMA)

9.

In a distributed-memory MIMD system, which factor significantly impacts scalability by requiring processors to exchange data explicitly?

a)

Message passing overhead.

b)

Shared cache miss rates.

c)

Centralized control unit delays

d)

The clock speed of the processors. 

10.

A race condition occurs when:


a)

A process is waiting for another process to release a resource.

b)

Two or more threads are blocked, waiting for each other.

c)

Two or more threads try to update the same shared data at the same time

d)

A single process is using the CPU for too long.