CCEA GCSE Digital Technology
Comprehensive Revision Notes // ICT Revision
PROGRESS:
0 / 0

CCEA SPECIFICATION // UNITS

Every student sits Unit 1. Then you pick one route: Multimedia (Units 2 & 3) or Programming (Units 4 & 5). Pick your route below to filter the revision topics. Your choice is saved to this device.

Unit 1 — Digital Technology

Compulsory core · both routes
1 hr external exam · 30% weighting

Unit 2 — Digital Authoring Concepts

Route A · Multimedia
1 hr 30 min exam · 40% weighting

Unit 3 — Digital Authoring Practice

Route A · Multimedia
Controlled assessment · 30% weighting

Unit 4 — Digital Development Concepts

Route B · Programming
1 hr 30 min exam · 40% weighting

Unit 5 — Digital Development Practice

Route B · Programming · Python / Java / C#
Controlled assessment · 30% weighting
GCSE Digital Technology
1. Hardware & Software Basics

Hardware vs Software

Hardware is the physical components of a computer that you can touch (e.g. monitor, keyboard, CPU, RAM).

Software is the programs and instructions that tell the hardware what to do. Software is intangible.

Main Components of a Computer

ComponentPurpose
CPU (Central Processing Unit)The "brain" of the computer. Processes instructions and performs calculations.
RAMTemporary, fast memory that holds currently running programs and data. Volatile (lost when power off).
MotherboardThe main circuit board that connects all components together.
PSU (Power Supply Unit)Converts mains electricity to the voltages needed by computer components.
GPU (Graphics Processing Unit)Processes and renders images, video, and animations for the display.

Types of Software

  • System software: manages the computer (OS, drivers, utilities)
  • Application software: helps users perform tasks (word processor, browser, games)

Test Yourself

  1. What is the difference between hardware and software?
  2. Name three components found inside a computer and describe the function of each.
  3. Give two examples of system software and two examples of application software.
2. Input, Output & Storage Devices

Input Devices

An input device sends data INTO the computer.

DeviceUse
KeyboardEntering text and commands
Mouse / TrackpadPointing, clicking, selecting
MicrophoneRecording sound, voice input
ScannerDigitising paper documents/photos
Webcam / CameraCapturing images/video
Barcode readerReading barcodes (e.g. at supermarket checkout)
TouchscreenInput by touching the display (also an output device)

Output Devices

An output device presents data FROM the computer to the user.

DeviceUse
Monitor / ScreenDisplaying visual output
PrinterProducing hard copy on paper
Speakers / HeadphonesProducing sound output
ProjectorDisplaying images on a large surface

Storage Devices

DeviceTypeFeatures
HDD (Hard Disk Drive)MagneticLarge capacity, cheap per GB, slower, moving parts (can break)
SSD (Solid State Drive)Flash memoryVery fast, no moving parts (durable), more expensive per GB
USB flash driveFlash memoryPortable, small capacity, plug-and-play
Optical disc (CD/DVD/Blu-ray)OpticalCheap, portable, limited capacity, slower access
Cloud storageRemote serverAccess anywhere, requires internet, ongoing cost

Test Yourself

  1. Give two advantages of an SSD over an HDD.
  2. A school needs to choose a storage solution for student work. Compare cloud storage and a local server.
  3. Name an input device that uses sensors and explain how it works.
3. Binary & Data Representation Basics

Why Binary?

Computers use binary (0s and 1s) because their electronic circuits have two states: on (1) and off (0). All data - text, images, sound - must be converted to binary for the computer to process it.

Key Units

UnitSize
BitA single binary digit (0 or 1)
Nibble4 bits
Byte8 bits
Kilobyte (KB)1,024 bytes
Megabyte (MB)1,024 KB
Gigabyte (GB)1,024 MB
Terabyte (TB)1,024 GB

Simple Binary Conversions

Use the place value table to convert between binary and denary:

1286432168421

Example: Binary 10101100 = 128 + 32 + 8 + 4 = 172

Text is stored using ASCII codes - each character has a number (e.g. A=65, B=66, a=97).

Test Yourself

  1. Convert binary 01101001 to denary.
  2. Convert denary 95 to binary.
  3. How many different values can 8 bits represent?
4. Networks Basics

What Is a Network?

A network is two or more devices connected together to share data and resources.

Benefits of Networking

  • Share files and resources (printers, internet connection)
  • Central backup of data
  • Easy communication (email, messaging)
  • Central management of software and security

Risks of Networking

  • Security risks (hacking, malware can spread across the network)
  • If the server fails, all users are affected
  • Requires specialist staff to manage
  • Initial setup cost

