1.1 - Architecture of the CPU Flashcards
Give some examples of Input Devices
Keyboard, mice, trackpads, microphone
Give some examples of output devices
Monitors, speakers
What are the main components of a computer (not based on hardware)?
The CPU, main memory, secondary storage, Input and Output devices
Where is the CPU located?
On the motherboard (specifically the socket)
Purpose of the CPU
CPU runs and processes the instructions
How does the CPU run?
It runs one simple instruction at a time, which happens billions of times a second
What was the stored program concept?
It was the idea of storing the program instructions as well as data in memory
How were computers first run?
One instruction at a time using switches, or read in punch cards and executed one at a time
What year was when the stored program concept was born?
1943-44
What was the von Neumann architecture?
- Program instructions and data programs are both stored in the same memory
- CPU accesses both instructions and data from the same RAM
What are the components of the CPU?
2 major components called the Control Unit and the Arithmetic-Logic Unit (ALU). There are also registers that are used to carry out these operations
What are registers in the CPU?
A very fast memory location in the CPU, and cache is also located in the CPU, but although it is slower than registers, it is faster than storing memory in RAM which is much slower
Give some registers in the CPU
Program Counter (PC), Memory Address Register (MAR), Memory Data Register (MDR), Accumulator (ACC)
What does the Program Counter (PC) do?
Holds the address of the next instruction to be executed
What does the Memory Address Register (MAR) do?
Hold the memory address of current instruction and then the data that it uses so that these can be fetched from memory