Computer Architecture 2
Computer Architecture 2
Qno.1 (a) One of the key features of von Neumann computer architecture is the use of
buses. Three buses and three descriptions are shown below.
Draw a line to connect each bus to its correct description.
Answer:
(b) The seven stages in a von Neumann fetch-execute cycle are shown in the table below.
Put each stage in the correct sequence by writing the numbers 1 to 7 in the right hand
column. The first one has been done for you.
ANSWER:
The incrementation of the program counter can appear at any stage after 2. All other
stages must be in the correct given order.
Qno.2 An alarm clock is controlled by a microprocessor. It uses the 24 hour clock. The hour is
represented by an 8-bit register, A, and the number of minutes is represented by another 8-bit
register, B.
(a) Identify what time is represented by the following two 8-bit registers.
Answer:
(a) hours: 18
minutes: 53
(b) An alarm has been set for 07:30. Two 8-bit registers, C and D, are used to represent the
hours and minutes of the alarm time.
Show how 07:30 would be represented by these two registers:
Answer:
( c) Describe how the microprocessor can determine when to sound the clock alarm.
Answer:
Any three from:
reads values in registers C and D
and checks the values against those stored in registers A and B
(NOTE: the first two statements can be interchanged, i.e. A and B read first)
If values in corresponding registers are the same
the microprocessor sends a signal to sound alarm/ring
(d) The LCD (liquid crystal display) on the clock face is back-lit using blue LEDs (light emitting
diodes). The brightness of the clock face is determined by the level of light in the room. The
(e) Modern LCD monitors and televisions use LED back-lit technology.
Give two advantages of using this new technology compared to the older cold cathode
fluorescent lamp (CCFL) method.
Answer:
(e) Any two from:
no need to warm up
whiter tint/more vivid colours/brighter image
higher resolution
much thinner monitors possible/lighter weight
more reliable technology/longer lasting
uses much less power/more efficient
Qno.3 Circle true or false
1. T
5. T F RAM and ROM are part of the main memory or storage of the processor, but
RAM differs from ROM because its contents are randomly accessible while ROMs are
not.
6. T
F
write.
Qno.4 Matching
Terms
Explanation
1. CPU
2. RAM
3. ROM
4. ALU
5. MHz
6. I/O
ALU
MAR
MBR
2. Data stored here is not erasable and usually contains instructions for booting the system and
other important information.
ALU
DRAM
cache
ROM
3. Keeps track of the address of the next executable instruction in the execution of a machine
program.
CPU
MBR
PC
IR