Skip to content
GK24
GK NotesComputer AwarenessCPU, Motherboard and Computer Architecture

CPU and Motherboard: Architecture, Buses and Registers

Computer awareness notes on the CPU and motherboard: ALU, control unit, registers, von Neumann architecture, the three buses, cache hierarchy and microprocessors.

By · Published · 4 min read

CPU and Motherboard: Architecture, Buses and Registers — GK24 title card
CPU and Motherboard: Architecture, Buses and Registers — GK24 title card

Every computer awareness paper carries two or three questions on what is inside the box, and they are among the easiest marks available because the answers are definitions and firsts rather than opinions. The central processing unit is the part of a computer that fetches instructions, works on data and sends out results, and it is rightly called the brain of the computer. The motherboard is the large printed circuit board on which the processor, memory and every other component are mounted and connected; it is also called the mainboard, the system board or the planar board. Computer architecture is the overall design that decides how these parts talk to one another.

Inside the CPU

A processor has three functional parts. The arithmetic logic unit, or ALU, carries out arithmetic operations such as addition and subtraction and logical operations such as comparison, AND, OR and NOT. The control unit, or CU, does no calculation at all; it decodes each instruction and sends timing and control signals that tell the other units what to do, which is why it is described as the nervous system of the computer. The third part is the register set, a handful of extremely fast storage locations built into the processor itself. The accumulator holds the result of the current operation, the program counter holds the address of the next instruction to be executed, the instruction register holds the instruction currently being decoded, and the memory address register and memory data register hold the address and the contents of the memory location being used. The repeating sequence of fetch, decode, execute and store is called the machine cycle, and the number of such cycles a processor can run in a second is its clock speed, measured in hertz, megahertz and gigahertz.

Von Neumann architecture and the buses

The design on which almost every general purpose computer is built was described by John von Neumann in 1945 and is known as the stored program concept: instructions and data are held in the same memory, in the same binary form, and the processor fetches them one after another. The alternative, in which instructions and data have separate memories and separate paths, is the Harvard architecture, used in many microcontrollers. The parts are joined by three buses. The address bus carries the address of the memory location being read or written and is unidirectional, running only from the processor outwards. The data bus carries the actual data and is bidirectional. The control bus carries read, write, interrupt and clock signals. The number of address lines decides how much memory can be addressed: with n address lines a processor can reach two raised to the power n locations, so sixteen address lines reach 65,536 locations. The width of the data bus decides whether the processor is called 8-bit, 16-bit, 32-bit or 64-bit.

The motherboard and its parts

PartWhat it does
CPU socketHolds the processor; a heat sink and fan sit above it
ChipsetControls traffic between processor, memory and peripherals
BIOS or UEFI chipFirmware in ROM that starts the machine and runs the POST self-test
CMOS batteryA small lithium cell that keeps BIOS settings and the system clock running
RAM slots (DIMM)Hold the memory modules
Expansion slotsPCI, AGP and PCI Express slots for graphics, sound and network cards
SMPS connectorBrings regulated DC power from the switched mode power supply
PortsUSB, HDMI, Ethernet, audio and other external connections

ATX, micro-ATX and mini-ITX are the common motherboard form factors, which simply describe the board's size and the placement of its holes and ports.

The memory hierarchy

Memory is arranged as a pyramid. Registers inside the processor are the fastest and the smallest. Below them is cache memory, a small quantity of very fast static RAM that holds the instructions and data most likely to be needed next; it is graded as L1, L2 and L3, with L1 closest to the core and fastest. Next comes main memory or RAM, which is volatile and loses its contents when power goes off, and which comes as dynamic RAM in the DIMM slots. ROM holds the firmware permanently and is non-volatile. At the bottom are hard disks and solid state drives, the largest, slowest and cheapest per unit. As one moves down the pyramid, capacity and cost per byte fall while access time rises.

Microprocessors and their generations

The microprocessor is the whole processor fabricated on a single chip. The Intel 4004, released in 1971, was the first commercially available microprocessor and was a 4-bit chip; the Intel 8085 was 8-bit, the Intel 8086 was 16-bit, and the family has since reached 64-bit multicore designs. Gordon Moore observed in 1965 that the number of transistors on a chip roughly doubles at regular intervals, a trend known as Moore's law. Processors are also classified as CISC, with a large and complex instruction set, and RISC, with a small set of simple instructions, the design used in most mobile processors. A nibble is four bits, a byte is eight bits, and the number of bits a processor handles at one time is its word size.

Exam Point of View

Three kinds of questions come from this chapter. The first is the straight definition: which unit does arithmetic, what the control unit does, which register holds what, and the full forms of ALU, CU, BIOS, CMOS, SMPS and POST. The second is the compare-and-contrast pair, where RAM against ROM, volatile against non-volatile, cache against main memory, address bus against data bus and CISC against RISC are set up so that reversing the two costs the mark. The third is small calculation, usually the number of memory locations for a given number of address lines, or the bit size of a processor from its data lines; remember that data lines fix the bit size while address lines fix the memory reach. Firsts such as the Intel 4004, the von Neumann design of 1945 and Moore's law of 1965 round off the chapter.

Important Facts

Parts of the CPUArithmetic logic unit, control unit, registers
Program counterHolds the address of the next instruction
AccumulatorHolds the result of the current operation
Machine cycleFetch, decode, execute, store
Stored program conceptJohn von Neumann, 1945
Address busUnidirectional; n lines address 2 to the power n locations
Data busBidirectional; its width gives the processor's bit size
Other names of motherboardMainboard, system board, planar board
CMOS batteryCR2032 lithium cell; keeps BIOS settings and the clock
Fastest memoryRegisters, then cache (L1 fastest), then RAM
First microprocessorIntel 4004, 1971, 4-bit
Moore's lawGordon Moore, 1965
Nibble and byte4 bits and 8 bits
Motherboard form factorsATX, micro-ATX, mini-ITX

