postUpdated Apr 9, 2026

Computer Architecture – CPU, ALU, Control Unit, Registers & Buses | Govt Exam Notes

Computer Architecture is one of the most heavily tested topics in IBPS PO, IBPS Clerk, SBI, SSC CGL, and RRB exams. This post covers the full architecture of a computer — the three main components, CPU internals (ALU, Control Unit, Registers), how buses work, the motherboard layout, the instruction cycle, and microprocessor history — with exam-focused tables, memory tricks, one-liners, and 10 FAQs.

Computer Architecture – CPU, ALU, Control Unit, Registers & Buses | Govt Exam Notes

Jump to section

Introduction: What is Computer Architecture and Why It Is Asked in Every Exam

Computer Architecture is the logical and functional design of a computer system — it describes how the hardware components are organized, how they interact with each other, and how instructions are executed. Think of it as the blueprint of a computer's internal structure.

The concept of modern computer architecture was first formalised by John Von Neumann in 1948, and it became the foundation of virtually every computer built from the 1950s onwards. The first computer to implement Von Neumann architecture was EDSAC (1949).

In government job exams, Computer Architecture is tested because it directly explains:

  • How the CPU works (ALU + Control Unit)
  • How data moves inside a computer (Buses)
  • What the motherboard connects (All components)
  • How one instruction is executed (Instruction Cycle)

Questions appear in formats like: "Which unit is called the 'brain' of the computer?", "Which bus is unidirectional?", "What does ALU stand for?", "Which register stores the next instruction address?" This post answers all of them.


Overview: The Three Main Components of a Computer System

Every computer system, from the simplest microcontroller to the most powerful supercomputer, is built on three fundamental components working together:

INPUT UNIT  →  CPU (ALU + CU + Registers)  →  OUTPUT UNIT

                          ↑↓

                    MEMORY UNIT

Component

Role

Examples

Input UnitAccepts data and instructions from the userKeyboard, Mouse, Scanner, Microphone
CPU (Central Processing Unit)Processes all data; executes all instructionsIntel Core i7, AMD Ryzen, Apple M4
Memory UnitStores data and instructions during processingRAM, ROM, Cache
Output UnitCommunicates processed results to the userMonitor, Printer, Speaker

The CPU and Memory together form the heart of the computer, while the input/output units serve as the interface between the computer and the human user.


Input Unit - Gateway of Data

The Input Unit is the first point of contact between the user and the computer. Its job is to:

  1. Accept coded data and instructions from the user
  2. Convert that data into a machine-acceptable (binary) format
  3. Supply the converted data to the computer's CPU/Memory for processing

Without the input unit, a computer would be an isolated, useless machine with no way to receive instructions. The Input Unit does not process data — it only receives and converts it.

Common Input Devices: Keyboard, Mouse, Scanner, Barcode Reader, Microphone, Webcam, Touchscreen (also an output device).


Output Unit - Communicating Results

The Output Unit is the final step in the computing chain. It:

  1. Receives processed results from the CPU in coded (binary) format
  2. Converts that coded result into a human-readable form
  3. Presents the result to the user

The output can be soft copy (displayed on screen — temporary) or hard copy (printed on paper — permanent).

Common Output Devices: Monitor (VDU), Printer, Speaker, Projector, Headphones, Plotter.


Central Processing Unit (CPU) - The Brain of the Computer

The CPU (Central Processing Unit) is the most critical component of any computer. It is rightly called the "brain of the computer" because it:

  • Executes all program instructions
  • Controls all operations of the computer
  • Coordinates all other components

Key Facts:

  • The CPU is fabricated as a single IC (Integrated Circuit) chip, also called a Microprocessor
  • CPU speed is measured in MHz (Megahertz) or GHz (Gigahertz)
  • A modern CPU can execute billions of instructions per second

The CPU has three sub-units: ALU, Control Unit, and Registers.


Arithmetic Logic Unit (ALU)

The ALU is the calculation engine inside the CPU — it performs all arithmetic and logical operations.

Type of Operation

Examples

Arithmetic OperationsAddition (+), Subtraction (−), Multiplication (×), Division (÷)
Logical OperationsAND, OR, NOT, XOR — comparisons between data values
Comparison OperationsEqual to (=), Less than (<), Greater than (>), Less than or equal (≤), Greater than or equal (≥)
Bit-Shifting OperationsShifting binary digits left or right (used in multiplication/division by powers of 2)

