Week 3 Flashcards
A CPU is also called a…
Microprocessor.
What does ALU stand for?
Arithmetic and Logic Unit.
What concept is von Neumann architecture based on? (back in the day, when computers were massive and were used for calculating big things, what would have been ideal?)
Memory and storage, all in one!!
Von Neumann architecture is based on the “Stored Program Computer Concept”, where instruction data and program data are stored in the same memory. This design is still used in most computers produced today.
What is the CPU responsible for? (think about the actual function of the CPU and how essential it is)
Executing the instructions of a computer program - it does aaaaallll of the decision-making, data manipulation, arithmetic, etc. and performs billions of instructions per second.
Which two major control units does the CPU contain?
The ALU and CU - plus a variety of registers.
What does MAR stand for?
Memory Address Register.
What is the MAR’s only job?
To tell RAM what memory address the CPU wants next, OR…
Holds the next memory location of data that needs to be accessed.
https://www.youtube.com/watch?v=cNN_tTXABUA
What does MDR stand for?
Memory Data Register.
What does the MDR do?
Holds data that’s being transferred to or from the memory, acting as a buffer between the processor and the memory.
What does AC stand for? (hint: it’s not air conditioning - AC is the first two letters in the word…)
Accumulator.
What does the AC do? (it’s not air conditioning, and it’s not what ya think)
It stores intermediate arithmetic and logic results.
What does PC stand for? (the part in the CPU)
Program counter.
What does a Program Counter (PC) do?
Contains the addresses of the next instruction to be executed.
What does CIR stand for?
Current Instruction Register.
What does the CIR do?
It contains the current instruction during processing.
What does the ALU do?
It allows arithmetic and logic (AND, OR, NOT) operations to be carried out.
What does CU stand for?
Control Unit.
What does the CU do?
It’s like the captain in the army, receiving orders from the RAM and then breaking that instruction down into specific commands for other components. One of the most important things under the CU’s command is the ALU.
It controls the operation of the computer’s ALU, memory and input/output devices - it basically tells them how to respond to the program instructions that have just been read and interpreted from the memory unit.
What is a bus? 🚌
The data wires that connect different computer components to transmit data.
A group of wires connecting multiple components inside a computer.
‘How a CPU Works’ - In One Lesson https://www.youtube.com/watch?v=cNN_tTXABUA
What does a bus do?
It transfers data between all the major internal components, to the CPU and memory.
What does a standard CPU system bus contain?
A control bus, data bus and address bus.
What does an Address Bus do?
Carries the addresses of data between the processor and memory.
What does a Data Bus do? (Buses carry, registers hold!)
It carries data between the processor, memory unit and input/output devices.
What does a Control Bus do?
It carries control signals/commands from the CPU and other devices, so that all activities within the computer can be controlled and coordinated.