Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Introduction to Parallel Programming

Total questions: 11

Worksheet time: 6mins

Name
Class
Date
1.

Which statement best describes the shared-memory model in parallel programming shown in the diagram?

a)

Tasks execute on separate machines over a network link

b)

Processors run sequentially on a single core and cache data

c)

Multiple processors access one common memory space directly

d)

Each processor uses its private memory with message passing

2.

Which scenario best illustrates data parallelism in computing?

a)

Stages of a workflow forming a processing pipeline

b)

Different tasks executed by separate threads

c)

Single processor sharing one memory space

d)

Same operation applied to many data elements

3.

Look at the client–server diagram in distributed systems. Which statement best describes how nodes interact in this setup?

a)

Clients and servers run on one computer without networking

b)

Servers send data only through local shared memory

c)

Clients share a single memory with all servers

d)

Independent nodes exchange requests using message passing

4.

Which statement best describes the Client–Server model shown in the image?

a)

Servers initiate requests and clients send responses

b)

Multiple computers merge into one system for workloads

c)

Clients initiate requests and servers send responses

d)

Peers equally share tasks without central control

5.

Which statement best describes the MapReduce framework shown in the diagrams?

a)

A database engine for structured SQL queries only

b)

A web server architecture for hosting static pages

c)

A single-computer tool for local file backups

d)

A model for parallel data processing across clusters

6.

In the word count pipeline, what happens during the Shuffle and Sort phase?

a)

Key–value pairs are grouped by keys before reducing

b)

Input text is split into equal-sized chunks

c)

Aggregated totals are calculated per unique key

d)

Raw files are uploaded to cloud storage nodes

7.

Given the stages Map, Shuffle & Sort, and Reduce, which task belongs to the Map phase in a word count job?

a)

Emitting word,1 for each token encountered

b)

Combining all partial sums per word

c)

Distributing grouped keys to reducers

d)

Rendering UI charts for final results

8.

Which MapReduce phase groups intermediate values by key before sending them to reducers?

a)

Map phase processes input chunks

b)

Data locality places tasks near data

c)

Reduce phase summarizes results

d)

Shuffle and sort organizes by key

9.

A research team runs an algorithm that must repeat dozens of times on the same dataset. Which platform best minimizes overhead for these iterations?

a)

Twister iterative MapReduce

b)

Manual reloading each iteration

c)

Traditional single-pass Hadoop batch

d)

Scaling by adding servers

10.

Which feature of Twister reduces repeated disk reads during iterative processing by keeping static data available across worker nodes?

a)

Long-running tasks keep mappers alive across iterations

b)

Pub/sub messaging sends data through broker networks

c)

Combine step aggregates reduce outputs before looping

d)

In-memory caching loads static data once into memory

11.

A machine learning job runs PageRank until ranks stop changing. Which concept explains why the graph structure is loaded once while current ranks update each round?

a)

Loop control manages while loops between phases

b)

YARN schedules containers across cluster nodes

c)

Static versus variable data separates fixed from changing

d)

Pub/sub messaging accelerates task communication