Ez Computerहिन्दीOpen app

CPU, Motherboard and Processing

Preview Part B: Hardware · Chapter 5 · 20 min read · 65 practice questions

After this chapter you will be able to

  • explain the parts and working of the CPU
  • name the important registers and their jobs
  • describe the machine (instruction) cycle
  • explain clock speed, cores, threads, cache and pipelining
  • compare RISC and CISC processors
  • identify the main components on a motherboard
ProcessorCPU partsALU: maths and logicCU: fetch, decode, controlRegisters: fastest memoryRegistersPC: next instructionIR: current instructionMAR, MDR: link to RAMMachine cycleF, D, E, S stepsInterrupt: ISR runsDMA: skips the CPUPerformanceClock: GHzCores and threadsCache and pipeliningRISC vs CISCRISC: simple, ARMCISC: complex, x86Phones use ARMBoard and powerChipset, CMOS batterySMPS: AC to DCUPS: battery backup
Chapter 5 at a glance Recall: the four cycle steps, PC versus IR, RISC versus CISC, and what the SMPS and UPS do.

5.1 The Central Processing Unit (CPU)

Heat spreader Pin 1 corner Contact pads (LGA) Socket
CPU: top and bottom Top: the metal heat spreader. Bottom: gold contact pads that sit in the socket on the motherboard.

The CPU (also called the processor) executes program instructions. In a modern computer the whole CPU sits on one chip called the microprocessor.

Arithmetic Logic Unit (ALU)

Control Unit (CU)

5.2 Registers — the CPU’s Own Tiny Memory

CPUPCnext instructionIRrunning nowACALU resultMARaddressMDRdataRAMMain memory(data and programs)addressdataRead: address goes out through MAR; data returns through MDR.
Registers that link the CPU to RAM MAR holds the address and MDR holds the data moving to or from RAM. PC points to the next instruction; IR holds the one running now.

Registers are the smallest and fastest memory locations, built inside the CPU.

Register Full form Job
PC Program Counter Holds the address of the next instruction to be executed
IR Instruction Register Holds the instruction currently being executed
MAR Memory Address Register Holds the address of the memory location to read/write
MDR / MBR Memory Data Register / Memory Buffer Register Holds the data being read from or written to memory
AC Accumulator Holds intermediate results of ALU operations
SP Stack Pointer Points to the top of the stack in memory
FR / PSW Flag Register / Program Status Word Holds status flags — zero, carry, sign, overflow
GPR General Purpose Registers Temporary data for any operation
I/O AR / I/O BR I/O Address / Buffer Register Address and data for I/O devices

★ EXAM POINT — Program Counter → address of the next instruction. Instruction Register → the current instruction. Accumulator → ALU result. Registers are the fastest memory in a computer.

What the full chapter covers

The full chapter has these sections:

  1. 5.1 The Central Processing Unit (CPU)
  2. 5.2 Registers — the CPU’s Own Tiny Memory
  3. 5.3 The Machine Cycle (Instruction Cycle)
  4. 5.4 Processor Performance Factors
  5. 5.5 Pipelining and Parallelism
  6. 5.6 RISC vs CISC
  7. 5.7 Microprocessor Milestones
  8. 5.8 Other Processing Units
  9. 5.9 The Motherboard
  10. 5.10 Power Supply
  11. 5.11 Processor Cores and Brands
  12. 5.12 Speed Units and Other Processor Terms
  13. 5.13 More Exam Facts
  14. Chapter Quick Revision
  15. Most Important Terms
  16. Common Confusions
  17. Rapid Recall

Sample questions from this chapter

1. Hazard when two instructions need the same hardware?

  1. Control hazard
  2. Structural hazard
  3. Data hazard
  4. Cache miss
Show answer

Answer: B. Structural hazard

A structural hazard occurs when two instructions need the same hardware in the same clock cycle.

2. Which IRQ is normally used by the keyboard?

  1. IRQ 6
  2. IRQ 8
  3. IRQ 14
  4. IRQ 1
Show answer

Answer: D. IRQ 1

IRQ 1 is the usual interrupt line for the keyboard on a standard PC.

3. Original expansion of ARM?

  1. Advanced Micro Devices
  2. Accelerated Processing Unit
  3. Acorn RISC Machine
  4. Advanced Power Management
Show answer

Answer: C. Acorn RISC Machine

ARM first stood for Acorn RISC Machine, a name from the British company Acorn that designed the chip.

4. Register that holds ALU results?

  1. Instruction Register
  2. Stack Pointer
  3. Program Counter
  4. Accumulator
Show answer

Answer: D. Accumulator

The accumulator is a CPU register that holds the intermediate results of ALU operations.

5. Full form of NPU?

  1. Neural Processing Unit
  2. Nominal Processing Unit
  3. Neural Printing Unit
  4. Neural Processing Utility
Show answer

Answer: A. Neural Processing Unit

NPU is a chip built to run AI and neural-network tasks efficiently, common in modern smartphones.