Instructions: 1. This Examination Consists of FIVE Questions 2. Answer Question ONE (COMPULSORY) and Any Other TWO Questions
Instructions: 1. This Examination Consists of FIVE Questions 2. Answer Question ONE (COMPULSORY) and Any Other TWO Questions
INSTRUCTIONS:
1. This examination consists of FIVE questions
2. Answer Question ONE (COMPULSORY) and any other TWO questions
QUESTION 1 - 30 MARKS
a) The following graph (Figure 1) captures different microprocessor trends over the years.
Answer the following questions based on the Figure.
i. BRIEFLY DESCRIBE relationship between the cores and frequency trends (2 marks)
ii. Sketch the behaviour of the transistor and power trends in Question One (a)(i) above
from 2010 – 2021 (4 marks)
iii. Explain the behaviour of your curves drawn in Question One (a)(ii) above (2 marks)
Page 1 of 5
b) Assume a hypothetical compute X which has 7 address lines, 8 data lines, L1 cache (32
bytes) and block size of 8 bytes. This computer serves as a model or abstraction of the
step-by-step behaviour of a real-life digital computer. Being only a model - and thus a
simplification of reality - the hypothetical computer does not possess all the capabilities
of a real-world general-purpose computer; however, it operates essentially the same
way. In addition, the computer has the following specifications:
The Central Processing Unit (CPU): Control unit (CU): does the decoding (or
interpreting) of instructions and sends out the electronic signals that cause an
instruction to be executed.
Arithmetic/logic unit (ALU): carries out the arithmetic calculations (e.g., adding)
and logical calculations (e.g., comparing).
Registers – ACC, B, C, D, E, Program Counter (PC), Stack Pointer (SP) – these
are special, high-speed storage cells that are directly accessible by the CU and
ALU
The Accumulator (ACC) (8 bits) - holds data that has just been produced as the
result of an instruction or that is about to be operated upon
Instruction Set:
Opcode Name Effect
--------- -------- --------------------------------------------------------------
0010 WRITE displays contents of ACC onto screen
0011 LOAD copies contents of memory address into ACC
0101 STORE copies contents of ACC into specified memory location
0110 ADD adds contents of specified register to ACC
1000 SUB subtracts contents of specified register from ACC
1010 MOV Rd, Rs copies contents of register Rs to Register Rd
Page 2 of 5
(100-80) based on the given INSTRUCTION SET and display result on the
screen (5 marks)
ii. How many bytes of data in RAM is accessible to the computer X? Briefly
explain how you arrived at your answer (3 marks)
iii. Calculate the block index and cache index (4 marks)
iv. ILLUSTRATE the Direct Cache Mapping scheme (6 marks)
c) Since the invention of transistors in 1950’s, microprocessor design has evolved over
time. Certain technologies have been embraced by microprocessor manufacturing
entities which has resulted in a significant increase in performance. Basing your
argument(s) on computer X or a practical example, ILLUSTRATE how each of the
following microprocessor design technologies have contributed to better performance
over time (4 marks)
i. Branch prediction
ii. Pipelining
QUESTION 2 - 15 MARKS
Page 3 of 5
QUESTION 3 - 15 MARKS
a) Error detection and correction is a key process in computer systems. The transmitted
data can be corrupted during communication or storage thus the input data may not be
the same as the output data. This kind of mismatch is known as "error."
i. List ANY TWO external storage devices (2 marks)
ii. List and explain ANY two common sources of errors (4 marks)
b) Computer system components are interconnected by communication pathways called
buses. With aid of practical example(s), BRIEFLY highlight the role of each of the
following buses while stating some of the factors which influence their size and features
(9 marks) Note: you can base your arguments on computer X described in Question
ONE or any other computer of your choice
i. Data bus
ii. Control bus
iii. Address bus
QUESTION 4 - 15 MARKS
Page 4 of 5
QUESTION 5 - 15 MARKS
The Figure 2 below shows a hypothetical Random Access Memory (RAM). It is divided
into locations numbered from (row) 1: (column) 1 to (row) 6: (column) 4.
i. STATE and EXPLAIN any THREE differences between CISC & RISC architecture
(6 marks)
ii. Between CISC and RISC, which architecture would you choose if you had a
company focussing on designing a new computer processor for local desktop
computer manufacturing? Give reason(s) to support your argument? (6 marks)
iii. STATE and EXPLAIN any TWO variations of RAM (3 marks)
Page 5 of 5