Before you can master programming, databases, or networks โ you need to understand the MACHINE itself! This chapter answers the BIG questions: **How is a computer organised internally? What do the CPU, Memory, and Storage actually do? What's the difference between System Software and Application Software?** Let's open up the black box! ๐ฅ๏ธโ๏ธ
> [!TIP]
> **How to use these notes:** Focus especially on **CPU components (ALU, CU, Registers)**, **Memory Hierarchy**, and **System vs Application Software** โ these are the most frequently tested topics every year!
---
## 1.1 ๐ Introduction
Every single time you open an app, play a game, or type a document, a hidden CHAIN of hardware components works together behind the scenes โ instantly, invisibly, and incredibly fast!
```mermaid
graph LR
IN["๐ฅ Input\n(Keyboard, Mouse)"]
PROC["โ๏ธ Processing\n(CPU)"]
OUT["๐ค Output\n(Monitor, Speaker)"]
STORE["๐พ Storage\n(Hard Disk, SSD)"]
IN --> PROC --> OUT
PROC <--> STORE
style PROC fill:#FF9800,color:#fff
```
> Think of it this way: A computer is like a **factory**. Raw materials come IN (Input), get PROCESSED on the assembly line (CPU), finished products come OUT (Output), and everything gets STORED in the warehouse (Storage) for later use!
---
## 1.2 ๐๏ธ Computer Components and Basic Computer Organization
### 1.2.1 Computer Organisation ๐
**Computer Organisation** refers to how the hardware components of a computer are structured and connected to perform tasks together.
```mermaid
graph TD
INPUT["๐ฅ Input Unit"]
CPU["๐ง CPU\n(ALU + CU + Registers)"]
OUTPUT["๐ค Output Unit"]
MEMORY["๐ญ Main Memory\n(RAM)"]
STORAGE["๐พ Storage Unit\n(Secondary Memory)"]
BUS["๐ System Bus\n(connects everything)"]
INPUT --> CPU
CPU --> OUTPUT
CPU <--> MEMORY
MEMORY <--> STORAGE
BUS -.->|"Links ALL components"| INPUT
BUS -.-> CPU
BUS -.-> OUTPUT
BUS -.-> MEMORY
BUS -.-> STORAGE
style CPU fill:#F44336,color:#fff
style BUS fill:#9C27B0,color:#fff
```
**The Five Core Components:**
::: grid
::: card ๐ฅ | Input Unit | Devices used to ENTER data into the computer | Keyboard, Mouse, Scanner
::: card ๐ง | CPU | The "brain" โ processes and executes instructions | Contains ALU, CU, and Registers
::: card ๐ค | Output Unit | Devices used to DISPLAY/present processed results | Monitor, Printer, Speaker
::: card ๐ญ | Memory Unit | TEMPORARY storage while the computer is running | RAM (Main Memory)
::: card ๐พ | Storage Unit | PERMANENT storage for data even after power off | Hard Disk, SSD, Pen Drive
:::
> [!IMPORTANT]
> **Board Exam Tip**
> "Draw and explain the basic organisation of a computer system." โ **3-mark** question, asked very often!
> Answer: A computer system consists of five main units โ **Input Unit** (accepts data), **CPU** (processes data), **Output Unit** (displays results), **Memory Unit** (temporary storage), and **Storage Unit** (permanent storage) โ all interconnected via the **System Bus**.
---
### 1.2.2 Input Unit ๐ฅ
The **Input Unit** consists of devices that allow users to ENTER data and instructions into the computer.
::: grid
::: card โจ๏ธ | Keyboard | Enters text, numbers, commands | Most common input device
::: card ๐ฑ๏ธ | Mouse | Points, selects, and clicks on screen elements | Essential for GUI navigation
::: card ๐จ๏ธ | Scanner | Converts physical documents/images into digital form | Digitising paper documents
::: card ๐ค | Microphone | Captures audio input | Voice commands, recordings
:::
**Function of Input Unit:**
```
Human-readable data (typing, clicking, speaking)
โ
Converted to machine-readable form (binary)
โ
Sent to CPU for processing
```
> [!NOTE]
> **The Input Unit's Real Job! ๐ง **
> The Input Unit doesn't just "accept" data โ it also CONVERTS human-understandable data (like keystrokes) into the binary (0s and 1s) format that the CPU can actually process!
---
### 1.2.3 Output Unit ๐ค
The **Output Unit** consists of devices that PRESENT the processed results back to the user in a human-understandable form.
::: grid
::: card ๐ฅ๏ธ | Monitor | Displays visual output (text, images, video) | Most common output device
::: card ๐จ๏ธ | Printer | Produces a physical (hard copy) output on paper | Printing documents
::: card ๐ | Speaker | Produces audio output | Music, notifications, voice output
:::
**Function of Output Unit:**
```
Processed binary data from CPU
โ
Converted back to human-readable form
โ
Displayed/played/printed for the user
```
> [!IMPORTANT]
> **Board Exam Tip**
> "Give two examples each of Input and Output devices." โ **1-mark** question!
> Answer: **Input:** Keyboard, Mouse | **Output:** Monitor, Printer
---
### 1.2.4 The CPU (Central Processing Unit) ๐ง
The **CPU** is the "brain" of the computer โ it fetches, decodes, and executes instructions. It has THREE main components:
```mermaid
graph TD
CPU["๐ง CPU"]
ALU["๐ข ALU\n(Arithmetic Logic Unit)\nPerforms calculations\nand comparisons"]
CU["๐ฎ CU\n(Control Unit)\nDirects and coordinates\nall CPU activities"]
REG["๐ Registers\nSuper-fast, tiny\nstorage locations"]
CPU --> ALU
CPU --> CU
CPU --> REG
style ALU fill:#2196F3,color:#fff
style CU fill:#FF9800,color:#fff
style REG fill:#4CAF50,color:#fff
```
::: grid
::: card ๐ข | ALU (Arithmetic Logic Unit) | Performs all MATH (+, -, *, /) and LOGIC (comparisons: >, <, =) operations | Calculating 5+3, or checking if A > B
::: card ๐ฎ | CU (Control Unit) | Directs and coordinates ALL activities of the CPU and other components | Like a "traffic police officer" directing data flow
::: card ๐ | Registers | Extremely small, extremely FAST storage locations INSIDE the CPU | Temporarily hold data/instructions being processed RIGHT NOW
:::
**Common Registers โ Quick Reference:**
| Register | Full Name | Purpose |
| :--- | :--- | :--- |
| **AC** | Accumulator | Stores the result of ALU operations |
| **PC** | Program Counter | Holds the address of the NEXT instruction to execute |
| **IR** | Instruction Register | Holds the CURRENT instruction being executed |
| **MAR** | Memory Address Register | Holds the address of memory to be accessed |
| **MDR** | Memory Data Register | Holds the data being transferred to/from memory |
**The Fetch-Decode-Execute Cycle:**
```mermaid
graph LR
FETCH["1๏ธโฃ FETCH\nGet instruction\nfrom memory"]
DECODE["2๏ธโฃ DECODE\nUnderstand what\nthe instruction means"]
EXECUTE["3๏ธโฃ EXECUTE\nPerform the\nactual operation"]
FETCH --> DECODE --> EXECUTE --> FETCH
style FETCH fill:#4CAF50,color:#fff
style DECODE fill:#FF9800,color:#fff
style EXECUTE fill:#F44336,color:#fff
```
> **Analogy:** Think of the CPU like a CHEF in a kitchen. The **CU** is the chef reading the recipe and directing helpers what to do next. The **ALU** is the chef actually chopping, mixing, and cooking (doing the math/logic work). The **Registers** are the small bowls on the counter holding ingredients that are needed RIGHT NOW.
> [!IMPORTANT]
> **Board Exam Tip**
> "What are the main components of a CPU? Explain their functions." โ **3-mark** question, VERY common!
> Answer: The CPU has three main components: **ALU** (performs arithmetic and logical operations), **CU** (controls and coordinates all CPU/system activities), and **Registers** (small, high-speed storage locations that hold data/instructions currently being processed).
---
### 1.2.5 The Memory [Main Memory/Primary Memory] ๐ญ
**Main Memory (RAM)** is the computer's TEMPORARY, working memory โ it holds data and programs CURRENTLY being used, and loses everything when the power is turned OFF.
```mermaid
graph TD
MEM["๐ญ MAIN MEMORY"]
RAM["๐ต RAM\n(Random Access Memory)\nVolatile โ erased on power off"]
ROM["๐ด ROM\n(Read Only Memory)\nNon-Volatile โ permanent"]
MEM --> RAM
MEM --> ROM
style RAM fill:#2196F3,color:#fff
style ROM fill:#F44336,color:#fff
```
**RAM vs ROM โ The Critical Comparison:**
| Feature | RAM | ROM |
| :--- | :--- | :--- |
| **Full Form** | Random Access Memory | Read Only Memory |
| **Volatility** | Volatile (data LOST when power off) | Non-Volatile (data PERMANENT) |
| **Read/Write** | Can be READ and WRITTEN | Usually only READ (some types can be rewritten) |
| **Purpose** | Temporary working storage for running programs | Stores essential startup instructions (BIOS) |
| **Speed** | Fast | Slower than RAM |
| **Size** | Larger capacity (GBs) | Smaller capacity (MBs) |
**Types of RAM:**
::: grid
::: card โก | SRAM (Static RAM) | Faster, more expensive, used in CACHE memory | Doesn't need constant refreshing
::: card ๐ฐ | DRAM (Dynamic RAM) | Slower, cheaper, used as MAIN memory | Needs to be refreshed constantly to retain data
:::
> [!IMPORTANT]
> **Board Exam Tip**
> "Differentiate between RAM and ROM." โ **2-mark** question, asked EVERY single year!
> Answer: **RAM** is volatile memory โ data is LOST when power is turned off; it's used for TEMPORARY storage of currently running programs. **ROM** is non-volatile memory โ data remains PERMANENTLY even without power; it stores essential startup instructions like BIOS.
---
### 1.2.6 Cache Memory โก
**Cache Memory** is a SMALL, extremely FAST memory located BETWEEN the CPU and Main Memory (RAM) โ it stores frequently used data/instructions to speed up processing.
```mermaid
graph LR
CPU["๐ง CPU\n(Fastest)"]
CACHE["โก Cache Memory\n(Very Fast, Small)"]
RAM["๐ญ RAM\n(Fast, Larger)"]
STORAGE["๐พ Storage\n(Slow, Largest)"]
CPU <--> CACHE
CACHE <--> RAM
RAM <--> STORAGE
style CPU fill:#F44336,color:#fff
style CACHE fill:#FF9800,color:#fff
style RAM fill:#2196F3,color:#fff
style STORAGE fill:#9E9E9E,color:#fff
```
> **Analogy:** Imagine you're studying with a big textbook (Main Memory/RAM). Instead of flipping through 500 pages every time, you keep a small NOTE with the most important formulas RIGHT beside you (Cache) โ much faster to check than searching the whole book every time!
**Why Cache Memory Exists โ The Speed Gap Problem:**
```
CPU Speed: โกโกโกโกโกโกโกโกโกโก (Extremely Fast)
RAM Speed: โกโกโก (Much Slower than CPU)
Without Cache: CPU constantly WAITS for slow RAM = wasted time!
With Cache: CPU gets frequently-used data INSTANTLY = huge speed boost!
```
**Levels of Cache:**
| Level | Location | Speed | Size |
| :--- | :--- | :--- | :--- |
| **L1 Cache** | Built INTO the CPU chip | Fastest | Smallest |
| **L2 Cache** | Close to CPU, slightly further | Fast | Medium |
| **L3 Cache** | Shared across CPU cores | Slower than L1/L2 | Largest (among caches) |
> [!IMPORTANT]
> **Board Exam Tip**
> "What is Cache Memory? Why is it needed?" โ **2-mark** question!
> Answer: **Cache Memory** is a small, high-speed memory placed between the CPU and Main Memory, storing frequently accessed data/instructions. It is needed because the CPU processes data much faster than RAM can supply it โ Cache bridges this speed gap, significantly improving overall system performance.
---
### 1.2.7 The Storage Unit ๐พ
The **Storage Unit** (Secondary Memory) provides PERMANENT storage for data, programs, and files โ even when the computer is switched OFF.
::: grid
::: card ๐ฟ | Hard Disk Drive (HDD) | Magnetic storage; large capacity, slower speed | Traditional storage in most desktops/laptops
::: card โก | Solid State Drive (SSD) | Flash-based storage; faster, more expensive per GB | Modern laptops for faster boot/load times
::: card ๐พ | Pen Drive (USB Flash Drive) | Small, portable, removable storage | Transferring files between computers
::: card ๐ฟ | Optical Disks (CD/DVD) | Laser-read storage; largely OBSOLETE now | Older software/movie distribution
:::
**Primary Memory vs Secondary Memory โ Quick Comparison:**
| Feature | Primary Memory (RAM) | Secondary Memory (Storage) |
| :--- | :--- | :--- |
| **Volatility** | Volatile (erased on power off) | Non-Volatile (permanent) |
| **Speed** | Very Fast | Slower |
| **Cost per GB** | Expensive | Cheaper |
| **Purpose** | Temporary working memory | Permanent long-term storage |
| **Example** | RAM | Hard Disk, SSD, Pen Drive |
> [!IMPORTANT]
> **Board Exam Tip**
> "Differentiate between Primary and Secondary Memory." โ **2-mark** question, asked frequently!
> Answer: **Primary Memory (RAM)** is volatile, fast, and used for TEMPORARY storage of currently running programs/data. **Secondary Memory (Storage like HDD/SSD)** is non-volatile, slower, and used for PERMANENT storage of data even after the computer is switched off.
---
### 1.2.8 The System Bus ๐
The **System Bus** is a set of electrical pathways that CONNECT and allow COMMUNICATION between all components of the computer (CPU, Memory, Input/Output devices).
```mermaid
graph TD
BUS["๐ SYSTEM BUS"]
DATA["๐ Data Bus\nCarries actual DATA\nbeing transferred"]
ADDR["๐ Address Bus\nCarries the ADDRESS\n(location) of data"]
CONTROL["๐ฎ Control Bus\nCarries CONTROL SIGNALS\n(read/write commands)"]
BUS --> DATA
BUS --> ADDR
BUS --> CONTROL
style DATA fill:#2196F3,color:#fff
style ADDR fill:#FF9800,color:#fff
style CONTROL fill:#4CAF50,color:#fff
```
**The Three Types of Buses:**
::: grid
::: card ๐ | Data Bus | Carries the ACTUAL data being transferred between components | Bidirectional โ data flows both ways
::: card ๐ | Address Bus | Carries the MEMORY ADDRESS specifying WHERE data should go/come from | Unidirectional โ flows from CPU outward
::: card ๐ฎ | Control Bus | Carries CONTROL SIGNALS (like read/write commands) to coordinate operations | Manages the timing and coordination of data transfer
:::
> **Analogy:** Think of the System Bus like a HIGHWAY system connecting different cities (components). The **Data Bus** is the actual TRUCK carrying goods. The **Address Bus** is the ROAD SIGN telling the truck WHICH city (memory location) to go to. The **Control Bus** is the TRAFFIC LIGHT system, coordinating WHEN trucks can move!
> [!IMPORTANT]
> **Board Exam Tip**
> "What are the three types of buses in a computer system?" โ **2-mark** question!
> Answer: **Data Bus** (carries actual data), **Address Bus** (carries memory addresses/locations), and **Control Bus** (carries control signals to coordinate operations).
---
## 1.3 ๐ฑ Mobile System Organization
Mobile devices (smartphones, tablets) have a SIMILAR but more COMPACT organisation compared to traditional computers โ everything is squeezed into a tiny, power-efficient package!
```mermaid
graph TD
MOBILE["๐ฑ MOBILE SYSTEM"]
SOC["๐ฒ SoC\n(System on Chip)\nCPU+GPU+RAM+more,\nALL on ONE chip!"]
TOUCH["๐ Touchscreen\n(Input + Output combined)"]
FLASH["๐พ Flash Storage\n(Internal storage)"]
BATTERY["๐ Battery\n(Power management)"]
SENSORS["๐ก Sensors\n(GPS, Camera, Accelerometer)"]
MOBILE --> SOC
MOBILE --> TOUCH
MOBILE --> FLASH
MOBILE --> BATTERY
MOBILE --> SENSORS
style SOC fill:#F44336,color:#fff
```
**Key Differences from Traditional Computer Organisation:**
| Feature | Traditional Computer | Mobile System |
| :--- | :--- | :--- |
| **CPU Design** | Separate CPU chip | SoC (System on Chip) โ combines CPU, GPU, RAM controller etc. |
| **Input/Output** | Separate keyboard, mouse, monitor | Combined Touchscreen (both input AND output) |
| **Storage** | HDD/SSD (often replaceable) | Flash Storage (usually built-in, non-removable) |
| **Power** | Constant power supply (plugged in) | Battery-dependent, power efficiency is CRITICAL |
| **Size Priority** | Performance-focused | Compact size + battery life focused |
::: grid
::: card ๐ฒ | SoC (System on Chip) | Integrates CPU, GPU, Memory Controller, and more onto a SINGLE chip | Saves space, improves power efficiency
::: card ๐ | Touchscreen | Combines Input AND Output into one interface | You tap (input) and see the response (output) on the same screen
::: card ๐ | Battery Management | Since mobile devices aren't always plugged in, POWER EFFICIENCY is a top design priority | Processors designed to use minimal power
:::
> [!NOTE]
> **Why SoC instead of separate chips? ๐ง **
> Mobile devices need to be SMALL and ENERGY-EFFICIENT. By combining multiple components (CPU, GPU, memory controller) onto a SINGLE chip (SoC), manufacturers save physical space, reduce power consumption, and improve overall performance โ perfect for a device that fits in your pocket!
> [!IMPORTANT]
> **Board Exam Tip**
> "What is SoC? How is mobile system organisation different from a traditional computer?" โ **2-mark** question!
> Answer: **SoC (System on Chip)** integrates multiple components like CPU, GPU, and memory controller onto a single chip, commonly used in mobile devices to save space and power. Mobile systems differ from traditional computers by using SoC instead of separate components, combining input/output into a touchscreen, and prioritising battery efficiency.
---
## 1.4 ๐ฟ Types of Software
**Software** refers to the SET OF INSTRUCTIONS (programs) that tell computer hardware what to do. Without software, hardware is just an expensive, useless box!
```mermaid
graph TD
SW["๐ฟ SOFTWARE"]
SYS["โ๏ธ System Software\nManages the computer\nitself"]
APP["๐ฑ Application Software\nHelps USERS perform\nspecific tasks"]
SW --> SYS
SW --> APP
style SYS fill:#2196F3,color:#fff
style APP fill:#4CAF50,color:#fff
```
---
### 1.4.1 System Software โ๏ธ
**System Software** manages and controls the computer's HARDWARE, providing a platform for other software (like Application Software) to run on.
```mermaid
graph TD
SYS["โ๏ธ SYSTEM SOFTWARE"]
OS["๐ฅ๏ธ Operating System\n(Windows, Linux, macOS)"]
UTIL["๐ง Utility Software\n(Antivirus, Disk Cleanup)"]
DRIVER["๐ Device Drivers\n(Printer driver, Graphics driver)"]
SYS --> OS
SYS --> UTIL
SYS --> DRIVER
style OS fill:#F44336,color:#fff
```
::: grid
::: card ๐ฅ๏ธ | Operating System | Manages hardware resources, provides a platform for other software | Windows, Linux, macOS, Android
::: card ๐ง | Utility Software | Performs maintenance and support tasks | Antivirus, Disk Defragmenter, File Compression tools
::: card ๐ | Device Drivers | Allow the OS to COMMUNICATE with specific hardware devices | Printer driver, Graphics card driver
:::
> **Analogy:** System Software is like the FOUNDATION and PLUMBING of a house โ you don't directly interact with the pipes and wiring, but WITHOUT them, nothing else (like your kitchen appliances) would work!
> [!IMPORTANT]
> **Board Exam Tip**
> "What is System Software? Give two examples." โ **2-mark** question!
> Answer: **System Software** manages and controls computer hardware, providing a platform for other software to operate. Examples: **Operating Systems** (Windows, Linux) and **Device Drivers**.
---
### 1.4.2 Application Software ๐ฑ
**Application Software** helps USERS perform SPECIFIC tasks โ it's the software you directly interact with to get real work done.
::: grid
::: card ๐ | General Purpose Software | Designed for common, everyday tasks | MS Word, MS Excel, Google Chrome
::: card ๐ฏ | Specific Purpose Software | Designed for ONE particular specialised task | Payroll software, Railway reservation system
::: card ๐จ | Utility Application | Provides useful tools for common needs | Media players, Photo editors
:::
**System Software vs Application Software โ The Critical Comparison:**
| Feature | System Software | Application Software |
| :--- | :--- | :--- |
| **Purpose** | Manages/controls HARDWARE | Helps USERS perform specific tasks |
| **Dependency** | Runs independently, closer to hardware | DEPENDS on System Software to run |
| **User Interaction** | Usually runs in the BACKGROUND | Directly used by the end-user |
| **Examples** | Windows, Linux, Device Drivers | MS Word, Photoshop, Games |
> **Analogy:** If System Software is the FOUNDATION of a house, Application Software is the FURNITURE and APPLIANCES you actually use every day โ the sofa you sit on, the TV you watch. Both need the foundation to exist, but you interact directly with the furniture!
> [!IMPORTANT]
> **Board Exam Tip**
> "Differentiate between System Software and Application Software." โ **2-mark** question, asked EVERY year!
> Answer: **System Software** manages and controls the computer's hardware resources, acting as a platform for other software (e.g., Operating Systems). **Application Software** helps users perform specific tasks and directly interacts with the user (e.g., MS Word, games). Application Software DEPENDS on System Software to function.
---
### 1.4.3 Software Libraries ๐
A **Software Library** is a collection of PRE-WRITTEN, reusable code (functions, classes, routines) that programmers can use in their own programs WITHOUT writing that code from scratch!
```mermaid
graph LR
PROB["๐ฉ Problem\nNeed to write complex\nmath/graphics code"]
LIB["๐ Software Library\n(Pre-written, tested code)"]
SOL["๐ Solution\nJust IMPORT and USE it\ndirectly in your program!"]
PROB -->|"Instead of\nwriting from scratch"| LIB --> SOL
style LIB fill:#FF9800,color:#fff
style SOL fill:#4CAF50,color:#fff
```
> **Analogy:** Imagine building a house โ instead of manufacturing your OWN nails, bricks, and windows from raw materials, you BUY them pre-made from a supplier and use them directly. Software Libraries are exactly like that โ pre-made "building blocks" of code that save you enormous time and effort!
**Why Software Libraries are Useful:**
::: grid
::: card โฑ๏ธ | Saves Time | No need to reinvent the wheel for common tasks | Using a math library instead of writing your own calculations
::: card โ
| Tested & Reliable | Library code has already been tested by MANY developers | Fewer bugs than writing everything yourself
::: card ๐ | Reusability | Same library can be used across MULTIPLE different projects | Write once, use everywhere
:::
**Examples of Common Software Libraries:**
| Library | Language | Purpose |
| :--- | :--- | :--- |
| **NumPy** | Python | Mathematical/numerical computations |
| **Pandas** | Python | Data handling and analysis |
| **Matplotlib** | Python | Data visualisation/plotting |
| **Math Library** | C/C++ | Mathematical functions (sqrt, pow, etc.) |
> [!IMPORTANT]
> **Board Exam Tip**
> "What is a Software Library? Give one example." โ **2-mark** question!
> Answer: A **Software Library** is a collection of pre-written, reusable code (functions/classes) that programmers can directly use in their programs instead of writing it from scratch. Example: **NumPy** (Python library for numerical computations).
---
## โ ๏ธ Common Errors and Misconceptions
| Mistake | What's Wrong | Correct Understanding |
| :--- | :--- | :--- |
| โ RAM and ROM are the same type of memory | They behave very differently | โ
RAM is volatile (temporary); ROM is non-volatile (permanent) |
| โ Cache Memory and Main Memory (RAM) are the same | Cache is much smaller and faster | โ
Cache sits BETWEEN CPU and RAM to bridge the speed gap |
| โ Application Software can run WITHOUT System Software | Not possible | โ
Application Software always DEPENDS on System Software (like the OS) |
| โ The CPU only has one component | It has three distinct parts | โ
CPU = ALU + CU + Registers, each with a different job |
| โ Primary and Secondary Memory are interchangeable terms | They serve very different purposes | โ
Primary Memory (RAM) = temporary; Secondary Memory (Storage) = permanent |
| โ Mobile systems are organised exactly like desktop computers | Mobile uses a more compact design | โ
Mobile systems use SoC (System on Chip) combining multiple components into one |
---
## ๐ Quick Revision โ Exam Ready!
**Computer Organisation โ One-Line Summary:**
- **Input Unit** โ Enters data (Keyboard, Mouse)
- **CPU** โ Processes data (ALU + CU + Registers)
- **Output Unit** โ Displays results (Monitor, Printer)
- **Memory Unit** โ Temporary storage (RAM)
- **Storage Unit** โ Permanent storage (HDD, SSD)
- **System Bus** โ Connects everything (Data, Address, Control Bus)
**CPU Components:**
| Component | Job |
| :--- | :--- |
| ALU | Math and logic operations |
| CU | Coordinates and controls all activities |
| Registers | Tiny, super-fast temporary storage |
**Memory Comparison:**
| | RAM | ROM | Cache |
| :--- | :--- | :--- | :--- |
| Volatile? | Yes | No | Yes |
| Speed | Fast | Slower | Fastest |
| Purpose | Temporary working memory | Permanent startup instructions | Speed up CPU-RAM communication |
**Software Types:**
- **System Software** โ Manages hardware (OS, Device Drivers)
- **Application Software** โ Helps users do tasks (MS Word, Games)
- **Software Library** โ Pre-written reusable code (NumPy, Pandas)
---
## ๐ฏ Sample Board Exam Questions
### Q1: Very Short Answer [1 mark each]
a) Name the three components of a CPU.
**โ ALU, Control Unit (CU), and Registers**
b) What does RAM stand for?
**โ Random Access Memory**
c) Which memory is faster: Cache or RAM?
**โ Cache Memory**
d) Give one example of System Software.
**โ Operating System (Windows/Linux) or Device Driver**
e) What is SoC?
**โ System on Chip โ integrates CPU, GPU, and other components onto a single chip, used in mobile devices**
---
### Q2: Short Answer [2 marks]
**Q: Differentiate between RAM and ROM.**
**RAM** is volatile memory โ its data is LOST when the power is switched off; it temporarily stores currently running programs and data.
**ROM** is non-volatile memory โ its data remains PERMANENTLY, even without power; it typically stores essential startup instructions like BIOS.
---
### Q3: Short Answer [2 marks]
**Q: Differentiate between System Software and Application Software.**
**System Software** manages and controls computer hardware, acting as a platform for other software (e.g., Windows, Linux).
**Application Software** helps users perform specific tasks and is directly used by the end-user (e.g., MS Word, games). Application Software depends on System Software to run.
---
### Q4: Short Answer [3 marks]
**Q: Explain the three main components of the CPU with their functions.**
The CPU has three main components:
1. **ALU (Arithmetic Logic Unit)** โ performs all arithmetic (addition, subtraction) and logical (comparison) operations.
2. **CU (Control Unit)** โ directs and coordinates the activities of the CPU and other computer components, ensuring instructions execute in the correct sequence.
3. **Registers** โ extremely small, high-speed storage locations inside the CPU that temporarily hold data/instructions currently being processed.
---
### Q5: Short Answer [2 marks]
**Q: What is Cache Memory? Why is it needed in a computer system?**
**Cache Memory** is a small, extremely fast memory located between the CPU and Main Memory (RAM). It stores frequently used data/instructions so the CPU doesn't have to wait for the comparatively slower RAM. It is needed to bridge the speed gap between the very fast CPU and the slower RAM, significantly improving overall system performance.
---
## โ๏ธ Practice Problems
1. Draw a labelled diagram showing the basic organisation of a computer system.
2. Explain the Fetch-Decode-Execute cycle with a simple example.
3. Differentiate between Primary Memory and Secondary Memory with two examples each.
4. What are the three types of buses in a system bus? Explain each briefly.
5. Explain why mobile devices use SoC (System on Chip) instead of separate CPU, GPU, and memory chips like traditional computers.
6. List three examples each of System Software and Application Software.
7. What is a Software Library? Explain with one real-world example (e.g., NumPy).
8. Explain the levels of cache memory (L1, L2, L3) and how they differ in speed and size.
9. A friend says "RAM and Hard Disk are basically the same thing, just different sizes." Correct this misconception with proper reasoning.
10. Explain the role of Device Drivers in a computer system, and why an Application Software cannot function properly without the correct drivers installed.
Back to List
Calculating...
UNIT 1 : CH 1
Jul 28, 2026
Computer System Overview
Learning Support
Need Help With This Chapter?
Save key topics for exam revision, ask questions to teachers, or submit content corrections.
Verified Doubts & Teacher Answers
Loading resolved questions for this note...