Grade IX • Lecture Notes

Components of a Computer System

Hardware • Software • CPU • Memory • Storage • Input • Output • Communication Devices

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.

Example:

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:

Input Unit
Processing Unit
Output Unit

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

Examples:

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.

User
Software
Hardware
Result

Hardware provides the physical resources, while software provides instructions for using those resources.

Example:

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

The motherboard does not perform all computing by itself. It provides the platform through which major components communicate and operate together.

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.

Fetch
Decode
Execute
Store / Write Result
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

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.

CPU
Primary Memory
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

Example:

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

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.
Example:

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

The system unit should not be confused with the CPU. The CPU is a processing component, while the system unit is the enclosure containing multiple internal components.

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

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.

A GPU and CPU are different types of processors with different architectural strengths, although modern systems often use them together.

28. How Components Work Together

Consider what happens when a student opens a document, edits it and saves it.

Keyboard
CPU
RAM
Monitor
SSD
  1. The keyboard provides input.
  2. The operating system and application software interpret the input.
  3. The CPU executes instructions.
  4. RAM holds active program data and instructions.
  5. The monitor displays the document.
  6. 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.

  1. The power supply provides power to the system.
  2. Firmware performs initial hardware checks and setup.
  3. The system identifies a bootable device.
  4. The operating system is loaded into memory.
  5. System services and drivers are initialised.
  6. The computer becomes ready for the user.
This initial startup process is commonly called booting.

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:

Example:

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.

A higher specification in one component does not automatically make every workload faster. Performance depends on the complete system and the particular workload.

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

  1. Identify two input devices.
  2. Identify two output devices.
  3. Which component performs most general-purpose instruction processing?
  4. Which component provides temporary working memory?
  5. Which device provides persistent storage?
  6. Which device connects the lab to a network?

Suggested Answers

  1. Keyboard and mouse.
  2. Monitor and printer.
  3. CPU.
  4. RAM.
  5. An SSD or HDD.
  6. 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 🤔

  1. What is a computer system?
  2. What is the difference between hardware and software?
  3. What are the three commonly taught major components of the CPU?
  4. What is the function of the ALU?
  5. What is the function of the Control Unit?
  6. What is a register?
  7. Why is RAM called volatile memory?
  8. What is the purpose of secondary storage?
  9. What is the difference between an input device and an output device?
  10. Why is a motherboard important?
  11. What is the role of a router?
  12. 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 📝

  1. Define a computer system.
  2. Explain the difference between hardware and software.
  3. Name the three commonly taught major components of the CPU and explain their functions.
  4. What is a register?
  5. What is primary memory? Name its types.
  6. What is cache memory? State its purpose.
  7. Differentiate between primary memory and secondary storage.
  8. List five input devices and five output devices.
  9. Explain the functions of a motherboard.
  10. Explain how the CPU, RAM, storage and input/output devices work together when a user edits and saves a document.

43. Quick Assessment

  1. What is hardware?
  2. What is software?
  3. What is the full form of CPU?
  4. Name the three commonly taught major components of a CPU.
  5. What does ALU stand for?
  6. What is the function of the Control Unit?
  7. Define a register.
  8. What is RAM?
  9. What is ROM?
  10. What is cache memory?
  11. Name two secondary storage devices.
  12. Name two input devices.
  13. Name two output devices.
  14. What is the function of a motherboard?
  15. What is the purpose of a router?