Wired vs Wireless

WiredWireless
SpeedGenerally faster and more reliableSlower, affected by interference/distance
SecurityMore secure (physical connection needed)Less secure (signals can be intercepted)
MobilityDevices must stay near cable pointsUsers can move freely
CostCabling is expensive to installCheaper to set up, fewer cables

Test Yourself

  1. Give three benefits of connecting computers in a school network.
  2. Give two advantages of a wired network over a wireless network.
  3. What is a network protocol? Why are protocols needed?
5. Internet Safety & Cybersecurity

Online Threats

  • Phishing - fake emails/websites designed to steal personal information
  • Malware - malicious software (viruses, worms, trojans, ransomware)
  • Identity theft - criminals using stolen personal data to impersonate someone
  • Cyberbullying - using technology to harass, threaten, or intimidate others

Staying Safe Online

  • Use strong passwords (long, mixed characters, unique for each account)
  • Enable two-factor authentication (2FA)
  • Keep software and antivirus up to date
  • Do not open suspicious emails or attachments
  • Check for HTTPS and the padlock icon before entering personal data
  • Be careful what personal information you share on social media
  • Use privacy settings on social media accounts

Test Yourself

  1. What is phishing and how can you recognise a phishing email?
  2. Give three characteristics of a strong password.
  3. Explain what two-factor authentication is and why it improves security.
6. Spreadsheet & Database Concepts

Spreadsheet Basics

A spreadsheet organises data in rows and columns of cells. Each cell has a cell reference (e.g. B3).

FeatureDescriptionExample
FormulaA calculation using cell references=B2*C2
FunctionA built-in calculation=SUM(B2:B10), =AVERAGE(C2:C20), =MAX(), =MIN(), =COUNT(), =IF()
Absolute referenceA cell reference that does not change when copied (uses $)=$B$1
Relative referenceA cell reference that adjusts when copied=B1 (changes to =B2, =B3 etc.)
ChartsVisual representation of dataBar chart, pie chart, line graph
SortArranging data in orderAlphabetical, numerical, ascending/descending
FilterDisplaying only data that meets certain criteriaShow only Year 10 students

Database Basics

A database is an organised collection of related data. A flat file database stores all data in a single table. A relational database uses multiple linked tables to reduce data redundancy.

  • Table: collection of related records
  • Record: one row (one entry/item)
  • Field: one column (one piece of data about each record)
  • Primary key: a unique identifier for each record
  • Query: a search of the database to find specific data
  • Form: a user-friendly way to enter data
  • Report: a formatted printout of data from the database

Test Yourself

  1. What is the difference between a formula and a function in a spreadsheet?
  2. Explain the difference between an absolute and relative cell reference.
  3. Why is a primary key needed in a database table?
7. Web Development Basics

HTML (HyperText Markup Language)

HTML defines the structure and content of a web page using tags.

<!DOCTYPE html>
<html>
<head>
    <title>My Page</title>
</head>
<body>
    <h1>Welcome</h1>
    <p>This is a paragraph.</p>
    <img src="photo.jpg" alt="A photo">
    <a href="page2.html">Click here</a>
</body>
</html>

CSS (Cascading Style Sheets)

CSS controls the appearance and layout of the web page (colours, fonts, spacing, positioning).

body {
    background-color: #1a1a2e;
    color: white;
    font-family: Arial;
}
h1 {
    color: #e94560;
    text-align: center;
}

Key Difference

HTML = structure/content (WHAT is on the page). CSS = presentation/style (HOW it looks).

Test Yourself

  1. What is the purpose of HTML and how does it differ from CSS?
  2. Write the HTML tag to create a hyperlink to "contact.html" with the text "Contact Us".
  3. Write a CSS rule to make all paragraphs have blue text and a font size of 16px.
8. Computational Thinking

Key Principles

PrincipleDefinitionExample
DecompositionBreaking a complex problem into smaller, manageable sub-problemsPlanning a school event: break into venue, invitations, catering, entertainment
Pattern recognitionIdentifying similarities or trends within and between problemsNoticing that sorting a list of names uses the same logic as sorting numbers
AbstractionRemoving unnecessary detail to focus on the important informationA London Underground map abstracts the physical geography to show only stations and connections
Algorithmic thinkingDeveloping a step-by-step solution (algorithm) to solve the problemWriting pseudocode or a flowchart for making a cup of tea

Test Yourself

  1. Explain decomposition using the example of creating a computer game.
  2. What is abstraction? Why is it useful in problem-solving?
  3. Give an example of pattern recognition in everyday life.
