Retrieving academic index assets...
Makaut
HomePYQsTests
Pricing
Sign Up
Makaut

The premier academic archive for MAKAUT students, providing curated previous year questions, solutions, and official syllabus resources.

Get the Mobile App
GET IT ONGoogle Play
Download on theApp Store
Download from Indus App Store
Platform
  • Home
  • PYQs
  • Question Papers
  • Viva Questions
  • Important Questions
  • Syllabus
  • Academic Tools
  • Pricing
  • Blog
Guidelines
  • Disclaimer
  • Community Guidelines
Company
  • About
  • Contact
  • FAQ
Legal
  • Privacy Policy
  • Terms of Service
  • Refund Policy
  • Cookie Policy
  • Subscription Policy
© 2026 MAKAUT Study Dev Hub. All rights reserved.
Platform version: v1.0.0
Viva Questions/PCC-CS402
Semester 4PCC-CS402

Computer Architecture (PCC-CS402) Viva Questions and Answers

35 Questions•7 min read
Prepared from MAKAUT past-year question papers.
Practice Mode:All answers visible
Jump to Topic
Pipeline basics (1)Pipeline hazards (4)Cache performance (2)Cache write policies (1)Memory addressing (1)Cache mapping (2)Memory hierarchy (1)Memory organization (1)Vector memory (1)Vector processing (2)Vector vs scalar (1)ILP architectures (1)Parallel classification (1)Parallel architectures (1)Interconnection networks (4)Pipeline scheduling (1)Pipeline performance (1)Disk performance (1)Memory types (1)SIMD extensions (1)Parallel processors (1)ISA (1)Memory management (1)Dataflow architecture (1)I/O organization (1)Performance metrics (1)

Pipeline basics

1 question
Q1.EASY

What is the formula for the number of cycles to complete nnn tasks in a kkk-stage pipeline?

It is k+(n−1)k + (n-1)k+(n−1) cycles, assuming one task enters per cycle and no stalls. The first task takes kkk cycles and each subsequent task adds one cycle.

Pipeline hazards

4 questions
Q2.MEDIUM

Why does a pipelined processor's performance suffer when there are data hazards?

Data hazards force the pipeline to stall or insert bubbles, reducing the ideal one-instruction-per-cycle throughput. Forwarding can reduce but not always eliminate these stalls.
Q3.MEDIUM

Compare RAW and WAR hazards with an example.

RAW occurs when an instruction reads a register before a previous instruction writes it, e.g., DADD writes R1 then DSUB reads R1. WAR occurs when an instruction writes a register before a previous instruction reads it, e.g., DSUB reads R1 then DADD writes R1.
Q24.EASY

What is a pipeline stall and what causes it?

A stall delays an instruction in the pipeline because a required resource or data is not ready. Causes include data hazards, structural hazards, and control hazards.
Q25.MEDIUM

What are the main pipeline hazards and their remedies?

Structural hazards are fixed by adding hardware or scheduling; data hazards by forwarding or stalling; control hazards by branch prediction or delayed branching. These keep the pipeline full.

Cache performance

2 questions
Q4.EASY

A cache has access time 40 ns, main memory 100 ns, and hit ratio 0.8. What is the effective access time?

EAT = hit time + miss rate × miss penalty = 40 + 0.2 × 100 = 60 ns. Here miss penalty is taken as main memory access time.
Q5.EASY

What happens to average memory access time if the hit ratio increases?

Average access time decreases because fewer accesses go to the slower main memory. The improvement is proportional to the miss rate reduction.

Cache write policies

1 question
Q6.MEDIUM

Distinguish between write-back and write-through cache.

Write-through updates main memory on every write, keeping memory consistent but slower. Write-back updates memory only when a dirty block is evicted, reducing traffic but requiring dirty-bit tracking.

Memory addressing

1 question
Q7.EASY

How many address bits are needed for a 512×4512 \times 4512×4 memory?

