Revision notes

Introduction to Computer: Foundation

The key points, rules to remember, tables and diagrams from all 5 lessons, on one page for quick revision. To keep a copy, use your browser's Print and choose "Save as PDF".

Lesson 1

What a computer is: input, process, output and its characteristics

Data and information

  • Data
    • Raw facts and figures
    • Not yet processed
    • Example: the marks 45, 67 and 83
  • Information
    • Data that has been processed
    • Meaningful and useful
    • Example: the class average is 65

The input-process-output (IPOS) cycle

  1. Input Data and instructions are given to the computer.
  2. Process The computer works on the data as the program says.
  3. Output The result is shown or printed.
  4. Storage Data or results are kept for later use.
StepWhat happensExample: finding 25 × 4 on a computer calculator
1. InputData and instructions are given to the computerYou type 25, the × sign and 4
2. ProcessThe computer works on the data as the program saysThe processor multiplies 25 by 4
3. OutputThe result is shown or printed100 appears on the screen
4. StorageData or results are kept for later useThe answer stays in the calculator's history
CharacteristicMeaning
SpeedA computer carries out millions of instructions in a second. Its operations are timed in very small units such as microseconds and nanoseconds.
AccuracyWhen the data and the program are correct, the result is correct every time. Errors almost always come from wrong input or wrong instructions.
DiligenceA computer does not get tired or bored. It can repeat the same task millions of times with the same care.
VersatilityThe same machine can do very different jobs: typing, accounts, games, video calls.
StorageIt can store huge amounts of data and bring any part of it back quickly.
AutomationOnce a program starts, the computer follows its instructions without a person guiding each step.
ReliabilityModern hardware works for long periods without failure.

Computer = Input → Process → Output (→ Storage), all under the control of a program. Data is raw; information is processed. Garbage In, Garbage Out.

Key takeaways: a computer is an electronic machine that accepts data, processes it under a program, stores it and gives output. Data becomes information by processing. Speed, accuracy, diligence, versatility and storage are its strengths; it cannot think for itself, and wrong input gives wrong output.

Read the full lesson

Lesson 2

Evolution of computers: early machines, five generations and types of computers

DeviceWho / whenWhat it did
AbacusAncient times; long used in China and many other landsCounting with beads on rods; the oldest known calculating aid
Napier's bonesJohn Napier, early 17th centuryNumbered rods that made multiplication easier
PascalineBlaise Pascal, 17th centuryA mechanical adding machine with gears
Jacquard loomJoseph Marie Jacquard, early 19th centuryUsed punched cards to control weaving patterns, the idea later used to give instructions to machines
Difference Engine and Analytical EngineCharles Babbage, 19th centuryThe Analytical Engine was designed with a 'mill' (processing), a 'store' (memory) and punched-card input, like a modern computer. Babbage is called the father of the computer.
Program for the Analytical EngineAda Lovelace, 19th centuryWrote what is regarded as the first computer program; she is called the first computer programmer
Tabulating machineHerman Hollerith, late 19th centuryRead punched cards electrically to count census data quickly

Five generations of computers

  1. First: vacuum tubes Room-sized, very hot, programmed in machine language.
  2. Second: transistors Smaller, faster, less heat; early languages such as FORTRAN and COBOL.
  3. Third: integrated circuits Many transistors on one silicon chip.
  4. Fourth: microprocessors The whole processor on a single chip; personal computers.
  5. Fifth: artificial intelligence Machines that understand speech, recognise images and learn from data.
GenerationApproximate periodMain technologyFeatures and examples
First1940s to mid-1950sVacuum tubes (valves)Room-sized, very hot, used a lot of power; programmed in machine language (0s and 1s); input by punched cards. Examples: ENIAC, UNIVAC.
SecondLate 1950s to mid-1960sTransistorsSmaller, faster, less heat; assembly language and early high-level languages such as FORTRAN and COBOL.
ThirdMid-1960s to early 1970sIntegrated circuits (ICs)Many transistors on one silicon chip; keyboards and monitors; operating systems allowed several programs to run.
FourthEarly 1970s onwardsMicroprocessors (VLSI chips)The whole processor on a single chip; personal computers, laptops, graphical interfaces and networks.
FifthPresent and futureArtificial intelligence, ULSI chips, parallel processingMachines that understand speech, recognise images and learn from data.

