1.1: SYSTEMS ARCHITECTURE Flashcards
What is the purpose of the CPU?
To process data and instructions stored in memory by repeatedly carrying out the fetch-decode-execute cycle.
Explain the fetch-decode-execute cycle?
-an instruction is fetched from memory, decoded by the control unit and executed, and the cycle repeats
Functions of the control unit: MAIN POINT and additional ones (4 in total)
- issues control signals that control hardware
- provides timing signals
- fetches, decodes and executes instructions
- moves data around the system
Functions of the Arithmetic Logic Unit: (3)
- performs arithmetic and logical calculations/ operations.
- acts as a gateway between primary memory and secondary storage. Data transferred between them passes through the ALU.
- bit shifts
What are registers and what is their function? (2)
- small amounts of high-speed memory contained within the CPU.
- used by processor to store small amounts of data that are needed during processing
What is the purpose and REASON that cache is important within the CPU? (what does it do, and how does that affect the CPU) (2)
- hold data and instructions that the processor is likely to reuse
- allows for faster processing as the processor does not have to wait for the data and instructions to be fetched from RAM.
What is the purpose of a clock?
used to coordinate all of the computer’s component
How does the clock complete its function?
-sends out a regular electrical pulse which synchronises all the components.
What is the correlation between the clock and clock speed?
The frequency of the pulses is known as the clock speed.
What is a bus and what is its function? (2)
- high-speed internal connection.
- used to send control signals and data between the processor and other components.
program counter:
stores the address of the next instructions to be run (fetched from primary memory), and increments by 1 for every time an instruction is run
memory address register (MAR):
stores the address where the next data will be fetched from
memory data register (MDR):
stores the data that has just been fetched
current instruction register (CIR):
holds the instruction that is currently being decoded and executed
accumulator (ACC):
temporarily stores results by the operations carried out by the ALU
Function of the Address bus:
-carries memory addresses from the processor to other components (such as primary memory and input/output devices)
Function of the Data bus:
carries the actual data between the processor and other components.
Function of the Control bus:
carries control signals from the processor to other components. The control bus also carries the clock’s pulses.
EQ: Identify 2 input devices and one output device that may be connected to the CPU.
Input: keyboard, mouse, scanner, digital camera, microphone, webcam
Output: monitor, printer, speaker
3 factors that affect CPU performance:
clock speed
- cache size
- number of cores
what is clock speed?
-number of fetch-execute cycles per second.
Why is cache memory more efficient than RAM?
- cache memory operates much faster than memory, as data is transferred in and out of cache memory more quickly.
- therefore it makes the CPU more efficient as less time is spent waiting for data to be transferred.
what is clock speed measured in and how does it correlate to the number of instructions?
-clock speed is measured in hertz. The higher the frequency, the more instructions can be performed in any given moment of time.
How will the CPU optimise its use of cache? and for what reason?
- use the fastest cache before using the next level or using RAM.
- in order to improve the performance speed