3 Hardware Flashcards
What is a CPU?
A component in a computer system that processes data and instructions.
What is a microprocessor?
an integrated circuit that is able to perform many of the functions of a CPU.
What is an embedded system?
a computer system that performs a dedicated function.
What is the fetch-decode-execute cycle?
the cycle through which data and instructions are processed.
What is the role of a CPU in a computer?
The CPU processes instructions and data that are input into the computer so that the result can be output.
What is the role of busses?
Carry data through components.
What is RAM?
Random Access Memory is a component in the CPU that holds data and programs that are currently in use.
What is hard drive?
a storage that stores data permanently, until it is deleted by the user.
What are the units in a computer that has von neumann architecture?
Arthimetic logic unit (ALU)
Control Unit (CU)
What is CU?
Control Unit. The component in the CPU that controls all the operations in the CPU.
What are the registers in a computer that has von neumann architecture?
- Program Counter (PC)
- Memory Address Register (MAR)
- Memory Data Register (MDR)
- Current Instruction Register (CIR)
- Accumulator (ACC)
What are the buses in a computer that has von neumann architecture?
- Address bus
- Data bus
- Control Bus
What is PC?
Program counter is a component in the CPU that stores the next address of the next instruction to be processed.
What is CIR?
Current instruction register. Stores the instruction the CPU is currently decoding or executing.
What is MDR?
A component in the CPU that stores the data or instructions that are fetched from the RAM.
What is ACC?
Accumulator. A register that is built into the ALU. During calculations, data is temporarily held in it.
What is ALU?
Arithmetic Logic Unit. The component in the CPU that performs all the mathematical and logical operations required when processing data and instructions.
What is address?
A memory location in RAM.
What is MAR?
Memory Address Register is a component in the CPU that holds the address of the data or instruction to be located in RAM.
What is address bus?
Wires used for the transmission of addresses between components in a computer.
What is the data bus?
wires used for the transmission of data and instructions between components in a computer.
What is a control bus?
wires used for the transmission of control signals between components in a computer.
Can you describe the process of the FDE cycle including the role of each component in the process?
- PC contains the address of the next instruction to be fetched.
- This address is copied to the MAR via the address bus
- The instruction of the address is copied into the MDR temporarily
- The instruction in the MDR is then placed in the CIR.
- The value in the PC is incremented by 1, pointing to the next instruction to be fetched.
- Instruction is decoded by CU.
- It is then executed by the ALU and the result is stored in the ACC or written to a memory location within memory.
What are the 3 main factors that can affect the performance of a CPU?
- Number of cores
- Clock speed
- Size of cache
What is meant by a core?
the part of the CPU that contains all the components that are used to perform the fetch-decode-execute cycle.
Each core runs seperate FDE cycles, independently from each and at the same time. This means parallel processing can take place.
What is clock speed?
the number of fetch-decode-execute cycles that can be performed in a second.
What is clock speed measured in?
Hertz.
How many instructions are 1gigahertz and 1 megahertz?
1 Gigahertz(GHz) = 1 billion instructions per second
1 Megahertz(MHz)= 1 million instructions per second
What is meant by cache?
a type of storage that is built into the CPU, to store the most frequently used data and instructions.
How can cores affect CPU performance?
The more cores in the CPU, the more instructions that can be executed per second resulting in better performance.
eg. Dual cores = 2 cores, Quad cores = 4 cores
How can clock speed affect CPU performance?
By increasing clock speed, the computer’s processing speed also increases, this doesn’t mean the computer’s performance is increased however.
How can cache affect CPU performance?
The impact of increasing the amount of cache is that more data can be stored there and accessed faster if it was in the RAM, which improves the performance of the CPU.
What is an instruction set?
It is a list of all the commands that can be processed by a CPU and the commands are machine code.
Each command has a unique binary code
What is an embedded system?
An embedded sytem is a computer system with either one function or limited specific functions built within a larger mechanical device.
What is the purpose of an embedded system?
It is used to perform a dedicated function, eg. domestic appliances, lighting systems. This is different from a general purpose computer that is used to perform many different functions.
Can you identify devices in which embedded systems are commonly used?
- Digital Clock
- Traffic Lights
- Lighting System
- Vending Machine
What is an output device?
a device that can be used to obtain the results of data that has been processed.
What is an input device?
A device that allows data to be entered into a computer system.
What are some examples of input devices?
- barcode scanner
- digital camera
- keyboard
- microphone
- optical mouse
- QR code scanner
- Scanner (2d and 3d)
- touch screen