How ALU works: The ALU takes data from registers, performs the requested operation, and sends the result back to a register (specifically, the Accumulator). It does not store data permanently — it only processes it.

Exam Tip: "ALU performs ___" — the answer is always "arithmetic and logical operations." Never "storage" or "input/output."


Control Unit (CU)

The Control Unit is the manager and coordinator of the entire computer system. It is sometimes called the "nerve centre of the computer."

Functions of the Control Unit:

  1. Fetches instructions from main memory (RAM)
  2. Decodes the instruction to understand what operation is to be performed
  3. Directs the decoded instruction to the appropriate unit (ALU, memory, I/O)
  4. Generates control signals that synchronise all components
  5. Manages data flow between the CPU, memory, and I/O devices

The CU does not perform any arithmetic or data processing itself — it only controls and coordinates other units.

Feature

CPU

ALU

CU

CalledBrain of computerCalculator of computerNerve centre / Manager
FunctionProcesses all dataArithmetic & logic onlyControls and coordinates
Processes data?YesYesNo

Registers - The Fastest Memory in a Computer

Registers are tiny, extremely fast memory locations located inside the CPU itself. They temporarily hold data, addresses, and instructions that the CPU is currently working with.

Key Properties:

  • Fastest memory in the computer system (faster than Cache, RAM, and hard disk)
  • Smallest in storage capacity
  • Most expensive per bit of storage
  • Located physically inside the CPU chip

Register

Full Name

Function

AccumulatorStores the immediate result of arithmetic/logic operations; the most-used register
MARMemory Address RegisterHolds the address of the memory location to be read from or written to
MBR / MDRMemory Buffer / Data RegisterHolds the actual data being transferred to or from memory
PCProgram CounterContains the address of the next instruction to be fetched and executed
IRInstruction RegisterHolds the current instruction being decoded and executed

Exam Tip: "PC stands for ___" — in architecture context, it is Program Counter (not Personal Computer). This is a very common trick question.


Motherboard - The Main Circuit Board

The Motherboard is the primary circuit board of a computer — it is the physical platform that connects and allows communication between all components of the computer. It is also called:

  • Main Board
  • Logic Board
  • System Board
  • Planar Board

Every component — CPU, RAM sticks, ROM chip, expansion slots, USB ports, BIOS chip — is either directly soldered onto or connected through slots on the motherboard.

Key Components on the Motherboard

Component

Purpose

CPU SocketPhysical slot where the processor is installed
RAM Slots (DIMM)Slots where RAM memory sticks are inserted
BIOS ChipContains firmware that initialises the computer at startup
CMOS BatteryPowers the BIOS chip to retain date/time and BIOS settings when computer is off
PCI / PCIe SlotsExpansion slots for graphics cards, sound cards, network cards
SATA ConnectorsConnect hard disks and optical drives
USB HeadersInternal connections for front-panel USB ports
SMPS ConnectorConnects the power supply unit to the motherboard
ChipsetControls data flow between CPU, memory, and peripherals
Heatsink/Fan MountCooling system for the CPU

Buses - The Data Highways of a Computer

bus is a set of parallel electrical wires (conductors) that carry data between different components of a computer. Each wire in a bus carries one bit at a time. A 32-bit bus has 32 parallel wires and can transfer 32 bits simultaneously.

Types of Buses

Bus Type

Direction

What It Carries

Width

Address BusUnidirectional (CPU → Memory only)Memory addresses — tells the memory WHERE to read/write32-bit or 64-bit
Data BusBidirectional (CPU ↔ Memory ↔ I/O)The actual data being transferred between components32-bit or 64-bit
Control BusBidirectionalControl signals — commands that synchronise all operationsVaries

Additional Bus Types:

  • System Bus (Internal Bus) — connects components inside the motherboard (CPU + RAM + Chipset)
  • Expansion Bus (External Bus) — connects external devices and peripherals (USB, PCI, PCIe)

Key Exam Fact: The Address Bus is the only unidirectional bus. Both the Data Bus and Control Bus are bidirectional. This distinction is tested very frequently.

Bus Width and Memory: The width of the Address Bus determines the maximum amount of memory a CPU can access.

  • 32-bit address bus → 2³² = 4 GB maximum RAM
  • 64-bit address bus → 2⁶⁴ = 16 Exabytes maximum RAM

