14.1 Computer Fundamentals

Key Takeaways

  • Input supplies data. A processor transforms it under instructions. Output presents the result, and storage retains data for later use.

  • Hardware is physical equipment. An operating system, driver and application are different kinds of software.

  • Ordinary system RAM and CPU cache are volatile. SSDs and hard disks retain stored data when power is removed.

  • A touchscreen can provide both input and output. Classify each function by the direction of data flow.

  • An eight-bit byte is the usual unit for data size. One GB is one billion bytes, while one GiB is 1,073,741,824 bytes.

Last updated: November 2026

Trace an operation

A supermarket checkout turns a scanned product code into a line on a receipt. The scanner supplies input. Software looks up the code, retrieves a price and calculates the updated total. The display and receipt are outputs. Saving the transaction to a database retains it for later use. System memory can hold a working copy while the program is running. If power is lost, unsaved work in ordinary memory can disappear. Recovery depends on what the software already wrote to persistent storage.

Component or deviceWhat it does
Keyboard, mouse, scanner, microphoneCapture input.
Monitor, printer, plotter, speakerPresent output as images, marks on media or sound.
TouchscreenDisplays information and also captures touches.
Central processing unit (CPU)Executes instructions and coordinates processing. Arithmetic and logic circuits calculate or compare values.
GPUProcesses graphics and can perform other kinds of parallel work.
Network adapterSends and receives data through a network link.
MotherboardConnects components such as the processor, memory, storage and peripherals.

An embedded computer is built into a larger device and can be designed for a dedicated task, such as running a washing machine's cycle. A general-purpose desktop can run applications for unrelated tasks. A mainframe is often used for high-volume, reliable transaction processing. A supercomputer often uses parallel processing for demanding calculations such as weather modelling. IBM processor components · IBM microcontrollers

Memory, storage and software

ComponentHow to recognise it
Ordinary system RAMVolatile main memory for running software and working data.
CPU cacheUsually a smaller, faster memory close to or within the CPU that retains copies of frequently needed data or instructions.
ROM and other nonvolatile memoryRetain data without electrical power. Many current machines store startup firmware in updateable flash memory.
Hard disk drive (HDD)Persistent storage using rotating magnetic platters.
Solid-state drive (SSD)Persistent storage, typically using flash memory and no moving read/write head.

Hardware is the physical equipment. Software provides instructions and associated data. An operating system manages resources and provides services for applications. A device driver helps the operating system communicate with a device. A word processor is an application. Firmware is software closely tied to the operation of a device. For example, a computer starts its firmware before loading the operating system. Some firmware can be updated. In a printer example, the document editor creates the content, the operating system manages the print request, a driver supplies the device interface, and firmware in the printer controls the device. A missing driver can prevent the operating system from using an otherwise functional printer. Sending a job also leaves the saved document and the temporary print job with different lifetimes.

For a second example, a learner opens a saved document from an SSD, edits it and the computer loses power. The original file was on persistent storage. If the editor kept the new changes only in working RAM, that copy disappears. A recovery copy exists only if the editor had already written one. Adding RAM can help keep more programs open, but it does not increase the storage available for saved documents. Conversely, moving old files to an external drive can free disk space without increasing working RAM. IBM on primary storage · Microsoft UEFI and Windows

Bits, bytes and storage sizes

A bit represents a binary digit. A byte contains eight bits in current standard usage. A single displayed character can require multiple bytes, depending on the encoding. For example, UTF-8 encodes the basic Latin letter A using one byte and precomposed é (U+00E9) using two.

Decimal prefixBytesBinary prefixBytes
kB (kilobyte)1,000KiB (kibibyte)1,024
MB (megabyte)1,000,000MiB (mebibyte)1,048,576
GB (gigabyte)1,000,000,000GiB (gibibyte)1,073,741,824
TB (terabyte)1,000,000,000,000TiB (tebibyte)1,099,511,627,776

The binary ladder multiplies by 1,024 at each step. The decimal ladder multiplies by 1,000. A 500 GB drive contains 500,000,000,000 bytes of stated nominal capacity. Divide by 1,073,741,824 to express the same quantity as about 465.66 GiB. Formatting and partitions can further affect the usable space. Use the unit named in the question.

A photo archive has four files of 12 MiB each. The total is 48 MiB, or 48 × 1,048,576 = 50,331,648 bytes. A device with exactly 50 MB of free space reports 50,000,000 available bytes, so the archive will not fit even before any additional overhead. Also separate file size from transfer speed. At a steady payload rate of 8 megabits per second, a 4 MB file contains 32 million bits and takes four seconds, ignoring protocol overhead. Megabits per second count transmitted bits. Megabytes count stored bytes. NIST binary prefixes · IETF UTF-8 specification

Test Your Knowledge

Which component normally loses its working contents when the power is removed?

A

The hard disk drive

B

The read-only memory chip

C

The random-access memory

D

The solid-state drive

Test Your Knowledge

How many bytes are in one gibibyte (GiB)?

A

1,073,741,824

B

1,000,000,000

C

1,048,576

D

1,024

Test Your Knowledge

What kind of device is a plotter?

A

An input device, because it reads designs

B

A storage device, because it holds drawings

C

A processing device, because it computes the drawing

D

An output device, because it produces a drawing on paper or film

Sections you finish are checked off in the contents.