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