3 Hardware Flashcards
(99 cards)
What is the role of the CPU
An integrated circuit which accepts data input into the computer and processes it into information ready for output.
What does a CPU consist of? (3)
control unit
Arithmetic and logic unit
reigsters and buses
What is the role of the ALU?
responsible for carrying out mathematical calculations or logical operations
What is the role of the control unit? (2)
oversees the overall operation of the CPU
Includes initiating each step of the fetch decode execute cycle and managing the ALU
What is a register
small area of storage found within the CPU
Why are registers extremely fast to access
located directly within the CPU
what is the purpose of the current instruction register
CIR stores the current instruction being decoded and executed
what is the purpose of the accumaltor
used when carrying out ALU calculations
temporarily stores data during calculations
What is the purpose the memory address reigster
MAR stores the address of the RAM currently being read from or written to
What is the purpose of Memory Data Register
Register used to temporarily store data that will be written to RAM or data that has just been read from RAM.
What is the function of the program counter
PC stores the address where the next instruction to be read can be found
Define buses
a connection between major components in a computer that can carry data, addresses, or control signals
Describe the address bus (2)
carries addresses throughout the CPU
unidirectional (bits can travel one direction only)
Describe the data bus (2)
bidirectional (allows data to be sent in both ways along the bus)
Connects CPU with RAM and input devices with output devices
What are the three types of buses
address bus
data bus
control bus
Describe the control bus
bidirectional
carries signals from the Control Unit to all other computer components
Explain the fetch decode execute cycle (7)
The PC contains address of memory location of the next instruction which is to be fetched
address copied from PC to MAR via address bus
Contents in RAM address stored in MAR copied temporarily to MDR
Contents of MDR copied to CIR
Value of PC incremented by 1 so that it now points to the next instruction which is to be fetched
CU decodes instruction in CIR
instruction sent to ALU to be executed
What are the three main factors that affect the performance of a CPU
clock speed
cache
core
What is clock speed (2)
determines the number of cycles a cpu can perform each second
higher clock speed generates more heat and uses more energy
Describe the core (2)
processor within the CPU
The idea of using more core alleviates the need to increase clock speed
Describe the cache (2)
extremely fast memory located within the CPU
used to temporary store copies of the data in the most commonly accessed RAM locations
Define instruction set
Listof instructions that a CPU can process
when instructions are in binary it is known as machine code
Define embedded system
computer system that performs a dedicated function inside a device or appliance
Examples of where embedded systems can be found
Entertainment systems in cars
Domestic appliances, such as washing machines
Security systems, such as automatic lighting and alarms.