Hardware Flashcards
Expand CPU
Central Processing Unit
What is CPU often referred to as?
Brain of the computer
Explain Fetch-execute Cycle
A computer process that locates a program instruction from internal memory, decodes the instruction and carries out the action required; this process is then repeated for the rest of the program instructions.
What are the three main components of CPU
Control Unit
Arithmetic and logic unit
Immediate access store
Explain Control Unit
Manages the execution of instructions one at a time using fetch execute cycle
What are the three jobs of Control Unit
1) decide which instruction to carry out next and fetch it from memory
2) To decode the instruction
3) to execute the instruction
Explain ALU
This component carries out arithmetic calculations to be carries out(+ - * /)
Perform logical comparison such as ‘And’ and ‘NOT
Explain Immediate access store (IAS)
This component stores all programs and data temporarily while they are in use
Explain the steps in Fetch Execute Cycle
1)The processor check the program counter to see which instruction to run next
2) the program counter gives an address value in the memory of where the next instruction is
3) The processor fetches the instruction value from its memory location
4) Once the instruction has been fetches, it needs to be decoded and executed
5) Once this is complete, the processor goes back to the program counter to find the next instruction
6) This Cycle is repeated until the program ends
What is Fetch-Execute cycle?
Fetching instruction from its memory and executes it
What is a Program counter?
The Program counter is the CPU register that stores the address( memory location reference) for the next instruction to be fetches
Expand MDR
Memory Data Register
Expand MAR
Memory Address Register
What is MDR
MDR temporarily stores data being fetched from or written to the main memory of the CPU
What is MAR
MAR Temporarily stores current instruction or data
What is an Instruction Register
Stores the current instruction to be decoded and then execution
What is an Accumulator
When calculations take place on data, the results are initially stored on accumulator before transferred and stored in the main memory
What are the factors that influence the speed of processing
Clock Speed
Cache
Processor Core
3 Types of Internal memory
RAM
ROM
Cache
Expand RAM
Random Access Memory
Expand ROM
Read Only Memory
Explain RAM
Can be read from or written
Volatile
used to hold programs and data that are currently being used(operating System)
Explain ROM
Non Volatile
Can be read but not written
Used to store programs that are frequently required by the computer ( boot program)
Explain Cache
Temporarily stored frequently used instructions and data
Quicker to store cache memory as it has a smaller storage capacity compared to RAM