computing systems Flashcards
What is the function of cache in the CPU?
Cache stores recently used data and instructions in memory that is faster to access than RAM
Name three components inside a CPU
- Control Unit (CU)
- Arithmetic Logic Unit (ALU)
- Registers
What does the Control Unit (CU) do?
Decodes instructions and controls the timing of operations in the CPU
What is the role of the Arithmetic Logic Unit (ALU)?
Performs arithmetic and logic operations
What do registers in a CPU store?
Data, instructions, and the results of calculations
What are the three common factors that affect CPU performance?
- Clock speed
- Cache size
- Number of cores
What is clock speed measured in?
Hertz (Hz)
Define clock speed.
The number of fetch-execute cycles per second
What is a dual-core processor?
A processor with two processors in the same integrated circuit
True or False: A quad-core processor can potentially perform four instructions at the same time.
True
How does cache memory benefit CPU performance?
It allows faster access to frequently used data than RAM
What is Level 1 cache?
Extremely fast but small cache (2-256KB) located on the CPU
What is the typical size range of Level 2 cache?
256KB to 8MB
What is the size range of Level 3 cache?
4MB to 50MB
What is the ‘Fetch-Decode-Execute’ cycle?
The process of fetching the next instruction, decoding it, and executing it repeatedly
Fill in the blank: The CPU operates by repeating three operations: FETCH, ______, and EXECUTE.
DECODE
What is the maximum number of cycles per second for a dual core processor running at 2.7GHz?
5.4 billion cycles per second
Rank the following processors from highest to lowest performance based on cycles per second: dual core 2.7GHz, quad core 1.5GHz, single core 3.2GHz, dual core 3.2GHz.
- Dual core 3.2GHz (6.4)
- Quad core 1.5GHz (6)
- Dual core 2.7GHz (5.4)
- Single core 3.2GHz (3.2)
What does the Control Unit (CU) do during the decode step?
It decodes the instruction to work out what the instruction is
What could happen during the execute step?
- Load data from memory
- Store data in memory
- Perform an arithmetic or logical operation
What is the purpose of cache memory?
To store frequently used data and instructions for faster access
What is the role of the CPU in a computer system?
The CPU processes instructions and runs programs.
What are the main components of the Von Neumann architecture?
Main Memory, Secondary Storage, Central Processing Unit (CPU), Input Devices, Output Devices.
List common input devices for laptops and smartphones.
- Laptop: keyboard, buttons, trackpad, microphone
- Smartphone: microphone, buttons, GPS sensor, gyroscopic sensor, touch part of the touchscreen.