9. Digital Data & Ethics

Data Protection

The Data Protection Act 2018 controls how personal data is collected, stored, and used. Organisations must:

  • Only collect data they need
  • Keep it accurate and up to date
  • Not keep it longer than necessary
  • Keep it secure
  • Not share it without consent

Individuals have the right to see what data is held about them (Subject Access Request) and to have inaccurate data corrected.

Copyright

The Copyright, Designs and Patents Act 1988 protects creators' work. You must not copy, download, or share software, music, images, or text without permission. Creative Commons licences allow some sharing with conditions.

Computer Misuse

The Computer Misuse Act 1990 makes it illegal to access computers without permission, hack systems, or create/distribute malware.

Ethical Considerations

  • Should companies collect data about users without their full understanding?
  • Is it ethical to use AI to make decisions about people (loans, recruitment)?
  • Who is responsible when an autonomous vehicle causes an accident?
  • Should access to the internet be considered a human right?
  • What are the environmental costs of always upgrading to the latest technology?

Test Yourself

  1. Name two laws that relate to the use of computers and data. State what each law covers.
  2. A company sells customer email addresses to advertisers without asking. Which law have they broken?
  3. Discuss one ethical issue related to the use of AI in society.
10. Coding & Programming

Pseudocode & Flowcharts

Pseudocode is a way of writing algorithms in structured English that resembles code but is not tied to any programming language. It is used to plan programs before writing actual code.

Flowcharts use standard symbols to represent the steps in an algorithm visually:

SymbolNamePurpose
Rounded rectangleTerminatorStart or End of the algorithm
RectangleProcessAn instruction or action (e.g. calculate total)
DiamondDecisionA question with Yes/No paths (selection)
ParallelogramInput/OutputGetting data in or displaying data out
ArrowFlow lineShows direction of flow between steps

Variables & Data Types

A variable is a named storage location in memory that holds a value which can change during the program. A constant is a named value that does not change.

Data TypeDescriptionExample
IntegerWhole number42, -7, 0
Real / FloatDecimal number3.14, -0.5
StringText (sequence of characters)"Hello", "GCSE"
BooleanTrue or FalseTRUE, FALSE
CharacterA single letter, digit or symbol'A', '7', '#'

Sequence, Selection & Iteration

Sequence - instructions are executed one after another in order:

SET price TO 10
SET quantity TO 3
SET total TO price * quantity
OUTPUT total

Selection - the program chooses a path based on a condition (IF...THEN...ELSE):

INPUT age
IF age >= 18 THEN
    OUTPUT "You can vote"
ELSE
    OUTPUT "You are too young to vote"
ENDIF

Iteration - repeating a block of code. There are three types:

FOR loop (count-controlled)

// Print numbers 1 to 5
FOR i FROM 1 TO 5
    OUTPUT i
ENDFOR

WHILE loop (condition-controlled, pre-check)

SET password TO ""
WHILE password != "secret123"
    INPUT password
ENDWHILE
OUTPUT "Access granted"

REPEAT...UNTIL loop (condition-controlled, post-check)

REPEAT
    INPUT number
UNTIL number >= 1 AND number <= 100

Arrays / Lists

An array (or list) is a data structure that stores multiple values of the same type under one name. Each item is accessed using an index (position number, usually starting from 0).

SET names TO ["Alice", "Bob", "Charlie"]
OUTPUT names[0]   // Outputs "Alice"
OUTPUT names[2]   // Outputs "Charlie"

// Loop through all items in the array
FOR i FROM 0 TO 2
    OUTPUT names[i]
ENDFOR

Functions & Procedures

A procedure is a named block of code that performs a task. It does NOT return a value.

A function is a named block of code that performs a task and RETURNS a value.

// Procedure - no return value
PROCEDURE greetUser(name)
    OUTPUT "Hello, " + name
ENDPROCEDURE

// Function - returns a value
FUNCTION calculateArea(length, width)
    RETURN length * width
ENDFUNCTION

SET area TO calculateArea(5, 3)
OUTPUT area   // Outputs 15

Validation & Verification

Validation checks that data entered is reasonable and follows rules (done by the computer). Verification checks that data is entered correctly (done by the user or by double entry).

Validation CheckWhat It DoesExample
Range checkData is within a set rangeAge must be between 0 and 120
Length checkData has the correct number of charactersPassword must be at least 8 characters
Presence checkData has been entered (not blank)Name field must not be empty
Type checkData is the correct data typeAge must be an integer
Format checkData matches a required patternPostcode must be in the format AA9 9AA
// Validation example: range check
REPEAT
    OUTPUT "Enter a mark (0-100):"
    INPUT mark
    IF mark < 0 OR mark > 100 THEN
        OUTPUT "Invalid. Try again."
    ENDIF
