Briefly describe the function of the following components of a computer:
a. ALU
b. Register array
c. Control Unit
d. Primary Memory
e. Input / Output Unit
a: Arithmatic Logic unit; performs arithmatic or logical operations
b: a group of memory circuits used to store binary data
c: igital circuitry that coordinates all activities in the processor
d: memory accessible by the processor e.g. RAM, ROM, Casche
e. allows data/ signal transfer between ‘external’ devices and the processor/ memory
What is a bus?
Describe what it is (physical structure) and what it does.
the communications path that connects the CPU to the other components
a set of ‘wires’ that carry bits to different registers
Name the 3 components of a system bus and describe their function.
(clue: what is the direction)
(+1 point: middle bus mentions what it transfers)
address bus: unidirectional bus that transmits memory addresses
data bus: bidirectional bus that transfers data to and from memory.
Transfers data, instructions, operand addresses
control bus: a bidirectional bus that times and decodes instructions with clock signals
what is the IR and what does it do
Instruction register: holds the current instruction to be decoded
what is the PC and what does it do
Program Counter: holds the next address to be fetched from memory
what is the MAR and what does it do
memory address register: Holds address of operand to be fetched from memory
what is the Accumulator and what does it do
Data register that holds an output of ALU
what is the Address Latch and what does it do
temporarily holds the address that is being fetched via the address bus
what is the Data buffer and what does it do
temporarily holds the data that is being read from memory via data bus
There is a control signal called R/W . What do the symbols R, W and the (bar symbol) mean?
Describe the function of this control signal with records to primary memory.
R = read
W = write
the bar = not: signal is Active-low
so when the bar is over the W, the signal is low and it will do a write operation otherwise, it will do a read operation
What is an instruction set? (give an example of an instruction within the instruction set)
a predefined set of instructions that a processor can perform
e.g. ADD (add to accumulator)
In binary, the MSB refers to:
e. The number of bits in memory
a. The ‘rightmost’ bit
d. The largest bit that is a ‘1’
c. The ‘leftmost’ bit
b. The first bit that is a ‘1’
c. The ‘leftmost’ bit
Non-integer numbers are stored in computers as:
b. Floating point numbers
c. Hexadecimal
a. Fractions
d. Octal
e. ASCII
b. Floating point numbers
The devices or software that can convert non-textual data to binary and back are called:
c. Modems
b. Assemblers
e. Simulators
a. Accumulators
d. Codecs
d. Codecs
a hardware or software tool that compresses and decompresses digital media, like video and audio, to make files smaller for easier storage and transmission, and then restores them for playback or editing
Data addressing modes are the ways in which:
a. The binary addresses are converted to integers
e. The calculations are carried out
b. The operands can be accessed by the processor
c. The address is transferred to the data bus
d. The processor accesses the instructions
b. The operands can be accessed by the processor
When the data to be processed is contained in the next byte(s) of the program code, it is called:
c. Implied addressing
e. Program decoding
a. Programmed data
b. Internal addressing
d. Immediate addressing
d. immediate
In _______________ format, the low-order byte of the data is stored first.
little endian
The binary address 1010 0001 0100 1111 when represented in hexadecimal would be:
e. F81B h
b. F41A h
a. A14F h
d. B18F h
c. 1092B h
a. A14F h
In relative program addressing mode, a constant called an offset added to the _________________.
Program Counter
PC register
PC
A signed integer is stored in memory as 1010 1010. The value of this integer in decimal is:
86
-42
-170
-86
170
-86
The part of the processor that does the computation (e.g. adding of numbers) is called the:
a Accumulator
b Instruction Decoder
c Primary Memory
d ALU
e Program Counte
ALU
The system bus consists of three separate buses, which are:
a Data bus
b Control bus
c Binary bus
d I/O bus
e Address bus
a b e
Clock signals are needed to:
To keep track of how long processor has been running
To work out the speed of all components
To find the most efficient operation
Synchronise the actions of different components of the system
To keep track of what time it is
Synchronise the actions of different components of the system
What the processor does continuously from the time it is switched on till it is switched off is:
the boot sequence
the fetch-decode-execute cycle
the I/O process
the computation process
the duty cycle
the fetch-decode-execute cycle