Computers
What a computer is, how it turns data into information, and the hardware and software it needs to work.
What's a computer
A computer is an electronic device that takes in information (input), follows instructions (processing), and produces results (output).
Computers come in many forms, such as laptops, smartphones, and even the systems that run a car like a Tesla.
Common types of computers
Computers are all built from the same core parts, but they're designed for different jobs, power levels, and numbers of users.
- Laptops
- Built for one person to use on the go.
- Desktops
- Built for one person at a fixed desk, for heavy work, gaming, or daily use.
- Server computers
- Built to run 24/7 and serve files, websites, or data to many users at the same time.
The information processing cycle
Every computer, from a phone to a server, works through the same four steps.
Input, processing, output, and storage
- InputRaw data is entered into the computer.
- ProcessingThe computer analyzes, calculates, or manipulates the raw data into information.
- OutputThe processed data is shown to the user in a readable format.
- StorageThe data and results are saved on a device and can be viewed as information later.
The cycle then starts again with new input.
Data and information
People often use the two words interchangeably, but in computing they mean different things.
| Data | Information | |
|---|---|---|
| Definition | Raw, unorganized facts, numbers, symbols, or images that lack context. | Data that has been processed, structured, and given context so it makes sense. |
| Role in computers | The input a computer accepts through devices like a keyboard or mouse. | The useful output that people or other programs use to make decisions. |
| Example | The numbers 98.6, 102.1, and 97.8 have no meaning by themselves. | The same numbers become a temperature log labeled "Patient Fevers", which gives them a clear purpose. |
How computers connect data and information
- Data
- Processing
- Information
Information relies entirely on data, but data doesn't need information to exist.
Computers need hardware
Computer hardware refers to the physical components of a computer that you can touch and see. Each step of the information processing cycle relies on hardware:
| Step | Hardware that handles it |
|---|---|
| Input | Keyboards, mice, and microphones |
| Processing | The central processing unit (CPU) |
| Output | Monitors, printers, and speakers |
| Storage | Thumb drives, solid state drives (SSDs), and similar devices |
Hardware is separated into two categories:
- Core hardware
- Foundational physical devices that allow a computer to operate.
- Peripheral hardware
- Auxiliary devices that connect to a computer to expand what it can do.
Computers need software as well
Software is installed on top of hardware, acting as the brain and the instructions that tell the physical machinery what to do. Without software, a computer would just sit idle with nothing to do.
Software falls into three main categories:
- System software
- Programs that run the computer and manage its hardware, such as operating systems (OS) and device drivers.
- Application software
- Programs you open and use directly for everyday tasks, such as Microsoft Excel and Google Chrome.
- Programming software
- Programs developers use to create, test, debug, and maintain other programs, such as Python and VS Code.
Unlike hardware, software is intangible and can't be touched. Think of hardware as the body and software as the brain that tells the body what to do. The Software lesson goes further.
Computers are everywhere in daily life
| Area | Examples |
|---|---|
| Everyday life and communication | Smartphones and personal devices; social media, email, and video calls; streaming movies and listening to music |
| Business and finance | Online banking, mobile payments, and ATM services; spreadsheets and word processors; online stores and ecommerce |
| Education and science | Online classes, digital textbooks, and AI; simulations and forecast models; analyzing complex data |
| Healthcare | Tracking patient records and viewing medical images; monitoring patients in intensive care; AI-assisted diagnosis |
| Industry and government | Designing and building products; cars, airplanes, and traffic lights that use computers to navigate and control movement |
In practice: one order, one cycle
Kofi buys a phone online. Every step of the information processing cycle happens in a few seconds:
- Input: Kofi types an address and card number into the store's website.
- Processing: the store's servers check the card, confirm the phone is in stock, and work out the delivery date.
- Storage: the order is saved in the store's database, along with millions of others.
- Output: a confirmation page and email, and later, the order appears in the warehouse's picking list.
The database server is the computer doing much of the processing and all of the storage. A DBA's job is to keep that part fast, safe, and always available, so every order, Kofi's included, is recorded correctly and never lost.
Key takeaways
- A computer takes input, processes it, produces output, and stores the results.
- Data is raw facts; information is data that has been processed and given context.
- Hardware is the physical machine; software is the set of instructions that tells it what to do.
- Laptops, desktops, and servers share the same core parts but are built for different jobs.