Unit 5 - Computer organisation and hardware Flashcards
What is the definition of a computer system?
A computer system is a system that takes in a set of inputs, processes them and outputs a set of outputs.
What are the four component types contained within the CPU?
- Processor
- Main memory
- Address, control and data buses
- I/O controllers
What allows an I/O device to interface with the computer?
I/O devices use I/O controllers, named device drivers, as a bridge between them and the computer.
Tasks of an I/O controller:
- Convert signals from peripheral device into a format the computer can process and vice versa
- Receive I/O signals from the CPU and send device-specific signals to the device
- Manage data flow to and from the device
What are the three buses and their purposes?
- Control bus sends control signals
- Data bus sends data
- Address bus sends memory addresses
In what direction does the address bus send memory addresses?
The address bus only sends addresses from the processor to all the CPU components.
In what direction does the control bus send signals?
The control bus sends signals between the processor and all CPU components, in both directions.
In what direction does the data bus send data?
The data bus sends data from the processor to output devices and memory and sends data from input devices to memory.
Give two examples of control signals.
- Memory read
- Memory write
- Bus request
- Bus grant
- Clock
What are the units that memory is divided up into?
Words.
What is a word (CPU)?
A word is a fixed-size unit of data handled as an instruction by the processor.
What is the width of a data bus?
The width of a data bus is the number of wires it contains and the word length that can be transferred in a single operation.
What does the width of the address bus decide?
The width of the address bus decides the maximum possible number of memory addresses of the system.
What is the stored program concept?
The stored program concept is the loading of machine code instructions into memory, where they can then be executed immediately by the processor in a sequential order.
What is the difference between Harvard architecture and Von Neumann architecture?
Harvard architecture grants a separate bus of data and instructions, whilst Von Neumann architecture requires them to both share a single bus.
When is Harvard architecture most commonly used and why?
Harvard is most commonly used in embedded systems that need to perform specialist functions. This is because speed is often important and the cost is less of a concern.