A computer is an electronic machine that accepts data, processes it, and produces useful information.
It works according to instructions called programs and helps people perform tasks quickly and accurately.
Computers are used in almost every field such as education, business, healthcare, banking, and entertainment.
By Tayyab
⚙️ How Does a Computer Work?
A computer works in three main steps:
Input – Data is entered using devices like keyboard or mouse
Processing – The CPU processes the data
Output – The result is shown on screen or printed
This cycle is called the IPO cycle (Input–Process–Output).
By Tayyab
🧩 Main Parts of a Computer
1. Hardware
Physical parts of a computer that we can see and touch:
Monitor
Keyboard
Mouse
CPU
Printer
By Tayyab
2. Software
Programs that tell the computer what to do:
Windows
Linux
MS Word
Web Browsers
By Tayyab