many blocks would this memory have?
(3 marks)
c) How many lines of cache memory will be req uired to accommodate all blocks
main memory in (b} above by using the direct cache addressing scheme? (3 marks)
Question 4
[6 marks]
a) Explain your understanding of Boolean algebra and Boolean identities, and describe how and
why they are used to model digital circuits. Provide examples and, where appropriate,
illustrations to support your explanation.
(6 marks)
Question 5
[15 Marks]
The following diagram represents a logical circuit. Please provide answers to the accompanying
questions based on your understanding of circuit analysis
a) Provide a complete name of this ci rcuit
(2 marks)
b) Within the architecture of a CPU, where exact ly would you find this circuit? (3 marks)
c) Citing its components A, and B, describe how this circuit work
(4 marks)
d) Provide a truth table for the circuit. Ensure that the truth table clearly displays all
input and output labels, along with the corresponding values.
(6 marks)
:-------B---sum
~ - - ~ND, •,____,_ carry
Question 6
[21 marks]
a) Instruction addressing modes are essential concepts in comput er architecture, dictating how the
processor identifies the operands (data) required for an instruction. These addressing modes offer
various methods to access data, providing t rade-offs between speed, flexibility, and complexity,
allowing efficient programming depending on the use case.
Explain any four types of instruction addressing modes, and include an example for each mode in
your response.
(8 marks)
b) Identify and briefly explain the purpose of any four(4} CPU registers crucial for instruction
execution.
(8 marks)
c) The Program Status Word (PSW) holds key information about a program's current state.
Name and briefly explain any five common status flags found w ithin a PSW. (5 marks)
*****END OF PAPER*****
Page 4 of4