Unit 3 Flashcards
what is the purpose of the CPU
the Central Processing Unit processes instructions and data that are input into the computer to output the result
what does the CPU consist of
control unit(CU)
Arithmetic and Logic Unit(ALU)
registers and buses
what is the ALU
arithmetic and logic unit
does the required arithmetic or logic such as operations
computers can have multiple ALU’s
what is a microprocessor
a type of integrated circuit on a single microchip
what is the CU
control Unit
reads instructions from memory
The control units ensures synchronisation of data flow and program instructions through the computer
what is the system clock
used to produce timing signals on the control bus to ensure synchronisation
without it the computer would crash
what is the CIR
current instruction register
stores the current instruction being decoded and executed
what is the ACC
accumulator
stores data temporarily thats used for the calculations in the ALU
what is the MAR
memory address register
stores the address of the memory location currently being read from or written to
what is the MDR
memory data register
stores data which has just been read from memory is about to be written to memory
what is the PC
program counter
stores the address where the next instruction to be read can be found
what are system buses
used in computers as parallel transmission components
address bus, data bus, control bus
whats the address bus used for
carries addresses throughout the computer system
it is unidirectional(one direction)
what is the data bus
bidirectional
used to carry data from CPU to memory and vice versa
also to and from input and output devices
what is the control bus
bidirectional
carries signals from the control unit to all other computer components
what is the fetch - decode - execute cycle
- the PC contains the address of the memory location of the next instruction
- address is then copied from the PC to the MAR through the address bus
- the data at the location are then copied temporarily into the MDR
- the contents of the MDR are then copied and placed into the CIR
- value in PC is incremented by 1 so it points to the next instruction which has to be found
- instruction is decoded and executed by sending out signals through the control bus to the various components of the computer system
how can width of buses affect computer performance
increasing the width allows more data to flow meaning the CPU works faster
what is overclocking
if the clock speed becomes higher than the computer was designed for can cause the computer to be unsynchronised and cause the computer to crash
can lead to overheating and unreliable performance
what are cache memories
can also improve CPU performance
located inside the CPU meaning faster access times
stores frequently accessed instructions and datas
larger the cache size the better the CPU performance
how does the use of different number of cores affect performance
using more cores can improve computer performance
however increasing the number of cores means the the CPU needs to communicate more with each core so potential performance is reduced
what is instruction sets
a list of all commands that can be processed by a CPU and the commands are machine code
what are embedded systems
combination of hardware and software which is designed to carry out a specific set of functions
features of an embedded system
they are small
cheap to make
consume little power
can be controlled remotely
reliable due to mass production
what is a barcode
a series of dark and light parallel lines of varying thickness