UNTIL mark >= 0 AND mark <= 100

Trace Tables

A trace table is used to track the values of variables as a program executes, line by line. It helps you find logic errors (dry-running).

Example - trace this code:

SET x TO 1
SET total TO 0
WHILE x <= 4
    SET total TO total + x
    SET x TO x + 1
ENDWHILE
OUTPUT total
xtotalx <= 4?
10Yes
21Yes
33Yes
46Yes
510No

Output: 10

Common Algorithms

Linear Search

Checks each item in a list one by one until the target is found or the end is reached. Works on unsorted data.

FUNCTION linearSearch(list, target)
    FOR i FROM 0 TO LENGTH(list) - 1
        IF list[i] == target THEN
            RETURN i        // Found at index i
        ENDIF
    ENDFOR
    RETURN -1           // Not found
ENDFUNCTION

Bubble Sort

Repeatedly steps through the list, compares adjacent items and swaps them if they are in the wrong order. Passes continue until no swaps are needed.

PROCEDURE bubbleSort(list)
    SET n TO LENGTH(list)
    FOR i FROM 0 TO n - 2
        FOR j FROM 0 TO n - i - 2
            IF list[j] > list[j+1] THEN
                // Swap the items
                SET temp TO list[j]
                SET list[j] TO list[j+1]
                SET list[j+1] TO temp
            ENDIF
        ENDFOR
    ENDFOR
ENDPROCEDURE
Bubble sort is simple to understand and code but is inefficient for large lists (O(n^2) comparisons). Linear search is simple but slow for large lists - binary search is faster but requires sorted data.

Test Yourself

  1. Write pseudocode to input 5 numbers and output the largest.
  2. What is the difference between a WHILE loop and a FOR loop?
  3. Complete a trace table for: SET x TO 10, WHILE x > 0, SET x TO x - 3, ENDWHILE. What is the final value of x?
  4. What is the difference between a function and a procedure?
  5. Describe how a bubble sort works using a list of 5 numbers.
11. Database Concepts

Flat File vs Relational Databases

Flat File DatabaseRelational Database
StructureAll data in a single tableData split across multiple linked tables
RedundancyData is often repeated (redundant)Data duplication is minimised
InconsistencyRepeated data can become inconsistentChanges in one place update everywhere
ComplexitySimple to set up and useMore complex but more powerful
ExampleA single CSV file of student dataSeparate Students, Courses, and Enrolments tables

Tables, Records, Fields & Keys

  • Table - a collection of related data organised in rows and columns
  • Record - a single row in a table (one complete entry, e.g. one student)
  • Field - a single column in a table (one category of data, e.g. Surname)
  • Primary key - a field that uniquely identifies each record (e.g. StudentID). No two records can have the same primary key value.
  • Foreign key - a field in one table that links to the primary key in another table. This creates a relationship between the tables.

Data Types in Databases

Data TypeStoresExample Field
Text / VarcharLetters, numbers, symbolsName, Address
IntegerWhole numbersAge, Quantity
Real / DecimalNumbers with decimal placesPrice, Average
BooleanYes/No, True/FalseHasPaid, IsActive
Date/TimeDates and/or timesDateOfBirth, OrderDate

SQL Basics

SQL (Structured Query Language) is used to query and manage data in relational databases.

SELECT ... FROM ... WHERE

-- Select all fields from the Students table
SELECT * FROM Students;

-- Select specific fields
SELECT FirstName, Surname FROM Students;

-- With a condition
SELECT * FROM Students
WHERE YearGroup = 11;

-- Multiple conditions using AND / OR
SELECT FirstName, Surname FROM Students
WHERE YearGroup = 11 AND Gender = 'F';

SELECT * FROM Products
WHERE Price < 10 OR Category = 'Sale';

ORDER BY

-- Sort results alphabetically by Surname
SELECT * FROM Students
ORDER BY Surname ASC;

-- Sort by Price, highest first
SELECT ProductName, Price FROM Products
ORDER BY Price DESC;

Queries, Forms & Reports

  • Query - a search of the database using criteria to extract specific data (e.g. "show all students in Year 11 who got above 70%")
  • Form - a user-friendly interface for entering, editing and viewing records one at a time (reduces input errors)
  • Report - a formatted, printable summary of data from the database, often including totals and groupings

Database Design & Normalisation

