1. Learning Objectives
By the end of this lesson, students should be able to:
- Define a computer system.
- Identify the major components of a computer system.
- Differentiate between hardware and software.
- Explain the functions of input, processing, storage and output units.
- Describe the major components of the CPU.
- Explain the difference between primary and secondary storage.
- Identify common input, output and storage devices.
- Explain the role of communication and networking devices.
- Understand how different components work together as a system.
2. What is a Computer System?
A computer system is an integrated combination of hardware, software, data and users that works together to accept input, process data, store information and produce useful output.
A computer is therefore more than just a monitor, keyboard or CPU. Its different components work together to perform tasks.
When a student calculates marks using a computer, the keyboard provides input, the processor performs calculations, memory temporarily holds data, storage saves the file and the monitor displays the result.
3. Basic Functional Units of a Computer
A computer system can be understood through the following basic functional units:
Storage and communication systems support these units by storing information and enabling data exchange.
| Unit | Function | Examples |
|---|---|---|
| Input Unit | Accepts data and instructions from the user or another source. | Keyboard, mouse, scanner, microphone |
| Processing Unit | Processes data according to instructions. | CPU |
| Memory / Storage | Holds data, instructions and results temporarily or permanently. | RAM, ROM, SSD, HDD |
| Output Unit | Presents processed information to the user. | Monitor, printer, speakers |
| Communication Unit | Enables data exchange between computers and networks. | Network interface, modem, router |
4. Major Components of a Computer System
1. Hardware
Physical parts of a computer system.
Examples: keyboard, monitor, motherboard, CPU, RAM, SSD and printer.
2. Software
Programs and instructions that control hardware and perform tasks.
Examples: operating systems, browsers and word processors.
3. Data
Facts, values and observations that a computer can process.
4. Users
People who operate, manage or develop computer systems.
5. Hardware
Hardware refers to the physical components of a computer system that can be seen and touched.
Major Categories of Hardware
- Input devices
- Processing devices
- Memory and storage devices
- Output devices
- Communication devices
Keyboard, mouse, monitor, motherboard, processor, RAM, SSD, printer, scanner, webcam and network adapter.
6. Software
Software is a collection of programs, instructions and related data that tells a computer system how to perform tasks.
Types of Software
| Type | Purpose | Examples |
|---|---|---|
| System Software | Manages computer hardware and provides a platform for application software. | Operating systems, device drivers |
| Application Software | Helps users perform specific tasks. | Word processors, spreadsheets, web browsers |
| Utility Software | Performs maintenance, security or management tasks. | Backup tools, disk utilities, security software |
7. Relationship Between Hardware and Software
Hardware and software depend on each other.
Hardware provides the physical resources, while software provides instructions for using those resources.
A printer is hardware. A printer driver and printing application provide software instructions that allow the computer to communicate with the printer.
8. Motherboard
The motherboard is the main printed circuit board (PCB) of a computer. It provides electrical and logical connections between major components.
Components Connected to the Motherboard
- Processor (CPU)
- Memory modules
- Storage interfaces
- Expansion devices
- Input/output interfaces
- Power connections
9. Central Processing Unit (CPU)
The Central Processing Unit (CPU) is the primary processing component of a general-purpose computer. It executes instructions and performs calculations and logical operations.
The CPU is often informally called the "brain of the computer", but technically it is the processor responsible for executing machine instructions.
Main Components of the CPU
1. Arithmetic Logic Unit (ALU)
Performs arithmetic operations such as addition and subtraction and logical operations such as comparisons.
2. Control Unit (CU)
Coordinates the execution of instructions and controls the flow of data and control signals within the processor.
3. Registers
Very small, high-speed storage locations inside the CPU used to hold data, instructions, addresses or intermediate results during processing.
10. Instruction Cycle
A CPU generally processes instructions through a sequence often described as the fetch-decode-execute cycle.
| Stage | Meaning |
|---|---|
| Fetch | Retrieve the next instruction from memory. |
| Decode | Interpret what operation the instruction requests. |
| Execute | Perform the required operation. |
| Write Result | Store the result in an appropriate location when required. |
11. Registers
A register is a small, high-speed storage location within the CPU used during instruction execution.
Registers are much smaller and faster than main memory and are used for immediate processing needs.
Examples of Register Functions
- Holding operands for calculations.
- Holding intermediate results.
- Holding memory addresses.
- Holding the current instruction or related information.
12. Memory
Computer memory refers to storage locations used to hold data and instructions for processing.
Memory can be broadly classified into primary memory and secondary storage.
13. Primary Memory
Primary memory is memory directly accessible by the CPU and used to hold instructions and data needed during processing.
Main Types
| Type | Characteristics |
|---|---|
| RAM | Read/write working memory. It is generally volatile, meaning its contents are lost when power is removed. |
| ROM | Non-volatile memory used to store firmware or other persistent instructions. |
14. Random Access Memory (RAM)
RAM is the main working memory used by a computer to hold programs and data that are currently in use.
Important Characteristics
- Supports reading and writing.
- Provides fast access compared with secondary storage.
- Normally volatile.
- More available RAM can help a system handle more active workloads, subject to other system constraints.
When a spreadsheet application is running, its active program data is loaded into RAM so that the CPU can access it efficiently.
15. Read Only Memory (ROM)
ROM is non-volatile memory that retains its contents when the computer is switched off.
Modern systems use various forms of non-volatile memory for firmware. The term "ROM" is commonly used in school-level computing to describe this category.
16. Cache Memory
Cache memory is a small, high-speed memory located close to or integrated with the CPU and used to keep frequently or recently needed data and instructions.
Cache helps reduce the time the CPU would otherwise spend waiting for data from slower memory.
Cache Levels
- L1: Very small and extremely fast.
- L2: Larger than L1 and usually somewhat slower.
- L3: Typically larger and shared by multiple CPU cores in many processors.
17. Secondary Storage
Secondary storage provides persistent storage for programs, documents, media and other data.
| Device | Characteristics |
|---|---|
| Hard Disk Drive (HDD) | Uses magnetic disks and mechanical components to store data. |
| Solid-State Drive (SSD) | Uses flash memory and has no mechanical disk mechanism. |
| USB Flash Drive | Portable flash-based storage connected through USB. |
| Memory Card | Small removable flash storage used in many devices. |
| Optical Disc | Uses laser-based optical technology to read and/or write data. |
18. Input Devices
An input device is a hardware component used to enter data or instructions into a computer system.
| Device | Function |
|---|---|
| Keyboard | Enters text, numbers and commands. |
| Mouse | Controls the pointer and selects graphical elements. |
| Scanner | Converts physical documents or images into digital data. |
| Microphone | Captures sound. |
| Webcam | Captures images and video. |
| Touchscreen | Allows users to interact by touching displayed elements and can also display output. |
| Barcode Scanner | Reads machine-readable product codes. |
| Biometric Scanner | Captures biometric characteristics such as fingerprints. |
19. Output Devices
An output device presents information produced by a computer system to the user or another system.
| Device | Function |
|---|---|
| Monitor | Displays text, images, video and graphical information. |
| Printer | Produces a physical printout of digital information. |
| Speakers | Produce audible sound. |
| Headphones | Provide audio output to an individual user. |
| Projector | Projects visual content onto a larger surface. |
20. Monitors
A monitor is a visual output device.
| Type | Basic Characteristics |
|---|---|
| CRT | Older display technology using a cathode-ray tube. Generally bulky and heavy. |
| LCD | Uses liquid crystals controlled by electrical signals and a backlight. |
| LED | In common consumer terminology, an LED monitor is typically an LCD display that uses LED backlighting. |
21. Printers
Printers produce hard copies of digital information.
Major Types
| Printer Type | Category | Typical Characteristics |
|---|---|---|
| Dot Matrix | Impact | Uses pins striking an ink ribbon; useful for multipart forms in some applications. |
| Daisy Wheel | Impact | Produces character-based output by striking a ribbon. |
| Inkjet | Non-impact | Sprays tiny droplets of ink onto paper. |
| Laser | Non-impact | Uses electrostatic imaging and toner; generally suitable for fast, high-volume document printing. |
If an office requires a large number of high-quality document copies quickly, a laser printer is generally more suitable than a basic dot-matrix printer.
22. Communication Devices
Communication devices allow computers and other digital systems to exchange information over networks.
| Device | Function |
|---|---|
| Network Interface Card / Adapter | Provides a device with a network connection. |
| Router | Forwards packets between networks and can provide local network connectivity. |
| Switch | Connects devices within a local network and forwards frames to appropriate ports. |
| Modem | Converts signals as required for certain types of communication links. |
| Wireless Access Point | Provides wireless network connectivity to compatible devices. |
23. Ports and Interfaces
A port is a physical or logical interface through which a device can connect to another device or system.
| Interface | Common Use |
|---|---|
| USB | Connects peripherals and storage devices. |
| HDMI | Transfers digital audio and video to compatible displays. |
| Ethernet | Provides wired network connectivity. |
| Audio Jack | Connects compatible audio input/output devices. |
24. System Unit
The system unit is the main enclosure containing important internal components of a desktop computer.
Common Internal Components
- Motherboard
- CPU
- RAM
- Storage drive
- Power supply unit
- Cooling system
- Expansion cards where present
25. Power Supply Unit
The Power Supply Unit (PSU) converts electrical power from the mains into the voltage levels required by computer components.
The PSU supplies power to components such as the motherboard, storage devices and, where applicable, graphics hardware.
26. Cooling System
Computer components generate heat during operation. Cooling systems help keep temperatures within safe operating ranges.
Common Cooling Methods
- Fans
- Heat sinks
- Thermal interface materials
- Liquid cooling systems in some computers
27. Graphics Processing Unit (GPU)
A Graphics Processing Unit (GPU) is a processor designed to efficiently perform graphics and massively parallel computations.
GPUs are commonly used for graphics rendering, video processing, scientific computing and some artificial intelligence workloads.
28. How Components Work Together
Consider what happens when a student opens a document, edits it and saves it.
- The keyboard provides input.
- The operating system and application software interpret the input.
- The CPU executes instructions.
- RAM holds active program data and instructions.
- The monitor displays the document.
- When the user saves the document, data is written to persistent storage such as an SSD.
29. What Happens When a Computer Starts?
Starting a computer involves several hardware and software operations.
- The power supply provides power to the system.
- Firmware performs initial hardware checks and setup.
- The system identifies a bootable device.
- The operating system is loaded into memory.
- System services and drivers are initialised.
- The computer becomes ready for the user.
30. Primary Memory vs Secondary Storage
| Feature | Primary Memory | Secondary Storage |
|---|---|---|
| Purpose | Holds data and instructions needed during active processing. | Stores data and programs persistently. |
| CPU Access | Directly accessible by the CPU. | Accessed through the storage subsystem. |
| Volatility | RAM is volatile; ROM and other firmware memory are non-volatile. | Generally non-volatile. |
| Capacity | Usually smaller. | Usually much larger. |
| Examples | RAM, ROM | SSD, HDD, USB flash drive |
31. Hardware vs Software
| Hardware | Software |
|---|---|
| Physical components. | Programs and instructions. |
| Can generally be physically touched. | Cannot be physically touched as a program. |
| Examples: keyboard, CPU, RAM, monitor. | Examples: operating system, browser, spreadsheet. |
| Requires software instructions to perform useful computational tasks. | Requires suitable hardware resources to execute. |
32. Role of Data
Data is the raw material processed by computer systems.
Data may take many forms:
- Numbers
- Text
- Images
- Audio
- Video
- Sensor readings
- Records from databases
A temperature sensor may produce numerical readings. A computer can store those readings, analyse them and generate a graph showing temperature changes over time.
33. Role of Users
People are an essential part of a computer system because they define requirements, provide instructions, interpret results and make decisions.
| User / Role | Example Responsibility |
|---|---|
| End User | Uses applications and services to accomplish tasks. |
| System Administrator | Manages systems, accounts, configurations and resources. |
| Developer | Designs and develops software. |
| Data Professional | Collects, processes, analyses or manages data. |
34. Factors Affecting Computer Performance
Computer performance depends on multiple interacting factors.
- CPU architecture and clock frequency.
- Number and capability of CPU cores.
- Cache size and organisation.
- Amount and speed of RAM.
- Storage technology and performance.
- GPU capability for graphics workloads.
- Software efficiency.
- Thermal conditions.
- Workload characteristics.
35. Classroom Activity: Identify Computer Components 🔎
Identify the following components on a desktop computer or computer diagram.
| Component | Category | Function |
|---|---|---|
| Keyboard | ________________ | ________________ |
| CPU | ________________ | ________________ |
| RAM | ________________ | ________________ |
| SSD | ________________ | ________________ |
| Monitor | ________________ | ________________ |
| Printer | ________________ | ________________ |
| Router | ________________ | ________________ |
36. Classroom Activity: Input → Process → Output
For each situation, identify the input, processing and output.
| Situation | Input | Processing | Output |
|---|---|---|---|
| Calculating student percentage | ____________ | ____________ | ____________ |
| Printing a document | ____________ | ____________ | ____________ |
| Playing an audio file | ____________ | ____________ | ____________ |
| Scanning a photograph | ____________ | ____________ | ____________ |
37. Case Study: School Computer Lab
Situation
A school computer lab contains desktop computers, monitors, keyboards, mice, printers, network switches, a router, storage devices and educational software.
Questions
- Identify two input devices.
- Identify two output devices.
- Which component performs most general-purpose instruction processing?
- Which component provides temporary working memory?
- Which device provides persistent storage?
- Which device connects the lab to a network?
Suggested Answers
- Keyboard and mouse.
- Monitor and printer.
- CPU.
- RAM.
- An SSD or HDD.
- A network interface, switch, router or wireless access point may be involved, depending on the network design.
38. Competency-Based Questions
Question 1
Deepak wants to send photographs stored on his computer to his uncle in another country. Which components of a computer system are involved?
Answer: The storage device holds the photographs, the CPU and RAM support processing, the network interface enables communication and software provides the mechanism for transferring the files.
Question 2
A computer is switched off and the data stored in RAM is lost. Is this expected? Explain.
Answer: Yes. RAM is normally volatile memory, so its contents are lost when power is removed. Files intended for long-term storage should be saved to non-volatile storage such as an SSD or HDD.
Question 3
A school needs to print 100 high-quality copies of a circular quickly. Which printer would generally be appropriate?
Answer: A laser printer would generally be appropriate because it is designed for fast, high-volume document printing and produces sharp text.
Question 4
Why is it incorrect to call the entire computer cabinet the CPU?
Answer: The CPU is the processor that executes instructions. The computer cabinet or system unit contains several components, including the CPU, motherboard, RAM, storage and power supply.
39. Think About It 🤔
- What is a computer system?
- What is the difference between hardware and software?
- What are the three commonly taught major components of the CPU?
- What is the function of the ALU?
- What is the function of the Control Unit?
- What is a register?
- Why is RAM called volatile memory?
- What is the purpose of secondary storage?
- What is the difference between an input device and an output device?
- Why is a motherboard important?
- What is the role of a router?
- Why do computers require cooling?
40. Key Terms
| Term | Meaning |
|---|---|
| Computer System | A combination of hardware, software, data and users working together to perform computing tasks. |
| Hardware | Physical components of a computer system. |
| Software | Programs and instructions used to operate a computer and perform tasks. |
| CPU | Central Processing Unit; executes instructions and performs processing. |
| ALU | Arithmetic Logic Unit; performs arithmetic and logical operations. |
| Control Unit | Coordinates instruction execution and control signals. |
| Register | Small, high-speed storage location inside the CPU. |
| RAM | Volatile working memory used to hold active programs and data. |
| ROM | Non-volatile memory commonly used for firmware and persistent instructions. |
| Cache | Small, high-speed memory that helps reduce CPU access latency for frequently used data and instructions. |
| Motherboard | Main circuit board connecting major computer components. |
| Input Device | Device used to enter data or instructions into a computer. |
| Output Device | Device used to present computer-generated information. |
| Secondary Storage | Persistent storage for programs and data. |
| Network | A collection of interconnected devices that can exchange data. |
41. Lesson Recap
- A computer system consists of interconnected hardware, software, data and users.
- Hardware refers to physical components, while software provides instructions.
- The main functional units are input, processing, memory/storage and output.
- The CPU executes instructions and performs processing.
- The three commonly taught CPU components are the ALU, Control Unit and registers.
- RAM is volatile working memory.
- ROM and other firmware memory are non-volatile.
- Cache is small, high-speed memory that helps the CPU access frequently needed information more quickly.
- Secondary storage provides persistent storage for files and programs.
- Input devices enter data; output devices present results.
- Networking and communication components allow computer systems to exchange information.
- All components must work together for a computer system to perform useful tasks.
42. Homework 📝
- Define a computer system.
- Explain the difference between hardware and software.
- Name the three commonly taught major components of the CPU and explain their functions.
- What is a register?
- What is primary memory? Name its types.
- What is cache memory? State its purpose.
- Differentiate between primary memory and secondary storage.
- List five input devices and five output devices.
- Explain the functions of a motherboard.
- Explain how the CPU, RAM, storage and input/output devices work together when a user edits and saves a document.
43. Quick Assessment
- What is hardware?
- What is software?
- What is the full form of CPU?
- Name the three commonly taught major components of a CPU.
- What does ALU stand for?
- What is the function of the Control Unit?
- Define a register.
- What is RAM?
- What is ROM?
- What is cache memory?
- Name two secondary storage devices.
- Name two input devices.
- Name two output devices.
- What is the function of a motherboard?
- What is the purpose of a router?