IT-803-D Parallel Computing

Parallel Computing (IT-803-D) Important Questions

RGPV · B.Tech · IT · Semester 8 · Current scheme · 1 papers (2025 to 2025)

  1. Read the answers

    Start with the topics that come every year.

  2. Revise unit notes

    Go through each unit once to score more.

Paperwala Imp Topics - Parallel Computing important questions

Download Paperwala Imp Question & Answer (PDF)

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.
PointPipeliningParallelism
IdeaOverlap stages of many tasksRun many tasks on many units
HardwareOne unit cut into stagesMany full units
GainAt most k times for k stagesUp 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
Figure: a 4 stage pipeline

Same or opposite: serial and parallel processing

PointSerialParallelSame or opposite
Tasks at one timeOneManyOpposite
Programming effortLowHigherOpposite
Produces the same resultYesYesSame
Speed limitOne processorSerial part of the codeOpposite

Exam tip. Give a definition of each word, then a table. The four task number example shows the pipeline gain.

Back to the topic list

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
Figure: control flow and data flow

Same or opposite: control flow and data flow

PointControl flowData flowSame or opposite
Next step decided byProgram counterData arrivalOpposite
Parallelism foundBy the programmerAutomaticallyOpposite
Computes the same resultYesYesSame
Common in real machinesYesRareOpposite

Exam tip. Draw the expression graph. It is the quickest way to show why data flow exposes parallelism.

Back to the topic list

Q3. Characteristics of MIMD multiprocessors

Asked 1 time in 2025 · Unit 1

From the papers

  • “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

  1. Shared memory: all CPUs reach one global address space. A network of computers has a private memory per node.
  2. Single operating system: one OS image runs the whole machine. In a network each computer runs its own OS.
  3. Tight coupling: CPUs talk through a bus or switch in nanoseconds. Networks use messages that take microseconds or more.
  4. Shared resources: memory, disks and I/O are shared and managed together.
  5. Communication by load and store: a CPU writes a variable and another reads it. No send or receive is needed.
  6. 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
Figure: shared memory and message passing

Same or opposite: multiprocessor and multicomputer

PointMultiprocessorMulticomputer or networkSame or opposite
MemorySharedPrivate per nodeOpposite
Operating systemOneOne per nodeOpposite
Many CPUs run different programsYesYesSame
CommunicationLoad and storeMessagesOpposite

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.

Back to the topic list

Q4. Maximum speedup of a k stage linear pipeline

Asked 1 time in 2025 · Unit 1

From the papers

  • “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

  1. Let each stage take one clock of time t. One task needs k clocks.
  2. Non pipelined time: T1 = n k t for n tasks.
  3. Pipelined time: the first task takes k t. Then one task ends every t. So Tk = (k + n - 1) t.
  4. Speedup: S = T1 / Tk = n k / (k + n - 1).
  5. Show S < k: n k < k (k + n - 1) because n < k + n - 1 whenever k > 1.
  6. 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 nSpeedup for k = 4
11.00
42.29
163.37
1003.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
Figure: steps of the proof

Same or opposite: ideal and real pipeline

PointIdeal pipelineReal pipelineSame or opposite
Stage timesAll equalUnequalOpposite
StallsNoneHazards cause stallsOpposite
Speedup is below kYesYesSame
EfficiencyNear 1 for large nLowerOpposite

Exam tip. Write the two time formulas first. Then divide, then take the limit. Add the table to show the speedup creeping toward k.

Back to the topic list

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

  1. 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.
  2. Homonyms: one virtual address means different physical addresses in different processes. The cache may return another process's data.
  3. Flush on context switch: to avoid homonyms the cache is cleared or tagged with a process id. A flush costs many misses.
  4. Protection: permission bits live in the page table, so they must be copied into the cache and updated.
  5. 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.
  6. 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
Figure: where the problem comes from

Same or opposite: virtual cache and physical cache