Normalisation is the process of organising data to reduce redundancy and improve data integrity. At GCSE level, you should understand:

  • Splitting one large table into smaller related tables
  • Each table should contain data about ONE entity (e.g. Students, Courses)
  • Linking tables using primary and foreign keys
  • Removing repeated groups of data

Entity Relationship Diagrams (ERDs)

An ERD shows how tables (entities) are related. The three relationship types are:

RelationshipMeaningExample
One-to-One (1:1)Each record in Table A relates to exactly one record in Table BOne student has one student ID card
One-to-Many (1:M)One record in Table A relates to many records in Table BOne teacher teaches many classes
Many-to-Many (M:M)Many records in Table A relate to many in Table B (resolved with a linking table)Students enrol in many courses; each course has many students
In the exam, you may be asked to draw an ERD or identify relationships. Remember: a many-to-many relationship needs a linking/junction table (e.g. an Enrolment table linking Students and Courses).

Test Yourself

  1. What is the difference between a primary key and a foreign key?
  2. Write an SQL query to display the names and prices of all products costing more than £20, sorted by price ascending.
  3. Explain why a relational database is better than a flat file database for a school with students, teachers, and classes.
  4. What type of relationship exists between Authors and Books? Explain your answer.
12. Networking: TCP/IP Model & Protocols

The TCP/IP Model

The TCP/IP model is a set of layered protocols that governs how data is transmitted across networks and the internet. It has 4 layers:

LayerNameRoleProtocols
4 (Top)ApplicationProvides network services to the user (web, email, file transfer)HTTP, HTTPS, FTP, SMTP, POP3, IMAP
3TransportEnsures reliable data delivery; splits data into segmentsTCP, UDP
2InternetAddresses and routes packets across networksIP
1 (Bottom)Network InterfaceHandles physical transmission of data on the local networkEthernet, Wi-Fi

Key Protocols

ProtocolFull NamePurpose
HTTPHyperText Transfer ProtocolTransfers web pages (not encrypted)
HTTPSHTTP SecureEncrypted version of HTTP (uses SSL/TLS)
FTPFile Transfer ProtocolUploading/downloading files to/from a server
SMTPSimple Mail Transfer ProtocolSending email
POP3Post Office Protocol v3Receiving email (downloads and removes from server)
IMAPInternet Message Access ProtocolReceiving email (keeps email on server, syncs across devices)
TCPTransmission Control ProtocolReliable delivery - checks all packets arrive and reassembles them in order
UDPUser Datagram ProtocolFaster but unreliable - no error checking (used for streaming, gaming)
IPInternet ProtocolAddresses packets and routes them to the correct destination

Packet Switching

When data is sent across a network, it is broken into small packets. Each packet contains:

  • Header: source IP, destination IP, packet number, total packets
  • Payload: the actual data being transmitted
  • Trailer: error-checking data

Packets may take different routes across the network and arrive out of order. The receiving device uses TCP to reassemble them in the correct order. If any packets are missing, they are requested again.

IP Addressing (IPv4)

An IP address is a unique numerical address assigned to every device on a network. IPv4 addresses have 4 groups of numbers separated by dots, e.g. 192.168.1.25

  • Each group is a number from 0 to 255 (8 bits = 1 byte per group)
  • An IPv4 address is 32 bits (4 bytes) long
  • There are about 4.3 billion possible IPv4 addresses

MAC Addresses

A MAC (Media Access Control) address is a unique hardware identifier burned into every network interface card (NIC). It is 48 bits long, written as 6 pairs of hexadecimal digits, e.g. A4:5E:60:B2:F1:C8

  • MAC addresses are permanent and set by the manufacturer
  • IP addresses can change (assigned by DHCP or manually)
  • MAC addresses work at the Network Interface layer; IP addresses work at the Internet layer

DNS (Domain Name System)

The DNS translates human-readable domain names (e.g. www.google.com) into IP addresses (e.g. 142.250.187.206) that computers use to route data.

How DNS works:

  1. You type a URL into your browser
  2. Your device checks its local DNS cache for the IP address
  3. If not found, the request is sent to a DNS server
  4. The DNS server returns the corresponding IP address
  5. Your browser connects to the web server at that IP address

Client-Server vs Peer-to-Peer

Client-ServerPeer-to-Peer (P2P)
StructureCentral server provides services to client devicesAll devices are equal; each can be client and server
SecurityCentrally managed, more secureEach device manages its own security, less secure
BackupCentralised backup on serverEach device responsible for its own backup
CostExpensive (dedicated server hardware and admin)Cheaper (no dedicated server needed)
ScalabilityScales well with more clientsPerformance drops as more devices join
ExampleSchool network, websites, emailBitTorrent file sharing, small home networks