512 words means 292^929 locations, so 9 address bits are required. The data width 4 does not affect the address size.

Cache mapping

2 questions
Q8.MEDIUM

For a 32K × 12 main memory, 512 × 12 cache, and block size 1 word, how is direct mapping done?

32K = 2152^{15}215 and 512 = 292^929, so the address splits into 9 index bits and 6 tag bits. Each cache line maps one word, and the tag is compared on lookup.
Q35.MEDIUM

What is the limitation of direct mapping in cache?

Each block maps to exactly one cache line, so blocks with the same index conflict and evict each other. This causes conflict misses even when other lines are free.

Memory hierarchy

1 question
Q9.EASY

What is the principle of locality and why does it justify cache use?

Programs tend to reuse recently accessed data (temporal locality) and nearby addresses (spatial locality). Cache exploits this by keeping recently used blocks close to the CPU, giving high hit ratios.

Memory organization

1 question
Q10.MEDIUM

What is m-way memory interleaving and is it useful in pipelined systems?

Memory is split into m banks so consecutive addresses go to different banks, allowing parallel access. Yes, it is useful in pipelines because it supplies operands faster and reduces memory stalls.

Vector memory

1 question
Q11.HARD

Differentiate C-access and S-access memory organizations.

C-access (concurrent) allows multiple vector elements to be accessed simultaneously from different banks. S-access (simultaneous) accesses one word per bank in a fixed pattern, giving simpler but less flexible vector loading.

Vector processing

2 questions
Q12.MEDIUM

What is strip mining in vector processors?

Strip mining breaks a long vector loop into chunks that fit the vector register length. It lets vector processors handle vectors longer than the hardware register size efficiently.
Q13.EASY

What is vector stride and why is it needed?

Stride is the distance between consecutive elements accessed in memory, e.g., accessing every k-th element. It is needed to handle non-contiguous data like columns of a matrix in vector operations.

Vector vs scalar

1 question
Q14.MEDIUM

What is the main advantage of classical vector systems over RISC-based systems?

Vector systems process many data elements with a single instruction, reducing instruction fetch and decode overhead. This gives high throughput for regular array computations.

ILP architectures

1 question
Q15.HARD

Compare superscalar, superpipeline, and VLIW architectures.

Superscalar issues multiple instructions per cycle dynamically; superpipeline deepens the pipeline to raise clock rate; VLIW packs multiple operations into one long instruction statically scheduled by the compiler.

Parallel classification

1 question
Q16.EASY

What is Flynn's classification of parallel computers?

Flynn classifies by instruction and data streams: SISD, SIMD, MISD, and MIMD. SIMD is used in array processors and MIMD in multiprocessors.

Parallel architectures

1 question
Q17.MEDIUM

Differentiate multiprocessors and multicomputers.

Multiprocessors share a common memory and communicate via shared variables; multicomputers have private memories and communicate by message passing. Multiprocessors need cache coherence, multicomputers do not.

Interconnection networks

4 questions
Q18.MEDIUM

What is a 4-ary 3-cube hypercube architecture?

It is a hypercube network with 4 nodes per dimension and 3 dimensions, giving 43=644^3 = 6443=64 nodes. Each node connects to 3 neighbors, one per dimension.
Q19.EASY

Give two examples of 2-dimensional static network topologies.

Mesh and torus are common 2-D static topologies. They connect nodes in a grid, with torus adding wrap-around links.
Q20.HARD

Compare crossbar and multistage interconnection networks.

A crossbar gives full connectivity with N2N^2N2 switches but is costly; a multistage network like omega uses N2log⁡2N\frac{N}{2}\log_2 N2N​log2​N switches with blocking. Crossbar has lower latency but higher hardware cost.
Q21.MEDIUM

What is an omega network and what is its main limitation?

An omega network is a multistage logarithmic network using shuffle-exchange stages. Its main limitation is blocking, since different input-output pairs may contend for the same link.

