Unit 1 - System architecture Flashcards
What is the purpose of the CPU?
Architecture of CPU
Mark scheme answer
Processes instructions.
It is the part of the computer that fetches and executes the instructions that are stored in memory.
The CPU contains the Arithmetic Logic Unit (ALU) and the Control Unit (CU).
How is the CPU different to the brain?
Architecture of CPU
- CPU simply runs one simple instruction at a time
- It carries out billions of instructions per second
What is the Von-neumann architecture?
Architecture of CPU
Program instructions and the data the programs are using are both stored in the same memory
The CPU accesses both instructions and data from the same RAM
What are the 2 main components of CPU?
Architecture of CPU
- Control Unit
- Arithmetic Logic Unit
What are registers?
Architecture of CPU
A register is a very fast
memory location in the
CPU itself
What is cache?
Architecture of CPU
Mark scheme answer
Cache stores frequently used instructions/data
that can be accessed faster than accessing them from RAM
What are the registers in the CPU?
Architecture of CPU
- Program Counter
- Memory address register
- Memory data register
- Accumulator
What does the PC do?
Architecture of CPU
Mark scheme answer
Stores the address of the next instruction to be fetched from memory.
Increments in each fetch-execute cycle.
What does the MAR do?
Architecture of CPU
Mark scheme answer
Stores the address of the data to be fetched from, or the address where the data is to be stored.
What does the MDR do?
Architecture of CPU
holds the actual instruction, and then the data that has been fetched from memory
What does the accumulator do?
Architecture of CPU
holds the result of an instruction before it is transferred to memory
What is the function of te CU?
Architecture of CPU
Mark scheme answer
Coordinates the processor and F-E cycle
Decodes instructions
Runs F-E cycle
How does the CU control the CPU?
Architecture of CPU
- It decodes instructions and executes them
- It receives signals from the system clock
- It directs the timing and control of other parts of the CPU
What does the ALU do?
Architecture of CPU
ALU is where the actual arithmetic operations are done and also carries out logical operations
How do the MAR and MDR work in the F-E cycle?
Architecture of CPU
- CU decodes the instruction and decides if data needs to be fetched
- address of the instruction to be executed is copied from PC to MAR
- instruction at that address is fetched from memory and copied to MDR
How does the CPU operate?
Architecture of CPU
FDE cycle
The CPU operates by repeating three operations:
- FETCH – causes the next instruction and any data involved to be fetched from main memory
- DECODE – decodes the instruction
- EXECUTE – the instruction is executed
What affects the performance of CPU?
CPU performance
- Clock speed
- Processor cores
- Cache
How does clock speed affect performance?
CPU performance
- Everything in a computer happens on the pulse of the internal clock
- Therefore, the faster the clock speed, the faster the instructions are processed per second
How do multicore processors affect performance?
CPU performance
Mark scheme answer
Dual core is double the number of processors. Parallel processing can take place which means each processor can execute a separate instruction at the same time which enables multitasking
Some processes/software cannot be
split between two processors so it does not increase the performance
What is cache memory?
CPU performance
Cache is a very small amount of memory that is between the CPU registers and RAM. When an instruction is fetched from main memory it is copied into the cache so if it is needed again soon after, it can be fetched from cache which is much quicker than going back to main memory. As cache fills up, unused instructions or data still being held are replaced with more recent ones.
How does cache affect perfromance?
CPU performance
Mark scheme answer
Cache stores frequently used data that can be accessed faster than
accessing them from RAM
So more cache improves the performance of the CPU.
What is an embedded system?
CPU performance
Mark scheme answer
Embedded system has specific function. And has a microprocessor on a single circuit board
What are the 2 types of primary storage?
Memory
- RAM
- ROM