4b - Computer systems - hardware Flashcards
What is the CPU?
the central processing unit executes the instructions needed to run a program in a computer system
What is the ALU?
the arithmetic logic unit performs all the calculations and logical operations needed to run a program on a computer system
What is the CU?
the control unit controls the flow of data by decoding instructions to tell the memory, ALU, and other components what they are meant to do
What is the clock in a CPU?
an oscillating crystal that regulates the timing and speed of all the components’ functions within the CPU by sending out regular electrical signals
What is a register?
high speed volatile memory on the CPU that only stores a piece of info, like an instruction, before it is transferred to another component
What is a bus?
several parallel wires through which data is transmitted from one component to another
What are the key features of Von Neumann architecture?
-control unit
-shared bus
-single store of main memory for both data and instructions
How are the key features of Von Neumann architecture used?
used in combination for accessing/storing both data and instructions, which are fetched and executed sequentially through the FE cycle
What are the 3 factors that affect CPU performance?
-clock speed
-number of processor cores
-size of cache
The speed of other components (eg RAM/buses) can also affect CPU performance, although not directly
What is a processor core, and how does the number of cores affect CPU performance?
-a core is a processing unit containing an ALU, CU, cache, and registers
-more instructions can be executed per clock tick, speeding up processes on the computer system
This is known as parallel processing
Why can cache size affect the CPU’s performance in a computer system?
-the CPU always checks cache first for instructions as it is closer, before taking a longer time to check RAM
-the more cache there is, the more quick-reference instructions can be stored and used, saving time and increasing speed
What is the Fetch Execute cycle?
process where the CPU continuously retrieves instructions from main memory and executes them as required
Describe the steps involved in the Fetch Execute cycle:
fetch - the next instruction is retrieved from main memory to the CPU
decode - instruction is decoded by the CU to work out what it is
execute - instruction carried out by ALU (may also include reading/writing from/to main memory)
What is RAM? Describe its purpose:
-random access memory
-a form of volatile memory (contents lost if depowered)
-used to load programs/data before they are ran, so the CPU can access it faster than if it were stored on secondary storage
By the Stored Program Concept, the program must be in RAM before it can be executed by the CPU, so RAM is quite important.
How is main memory used on a computer system?
-every memory location has a unique address which can be accessed when required
-loads programs before they are ran, and stores the instructions/data while it is being executed