Pipeline scheduling

1 question
Q22.MEDIUM

What is a reservation table used for in pipeline design?

It shows which pipeline stages are used in which cycles by a given function. It helps find forbidden latencies, collision vectors, and the minimum average latency (MAL) for scheduling.

Pipeline performance

1 question
Q23.EASY

What is the speedup for a four-stage linear pipeline with n=64n=64n=64 instructions?

Speedup =
nkk+n−1=64×44+63=25667≈3.82\frac{nk}{k+n-1} = \frac{64 \times 4}{4+63} = \frac{256}{67} \approx 3.82k+n−1nk​=4+6364×4​=67256​≈3.82
. It approaches k=4k=4k=4 for large nnn.

Disk performance

1 question
Q26.HARD

A disk has seek time 30 ms, rotates at 30 rps, and track capacity 300 words. What is the access time for one word?

Rotational latency = 12×30\frac{1}{2 \times 30}2×301​ s = 16.67 ms. Transfer time for one word = 130×300\frac{1}{30 \times 300}30×3001​ s = 0.11 ms, so total ≈ 46.78 ms.

Memory types

1 question
Q27.EASY

What is associative memory and where is it used?

Associative memory searches by content rather than address, comparing all entries in parallel. It is used in cache tag directories and TLBs.

SIMD extensions

1 question
Q28.EASY

What is the main advantage of MMX technology?

MMX adds SIMD integer instructions that process multiple data elements in one instruction. This speeds up multimedia tasks like image and audio processing.

Parallel processors

1 question
Q29.MEDIUM

What is the basic difference between vector and array processors?

Vector processors operate on vectors with pipelined functional units; array processors use many processing elements working in parallel on array elements. Vector uses temporal parallelism, array uses spatial parallelism.

ISA

1 question
Q30.EASY

What is the difference between RISC and CISC?

RISC uses simple fixed-length instructions and many registers with pipelining; CISC uses complex variable-length instructions with fewer registers. RISC is easier to pipeline, CISC reduces code size.

Memory management

1 question
Q31.EASY

What is a Memory Management Unit (MMU)?

The MMU translates virtual addresses to physical addresses using page tables and a TLB. It also enforces memory protection between processes.

Dataflow architecture

1 question
Q32.HARD

What is a dataflow computer and how does it differ from control flow?

A dataflow computer executes an instruction when its operands are ready, with no program counter. Control-flow machines execute instructions in a fixed sequence, so dataflow exploits parallelism naturally.

I/O organization

1 question
Q33.MEDIUM

What is I/O interface and what is memory-mapped I/O?

An I/O interface connects peripherals to the system bus, handling data, status, and control. In memory-mapped I/O, device registers share the memory address space, so normal load/store instructions access them.

Performance metrics

1 question
Q34.EASY

What are the main parameters used to measure CPU performance?

Clock rate, CPI (cycles per instruction), and instruction count determine execution time:
T=IC×CPI×TclkT = IC \times CPI \times T_{clk}T=IC×CPI×Tclk​
. MIPS and FLOPS are derived metrics.

Frequently Asked Viva Voce Questions

High-priority theoretical and lab evaluation questions typically tested by MAKAUT external examiners.

Related Course Resources

SYLLABUSComputer Architecture Syllabus & Handouts
Open resource
PYQSemester 4 PYQ Papers
Open resource

On This Page

26 Units
Pipeline basics1
Pipeline hazards4
Cache performance2
Cache write policies1
Memory addressing1
Cache mapping2
Memory hierarchy1
Memory organization1
Vector memory1
Vector processing2
Vector vs scalar1
ILP architectures1
Parallel classification1
Parallel architectures1
Interconnection networks4
Pipeline scheduling1
Pipeline performance1
Disk performance1
Memory types1
SIMD extensions1
Parallel processors1
ISA1
Memory management1
Dataflow architecture1
I/O organization1
Performance metrics1