Computers by how they work

  • Analog
    • Continuously changing quantities
    • Example: a speedometer needle
  • Digital
    • Discrete values, 0 and 1
    • Example: desktops, laptops, phones
  • Hybrid
    • Analog signals processed or shown digitally
    • Example: a hospital heartbeat monitor
TypeTypical use
SupercomputerThe fastest computers, used for huge calculations such as weather forecasting and scientific research. India's PARAM series was developed by C-DAC.
MainframeLarge computers that serve thousands of users and transactions at the same time, as in banks and large organisations.
MinicomputerMedium-sized multi-user computers for a department or small organisation.
MicrocomputerPersonal computers built around a microprocessor: desktops, laptops, tablets and smartphones.

Vacuum tube → transistor → IC → microprocessor → AI: first to fifth generation. Analog = continuous, digital = 0 and 1, hybrid = both.

Key takeaways: Babbage designed the Analytical Engine and is called the father of the computer; Ada Lovelace is called the first programmer. Each generation is defined by its technology. Computers are classed by working (analog, digital, hybrid) and by size (super, mainframe, mini, micro).

Read the full lesson

Lesson 3

Inside the computer: CPU, ALU, control unit and memory

PartJob
Arithmetic Logic Unit (ALU)Does arithmetic (add, subtract, multiply, divide) and logical operations (comparisons such as greater than, less than, equal to).
Control Unit (CU)Directs and coordinates all parts of the computer. It fetches each instruction, works out what it means and tells the other parts what to do. It does not calculate by itself.
RegistersVery small, very fast storage places inside the CPU that hold the instruction and data being worked on right now.

The machine cycle

  1. Fetch Get the instruction from memory.
  2. Decode Work out what the instruction means.
  3. Execute Carry out the instruction.
  4. Store Keep the result.

Then back to step 1: Fetch

FeatureRAM (Random Access Memory)ROM (Read Only Memory)
Keeps data without power?No: it is volatileYes: it is non-volatile
Read and write?Read and writeMainly read; written by the maker
What it holdsThe programs and data in use right nowStart-up instructions (firmware such as the BIOS)
KindsSRAM (fast, used for cache) and DRAM (main memory, needs constant refreshing)PROM (written once), EPROM (erased by ultraviolet light), EEPROM (erased electrically; flash memory is a kind of it)

The memory hierarchy

  1. Registers Fastest, smallest, costliest per byte.
  2. Cache memory
  3. RAM (main memory)
  4. SSD and hard disk
  5. Optical discs and magnetic tape Slowest, largest, cheapest per byte.
Going down, speed and cost per byte fall and capacity rises.
UnitEqual to
BitA single binary digit, 0 or 1 (the smallest unit)
Nibble4 bits
Byte8 bits (enough for one character)
Kilobyte (KB)1024 bytes
Megabyte (MB)1024 KB
Gigabyte (GB)1024 MB
Terabyte (TB)1024 GB
Petabyte (PB)1024 TB

CPU = ALU (calculates and compares) + CU (directs) + registers (hold current work). RAM is volatile, ROM is non-volatile. 8 bits = 1 byte; then each step up is × 1024: KB, MB, GB, TB.

Key takeaways: the ALU calculates and compares, the CU controls, registers hold what is being worked on. RAM loses its contents without power, ROM keeps them. Cache sits between CPU and RAM. Secondary storage is permanent, large and slower. Memory units grow by 1024 at each step after the byte.

Read the full lesson

Lesson 4

Input devices, output devices and ports

DeviceWhat it inputsWhere you meet it
KeyboardLetters, numbers and commandsEvery desktop and laptop
MousePointing and clicking: left click, right click, scrollChoosing items on the screen
ScannerA copy of a paper page or photo as a digital imageOffices, cyber cafés
Microphone and webcamSound and videoVideo calls, recordings
JoystickDirection and movementGames and simulators
Light penDrawing or pointing directly on the screenDesign work
Barcode readerProduct codes printed as barsShop billing counters
OMR (Optical Mark Reader)Darkened bubbles or marks on a sheetAnswer sheets of objective tests, survey forms
OCR (Optical Character Recognition)Printed text from a scanned image, turned into editable textConverting printed pages into typed text
MICR (Magnetic Ink Character Recognition)Characters printed in special magnetic inkThe code line at the bottom of bank cheques
Biometric scannerFingerprint, face or irisAttendance systems, identity checks
DeviceOutput
MonitorSoft copy of text, pictures and video
PrinterHard copy on paper
Speakers and headphonesSound
ProjectorA large image on a wall or screen for a class or meeting
PlotterLarge, precise drawings such as maps and building plans