Test Yourself

  1. Name the 4 layers of the TCP/IP model and give one protocol used at each layer.
  2. What is the difference between TCP and UDP? Give a use case for each.
  3. Explain how packet switching works, including what happens if a packet is lost.
  4. What is the purpose of DNS?
  5. Compare client-server and peer-to-peer networks. Give two advantages of each.
13. Encryption & Security

Symmetric vs Asymmetric Encryption

Encryption is the process of converting plaintext into ciphertext (unreadable form) to protect data. Only someone with the correct key can decrypt it.

Symmetric EncryptionAsymmetric Encryption
KeysSame key used to encrypt and decryptTwo different keys: a public key (to encrypt) and a private key (to decrypt)
SpeedFasterSlower
Key sharingKey must be shared securely (risk if intercepted)Public key can be shared openly; only the private key must be kept secret
Example useEncrypting files on a hard driveHTTPS, email encryption, digital signatures

Caesar Cipher

The Caesar cipher is a simple substitution cipher where each letter is shifted by a fixed number of positions. It is a symmetric cipher (same key to encrypt and decrypt).

// Caesar cipher with shift of 3
Plaintext:  HELLO WORLD
Ciphertext: KHOOR ZRUOG

// Each letter shifted 3 places forward:
H -> K,  E -> H,  L -> O,  L -> O,  O -> R
W -> Z,  O -> R,  R -> U,  L -> O,  D -> G
The Caesar cipher is very easy to break (only 25 possible keys for the English alphabet). It is used to teach encryption concepts but is NOT secure for real-world use.

How HTTPS Works (SSL/TLS)

HTTPS uses SSL/TLS (Secure Sockets Layer / Transport Layer Security) to encrypt data between your browser and the web server. The process:

  1. Your browser requests a secure connection to the server
  2. The server sends its digital certificate (containing its public key)
  3. Your browser verifies the certificate is valid (issued by a trusted Certificate Authority)
  4. Your browser generates a session key, encrypts it with the server's public key, and sends it
  5. Both sides now use the session key (symmetric encryption) for fast, secure communication

Digital Certificates

A digital certificate proves the identity of a website. It is issued by a Certificate Authority (CA) and contains the website's public key, the domain name, the CA's signature, and an expiry date. Your browser checks the certificate to ensure you are connected to the genuine website (not an impersonator).

Hashing vs Encryption

HashingEncryption
DirectionOne-way (cannot be reversed)Two-way (can be decrypted with a key)
PurposeVerify data integrity, store passwordsProtect data confidentiality during transmission or storage
OutputFixed-length hash value (digest)Ciphertext (same length as plaintext)
ExampleSHA-256 hash of a passwordAES encryption of a file
Passwords should be stored as hashes, NOT as encrypted text. If a database is breached, hashed passwords cannot be reversed to find the original password.

Authentication Methods

MethodHow It WorksStrengths / Weaknesses
PasswordsUser enters a secret word/phraseEasy to implement; can be weak, guessed, or stolen
BiometricsUses physical traits (fingerprint, face, iris, voice)Unique to each person and hard to fake; expensive; cannot be changed if compromised
Two-Factor Authentication (2FA)Requires two different types of proof (e.g. password + SMS code)Much more secure; even if password is stolen, attacker needs the second factor

The three authentication factors are: something you know (password, PIN), something you have (phone, smart card), something you are (biometric).

Malware Types

TypeWhat It DoesHow It Spreads
VirusAttaches to a file; damages/deletes data or corrupts the systemSpread when infected files are opened or shared
WormSelf-replicates and spreads across networks without user actionExploits network vulnerabilities automatically
TrojanDisguises itself as legitimate software; creates a backdoorDownloaded by the user thinking it is safe software
RansomwareEncrypts victim's files; demands payment for the decryption keyPhishing emails, malicious downloads
SpywareSecretly monitors user activity (keystrokes, browsing, passwords)Bundled with other software, malicious websites

Firewalls

A firewall monitors and controls incoming and outgoing network traffic based on security rules. It acts as a barrier between a trusted internal network and untrusted external networks (the internet).

  • Can be hardware (a dedicated device) or software (installed on a computer)
  • Blocks unauthorised access while allowing legitimate traffic
  • Can filter traffic by IP address, port number, or protocol

Social Engineering

Social engineering tricks people into revealing confidential information or performing actions that compromise security. It targets human weaknesses rather than technical ones.