Instruction Cycle - How a Computer Executes One Command

The Instruction Cycle (also called the Fetch-Decode-Execute cycle) is the sequence of steps the CPU performs to execute one instruction. Every single instruction — whether it's adding two numbers or loading a file — goes through this cycle.

The 4 Steps:

Step

Name

What Happens

Step 1FetchThe Control Unit uses the Program Counter (PC) to fetch the next instruction from RAM and loads it into the Instruction Register (IR)
Step 2DecodeThe Control Unit decodes the instruction in the IR to understand what operation is required
Step 3ExecuteThe ALU or another unit performs the actual operation
Step 4StoreThe result is stored back in a register or in memory
  • Steps 1-2Fetch Cycle
  • Steps 3-4Execute Cycle
  • The Machine Cycle = Time to fetch two operands + perform ALU operation + store result

Pipelining - Making Execution Faster

Pipelining is a technique where the CPU begins fetching the next instruction before it has finished executing the current one — similar to an assembly line in a factory.

Without pipelining: Instruction 1 fully completes → Instruction 2 starts With pipelining: Instruction 1 is in Step 3 (Execute) → Instruction 2 is already in Step 2 (Decode) → Instruction 3 is in Step 1 (Fetch)

Benefits: Dramatically improves CPU speed and throughput without increasing clock speed. Also called Instruction Prefetch.


Microprocessor - The Heart of Modern Computing

microprocessor is a single integrated circuit (chip) that contains the entire CPU — ALU, Control Unit, and Registers — all on one tiny silicon chip. It is the controlling element of a modern computer.

History of Microprocessors

Microprocessor

Year

Developer

Significance

Intel 40041971Ted Hoff & Federico Faggin (Intel)World's FIRST microprocessor; 4-bit
Intel 80081972Intel8-bit microprocessor
Intel 80861978IntelFirst 16-bit processor; began x86 architecture
Intel Pentium1993IntelMass-market personal computing revolution
Intel Core i-series2000s+Inteli3, i5, i7, i9 — modern desktop/laptop CPUs
AMD Ryzen2017+AMDCompetitive multi-core processors
Apple M12020AppleFirst Apple Silicon; ARM-based SoC (System on Chip)
Apple M42024AppleLatest Apple Silicon chip with built-in NPU

Modern CPU Speed: Measured in GHz (Gigahertz) — a modern CPU runs at 3-5 GHz, meaning 3-5 billion clock cycles per second.

NPU (Neural Processing Unit): A dedicated processor for AI tasks, now integrated into modern CPUs (Intel Core Ultra, AMD Ryzen AI, Apple M-series). Represents the next evolution in chip design.

DMA (Direct Memory Access)

DMA stands for Direct Memory Access. It is a feature that allows I/O devices (like hard disks and sound cards) to transfer data directly to/from main memory (RAM), completely bypassing the CPU.

Why is this important? Without DMA, the CPU would have to supervise every single byte of data transferred between I/O devices and memory — a massively inefficient process. DMA frees the CPU to do other work while data transfers happen independently.


Other Key Architecture Terms

Term

Meaning

UPS (Uninterruptible Power Supply)A device that provides emergency backup power when the main power supply fails — protects data from being lost during a power cut
BufferA temporary storage area (register or RAM area) that holds data while it is being transferred between two devices of different speeds
Time SliceThe fixed interval of CPU time allocated to each process in a multitasking system
SocketsPhysical connection points on the motherboard where chips (CPU, RAM) are inserted
POST (Power On Self Test)The automatic diagnostic test performed by BIOS every time the computer starts up, to check that all hardware is functioning correctly
ChipsetA group of microchips on the motherboard that manages the data flow between the CPU, RAM, and all other components

Memory Tricks

🔑 CPU Sub-units — "ACR":

ALU (Calculator) | Control Unit (Manager) | Registers (Notebook)

🔑 Register Names — "MAMBA PC" (like the snake!):

MAR | MBR | Buffer (Accumulator) | PC (Program Counter) | IR (Instruction Register)

🔑 ALU Operations — "ALCB":

Arithmetic | Logical | Comparison | Bit-shifting

🔑 Bus Types — "ACD":

Address bus (Unidirectional) | Control bus (Bidirectional) | Data bus (Bidirectional) Only the Address bus goes One Way — remember "A for Arrow → One Direction"

🔑 Instruction Cycle — "FDES":

