Browse papers
A

Section A: Long Answer Questions

Attempt all / any as specified.

4 questions
1long14 marks

(a) Differentiate between RISC and CISC instruction set architectures with respect to instruction format, addressing modes, and hardware complexity. (7)

(b) A processor supports the following addressing modes: immediate, direct, indirect, register, register-indirect, and indexed. For an instruction LOAD R1, X where the effective address is to be computed, explain with diagrams how the operand is fetched in register-indirect and indexed addressing modes, and state one practical use of each. (7)

instruction-set-architectureaddressing-modes
2long14 marks

(a) Distinguish between hardwired control and microprogrammed control units, listing two advantages and two disadvantages of each. (6)

(b) Design a microprogrammed control unit and explain the role of the control memory, control address register (CAR), control data register, and sequencing logic. Show how the next microinstruction address is selected during conditional branching. (8)

control-unit-designcpu-organization
3long12 marks

(a) Explain the principle of locality of reference and how it justifies the use of a memory hierarchy. (4)

(b) Consider a system with a cache access time of 5 ns and a main memory access time of 70 ns. If the hit ratio is 0.92, calculate the average memory access time. Then determine the new hit ratio required to reduce the average memory access time below 8 ns. (8)

memory-hierarchycache
4long12 marks

(a) Explain the different types of pipeline hazards (structural, data, and control) with one example of each. (6)

(b) A non-pipelined processor takes 12 ns to execute an instruction. The same datapath is divided into a 5-stage pipeline with stage delays of 3 ns, 2 ns, 4 ns, 2 ns, and 3 ns, plus a 0.5 ns latch delay per stage. Compute the clock period, the speedup for executing 1000 instructions, and the maximum theoretical speedup. (6)

pipeliningperformance-metrics
B

Section B: Short Answer Questions

Attempt all / any as specified.

8 questions
5short7 marks

Describe the instruction cycle of a CPU and explain the sequence of micro-operations performed during the fetch phase using register transfer language (RTL).

cpu-organizationinstruction-cycle
6short7 marks

A direct-mapped cache has 64 blocks with a block size of 16 bytes. The main memory is 4 KB. Determine the number of bits in the TAG, LINE (block), and WORD fields of the memory address. Show how the address 0x2A7 is split across these fields.

cachecache-mapping
7short7 marks

Compare programmed I/O, interrupt-driven I/O, and Direct Memory Access (DMA) as techniques for data transfer between the CPU and I/O devices, highlighting their relative advantages in terms of CPU involvement and throughput.

io-organizationinterrupts
8short7 marks

State Flynn's classification of computer architectures and briefly describe each category (SISD, SIMD, MISD, MIMD) with a representative example of each.

parallel-processingflynn-taxonomy
9short6 marks

A program spends 40% of its execution time on a section that is enhanced to run 5 times faster. Using Amdahl's law, calculate the overall speedup of the program. What is the maximum achievable speedup if the enhancement were made infinitely fast?

performance-metricsamdahls-law
10short6 marks

Explain the daisy-chaining method of bus arbitration with a suitable diagram. State one advantage and one limitation of this scheme compared to a centralized parallel arbitration scheme.

io-organizationbus-arbitration
11short6 marks

Explain the concept of virtual memory and the role of paging. Describe how a Translation Lookaside Buffer (TLB) improves the performance of address translation.

memory-hierarchyvirtual-memory
12short6 marks

Differentiate between a multicore processor and a multiprocessor system. Briefly explain cache coherence and why it becomes a problem in shared-memory multiprocessors.

parallel-processingmulticore