Practice MCQs on this topic

Q2.Computer AwarenessAsked in: Haryana · 9 Jan 2021, Shift 2Easy

A half byte is called a

  1. A.Byte
  2. B.Nibble
  3. C.Bit
  4. D.Word size
Show answer
Correct answer: B. Nibble

A byte is made up of eight bits, so half a byte is four bits, and four bits together are called a nibble.

Q3.Computer AwarenessAsked in: Uttar Pradesh · 5 June 2016Easy

Permanent Memory of a computer is known as-

  1. A.RAM
  2. B.CD-ROM
  3. C.ROM
  4. D.CPU
Show answer
Correct answer: C. ROM

Read Only Memory is the permanent or non-volatile memory of a computer: its contents are written once and survive when the power is switched off, which is why the BIOS firmware that starts the machine and runs the power-on self-test is stored in it.

Q4.Computer AwarenessAsked in: Uttar Pradesh · UPSSSC JE 2015 General Section OfficialMedium

Which of the following memories has the shortest access time?

  1. A.Cache Memory
  2. B.Magnetic Bubble Memory
  3. C.Magnetic Core Memory
  4. D.Random Access Memory
Show answer
Correct answer: A. Cache Memory

Cache is a small quantity of very fast static RAM placed between the processor and main memory to hold the instructions and data most likely to be needed next, and of the options given it has the shortest access time; only the registers inside the processor itself are faster.

Q6.Computer AwarenessMedium

Which register holds the address of the next instruction to be executed?

  1. A.Accumulator
  2. B.Instruction Register
  3. C.Program Counter
  4. D.Memory Data Register
Show answer
Correct answer: C. Program Counter

The program counter, sometimes called the instruction pointer, always holds the memory address of the next instruction the processor will fetch, and it is incremented automatically as each instruction is taken up so that execution moves forward in order; a jump or branch instruction works simply by loading a new…

Q7.Computer AwarenessMedium

The stored program concept, in which instructions and data share the same memory, was given by:

  1. A.Charles Babbage
  2. B.John von Neumann
  3. C.Alan Turing
  4. D.Blaise Pascal
Show answer
Correct answer: B. John von Neumann

In 1945 John von Neumann described a design in which a computer's instructions and its data are both held in the same memory in the same binary form, so that the machine can be given a new task simply by loading a new program instead of being rewired.

Q8.Computer AwarenessMedium

Which of the following buses is unidirectional?

  1. A.Data bus
  2. B.Address bus
  3. C.Control bus
  4. D.System bus
Show answer
Correct answer: B. Address bus

The address bus carries only the address of the memory location or the input-output port that the processor wants to use, and that address always travels outwards from the processor to memory, never back; a bus that carries signals in one direction only is unidirectional.

Q12.Computer AwarenessEasy

Which of the following statements about RAM and ROM is correct?

  1. A.Both RAM and ROM are volatile
  2. B.RAM is volatile and ROM is non-volatile
  3. C.RAM is non-volatile and ROM is volatile
  4. D.Both RAM and ROM are non-volatile
Show answer
Correct answer: B. RAM is volatile and ROM is non-volatile

Random Access Memory is the working memory in which the operating system, the running programs and the data in use are held, and everything in it is lost the moment the power supply stops, which is exactly what volatile means.

Frequently Asked Questions

Why is the CPU called the brain of the computer?

Because every instruction a computer carries out passes through it. The control unit decodes the instruction and issues signals, the arithmetic logic unit performs the calculation or comparison, and the registers hold the operands and the result. No input, output or storage device can act on data by itself; it only supplies or receives what the CPU has processed.

What is the difference between the address bus and the data bus?

The address bus carries the address of the memory location to be used and is unidirectional, travelling only from the processor outwards. The data bus carries the actual contents and is bidirectional. The number of address lines fixes how much memory can be reached, while the width of the data bus fixes whether the processor is 8-bit, 16-bit, 32-bit or 64-bit.

What is cache memory and why is it needed?

Cache is a small quantity of very fast static RAM placed between the processor and main memory. Because RAM is far slower than the processor, the cache keeps the instructions and data most likely to be needed next so that the processor does not wait. It is graded L1, L2 and L3, with L1 nearest the core and fastest.

What is the von Neumann architecture?

It is the design described by John von Neumann in 1945 in which instructions and data are stored together in the same memory in binary form, so a machine can be given a new task by loading a new program. Its alternative, used in many microcontrollers, is the Harvard architecture with separate memories and separate paths for instructions and data.

What does the CMOS battery on a motherboard do?

It is a coin-sized lithium cell, usually a CR2032, that keeps the CMOS chip powered when the computer is switched off, so that the BIOS settings such as the boot order and the system date and time are retained. If the cell dies, the machine forgets the time and the BIOS configuration at every restart.

What is the difference between RISC and CISC processors?

A CISC processor has a large and complex instruction set, where a single instruction may perform several low-level operations, which keeps programs short. A RISC processor has a small set of simple, fixed-length instructions that execute quickly, which suits pipelining and low power use; most mobile processors follow the RISC design.

Sources

  • Computer Science (Class XI), Chapter on Computer Systems — NCERT
  • Digital India programme, Digital Literacy resources — Ministry of Electronics and Information Technology
View all