PointVirtual cachePhysical cacheSame or opposite
Hit timeShorterLonger (translate first)Opposite
Synonym problemYesNoOpposite
Stores blocks of memoryYesYesSame
Flush on a context switchOften neededNoOpposite

Exam tip. List at least four disadvantages with the words synonym and homonym. State the virtually indexed physically tagged cache as the usual fix.

Back to the topic list

Q6. Centralized against distributed shared caches

Asked 1 time in 2025 · Unit 2

From the papers

  • “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.
PointCentralizedDistributed
LatencySame for allDepends on the bank
BandwidthLimitedScales with banks
Scaling to many coresPoorGood
ComplexityLowHigher

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
Figure: banks of a distributed shared cache

Same or opposite: centralized and distributed shared caches

PointCentralizedDistributedSame or opposite
Access timeUniformNon uniformOpposite
BandwidthOne port limits itMany banks in parallelOpposite
Shared by all coresYesYesSame
Best forFew coresMany coresOpposite

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.

Back to the topic list

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.
PointSnoopingDirectory
CommunicationBroadcast on a busPoint to point messages
Scales toFew processorsMany processors
Storage costNone extraDirectory memory
Latency of a missLowHigher (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
Figure: snooping and directory protocols

Same or opposite: snooping and directory protocols

PointSnoopingDirectorySame or opposite
Messages go toEvery cacheOnly the sharersOpposite
Needs a shared busYesNoOpposite
Keeps caches coherentYesYesSame
Extra memoryNoYesOpposite

Exam tip. Two columns with broadcast against point to point are enough. Add the 12.5 percent figure.

Back to the topic list

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

  1. Streaming multiprocessors: the GPU has tens of SMs. Each SM runs many threads in groups called warps (32 threads in NVIDIA GPUs).
  2. SIMT execution: the threads of a warp run the same instruction on different data.
  3. Memory hierarchy: registers, shared memory per SM, an L2 cache and a global memory of high bandwidth (GDDR or HBM).
  4. Latency hiding: when a warp waits for memory, the SM switches to another warp at no cost.
  5. 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
Figure: a GPU with streaming multiprocessors

Same or opposite: CPU and GPU

PointCPUGPUSame or opposite
CoresFew, complexMany, simpleOpposite
AimLow latencyHigh throughputOpposite
Can run many threadsYesYesSame
Best forBranchy serial codeData parallel codeOpposite

Exam tip. Draw the SM grid with the L2 and global memory. List the architecture parts, then four applications.

Back to the topic list

Q9. Transaction against transactional memory

Asked 1 time in 2025 · Unit 2

From the papers

  • “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
Figure: life of a transaction

Same or opposite: transaction and transactional memory

PointTransactionTransactional memorySame or opposite
What it isA unit of atomic workA mechanism to run such units on shared memoryOpposite
OriginDatabasesParallel hardware and softwareOpposite
Commit or rollbackYesYesSame
Uses locks inside the programNot requiredNot requiredSame

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.

Back to the topic list

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

  1. Many cores: more cores on a chip instead of a faster clock, because power limits the clock.
  2. Heterogeneity: CPU cores plus GPUs and special accelerators that are best at one job.
  3. Energy as the limit: performance per watt matters more than raw speed. Not all cores can run at full speed at once.
  4. Deep memory hierarchy: several cache levels, high bandwidth memory and memory placed near the compute units.
  5. Scalable interconnect: networks on chip and fast links between chips replace the single bus.
  6. 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
Figure: features of future systems

Same or opposite: past and future systems

PointPast systemsFuture systemsSame or opposite
Speed gain fromFaster clockMore and special coresOpposite
Main limitClock and transistorsPower and data movementOpposite
Aim to run programs fasterYesYesSame
ProgrammingMostly serialParallel and heterogeneousOpposite

Exam tip. List five characteristics with a one line reason each. Close with what it means for the programmer.

Back to the topic list

Start with the latest papers

Parallel Computing - Jun 2025

See all 1 papers →

Parallel Computing (IT-803-D) FAQs

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.