Lecture 2 Flashcards
What is hardware?
Hardware: covers all the parts of the computer that you can physically touch.
E.g. Keyboard
What is a bus?
A ‘bus’ is a set of wires or copper tracks that are built into the motherboard
External buses such as USB can transfer data in and out of the computer
The bus system determines the size of each memory location and it also determines how much memory can be installed in the system.
Data bus?
It is a bi-directional bus that carries data between the processor and memory
Address bus?
Carries the address of the memory location being read from or written to
Control bus?
Carries signals that control the operation of each device
What is the control unit?
This is the part of the central processor unit (CPU) which manages the execution of instructions.
The control unit fetches each instruction in sequence, decodes and synchronises it before executing it by sending control signals to other parts of the computer.
What is the ALU?
This is the part of the CPU where data is processed and manipulated. The Arithmetic Logic Unit performs logic, shift and arithmetic operations on data.
Logic-NOT, AND, OR
Shift-shift bit pattern to left or right
Arithmetic-add, times,subtract
What are registers?
A small number of read/write memory cells that operate at very high speed.
Part of the ALU.
Holds the operands of an operation and on completion holds the result of the operation.
Addressed more quickly than regular memory cells
what is a byte?
If a memory location contains 8 binary digits (bits) it is known as a byte
What is ROM?
ROM cannot be changed by the processor, but only read by it.
When the computer is turned off the contents of ROM are maintained - known as non-volatile memory.
ROM is used for:
Storing the bootstrap program that starts the computer
Store fixed data associated with the computer system
Sometimes stores programs that remain in the computer at all times.
What is RAM?
Memory which holds data loaded from the backing store – data that the computer is to process, screen display etc.
It can be written to i.e. read/write memory
Lost when the computer is turned off -known as volatile memory
RAM is used for:
Storing programs that are being executed
Store data required for immediate use
As buffers for external storage devices
what is Cache memory?
High speed memory
Part of the processor or a special high speed cache memory chip
Used to speed up the execution of computer programs
Cache memory is faster than RAM and ROM but slower to access than a register
The following can be stored in a cache:
Program instructions that are executed many times
Regularly used data
Virtual memory page tables
Pipelining
what is the Machine clock?
An electronic device that produces a pulse of electricity at regular intervals.
A computer runs on a clock – a 2.5 GHz machine is running at 2.5 thousand million cycles per second. Each cycle is a clock pulse. The faster the clock, the more instructions per second.
Used to synchronise the computer system
Normally connected to the processor passing on synchronising signals through the control bus.
The complexity of the instructions affects the speed of processing.
Improving performance:
Number of cores
A single processor can only run 1 instruction at a time.
To get beyond this you need an additional processor.
This allows more than one instruction to be run and increases the speed of the computer.
Programs and computers have to be written to make use of the second processor
Improving performance:
Bus speed
The speed of the computer is also determined by how fast the data can travel. Data travels down buses
Increasing the speed of the bus decreases the waiting time and increases the speed. The speed of the bus is determined by the clock speed