T1 Architecture of the CPU Flashcards
Q: What is the purpose of the CPU?
A: The CPU fetches and executes instructions stored in memory.
Q: What are the two major components of the CPU?
A: The Arithmetic Logic Unit (ALU) and the Control Unit (CU).
Q: What does the ALU do?
A: It performs arithmetic operations and logical operations (AND, OR, NOT).
Q: What does the Control Unit do?
A: It coordinates and controls all CPU activities, decodes instructions, and directs timing.
Q: What is the Fetch-Decode-Execute cycle?
A: The process where the CPU fetches an instruction, decodes it, and executes it.
Q: What is the function of the Program Counter (PC)?
A: It holds the address of the next instruction to be executed and increments after fetching.
Q: What is the Memory Address Register (MAR)?
A: It holds the memory address of the current instruction or data being accessed.
Q: What is the Memory Data Register (MDR)?
A: It holds the actual instruction or data fetched from memory.
Q: What is the role of the Accumulator (ACC)?
A: It temporarily stores the results of arithmetic and logic operations.
Q: What is Von Neumann architecture?
A: A CPU design where both program instructions and data are stored in the same memory.
Q: What is a register?
A: A fast memory location inside the CPU used to store data temporarily.
Q: What is the role of cache memory?
A: It stores frequently used data to speed up access compared to RAM.
Q: What are input and output devices for a laptop?
A: Input: keyboard, trackpad, microphone. Output: display, speakers.
Q: What are input and output devices for a smartphone?
A: Input: touchscreen, microphone, gyroscopic sensor. Output: display, speakers.