ExamShortcut

Computer Fundamentals

🔒 Log in to track
high importance⚡ 10 shortcuts5 subtopics
All subtopics·Subtopic 3 of 5

Basic organisation: CPU, memory, I/O

🔒 Log in to track
⏱ 4 min read🧩 5 question types🎯 16 practice Q
The idea in one minute

Every computer follows the von Neumann (stored-program) plan. Data comes in through input, the CPU processes it, memory and storage hold it, and output shows the result. The CPU has an ALU, a control unit and registers. It repeats the machine cycle: fetch, decode, execute, store.

01

The basic block diagram

Every computer, from a desktop to a smartphone, follows one plan.

Input devices, then the CPU, with Memory and Storage alongside, then Output devices. The motherboard and its buses connect them all.

  • Input brings data in (keyboard, mouse, scanner).
  • Processing happens inside the CPU.
  • Storage keeps data permanently (hard disk, SSD).
  • Output shows results (monitor, printer).

This flow is the IPO cycle: Input, Process, Output. Storage is the fourth basic function.

02

Inside the CPU

PartJobEveryday picture
ALU (Arithmetic Logic Unit)All arithmetic (+, -, x, /) and logic (compare, AND, OR)The calculator inside the brain
CU (Control Unit)Fetches and decodes instructions, sends signals. Does no calculationThe traffic constable
RegistersTiny, very fast slots inside the CPUThe clerk's fingertips

Four registers to know:

  • PC (Program Counter) holds the address of the next instruction.
  • IR (Instruction Register) holds the instruction being executed.
  • MAR and MDR (Memory Address and Data Registers) talk to RAM.
  • Accumulator holds ALU results.

Watch: Registers are the fastest storage in the whole machine. They are faster than RAM.

03

The machine cycle

The CPU repeats four steps millions of times each second.

  1. Fetch: the CU brings the next instruction from memory. Its address comes from the PC.
  2. Decode: the CU works out what the instruction wants.
  3. Execute: the ALU or another unit does the work.
  4. Store: the result is written to memory or a register.

Say "Fat Dogs Eat Snacks". CPU speed is measured in GHz, the billions of clock cycles per second.

04

Buses

A bus is a set of wires between blocks.

BusWhat it carriesDirection
Data busThe data itselfBoth ways
Address busWhere the data livesCPU to memory
Control busCommand signals (read, write, interrupt)Control signals

More data-bus lines move more bits at once. That is what "32-bit" or "64-bit" processor measures.

05

The stored-program idea

John von Neumann's idea: keep instructions and data together in the same memory. The CPU fetches, decodes and executes them one after another.

To change the program, you change memory. You do not rewire the machine. This separates modern computers from fixed machines.

Rule: Stored program means instructions and data live in one memory.

06

Question types you will see

Each type: how to recognise it, the method step by step, and one question to try.

Type 1very common5 practice Q

CPU part and its function

How to spot it:

The question asks which unit does arithmetic, which controls, or where a comparison happens. The options are CPU parts.

Method
  1. ALU: all arithmetic and logic.

  2. CU: direction only, no maths.

  3. Registers: fastest storage inside the CPU.

  4. Cross out RAM and hard disk. They are outside the CPU.

Why it works:

Each CPU part has one job.

Try this

Which part of the CPU performs comparison of two values?

Show solution
  1. Comparison is a logic operation.

  2. Logic operations belong to the ALU.

Answer

Arithmetic Logic Unit (ALU)

Type 2very common4 practice Q

Machine cycle steps and order

How to spot it:

The question asks for the correct order of fetch, decode, execute and store. Or it asks what happens in one step.

Method
  1. Recall the chant: Fat Dogs Eat Snacks.

  2. Fetch: bring from memory. Decode: understand.

  3. Execute: do the work. Store: write the result.

  4. Reject options that put Decode before Fetch.

Why it works:

The four steps always run in this fixed order.

Try this

In the machine cycle, in which step does the CPU find out what an instruction means?

Show solution
  1. Understanding the instruction is decoding.

  2. Order: Fetch, Decode, Execute, Store.

Answer

Decode

Type 3common3 practice Q

Buses and stored-program idea

How to spot it:

The question asks which bus carries addresses, data or commands. Or it asks who proposed the stored-program idea.

Method
  1. Data bus: the data, two ways.

  2. Address bus: the location, CPU to memory.

  3. Control bus: command signals.

  4. Stored program: John von Neumann.

Why it works:

Each bus has one duty, and the stored-program idea has one owner.

Try this

Who proposed the stored-program concept, the basis of modern computers?

Show solution
  1. The idea keeps instructions and data in the same memory.

  2. It is credited to John von Neumann.

Answer

John von Neumann

Type 4common2 practice Q

IPO cycle and block diagram

How to spot it:

The question asks what IPO stands for, or which basic function an action such as saving belongs to.

Method
  1. IPO is Input, Process, Output.

  2. Typing: input. Calculating: processing.

  3. Showing a result: output. Saving for later: storage.

Why it works:

Every action maps to one of four basic functions.

Try this

Saving a document on the hard disk belongs to which basic function?

Show solution
  1. Saving keeps data for later use.

  2. That is storage, the fourth basic function.

Answer

Storage

Type 5common

Registers by name

How to spot it:

The question describes what a register holds: the next instruction address, the current instruction or the ALU result.

Method
  1. Next instruction address: PC.

  2. Instruction being executed: IR.

  3. ALU results: Accumulator.

  4. Talking to RAM: MAR and MDR.

Why it works:

Each named register holds one kind of value.

Try this

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

Show solution
  1. The fetch step gets its address from one register.

  2. That register is the Program Counter.

Answer

Program Counter (PC)

07

Shortcuts that save time

⚡ FDES chant

"Fat Dogs Eat Snacks" gives Fetch, Decode, Execute, Store. This is the order for every instruction.

Example

What is the correct machine-cycle order?

Show solution
  1. Say the chant: Fat Dogs Eat Snacks.

  2. Fetch, Decode, Execute, Store.

Answer

Fetch, Decode, Execute, Store

⚡ ALU or CU

If the question says performs calculations or comparisons, answer ALU. If it says controls or coordinates, answer CU.

Example

Which CPU part performs comparisons?

Show solution
  1. Comparing is a logic operation.

  2. Logic belongs to the ALU.

Answer

ALU

08

Mistakes to avoid

Where most students lose marks on this subtopic.

Mistake 01

Saying the CU does arithmetic.

The CU only controls. Arithmetic belongs to the ALU.

Mistake 02

Swapping Execute and Decode.

Decode comes first, then Execute. Fetch is always first.

Mistake 03

Thinking registers are slower than RAM.

Registers are the fastest storage in the machine.

Mistake 04

Placing RAM or the hard disk inside the CPU.

The CPU has ALU, CU and registers. Memory and disk are outside.

Mistake 05

Forgetting storage in the basic functions.

The four functions are Input, Processing, Output and Storage.

09

Quick revision

Read this the night before the exam.

  • Flow: Input, Process (CPU), Output, with Memory and Storage alongside.

  • CPU = ALU (calculates) + CU (controls) + registers (fastest storage).

  • Machine cycle: Fetch, Decode, Execute, Store.

  • PC holds the next instruction's address. IR holds the current instruction. Accumulator holds ALU results.

  • Data bus carries data. Address bus carries location. Control bus carries commands.

  • Stored program (von Neumann): instructions and data in one memory.

10

Practice: 16 questions

Sets of 10, mixed across the question types above. Every answer has a step-by-step explanation.

Topic test · 10 questions

Suggested time 4 min · wrong answers go to your mistake notebook automatically.