Counted from the questions in the past papers listed on this site. Repeated = how many times the topic came in those papers.
Parallel Computing important questions with answers
Each answer starts with the short answer. Then come the points to write, a diagram and an exam tip. The questions under each topic are copied from the RGPV papers.
Q1. Parallelism against pipelining, serial against parallel processing
Asked 1 time in 2025 · Unit 1
From the papers
“Distinguish among computer terminologies: a) Parallelism versus pipelining” (June 2025)
“Distinguish among computer terminologies: b) Serial versus parallel processing” (June 2025)
The short answer
Parallelism means several units do different work at the same time. Pipelining splits one job into stages so that different jobs sit in different stages at the same time.
Write these points
Parallelism against pipelining
Parallelism copies the hardware. Each copy does a whole task by itself.
Pipelining cuts one task into stages. Each stage is busy with a different task in the same cycle.
Pipelining is overlapped (temporal) parallelism. Copies of units give spatial parallelism.
A pipeline of k stages needs k stage units. Parallelism with k copies needs k full processors.
Serial against parallel processing
Serial: one processor, one instruction at a time, total time is the sum of all task times.
Parallel: many processors or units, total time can fall close to the longest single piece.
Parallel needs a way to split work, to share data and to join results. Serial does not.
The gain of parallel processing is limited by the part of the code that stays serial.
Point
Pipelining
Parallelism
Idea
Overlap stages of many tasks
Run many tasks on many units
Hardware
One unit cut into stages
Many full units
Gain
At most k times for k stages
Up to p times for p units
Four tasks of four stages.
Each stage takes 1 cycle. Four tasks run in a pipeline.
Pipelined time = 4 + 4 - 1 = 7 cycles. Serial time = 4 x 4 = 16 cycles.
Speedup = 16 / 7 = 2.29. Four full processors would finish four tasks in 4 cycles, with four times the hardware.
Real-life example
A car factory has an assembly line with four stations. A new car enters every hour. That is a pipeline. A second factory with four complete lines building four cars together is parallelism.
Figure: a 4 stage pipeline
Same or opposite: serial and parallel processing
Point
Serial
Parallel
Same or opposite
Tasks at one time
One
Many
Opposite
Programming effort
Low
Higher
Opposite
Produces the same result
Yes
Yes
Same
Speed limit
One processor
Serial part of the code
Opposite
Exam tip. Give a definition of each word, then a table. The four task number example shows the pipeline gain.
Q2. Control flow against data flow, uniprocessor against multiprocessor
Asked 1 time in 2025 · Unit 1
From the papers
“Distinguish among computer terminologies: c) Control flow computers versus data flow computers” (June 2025)
“Distinguish among computer terminologies: d) Uniprocessor systems versus multiprocessors systems” (June 2025)
The short answer
A control flow computer runs instructions in the order a program counter gives. A data flow computer runs an operation as soon as all its input data have arrived.
Write these points
Control flow and data flow
Control flow: a program counter picks the next instruction. Order is set by the programmer.
Data flow: the program is a graph. A node fires when its operands are ready.
Data flow shows all the parallelism in the program with no extra work.
Data flow hardware is harder to build. Most real machines use control flow, with data flow ideas inside the CPU.
Uniprocessor and multiprocessor
Uniprocessor: one CPU. Speed comes from clock rate and pipelines.
Multiprocessor: many CPUs, one shared address space, run by one operating system.
A multiprocessor needs cache coherence and locks. A uniprocessor does not.
A multiprocessor also gives fault tolerance. If one CPU fails the rest can go on.
(a + b) x (c - d).
Control flow needs 3 steps: t1 = a + b, t2 = c - d, r = t1 x t2.
In data flow the add and the subtract have their inputs at once, so both fire together. The multiply fires next.
Data flow finishes in 2 levels. Control flow needs 3 steps.
Real-life example
A control flow cook follows a recipe line by line. A data flow cook starts chopping onions and boiling water at once because both have their ingredients. The cook mixes them when both are ready.
Figure: control flow and data flow
Same or opposite: control flow and data flow
Point
Control flow
Data flow
Same or opposite
Next step decided by
Program counter
Data arrival
Opposite
Parallelism found
By the programmer
Automatically
Opposite
Computes the same result
Yes
Yes
Same
Common in real machines
Yes
Rare
Opposite
Exam tip. Draw the expression graph. It is the quickest way to show why data flow exposes parallelism.
“Describe atleast four characteristics of MIMD multiprocessors that distinguish them from multiple computer systems or computer networks?” (June 2025)
The short answer
A MIMD multiprocessor is one machine with many CPUs that run different programs on different data. It shares one memory and one operating system, so it differs from a network of separate computers.
Write these points
Characteristics
Shared memory: all CPUs reach one global address space. A network of computers has a private memory per node.
Single operating system: one OS image runs the whole machine. In a network each computer runs its own OS.
Tight coupling: CPUs talk through a bus or switch in nanoseconds. Networks use messages that take microseconds or more.
Shared resources: memory, disks and I/O are shared and managed together.
Communication by load and store: a CPU writes a variable and another reads it. No send or receive is needed.
Single system view: a job is scheduled on any CPU, so load is balanced by the OS.
Each CPU runs its own instruction stream, which is why it is MIMD and not SIMD.
The price is that the shared memory needs coherence and synchronisation.
Examples: a multicore laptop chip and a multi socket server.
A cluster of PCs on a network is a multicomputer, not a multiprocessor.
Latency gap.
A shared memory access takes 100 nanoseconds. A network message takes 10 microseconds.
Ratio = 10,000 / 100 = 100 times.
So fine grained sharing is practical inside a multiprocessor but costly across a network. These are typical orders of magnitude, not fixed values.
Real-life example
A multiprocessor is like a family working in one kitchen with one fridge. A network of computers is like neighbours in different houses who must phone each other to share an ingredient.
Figure: shared memory and message passing
Same or opposite: multiprocessor and multicomputer
Point
Multiprocessor
Multicomputer or network
Same or opposite
Memory
Shared
Private per node
Opposite
Operating system
One
One per node
Opposite
Many CPUs run different programs
Yes
Yes
Same
Communication
Load and store
Messages
Opposite
Exam tip. Give four clear points with the words shared memory, one OS, tight coupling and load store. Draw the two designs side by side.
“Prove that a k-stage linear pipeline can be at most k times faster than that of a non pipelined serial processor.” (June 2025)
The short answer
A pipeline with k stages and n tasks takes k + n - 1 cycles. A serial processor takes n x k cycles, so the ratio never passes k.
Write these points
Proof
Let each stage take one clock of time t. One task needs k clocks.
Non pipelined time: T1 = n k t for n tasks.
Pipelined time: the first task takes k t. Then one task ends every t. So Tk = (k + n - 1) t.
Speedup: S = T1 / Tk = n k / (k + n - 1).
Show S < k: n k < k (k + n - 1) because n < k + n - 1 whenever k > 1.
Take the limit as n grows: S = k / (k / n + 1 - 1 / n), which tends to k.
So the maximum speedup is k and it is reached only for a very long stream of tasks.
Efficiency = S / k = n / (k + n - 1).
Throughput = n / ((k + n - 1) t), which tends to one task per clock.
Stalls and unequal stage times lower the speedup further in a real pipeline.
Tasks n
Speedup for k = 4
1
1.00
4
2.29
16
3.37
100
3.88
Check the table.
n = 4: 4 x 4 / (4 + 4 - 1) = 16 / 7 = 2.29.
n = 100: 400 / 103 = 3.88. It is below 4, as proved.
For n = 1 the speedup is 4 / 4 = 1, since one task gets no overlap.
Real-life example
An assembly line of 4 stations makes the first car in 4 hours. After that a car comes out every hour. For 100 cars the line takes 103 hours and a one station worker would take 400 hours, so the line is nearly but never fully 4 times faster.
Figure: steps of the proof
Same or opposite: ideal and real pipeline
Point
Ideal pipeline
Real pipeline
Same or opposite
Stage times
All equal
Unequal
Opposite
Stalls
None
Hazards cause stalls
Opposite
Speedup is below k
Yes
Yes
Same
Efficiency
Near 1 for large n
Lower
Opposite
Exam tip. Write the two time formulas first. Then divide, then take the limit. Add the table to show the speedup creeping toward k.
Q5. Disadvantages of a cache that uses virtual addresses
Asked 1 time in 2025 · Unit 2
From the papers
“What are the disadvantages of a cache using Virtual addresses?” (June 2025)
The short answer
A virtual cache is indexed or tagged with virtual addresses, so a hit needs no address translation. Its main drawbacks are synonyms, homonyms, flushes on a context switch and trouble with coherence and I/O.
Write these points
Disadvantages
Synonyms (aliases): two virtual addresses map to one physical address, so one block can sit twice in the cache. A write to one copy leaves the other stale.
Homonyms: one virtual address means different physical addresses in different processes. The cache may return another process's data.
Flush on context switch: to avoid homonyms the cache is cleared or tagged with a process id. A flush costs many misses.
Protection: permission bits live in the page table, so they must be copied into the cache and updated.
Coherence and I/O: the bus and the I/O devices use physical addresses, so a snoop or a DMA write needs a reverse translation.
Page remapping: if the OS changes a page mapping, the cached copies must be found and removed.
Why anyone uses it
A hit needs no TLB lookup, so it is faster and saves power.
A common compromise is a virtually indexed, physically tagged cache.
It keeps most of the speed and avoids most of the problems.
Small first level caches are the usual place for this design.
A synonym.
Virtual pages 0x10 and 0x20 both map to physical page 0x7. The CPU writes 5 through 0x10.
The cache holds the block under tag 0x10 (value 5) and also under tag 0x20 (old value 0).
A read through 0x20 returns 0, which is wrong. The hardware or the OS must prevent two copies.
Real-life example
Think of a school where the roll number is the address of a locker. Class A roll 5 and Class B roll 5 are different students. If the lockers are not emptied when the class changes, one student opens the other's locker.
Figure: where the problem comes from
Same or opposite: virtual cache and physical cache
Point
Virtual cache
Physical cache
Same or opposite
Hit time
Shorter
Longer (translate first)
Opposite
Synonym problem
Yes
No
Opposite
Stores blocks of memory
Yes
Yes
Same
Flush on a context switch
Often needed
No
Opposite
Exam tip. List at least four disadvantages with the words synonym and homonym. State the virtually indexed physically tagged cache as the usual fix.
“Differentiate between: i) Centralized vs Distributed Shared caches” (June 2025)
The short answer
A centralized shared cache is one cache that every core uses, with the same access time for all. A distributed shared cache is split into banks placed near the cores, so access time depends on the bank.
Write these points
Centralized shared cache
One cache structure and one access time (uniform cache access, UCA).
Simple to design. Every core sees the same latency.
A single large cache has a long wire delay.
It becomes a bandwidth bottleneck as cores increase.
Distributed shared cache
The cache is cut into banks. Each bank sits near a core or a tile.
A near bank answers quickly and a far bank slowly (non uniform cache access, NUCA).
Many banks can work at the same time, so bandwidth grows with the number of banks.
Static NUCA fixes each block's bank by its address. Dynamic NUCA moves popular blocks closer to the core that uses them.
Point
Centralized
Distributed
Latency
Same for all
Depends on the bank
Bandwidth
Limited
Scales with banks
Scaling to many cores
Poor
Good
Complexity
Low
Higher
Average latency.
A centralized cache takes 20 cycles for every hit.
A distributed cache has banks of 10, 16, 22 and 28 cycles. Accesses spread evenly over them.
Average = (10 + 16 + 22 + 28) / 4 = 19 cycles. With dynamic placement that moves hot blocks to the 10 cycle bank, the average falls further. These numbers are illustrative.
Real-life example
A single big library with one counter makes every student walk the same distance. A set of small libraries, one per hostel block, gives a short walk to the nearest one and a longer walk to the others.
Figure: banks of a distributed shared cache
Same or opposite: centralized and distributed shared caches
Point
Centralized
Distributed
Same or opposite
Access time
Uniform
Non uniform
Opposite
Bandwidth
One port limits it
Many banks in parallel
Opposite
Shared by all cores
Yes
Yes
Same
Best for
Few cores
Many cores
Opposite
Exam tip. Use the words UCA and NUCA. State S-NUCA against D-NUCA in one line. The table with latency and bandwidth carries the marks.
Q7. Snooping based against directory based cache coherence
Asked 1 time in 2025 · Unit 2
From the papers
“Differentiate between: ii) Snooping based vs directory based cache coherence protocol” (June 2025)
The short answer
A snooping protocol lets every cache watch a shared bus and react to each write or miss it sees. A directory protocol keeps a table of which caches hold each block and messages only those caches.
Write these points
Snooping
All caches see every bus transaction (a broadcast).
On a write the writer sends an invalidate or an update. Other caches check their tags and act.
Simple and fast for a small number of processors.
The shared bus becomes the limit as processors grow.
Directory
A directory entry per memory block records its state and its sharers (often a bit vector).
A miss goes to the home node. The directory sends invalidates only to the sharers.
Traffic is point to point, so it scales to many processors.
The cost is the directory storage and an extra hop in some cases.
Point
Snooping
Directory
Communication
Broadcast on a bus
Point to point messages
Scales to
Few processors
Many processors
Storage cost
None extra
Directory memory
Latency of a miss
Low
Higher (look up and forward)
Directory size.
64 processors, 64 byte blocks. A full bit vector uses 64 bits = 8 bytes per block.
Overhead = 8 / 64 = 12.5 percent of memory, before state bits.
With 8 processors the vector is 1 byte, so the overhead is only 1.6 percent. This is why directories pay off for large machines.
Real-life example
Snooping is a teacher who shouts every change to the whole class. A directory is a register that lists who has the notes, so the teacher calls only those students.
Figure: snooping and directory protocols
Same or opposite: snooping and directory protocols
Point
Snooping
Directory
Same or opposite
Messages go to
Every cache
Only the sharers
Opposite
Needs a shared bus
Yes
No
Opposite
Keeps caches coherent
Yes
Yes
Same
Extra memory
No
Yes
Opposite
Exam tip. Two columns with broadcast against point to point are enough. Add the 12.5 percent figure.
Q8. Architecture of a modern GPU and its applications
Asked 1 time in 2025 · Unit 3
From the papers
“Discuss the architecture of a modern GPU. Give its applications.” (June 2025)
The short answer
A modern GPU is a throughput machine made of many streaming multiprocessors (SM) with simple cores and a small shared memory. All SMs share an L2 cache and a fast global memory.
Write these points
Architecture
Streaming multiprocessors: the GPU has tens of SMs. Each SM runs many threads in groups called warps (32 threads in NVIDIA GPUs).
SIMT execution: the threads of a warp run the same instruction on different data.
Memory hierarchy: registers, shared memory per SM, an L2 cache and a global memory of high bandwidth (GDDR or HBM).
Latency hiding: when a warp waits for memory, the SM switches to another warp at no cost.
Host link: the GPU is a co processor. The CPU sends data and kernels over PCIe or a faster link.
Applications
Graphics and games, video decoding and ray tracing.
Deep learning training and inference (matrix multiplication).
Scientific simulation, weather and fluid models, molecular dynamics.
Image processing, medical imaging and financial risk models.
Vector addition on a GPU.
Add two vectors of N = 1000 numbers with 256 threads per block.
Blocks = ceil(1000 / 256) = 4. Threads launched = 4 x 256 = 1024. The last 24 threads do nothing.
Each thread adds one pair, so the 1000 additions run almost at once.
Real-life example
A CPU is a few expert chefs who cook one complex dish at a time. A GPU is a hall of hundreds of cooks who each chop one vegetable. For a wedding feast of one simple job the hall wins.
Figure: a GPU with streaming multiprocessors
Same or opposite: CPU and GPU
Point
CPU
GPU
Same or opposite
Cores
Few, complex
Many, simple
Opposite
Aim
Low latency
High throughput
Opposite
Can run many threads
Yes
Yes
Same
Best for
Branchy serial code
Data parallel code
Opposite
Exam tip. Draw the SM grid with the L2 and global memory. List the architecture parts, then four applications.
“What is the difference between transaction and transactional memory? Explain briefly.” (June 2025)
The short answer
A transaction is a group of operations that must run as one atomic unit: all of it happens or none of it. Transactional memory (TM) is a way to give shared memory code that same all or nothing behaviour without using locks.
Write these points
Transaction
An idea from databases. A transaction is atomic, consistent, isolated and durable (ACID).
If it fails midway, every change is undone (rollback).
It is a unit of work, such as moving money between two accounts.
Transactional memory
A programmer marks a block of code as atomic. The system runs it as a transaction on shared memory.
The system records the reads and writes. If another thread touched the same data, the block is aborted and retried. Otherwise it commits.
STM does this in software and is flexible but slower. HTM does it in hardware with the cache. It is fast but limited in size.
TM avoids deadlock from locks and is easier to compose.
A transfer of 100.
Two threads move money from account A to account B. With locks the programmer must order two locks to avoid deadlock.
With TM: atomic { A = A - 100; B = B + 100; }. If two threads conflict, one aborts and reruns.
Start with A = 500 and B = 200. The pair always ends as A = 400 and B = 300. No thread sees A = 400 with B = 200.
Real-life example
Booking a train seat needs two steps: check that the seat is free, then mark it as taken. If another person books between them, there is a clash. A transaction makes both steps one unit. Transactional memory is the system that gives this to your program.
Figure: life of a transaction
Same or opposite: transaction and transactional memory
Point
Transaction
Transactional memory
Same or opposite
What it is
A unit of atomic work
A mechanism to run such units on shared memory
Opposite
Origin
Databases
Parallel hardware and software
Opposite
Commit or rollback
Yes
Yes
Same
Uses locks inside the program
Not required
Not required
Same
Exam tip. State that a transaction is the idea and TM is the tool. Name STM and HTM. Give the account transfer as the example.
Q10. Architectural characteristics of future systems
Asked 1 time in 2025 · Unit 3
From the papers
“Discuss the architectural characteristics of future systems.” (June 2025)
The short answer
Future parallel systems will have many cores of different kinds, deep memory hierarchies and tight limits on power. Programs must be written for parallelism and for energy efficiency.
Write these points
Main characteristics
Many cores: more cores on a chip instead of a faster clock, because power limits the clock.
Heterogeneity: CPU cores plus GPUs and special accelerators that are best at one job.
Energy as the limit: performance per watt matters more than raw speed. Not all cores can run at full speed at once.
Deep memory hierarchy: several cache levels, high bandwidth memory and memory placed near the compute units.
Scalable interconnect: networks on chip and fast links between chips replace the single bus.
Reliability: with billions of parts, faults are common, so systems detect and recover from errors.
Implication for users
Programmers must expose parallelism and manage data movement.
Software must adapt to different hardware, so portable models are important.
Data movement costs more energy than computing, so keep data close.
Power limit.
A chip may run at 100 percent speed on 8 cores for a power of 80 watts.
Doubling to 16 cores at the same clock would need about 160 watts.
With a 80 watt budget, the 16 cores must run slower or half of them must stay idle. This is why heterogeneous designs are used.
Real-life example
A school bus with a fixed amount of fuel cannot carry everyone at top speed. It is better to use many small vehicles, each suited to a route. The trips must be planned to save fuel.
Figure: features of future systems
Same or opposite: past and future systems
Point
Past systems
Future systems
Same or opposite
Speed gain from
Faster clock
More and special cores
Opposite
Main limit
Clock and transistors
Power and data movement
Opposite
Aim to run programs faster
Yes
Yes
Same
Programming
Mostly serial
Parallel and heterogeneous
Opposite
Exam tip. List five characteristics with a one line reason each. Close with what it means for the programmer.
What are the most important topics in Parallel Computing?
By how often they were asked in the papers on this site: Parallelism against pipelining, serial against parallel processing (1 times); Control flow against data flow, uniprocessor against multiprocessor (1 times); Characteristics of MIMD multiprocessors (1 times); Maximum speedup of a k stage linear pipeline (1 times); Disadvantages of a cache that uses virtual addresses (1 times).
How were these Parallel Computing important questions chosen?
Each topic was counted from the questions in the past papers listed on this site (2025). Repeated is the number of times the topic came. The counts come from keyword matching and the answers are not teacher-reviewed, so use them together with your syllabus.
Is there a PDF of Parallel Computing important questions with answers?
Yes. The Paperwala Imp Question & Answer PDF for Parallel Computing is free to download from this page.
The 10 most repeated topics of Parallel Computing (IT-803-D) for RGPV B.Tech IT semester 8, counted from the previous year papers on this site.