Fetch → Decode → Execute → Store Silly sentence: "Find Dogs Every Sunday"

🔑 First Microprocessor:

Intel 4004 → 1971 → Ted Hoff Remember: "4004 was the FIRST, in '71, by Ted"


One-Liner Recap (Quick Revision)

  1. Computer architecture was first formalised by John Von Neumann in 1948, making it the blueprint for virtually every computer built since then.
  2. The three main components of a computer system are the Input Unit, CPU (with Memory), and Output Unit, which together execute the IPOS cycle.
  3. The CPU (Central Processing Unit) is called the "brain of the computer" because it executes all instructions and coordinates all other components.
  4. The ALU (Arithmetic Logic Unit) performs all arithmetic (+, −, ×, ÷) and logical (AND, OR, NOT, XOR) operations inside the CPU.
  5. The Control Unit (CU) fetches, decodes, and directs instructions — it is the nerve centre of the computer but does not perform any calculations itself.
  6. Registers are the fastest and smallest memory units, located physically inside the CPU, and they temporarily hold data being currently processed.
  7. The Accumulator register stores the immediate result of every arithmetic or logical operation performed by the ALU.
  8. The Program Counter (PC) always holds the memory address of the next instruction to be fetched — it auto-increments after every fetch.
  9. The Motherboard is the main circuit board that physically connects and enables communication between all computer components.
  10. The Address Bus is unidirectional (CPU to Memory only), while the Data Bus and Control Bus are bidirectional.
  11. The Instruction Cycle follows four steps — Fetch, Decode, Execute, Store — and every single CPU instruction passes through all four steps.
  12. Pipelining allows the CPU to begin processing the next instruction before the current one finishes, significantly improving speed.
  13. The Intel 4004 (1971), designed by Ted Hoff and Federico Faggin, was the world's first microprocessor.
  14. DMA (Direct Memory Access) allows I/O devices to transfer data directly to RAM, bypassing the CPU and freeing it for other tasks.
  15. NPU (Neural Processing Unit) is a dedicated AI chip now found in Intel Core Ultra, AMD Ryzen AI, and Apple M-series processors.

Practice here:
Practice Banking Awareness Quiz - https://jobsme.in/quizzes

Also refer:
Banking Awareness for Competitive Exams - https://jobsme.in/category/banking-awareness

Static GK for Government Exams - https://jobsme.in/category/static-gk

Latest Government Job Notifications - https://jobsme.in/jobs

Free quiz • No signup required

Put this topic into practice with Daily Current Affairs MCQ Quiz – 30 March 2026 (Exam Ready). It is the quickest way to reinforce what you just learned.

Frequently Asked Questions

What is Computer Architecture and who introduced it?
Computer Architecture is the logical and functional design of a computer system — describing how hardware components are organised and interact. The concept of stored-program computer architecture was introduced by John Von Neumann in 1948 and first implemented in the EDSAC computer in 1949. It established the principle that both program instructions and data should be stored in the same memory.
Why is the CPU called the "brain of the computer"?
The CPU is called the brain because it controls all operations of the computer. Just like the human brain processes information and directs body functions, the CPU executes every instruction, performs all calculations through its ALU, manages data flow through its Control Unit, and coordinates all input/output operations. No other component can function independently without the CPU.
What is the difference between the ALU and the Control Unit?
The ALU (Arithmetic Logic Unit) actually performs computations — it does all arithmetic (add, subtract, multiply, divide) and logical (AND, OR, NOT, XOR) operations. The Control Unit (CU) does not perform any calculations — it acts as the manager, fetching instructions from memory, decoding them, and directing other units to perform the required operations.
What are registers in a computer and what are their types?
Registers are tiny, high-speed memory units built directly inside the CPU. They hold the data, addresses, and instructions the CPU is currently using. Key registers: Accumulator (stores operation results), MAR (holds memory addresses), MBR (holds data being transferred), PC/Program Counter (holds address of next instruction), IR/Instruction Register (holds current instruction being executed).
What is the difference between the Address Bus, Data Bus, and Control Bus?
The Address Bus carries memory addresses (where to read/write) and is unidirectional (CPU to Memory). The Data Bus carries actual data between components and is bidirectional (both ways). The Control Bus carries timing and control signals and is also bidirectional. The width of the Address Bus determines how much RAM the CPU can access.
vetri

About the author

vetri