AttackDescription
PhishingFake emails or messages pretending to be from a trusted source (e.g. bank), tricking users into clicking links or revealing passwords
PharmingRedirecting a legitimate website's traffic to a fake website (by poisoning DNS records) to steal login credentials
Shoulder surfingWatching someone enter their PIN, password, or other sensitive information
PretextingCreating a fabricated scenario (e.g. pretending to be IT support) to trick someone into giving access or information

Test Yourself

  1. Explain the difference between symmetric and asymmetric encryption.
  2. Encrypt the word "CAT" using a Caesar cipher with a shift of 5.
  3. Describe the steps involved in establishing an HTTPS connection.
  4. Why is hashing used for storing passwords rather than encryption?
  5. Name three types of malware and describe how each one works.
  6. What is the difference between phishing and pharming?
14. Data Representation (Extended)

Binary Arithmetic - Addition

Binary addition follows the same rules as denary but with only 0 and 1:

RuleResult
0 + 00
0 + 11
1 + 01
1 + 110 (write 0, carry 1)
1 + 1 + 111 (write 1, carry 1)

Worked Example

  Add 01101010 (106) + 00110101 (53)

    0 1 1 0 1 0 1 0
  + 0 0 1 1 0 1 0 1
  -----------------
    1 0 0 1 1 1 1 1  = 159

  Carries: 0 1 1 0 0 1 1 0

Overflow

Overflow occurs when the result of a binary addition is too large to be stored in the available number of bits. For example, with 8 bits the maximum unsigned value is 255 (11111111). Adding 200 + 100 = 300, which cannot fit in 8 bits - this causes an overflow error.

Hexadecimal

Hexadecimal (hex) is a base-16 number system using digits 0-9 and letters A-F. It is used as a shorthand for binary because it is more human-readable.

Hex0123456789ABCDEF
Denary0123456789101112131415
Binary0000000100100011010001010110011110001001101010111100110111101111

Converting Binary to Hex

Split binary into nibbles (groups of 4), convert each to hex:

Binary:  1010 1111
Hex:       A    F    = AF

Binary:  1100 0011
Hex:       C    3    = C3