Printers

  • Impact printers Strike an inked ribbon against the paper.
    • Dot-matrix: can print on carbon copies
  • Non-impact printers Do not strike the paper.
    • Inkjet: sprays tiny drops of ink
    • Laser: toner fused by heat
    • Thermal: heat on special paper

Which way does the data go?

  • Input devices
    • Keyboard and mouse
    • Scanner
    • Barcode reader
    • MICR, OMR, OCR
  • Output devices
    • Monitor (soft copy)
    • Printer (hard copy)
    • Speakers
    • Projector and plotter
  • Both
    • Touchscreen
    • Headset with a microphone
    • Multifunction printer
PortUsed for
USB (Universal Serial Bus)Most peripherals: keyboard, mouse, pen drive, printer, phone; also charging
HDMI (High-Definition Multimedia Interface)Digital video and audio together to a monitor, TV or projector
VGA (Video Graphics Array)Older analog video to monitors and projectors; carries no sound
Ethernet (RJ-45)Wired network or internet cable
Audio jackHeadphones, speakers and microphones
PS/2, serial and parallelOlder round keyboard and mouse ports, and older modems and printers

Into the computer = input; out of the computer = output; touchscreen = both. OMR reads marks, OCR reads printed text, MICR reads cheque codes. HDMI = video + audio; VGA = video only.

Key takeaways: classify any device by the direction of data. Remember the reading devices by what they read. Impact printers strike a ribbon; inkjet, laser and thermal printers do not. USB is the general-purpose port, HDMI and VGA carry video, Ethernet carries the network.

Read the full lesson

Lesson 5

Software and number systems: system and application software, binary and hexadecimal

TermMeaningExamples
HardwareThe physical parts of a computer that you can touchMonitor, keyboard, CPU chip, hard disk
SoftwarePrograms: sets of instructions that tell the hardware what to do; you cannot touch themOperating system, word processor, games
FirmwareSoftware stored permanently on a hardware chipThe start-up program (BIOS or UEFI) in a ROM or flash chip

Kinds of software

  • System software Runs and manages the computer.
    • Operating systems
    • Device drivers
    • Utility programs
    • Language translators
  • Application software Helps the user do a task.
    • Word processors
    • Spreadsheets and presentations
    • Browsers, email, media players
    • Accounting packages and games
System softwareApplication software
Operating systems: Windows, Linux, macOS, AndroidWord processors: LibreOffice Writer, Microsoft Word
Device drivers: let the operating system work with a printer or a graphics cardSpreadsheets and presentation programs
Utility programs: antivirus, backup, disk clean-up, file compressionWeb browsers, email programs, media players
Language translators: compilers, interpreters, assemblersAccounting packages, games, a railway reservation program made for one organisation

Language translators

  • Compiler
    • Translates a high-level program
    • The whole program at once, then it runs
  • Interpreter
    • Translates a high-level program
    • One line at a time, translating and running
  • Assembler
    • Translates assembly language
    • Into machine language
Number systemBaseDigits used
Binary20 and 1
Octal80 to 7
Decimal100 to 9
Hexadecimal160 to 9 and A to F (A = 10, B = 11, C = 12, D = 13, E = 14, F = 15)

System software runs the computer; application software does the user's task. Binary = base 2, octal = base 8, decimal = base 10, hexadecimal = base 16. n bits give 2 to the power n values: 8 bits give 256.

Key takeaways: operating systems, drivers, utilities and translators are system software; word processors, browsers and games are application software. A compiler translates all at once, an interpreter line by line. Convert binary to decimal with place values and decimal to binary by repeated division by 2.

Read the full lesson

Privacy · Terms · Refunds · Delivery