Uses of Hexadecimal

  • Colour codes in web design (e.g. #FF0000 = red, #00FF00 = green)
  • MAC addresses (e.g. A4:5E:60:B2:F1:C8)
  • Memory addresses
  • Error codes

Character Encoding

ASCIIUnicode
Bits per character7 bits (extended ASCII = 8 bits)Up to 32 bits (UTF-8 uses 1-4 bytes)
Characters128 characters (English letters, digits, symbols)Over 140,000 characters (all world languages, emoji)
File sizeSmaller filesLarger files
LanguagesEnglish onlyAll languages worldwide

Examples: ASCII code for 'A' = 65, 'a' = 97, '0' = 48, space = 32.

Image Representation

Digital images are made up of tiny dots called pixels. Each pixel stores colour information.

  • Resolution - the number of pixels in the image (width x height). Higher resolution = more detail but larger file size.
  • Colour depth - the number of bits used to represent the colour of each pixel. More bits = more colours available.

Image File Size Calculation

File size (bits) = width (pixels) x height (pixels) x colour depth (bits)

Example:
Image: 800 x 600 pixels, 24-bit colour depth
File size = 800 x 600 x 24 = 11,520,000 bits
         = 11,520,000 / 8 = 1,440,000 bytes
         = 1,440,000 / 1024 = 1,406.25 KB
         = 1,406.25 / 1024 = 1.37 MB

Sound Representation

Sound is analogue. To store it digitally, the sound wave is sampled at regular intervals.

  • Sample rate - how many samples are taken per second (measured in Hz). Higher sample rate = better quality. CD quality = 44,100 Hz (44.1 kHz).
  • Bit depth - the number of bits used to store each sample. Higher bit depth = more accurate representation of each sample. CD quality = 16 bits.

Sound File Size Calculation

File size (bits) = sample rate (Hz) x bit depth x duration (seconds) x channels

Example: 30 seconds of CD-quality stereo sound
File size = 44,100 x 16 x 30 x 2 = 42,336,000 bits
         = 42,336,000 / 8 = 5,292,000 bytes
         = 5,292,000 / 1024 = 5,168 KB
         = 5,168 / 1024 = 5.05 MB

Data Compression

Compression reduces file size for faster transmission and less storage space.

Lossy CompressionLossless Compression
How it worksPermanently removes some data (e.g. sounds humans cannot hear)Reduces file size without losing any data; original can be perfectly reconstructed
File sizeMuch smaller filesSmaller than original but larger than lossy
QualitySome quality loss (usually not noticeable)No quality loss
Image exampleJPEGPNG
Sound exampleMP3WAV, FLAC
Best forPhotos, music, video (streaming, web)Text files, medical images, professional audio
In file size calculations, always show your working clearly. Remember: divide by 8 to go from bits to bytes, then by 1024 for KB, 1024 again for MB, etc.

Test Yourself

  1. Add the binary numbers 01011010 and 00110111. Check for overflow.
  2. Convert the hex value 3F to binary and then to denary.
  3. Calculate the file size of an image that is 1024 x 768 pixels with a 16-bit colour depth. Give your answer in KB.
  4. A 2-minute mono audio file is recorded at 22,050 Hz with 8-bit depth. Calculate the file size in MB.
  5. Explain the difference between lossy and lossless compression. Give an example of when each would be used.
15. Systems Architecture

Von Neumann Architecture

The Von Neumann architecture is the design used by most modern computers. Its key feature is that both program instructions and data are stored together in main memory.

ComponentFull NameRole
CUControl UnitDirects the operation of the CPU; fetches, decodes, and coordinates the execution of instructions
ALUArithmetic Logic UnitPerforms calculations (add, subtract, multiply, divide) and logical comparisons (AND, OR, NOT, greater than, equal to)
AccumulatorACCA register that temporarily stores the result of calculations performed by the ALU
MARMemory Address RegisterHolds the address of the memory location currently being read from or written to
MDRMemory Data RegisterHolds the data that has been read from memory or is about to be written to memory
PCProgram CounterHolds the address of the next instruction to be fetched

The Fetch-Decode-Execute Cycle

The CPU continuously repeats this cycle to process every instruction:

  1. FETCH: The address in the PC is copied to the MAR. The instruction at that memory address is fetched and placed in the MDR. The PC is incremented (PC + 1) to point to the next instruction.
  2. DECODE: The CU decodes the instruction in the MDR to determine what operation to perform and what data is needed.
  3. EXECUTE: The instruction is carried out. This might involve the ALU performing a calculation, data being read/written to memory, or output being produced.
Do not confuse MAR and MDR. The MAR holds the ADDRESS (where to look); the MDR holds the DATA (what was found there or what is to be stored there).

CPU Performance Factors

FactorHow It Affects Performance
Clock speedMeasured in GHz. Higher clock speed = more cycles per second = faster processing. A 3.5 GHz CPU executes 3.5 billion cycles per second.
Number of coresEach core can process instructions independently. A quad-core CPU can handle 4 tasks simultaneously. More cores = better at multitasking (but software must be designed to use multiple cores).
Cache sizeCache is a small amount of very fast memory inside the CPU. Frequently used data/instructions are stored here. Larger cache = less need to fetch from slower RAM = faster performance.

Embedded Systems

An embedded system is a computer system built into a larger device to perform a specific dedicated function. It is usually not a general-purpose computer.

  • Examples: washing machine controller, car engine management, traffic lights, smart thermostat, digital watch
  • Characteristics: small, low power, low cost, dedicated to one task, often run continuously, usually no traditional user interface

RAM vs ROM

RAM (Random Access Memory)ROM (Read Only Memory)
Volatile?Yes - contents lost when power is offNo - contents retained without power
Read/Write?Can be read and written toCan only be read (not written to in normal use)
PurposeStores currently running programs and dataStores the boot-up instructions (BIOS/firmware)
SpeedVery fastSlower than RAM
SizeTypically 8-32 GB in modern PCsVery small (just enough for startup instructions)
A common exam question: "Why does a computer need both RAM and ROM?" Answer: ROM is needed to store permanent boot instructions that start the computer. RAM is needed to hold the OS and programs while they are running, as it is much faster and can be read/written.

Virtual Memory

Virtual memory is a section of the hard drive/SSD that is used as if it were additional RAM when physical RAM is full.

  • When RAM is full, the OS moves inactive data from RAM to virtual memory (this is called paging or swapping)
  • This allows more programs to run than physical RAM could normally support
  • However, the hard drive/SSD is much slower than RAM, so heavy use of virtual memory slows the computer down significantly (known as disk thrashing)

Test Yourself

  1. Describe the three stages of the fetch-decode-execute cycle, naming the registers used at each stage.
  2. What is the role of the ALU in the CPU?
  3. Explain three factors that affect the performance of a CPU.
  4. Give two differences between RAM and ROM.
  5. What is virtual memory and why can it cause the computer to slow down?
  6. Give two examples of embedded systems and explain why a general-purpose computer would not be suitable.
🏠 Home 📚 Study 🎲 Quiz Conveyor 📄 GCSE Notes 📄 A-Level Notes
12:00