IGCSE Computer Science (CIE 0478)
Topic 1: Data representation
3 lessons1.1 Number systems
1.1 Number Systems — Binary, Denary and Hexadecimal
Everything inside a computer — numbers, text, images, videos, sounds, games — is stored as binary. In this lesson you'll learn the three number systems that every Computer Science student must master: denary (everyday counting), binary (the computer's language), and hexadecimal (the programmer's shortcut).
By the end of this lesson you will be able to convert between all three systems, add binary numbers, apply logical shifts, and represent negative numbers using two's complement.
1.1.1 Why Do Computers Use Binary?
- Reliability: Two states (on/off) are easy to distinguish — even with electrical noise, you can tell 0 from 1.
- Simplicity: Circuits that handle two states are simpler, smaller, and faster than circuits that handle ten states.
- Cost: Billions of simple transistors are cheaper than complex multi-state components.
- Boolean logic: True/False (1/0) maps directly to logic gates (AND, OR, NOT) that power all computation.
📊 Bits and Values
| Bits (n) | Formula | Different values | Range (unsigned) |
|---|---|---|---|
| 1 | 2¹ | 2 | 0 – 1 |
| 4 | 2⁴ | 16 | 0 – 15 |
| 8 | 2⁸ | 256 | 0 – 255 |
| 16 | 2¹⁶ | 65,536 | 0 – 65,535 |
1.1.2 Converting Between Binary and Denary
1101 in a computer exam, how do you work out what denary number it represents? And if someone says "fifty-three", how do you write that in binary?
Method 1: Binary → Denary (Place Value Method)
✏️ Example 1: Convert 1011₂ to denary
0 × 2² = 0
1 × 2¹ = 2
1 × 2⁰ = 1
1011₂ = 8 + 0 + 2 + 1 = 11₁₀
✏️ Example 2: Convert 110101₂ to denary
↑ ↑ ↑ ↑
1 1 0 1 (bits: 32,16,0,4,0,1)
Method 2: Denary → Binary (Repeated Division)
✏️ Example: Convert 57₁₀ to binary
Divide by 2 repeatedly. The remainders (read bottom-to-top) give the binary number.
28 ÷ 2 = 14 r 0
14 ÷ 2 = 7 r 0
7 ÷ 2 = 3 r 1
3 ÷ 2 = 1 r 1
1 ÷ 2 = 0 r 1
Read remainders bottom to top: 57₁₀ = 111001₂
💡 Keep dividing until you reach 0. The last remainder is always 1!
📝 16-Bit Binary Numbers
The same methods work for larger numbers. With 16 bits, place values go up to 2¹⁵ = 32,768. The denary range is 0 to 65,535.
Example: 00000101 11000010₂ = 1,474₁₀
(256 + 64 + 128 + 2 = 1,474 in the lower byte; upper byte is all 0s)
🎰 Interactive: Binary ↔ Denary Converter
orWorking: 128 + 32 + 16 + 2 = 178
Practice — Binary ↔ Denary Conversions
(a) Convert 1101₂ to denary.
🔍 Click to reveal answer
(b) Convert 42₁₀ to binary.
🔍 Click to reveal answer
Read bottom to top: 101010₂
(c) What is the largest number you can represent with 8 bits?
🔍 Click to reveal answer
(d) Convert 11001101₂ to denary.
🔍 Click to reveal answer
1.1.3 Hexadecimal — The Programmer's Shortcut
1010111100111100 is hard to read, hard to type, and easy to make mistakes. How can we represent binary data in a more human-friendly way that still maps easily back to binary?
00:1A:2B:3C:4D:5E is 12 hex digits = 48 bits. Can you imagine trying to read or type that in binary? That's 48 zeros and ones! Now you see why hex exists — it's a shortcut for humans while still mapping perfectly to binary.
The Hexadecimal Digits
Converting Between Hex and Binary
✏️ Binary → Hex: Split into groups of 4 bits
1011 = 11 = B
1101 = 13 = D
→ 10111101₂ = BD₁₆
✏️ Hex → Binary: Expand each hex digit to 4 bits
A = 10 = 1010
3 = 3 = 0011
→ A3₁₆ = 10100011₂
Converting Hex ↔ Denary
✏️ Hex → Denary: Multiply each digit by 16ⁿ
3 × 16¹ = 48
F × 16⁰ = 15
48 + 15 = 63₁₀
✏️ Denary → Hex: Divide by 16 repeatedly
200 ÷ 16 = 12 r 8
12 = C, remainder = 8
→ 200₁₀ = C8₁₆
Why is Hexadecimal So Useful?
HTML Colours
#FF5733 = Red(FF), Green(57), Blue(33) — each colour channel uses 1 byte, shown as 2 hex digits
MAC Addresses
00:1A:2B:3C:4D:5E — every network device has a unique 48-bit hex address
Error & Memory Codes
Memory addresses and error codes (e.g. 0x4F6B) are shown in hex — much shorter than binary
- Compactness: One hex digit = 4 bits. An 8-bit byte is just 2 hex digits. A 16-bit value is just 4 hex digits.
- Readability:
FFis much easier to read and type than11111111. - Easy conversion: Converting hex ↔ binary is trivial — just expand or collapse groups of 4 bits. No arithmetic needed!
- Industry standard: Hex is used everywhere: colour codes, memory addresses, machine code, IPv6 addresses, file signatures, and more.
Practice — Hexadecimal
(a) Convert 3F₁₆ to denary.
🔍 Click to reveal answer
(b) Convert 11010110₂ to hex.
🔍 Click to reveal answer
(c) Convert 7A₁₆ to binary.
🔍 Click to reveal answer
(d) Convert 255₁₀ to hex.
🔍 Click to reveal answer
(e) List three reasons why hexadecimal is preferred over binary for human use.
🔍 Click to reveal answer
2. Hex is easier to read and less error-prone
3. Hex converts to/from binary easily without arithmetic
1.1.4 Binary Addition and Overflow
Binary Addition Rules
Step-by-Step: Add 00110111 + 01001010
A: 0 0 1 1 0 1 1 1 = 55₁₀
B: 0 1 0 0 1 0 1 0 = 74₁₀
Sum: 0 1 1 1 1 1 0 1 = 125₁₀ ✅
Working from right to left:
Column 1 (2s): 1+1 = 0, carry 1
Column 2 (4s): 1+0+carry(1) = 0, carry 1
Column 3 (8s): 1+0+carry(1) = 0, carry 1
Column 4 (16s): 0+1+carry(1) = 0, carry 1
Column 5 (32s): 1+0+carry(1) = 0, carry 1
Column 6 (64s): 0+1+carry(1) = 0, carry 1
Column 7 (128s): 0+0+carry(1) = 1, carry 0
Result: 01111101₂ = 125₁₀
🔴 Understanding Overflow
✏️ Example: 200₁₀ + 100₁₀ (Overflow!)
A: 1 1 0 0 1 0 0 0 = 200₁₀
B: 0 1 1 0 0 1 0 0 = 100₁₀
Sum: 1 0 0 1 0 1 1 0 0 = 300₁₀
↑
OVERFLOW! The 9th bit (256) is lost because we only have 8 bits.
The 8-bit result stored is: 00101100₂ = 44₁₀ (incorrect!)
- Always show the carry bits in your working
- Circle or highlight the overflow bit (9th bit)
- State that overflow occurs when the result exceeds 255 (for 8-bit unsigned)
- The overflow bit is discarded and the 8-bit result may be incorrect
Practice — Binary Addition & Overflow
(a) Add 00110110₂ + 00011011₂. Show your carry bits.
🔍 Click to reveal answer
+ 00011011 (27)
= 01010001 (81)
Carry bits: 00111100
No overflow (result ≤ 255)
(b) Add 10101010₂ + 01100110₂. Does overflow occur?
🔍 Click to reveal answer
+ 01100110 (102)
= 100010000 (272)
YES — Overflow! Result needs 9 bits. 8-bit result = 00010000₂ (16₁₀)
(c) Explain what overflow means in the context of 8-bit binary addition.
🔍 Click to reveal answer
1.1.5 Logical Binary Shifts
Logical Left Shift (Multiply by 2ⁿ)
✏️ Example: Shift 00110111₂ left by 1 place
After: 0 1 1 0 1 1 1 0 = 110₁₀
╰──────────╯ ← each bit moves left
Bit lost: 0 | New 0 inserted on right
55 × 2 = 110 ✅
Logical Right Shift (Divide by 2ⁿ)
✏️ Example: Shift 00110111₂ right by 1 place
After: 0 0 0 1 1 0 1 1 = 27₁₀
╰──────────╯ ← each bit moves right
Bit lost: 1 | New 0 inserted on left
55 ÷ 2 = 27 (integer division, remainder 1 lost) ✅
What Happens to Lost Bits?
- Left shift: The leftmost bit(s) that fall off the 8-bit boundary are lost. A 0 fills in on the right.
- Right shift: The rightmost bit(s) that fall off are lost. A 0 fills in on the left.
- Lost bits cannot be recovered — data is permanently gone.
- In a logical shift, zeros are always inserted, regardless of the sign of the number.
SVG Visualisation: Left Shift by 2
- Left shift by n places = multiply by 2ⁿ
- Right shift by n places = integer divide by 2ⁿ
- Always shift all n positions at once — don't do multiple single shifts
- Bits that shift off the end are lost/discarded
- Logical shift always inserts 0 on the opposite end
Practice — Logical Binary Shifts
(a) What is the result of shifting 00001101₂ left by 2 places? What denary value does this represent?
🔍 Click to reveal answer
13 × 4 = 52 ✅
(b) Shift 10101010₂ right by 3 places. Show the result and identify the bits lost.
🔍 Click to reveal answer
170 ÷ 8 = 21.25 → integer 21 (remainder 0.25 = 010₂ lost)
Bits lost: 010 (the three rightmost bits)
(c) A byte stores the value 01100111₂. What single shift operation would multiply it by 4? Show the result.
🔍 Click to reveal answer
103 × 4 = 412, but 412 > 255 so overflow occurs!
8-bit result: 10011100₂ = 156₁₀ (incorrect due to overflow)
1.1.6 Two's Complement — Representing Negative Numbers
How Two's Complement Works
In 8-bit two's complement:
- The most significant bit (bit 7, leftmost) has a place value of -128 instead of +128
- Remaining bits (6–0) have their normal positive place values (64, 32, 16, 8, 4, 2, 1)
- A 0 in the sign bit → positive number
- A 1 in the sign bit → negative number
- Range: -128 to +127 (instead of 0 to 255 for unsigned)
Converting Positive Denary → Two's Complement
If the number is positive (0 to +127): Simply convert to binary normally and pad to 8 bits. The sign bit will be 0.
✏️ Example: +75₁₀ in 8-bit two's complement
Sign bit = 0 → 01001011₂
↑ positive
Converting Negative Denary → Two's Complement (The Flip-and-Add-One Method)
✏️ Example: −75₁₀ in 8-bit two's complement
Step 2: Flip all bits (0→1, 1→0): 10110100
Step 3: Add 1: 10110100 + 1 = 10110101
Therefore: −75₁₀ = 10110101₂ (two's complement)
Check: +75 + (−75) should = 0
01001011 + 10110101 = 100000000 (9 bits)
Discard the 9th bit → 00000000 = 0 ✅
Two's Complement → Denary
✏️ Example: Convert 11001010₂ (two's complement) to denary
−128 + 64 + 0 + 0 + 8 + 0 + 2 + 0
= −128 + 64 + 8 + 2
= −54₁₀
✏️ Example: Convert 01001010₂ (two's complement) to denary
Treat like normal binary: 64 + 8 + 2 = +74₁₀
Two's Complement Range & Summary
- Always check the leftmost bit: 0 = positive, 1 = negative
- For positive numbers in two's complement, the sign bit must be 0
- For negative numbers, use flip all bits, then add 1
- The range for 8-bit two's complement is −128 to +127
- Two's complement is used because addition works the same way for signed and unsigned numbers
Practice — Two's Complement
(a) Convert −50₁₀ to 8-bit two's complement. Show your working.
🔍 Click to reveal answer
Flip: 11001101
Add 1: 11001101 + 1 = 11001110
Check: −128 + 64 + 0 + 0 + 8 + 4 + 2 + 0 = −50 ✅
(b) Convert 10010110₂ (two's complement) to denary.
🔍 Click to reveal answer
−128 + 0 + 0 + 16 + 0 + 4 + 2 + 0 = −106₁₀
(c) What is the range of values that can be stored in 8-bit two's complement?
🔍 Click to reveal answer
Minimum: 10000000₂ = −128
Maximum: 01111111₂ = +127
(d) Show that 01011010₂ + 10100110₂ = 0 in two's complement. What do these values represent in denary?
🔍 Click to reveal answer
+ 10100110 (−90, because it's the two's complement of +90)
= 100000000 (9 bits)
Discard 9th bit → 00000000 = 0 ✅
This proves that 10100110 is indeed the two's complement representation of −90.
📋 Lesson 1.1 Summary
Homework Questions
Homework exercises for this lesson are being prepared. Check back soon!
1.2 Text, sound and images
1.2 Text, Sound and Images
Computers store everything as binary numbers — including the text you're reading, the images you see, and the music you listen to. But how does a computer turn a photo or a song into 0s and 1s?
In this lesson, you'll discover how three types of data are represented digitally: text, images, and sound.
01001000 01100101 01101100 01101100 01101111. Now try typing "你好" or "こんにちは". How does the computer know which characters you mean? This is why we needed Unicode — a universal standard that works for ALL languages.
📝 Representing Text
The problem: computers only understand numbers, but humans need letters, digits, and symbols. The solution: a character set — a standard table that assigns every character a unique binary code.
ASCII
ASCII (American Standard Code for Information Interchange) was one of the first character sets. It uses 7 bits per character, giving 128 possible characters (codes 0–127).
Here's how the word "CAT" is stored in memory:
A = 65 = 1000001
T = 84 = 1010100
───────────────
"CAT" = 01000011 01000001 01010100 (3 bytes)
Limitation: ASCII can only represent English letters, digits, and basic symbols. It cannot handle Chinese, Arabic, emoji, or accented characters such as é, ü, or ñ.
ASCII vs Unicode — 两张时代的字符集
Unicode is a superset of ASCII that supports over 100,000 characters from virtually every writing system in the world — plus emoji, mathematical symbols, and more. While ASCII uses 7 bits (1 byte) per character, Unicode typically uses 16 bits (UTF-16) or 32 bits (UTF-32) per character.
ASCII 是 Unicode 的"祖先"——Unicode 的前128个编码完全兼容 ASCII。'A' 在两种编码中都是 65。
● 英文(ASCII范围):1 byte(兼容ASCII,不浪费空间)
● 拉丁/希腊/西里尔字母:2 bytes
● 中文/日文/韩文(CJK):3 bytes
● emoji/罕见字:4 bytes
● 这就是为什么"Hello"(5 bytes)比"你好"(6 bytes)小的原因——不是内容多少,而是每个字的编码长度不同!
Practice — Text Representation
(a) Using the ASCII table above, write the binary for "DOG".
🔍 Click to reveal answer
(b) How many bytes does "Hello" take in ASCII? In Unicode (UTF-16)?
🔍 Click to reveal answer
Unicode (UTF-16): 5 characters × 2 bytes = 10 bytes
(c) What is the main limitation of ASCII compared to Unicode?
🔍 Click to reveal answer
🖼️ Representing Images
Pixels — The Building Blocks
Image Resolution
Resolution = width × height in pixels. More pixels = more detail = larger file size.
Low Resolution (4×4)
16 pixels — very blocky
High Resolution (8×8)
64 pixels — smoother
Colour Depth
Colour depth = number of bits used to store the colour of one pixel. More bits = more possible colours = better quality but larger file.
Image size (bytes) = Width × Height × Colour depth / 8Example: 800 × 600 image, 24-bit colour:
800 × 600 × 24 = 11,520,000 bits
11,520,000 ÷ 8 = 1,440,000 bytes ÷ 1,024 = 1,406.25 KiB ÷ 1,024 = ~1.37 MiB
Practice — Image Representation
(a) A 100 × 50 pixel image uses 8-bit colour depth. Calculate its file size in bytes, then convert to KiB.
🔍 Click to reveal answer
40,000 ÷ 8 = 5,000 bytes
5,000 ÷ 1,024 = ~4.88 KiB
(b) What happens to image quality if you increase colour depth from 1-bit to 24-bit? What is the trade-off?
🔍 Click to reveal answer
(c) A 1920×1080 image uses 16-bit colour depth. Calculate the file size in MiB.
🔍 Click to reveal answer
33,177,600 ÷ 8 = 4,147,200 bytes
4,147,200 ÷ 1,024 = 4,050 KiB ÷ 1,024 = ~3.95 MiB
Bitmap vs Vector Graphics
🎯 Image Digitization — Resolution & Colour Depth Interactive Demo
Draw on the canvas, adjust sliders to observe the effect🎵 Representing Sound
Sound is naturally analogue — a continuous wave. Computers are digital — they work with discrete numbers. To store sound digitally, we need to sample the wave.
⚡ Sampling Rate
How often? Number of samples taken per second (measured in Hz). Higher rate = better quality = larger file.
CD quality: 44,100 Hz (44,100 samples/second)
🎯 Sample Resolution (Bit Depth)
How precise? Number of bits per sample. More bits = more precise amplitude = better quality = larger file.
CD quality: 16-bit (65,536 levels)
Sound size (bytes) = Sampling rate × Resolution × Channels × Duration (seconds) / 8Example: 10 seconds of CD quality stereo audio (44,100 Hz, 16-bit, 2 channels):
44,100 × 16 × 2 × 10 = 14,112,000 bits
14,112,000 ÷ 8 = 1,764,000 bytes ÷ 1,024 = 1,722.66 KiB ÷ 1,024 = ~1.68 MiB
Practice — Sound & File Size Calculations
(a) A 60-second mono audio clip is recorded at 22,050 Hz with 8-bit resolution. Calculate the file size in bytes and KiB.
🔍 Click to reveal answer
10,584,000 ÷ 8 = 1,323,000 bytes
1,323,000 ÷ 1,024 = ~1,292.0 KiB
(b) Explain the difference between sampling rate and sample resolution.
🔍 Click to reveal answer
Sample resolution (bit depth) = how many bits are used to store each sample (precision — e.g. 8-bit = 256 levels, 16-bit = 65,536 levels).
Higher values for both = better quality but larger file size.
(c) Why is sound converted from analogue to digital using an ADC?
🔍 Click to reveal answer
(d) A 3-minute (180-second) stereo song is recorded at 44,100 Hz with 16-bit resolution. Calculate the file size in MiB.
🔍 Click to reveal answer
254,016,000 ÷ 8 = 31,752,000 bytes
31,752,000 ÷ 1,024 = 31,007.81 KiB ÷ 1,024 = ~30.28 MiB
🔊 Sound Digitization — Sampling Rate & Bit Depth Interactive Demo
Adjust sliders to observe the effect of sampling and quantisation on the waveform📋 Chapter 1.2 Summary
📝 🔑 Answer Key — All Practice Questions
Practice 1 (Text Representation):
(a) D=68→01000100, O=79→01001111, G=71→01000111 = "01000100 01001111 01000111" (3 bytes)
(b) ASCII: 5 bytes (5×1). Unicode UTF-16: 10 bytes (5×2).
(c) ASCII is limited to 128 characters — cannot represent non-English languages or emoji. Unicode supports over 100,000 characters.
Practice 2 (Image Representation):
(a) 100×50×8 = 40,000 bits → 5,000 bytes → ~4.88 KiB
(b) More colour depth = more colours = better quality but larger file size. 1-bit = 2 colours (poor), 24-bit = 16.7 million (photographic).
(c) 1920×1080×16 = 33,177,600 bits → 4,147,200 bytes → 4,050 KiB → ~3.95 MiB
Practice 3 (Sound & File Size):
(a) 22,050×8×1×60 = 10,584,000 bits → 1,323,000 bytes → ~1,292.0 KiB
(b) Sampling rate = how many samples/second (frequency). Sample resolution = bits per sample (precision).
(c) Computers can't store analogue data directly. ADC converts continuous wave → discrete binary values.
(d) 44,100×16×2×180 = 254,016,000 bits → 31,752,000 bytes → 31,007.81 KiB → ~30.28 MiB
Practice 1 (Text Representation):
(a) D=68→01000100, O=79→01001111, G=71→01000111 = "01000100 01001111 01000111" (3 bytes)
(b) ASCII: 5 bytes (5×1). Unicode UTF-16: 10 bytes (5×2).
(c) ASCII is limited to 128 characters — cannot represent non-English languages or emoji. Unicode supports over 100,000 characters.
Practice 2 (Image Representation):
(a) 100×50×8 = 40,000 bits → 5,000 bytes → ~4.88 KiB
(b) More colour depth = more colours = better quality but larger file size. 1-bit = 2 colours (poor), 24-bit = 16.7 million (photographic).
(c) 1920×1080×16 = 33,177,600 bits → 4,147,200 bytes → 4,050 KiB → ~3.95 MiB
Practice 3 (Sound & File Size):
(a) 22,050×8×1×60 = 10,584,000 bits → 1,323,000 bytes → ~1,292.0 KiB
(b) Sampling rate = how many samples/second (frequency). Sample resolution = bits per sample (precision).
(c) Computers can't store analogue data directly. ADC converts continuous wave → discrete binary values.
(d) 44,100×16×2×180 = 254,016,000 bits → 31,752,000 bytes → 31,007.81 KiB → ~30.28 MiB
Homework Questions
Homework exercises for this lesson are being prepared. Check back soon!
1.3 Data storage and compression
1.3 Data Storage and Compression
Every file on your computer — photos, songs, documents, videos — takes up space on your storage device. But how do we measure that space? And what happens when we run out of room? This lesson answers both questions.
📏 1.3.1 Data Storage Measurement Units
The Storage Unit Ladder
Key Relationships to Memorise
Quick Conversion Examples
4 × 1024 = 4,096 bytes
Example 2: How many KiB in 3 MiB?
3 × 1024 = 3,072 KiB
Example 3: How many bits in 2 bytes?
2 × 8 = 16 bits
Example 4: A file is 5,120 bytes. How many KiB?
5,120 ÷ 1024 = 5 KiB
🧮 1.3.2 Calculating File Sizes
📷 Calculating Image File Size
An image is a grid of pixels (picture elements). Each pixel stores a colour value using a certain number of bits (called the colour depth).
Image File Size Formula
Then convert to KiB or MiB by dividing by 1024 as needed.
🔢 Worked Example: Image
Resolution: 1024 × 768 pixels
Colour depth: 24 bits (true colour — 16.7 million colours)
Step 1: Total pixels = 1024 × 768 = 786,432 pixels
Step 2: Total bits = 786,432 × 24 = 18,874,368 bits
Step 3: Convert to bytes ÷ 8 = 2,359,296 bytes
Step 4: Convert to KiB ÷ 1024 = 2,304 KiB
Step 5: Convert to MiB ÷ 1024 = 2.25 MiB
So this 1024×768 true-colour image requires about 2.25 MiB of storage.
🎯 Another Example: Lower Resolution
Resolution: 320 × 240 pixels
Colour depth: 16 bits (65,536 colours — High Colour)
Step 1: Total pixels = 320 × 240 = 76,800 pixels
Step 2: Total bits = 76,800 × 16 = 1,228,800 bits
Step 3: Convert to bytes ÷ 8 = 153,600 bytes
Step 4: Convert to KiB ÷ 1024 = 150 KiB
Notice: less than 1/10th the size of the previous image!
🔊 Calculating Sound File Size
Sound is captured by sampling an analogue wave at regular intervals. Three factors determine the file size:
- Sample rate — how many samples taken per second (measured in Hz, e.g. 44,100 Hz = 44,100 samples per second)
- Sample resolution — how many bits used to store each sample (e.g. 16 bits per sample)
- Channels — mono (1 channel) or stereo (2 channels)
- Duration — how long the recording lasts (in seconds)
Sound File Size Formula
Then convert to KiB or MiB by dividing by 1024.
🔢 Worked Example: Sound
Sample rate: 44,100 Hz (CD quality)
Sample resolution: 16 bits
Channels: 2 (stereo)
Duration: 180 seconds (3 minutes)
Step 1: Bits per second = 44,100 × 16 × 2 = 1,411,200 bits/sec
Step 2: Total bits = 1,411,200 × 180 = 254,016,000 bits
Step 3: Convert to bytes ÷ 8 = 31,752,000 bytes
Step 4: Convert to KiB ÷ 1024 = 31,007.8 KiB
Step 5: Convert to MiB ÷ 1024 = 30.28 MiB
A 3-minute stereo CD-quality song is about 30.28 MiB uncompressed.
🎯 Another Example: Mono Voice Recording
Sample rate: 8,000 Hz (telephone quality)
Sample resolution: 8 bits
Channels: 1 (mono)
Duration: 60 seconds (1 minute)
Step 1: Bits per second = 8,000 × 8 × 1 = 64,000 bits/sec
Step 2: Total bits = 64,000 × 60 = 3,840,000 bits
Step 3: Convert to bytes ÷ 8 = 480,000 bytes
Step 4: Convert to KiB ÷ 1024 = 468.75 KiB
A 1-minute telephone-quality mono recording is under 0.5 MiB — much smaller!
💡 Quick Reference: Key Factors That Affect File Size
Image Size Factors
↑ Resolution (width × height)
↑ Colour depth (bits per pixel)
= More space needed
Sound Size Factors
↑ Sample rate (Hz)
↑ Sample resolution (bits)
↑ Channels (stereo > mono)
↑ Duration (seconds)
= More space needed
📦 1.3.3 Data Compression — Purpose and Need
🎯 Three Key Benefits of Compression
Less Storage Space
Fit more photos, music, videos, and documents on your phone, SSD, or hard drive. A 10:1 compression ratio means 10× more content in the same space.
Less Bandwidth Required
Smaller files need less network capacity to transmit. This is critical for streaming services (Netflix, Spotify), video calls, and websites — especially on mobile connections.
Shorter Transmission Time
A 30 MiB song compressed to 3 MiB transfers 10× faster — whether downloading from the cloud, sending an email attachment, or loading a web page.
⚡ Real-World Impact of Compression
🔒 Lossless Compression
Lossless compression reduces file size without any loss of data. The original file can be perfectly reconstructed bit-for-bit. It is essential when even a single byte of data matters.
Perfect Reconstruction
Every single bit is preserved. Decompressing gives you exactly the original file.
Best for:
Text files, program code, spreadsheets, databases — anything where losing data is unacceptable.
Run-Length Encoding (RLE)
RLE is one of the simplest lossless compression methods. It replaces repeated consecutive values with a count + value pair.
Example 1: RLE for text
Compressed: 12W1B14W1B
↑ ↑ ↑ ↑
count char count char
Original: 27 characters
Compressed: 8 characters → ~70% reduction!
Example 2: RLE for simple images
Consider this black and white image (10 × 3 pixels):
Original: 30 pixels → Compressed: 14 values → ~53% saving!
Dictionary-Based Compression
Dictionary compression (like LZW, used in GIF and ZIP formats) replaces repeated patterns with shorter references to a dictionary table.
Example: Dictionary compression
Dictionary:
[0] = "the " [1] = "cat" [2] = "at "
Compressed: [0][1] s[2]on [0]m[2][0][1] ran
Original: 32 characters → Compressed: 24 characters → 25% saving
🔓 Lossy Compression
Lossy compression permanently removes some data to achieve much smaller file sizes. The decompressed file is not identical to the original — but it looks or sounds almost the same to human senses.
Data Is Lost Forever
Once removed, you can't get it back. The file is permanently smaller — and you cannot perfectly reconstruct the original.
Best for:
Photos (JPEG), music (MP3, AAC), videos (MP4, H.264) — where the human eye or ear won't notice small imperfections.
🖼️ JPEG (Images)
Removes fine colour details the human eye is less sensitive to. You can control quality — higher compression = smaller file but visible artefacts (blocky patches).
🎵 MP3 (Audio)
Removes frequencies the human ear barely hears (psychoacoustic compression). A 30 MiB WAV file might become a 3 MiB MP3 with barely noticeable quality loss.
🎬 MP4 (Video)
Combines image and audio compression. Each frame is compressed like JPEG, and only differences between frames (motion compensation) are stored.
⚖️ Lossy vs Lossless — Comparison
❌ Why NOT Lossy for Text?
If a compression algorithm removed even one character — changing "password" to "passwrd" — the file becomes useless. Text requires 100% accuracy. Always use lossless for text files, source code, and financial data.
✅ Why Lossy Works for Photos
The human eye cannot detect tiny colour variations between nearby pixels. JPEG discards these imperceptible details. Result: 90% smaller file that looks nearly identical to the original — a great trade-off.
📦 Compression Principles — RLE + Dictionary Animated Demo
Watch every step of the data compression processOriginal Data (Character blocks — each colour represents one character)
Encoded Output [char][run length]
Original Text (Highlights in the same colour indicate repeated patterns)
Dictionary Table Repeated patterns → Index reference
| Index | Pattern (Phrase) | Length | Frequency |
|---|
Compressed Output (Dictionary references shown as [index] )
📋 Lesson 1.3 Summary
Homework Questions
Homework exercises for this lesson are being prepared. Check back soon!
Past Paper Questions — Data representation
Practice with real exam questions from previous sessions
Chapter Test — Data representation
Assess your understanding of this chapter
Topic 2: Data transmission
3 lessons2.1 Types and methods of data transmission
2.1 Types and Methods of Data Transmission
Data transmission is the process of sending data from one device to another. To do this efficiently and reliably, data is broken into smaller chunks called packets, and sent using different transmission methods depending on the need.
📦 Packet Structure
Each packet of data contains three parts:
| Component | Description |
|---|---|
| Header | Contains control information: destination IP address (where the packet is going), packet number (to reorder packets at the destination), and originator's IP address (where it came from). |
| Payload | The actual data being sent. |
| Trailer | Contains error-checking information to ensure the data arrived intact. |
🔄 Packet Switching
Packet switching is how data travels across networks like the internet:
- Data is broken down into several packets
- Each packet is sent individually across the network
- Routers direct each packet along the most efficient path — packets may take different routes to the same destination
- Packets may arrive out of order. Once the last packet arrives, they are reordered using their packet numbers
- If any packets are missing, they can be re-sent
🔌 Serial vs Parallel Transmission
| Feature | Serial | Parallel |
|---|---|---|
| How it works | Bits sent one after another along a single wire | Multiple bits sent simultaneously using multiple wires |
| Speed | Slower per cycle, but can run at higher clock speeds | Faster per cycle (multiple bits at once) |
| Cost | ✅ Cheaper — only one wire needed | ❌ More expensive — multiple wires needed |
| Skew | ✅ Not susceptible to skew | ❌ Susceptible to skew (bits arriving at different times), especially over long distances |
| Examples | USB, Ethernet, SATA | Old printer cables (LPT), internal computer buses |
📡 Simplex, Half-Duplex & Full-Duplex
| Mode | Direction | Analogy | Example |
|---|---|---|---|
| Simplex | ➡ One direction only | TV broadcast | Keyboard → Computer, radio broadcast |
| Half-Duplex | ⬌ Both directions, but only one at a time | Walkie-talkie | Wi-Fi (devices take turns sending) |
| Full-Duplex | ⬍ Both directions simultaneously | Phone call | Fibre optic, Ethernet (separate send/receive pairs) |
🔗 Universal Serial Bus (USB)
USB (Universal Serial Bus) is a standard interface for connecting peripherals like keyboards, mice, and flash drives to a computer. It uses serial data transmission (one bit at a time).
How USB transmits data:
- Data is broken down into packets
- The host (computer) initiates communication and controls data flow
- Each packet is sent serially along the USB cable
- The device checks for errors using the trailer's error-checking information
- If an error is found, the packet is re-sent
- The device reassembles the packets to complete the transmission
| ✅ Benefits | ❌ Drawbacks |
|---|---|
| Widely supported by modern devices | Prone to physical damage (bent connectors) |
| Plug-and-play — easy to use | Limited cable length (~5 metres) |
| Transmits data AND power simultaneously | Not suitable for long-distance use |
Homework Questions
Homework exercises for this lesson are being prepared. Check back soon!
2.2 Methods of error detection
2.2 Methods of Error Detection
When data is transmitted over a network, errors can occur due to interference or issues with the transmission medium. These errors can result in data loss (some data isn't received), data gain (unintended extra data), or data change (bits being flipped). Error detection methods help identify these problems.
🔲 Parity Check
A parity bit is a single bit added to a transmission to check for errors. Its value is calculated based on the data itself.
There are two types:
- Even parity: The parity bit is chosen so that the total number of 1s (including the parity bit) is even.
- Odd parity: The parity bit is chosen so that the total number of 1s is odd.
Example — Even parity:
| Data to send | Even parity bit added | Data transmitted | Received data | Parity check |
|---|---|---|---|---|
| 1101 (3×1s) | 1 | 1101 1 | 11011 | ✅ No error (4×1s = even) |
| 0000 (0×1s) | 0 | 0000 0 | 0010 0 | ❌ Error detected! (1×1s = odd) |
| 1001 (2×1s) | 0 | 1001 0 | 1111 0 | ❌ Error NOT detected (4×1s = even, but 2 bits changed!) |
Parity Byte & Block Check
A parity byte checks the parity of an entire group of bytes. Each bit position (0-7) across all bytes in a block is examined, and the parity byte ensures each position has an even (or odd) number of 1s.
🔢 Checksum
A checksum is a value calculated from the data using an algorithm (e.g. modulo function) and appended to the transmission. The receiver applies the same algorithm and checks if the checksum matches.
- ✅ Advantages: Can detect a wider range of errors, including some multiple-bit errors that parity checks would miss. Useful for verifying larger blocks of data.
- ❌ Disadvantages: Some error patterns can produce the same checksum (error goes undetected). Adds extra processing time.
🔁 Echo Check
The sender sends data to the receiver, and the receiver sends back the exact same data (an echo). The sender compares the echoed data to the original. If they match, the transmission was error-free.
- ✅ Advantages: Verifies data was received exactly as sent. Can detect both single and multiple-bit errors.
- ❌ Disadvantages: Inefficient — doubles data traffic (every piece of data must be sent twice).
📞 Automatic Repeat Query (ARQ)
ARQ ensures data is received correctly using acknowledgements and timeouts:
- The sender transmits data and waits for a response
- The receiver checks for errors (using checksum, parity, etc.) and sends a positive acknowledgement (ACK) if correct, or a negative acknowledgement (NAK) if errors found
- If no response is received within a timeout period, the sender automatically resends the data
- This continues until the correct data is confirmed
🔢 Check Digits
A check digit is a single digit added to data (like a simplified checksum). Used in ISBN (book numbers) and barcodes to detect common data entry errors.
Homework Questions
Homework exercises for this lesson are being prepared. Check back soon!
2.3 Encryption
2.3 Encryption
Encryption is the process of converting readable data (plaintext) into an unreadable format (ciphertext) so that only authorised users with the correct key can access the original information. This is essential for protecting sensitive data during storage and transmission.
🔑 Symmetric Encryption
In symmetric encryption, both the sender and receiver share the same private key. This key is used to BOTH encrypt and decrypt data.
How it works:
- 🔐 Sender encrypts plaintext using the shared key → produces ciphertext
- 📤 Ciphertext is sent over the network
- 🔓 Receiver decrypts ciphertext using the same shared key → recovers plaintext
Problem: Before sending any information, the sender and receiver must exchange the shared key. If this key exchange happens over a network, the key itself is vulnerable to interception. Once an attacker has the key, they can decrypt all messages!
🔐 Asymmetric Encryption
Asymmetric encryption solves the key exchange problem using two mathematically related keys:
- Public key — shared openly with everyone
- Private key — kept secret, never shared
How it works:
- 🔑 Each person has a key pair: one public, one private
- 📝 Sender encrypts a message using the recipient's PUBLIC key
- 📤 Encrypted message is sent over the network (safe — only private key can decrypt)
- 🔓 Recipient decrypts using their own PRIVATE key (which only they have)
📊 Symmetric vs Asymmetric
| Feature | Symmetric | Asymmetric |
|---|---|---|
| Number of keys | 1 shared key | 2 keys (public + private) per person |
| Speed | ✅ Faster | ❌ Slower (computationally intensive) |
| Key exchange problem | ❌ Must securely exchange the shared key first | ✅ No need to exchange — public key is openly shared |
| Example | AES, DES | RSA, SSL/TLS (used in HTTPS) |
Homework Questions
Homework exercises for this lesson are being prepared. Check back soon!
Past Paper Questions — Data transmission
Practice with real exam questions from previous sessions
Chapter Test — Data transmission
Assess your understanding of this chapter
Topic 3: Hardware
4 lessons3.1 Computer architecture
3.1 Central Processing Unit (CPU) and Computer Components
🛠️ Embedded Systems
An embedded system is a computer system designed for one specific task or set of related tasks. Unlike a general-purpose computer (PC), embedded systems are built into other devices and cannot easily be separated from them.
Domestic Appliances
Microwaves, washing machines, smart thermostats
Cars
Engine control, braking systems, airbag deployment
Security Systems
Motion detection, alarm control, access management
Characteristics: Designed for one specific task, minimal or no user interface, optimised for efficiency and reliability, typically low power and small.
The CPU is the "brain" of the computer — it performs all the calculations and executes instructions. Understanding how the CPU works is the foundation of understanding how computers work.
🔧 CPU Components
Control Unit (CU)
The "conductor" of the CPU. It manages the FDE cycle, sends control signals, and coordinates all components.
ALU
Arithmetic Logic Unit — performs all calculations (addition, subtraction) and logical operations (AND, OR, comparison).
Registers
Tiny, ultra-fast memory locations inside the CPU. Key ones: PC (Program Counter), MAR, MDR, ACC, CIR.
Key Registers
| Register | Full Name | Purpose |
|---|---|---|
| PC | Program Counter | Holds the address of the NEXT instruction to fetch |
| MAR | Memory Address Register | Holds the address of memory location to read/write |
| MDR | Memory Data Register | Holds the data being transferred to/from memory |
| ACC | Accumulator | Stores intermediate results of ALU operations |
| CIR | Current Instruction Register | Holds the current instruction being decoded/executed |
🔄 The Fetch-Decode-Execute Cycle
- Fetch: The PC contains the address of the next instruction. This address is copied to the MAR. The address bus carries it to RAM. The instruction at that address is sent back via the data bus to the MDR. The PC is incremented to point to the next instruction.
- Decode: The instruction in the MDR is copied to the CIR. The Control Unit decodes the instruction to determine what operation is required.
- Execute: The CU sends control signals to the appropriate components. The ALU may perform calculations. The result is stored in the ACC or written back to memory.
Homework Questions
Homework exercises for this lesson are being prepared. Check back soon!
3.2 Input and output devices
3.2 Internal Components and Memory
The CPU doesn't work alone — it needs memory to store instructions and data, and buses to carry information between components. Understanding the memory hierarchy explains why computers have different types of memory with different speeds and sizes.
💾 Types of Memory
| Type | Volatile? | Speed | Use |
|---|---|---|---|
| RAM | Yes (loses data on power off) | Fast | Running programs and current data |
| ROM | No (permanent) | Fast | Boot instructions (BIOS/UEFI firmware) |
| Cache | Yes | Very fast | Frequently used instructions/data (on-CPU) |
| Registers | Yes | Fastest | Current instruction operands and results (inside CPU) |
| Virtual Memory | N/A (uses disk space) | Slow | Extension of RAM when physical RAM is full |
🚌 System Buses
The CPU communicates with memory and peripherals via three buses:
- Address Bus (one-way: CPU → memory): Carries the memory address to read/write
- Data Bus (two-way): Carries actual data between CPU and memory
- Control Bus (two-way): Carries control signals (read/write commands, clock, interrupts)
Homework Questions
Homework exercises for this lesson are being prepared. Check back soon!
3.3 Data storage
3.3 Input and Output Devices
Computers need to receive data from the outside world (input) and present results back to us (output). The variety of input and output devices is enormous — from simple keyboards to complex biometric sensors and 3D printers.
⌨️ Common Input Devices
Keyboard
Converts key presses to scan codes
Mouse
Tracks movement and button clicks
Microphone
Converts sound waves to digital audio
Camera
Captures light to create digital images
Touchscreen
Detects touch position and gestures
Sensors
Temperature, pressure, motion, light, etc.
Barcode Reader
Reads barcodes using laser or camera
Biometric
Fingerprint, facial recognition, iris scan
🖥️ Common Output Devices
Monitor
Displays text, images, video as pixels
Speakers
Convert digital audio to sound waves
Printer
Produces physical copies on paper
Actuator
Physical movement (robots, motors)
Braille Display
Tactile output for visually impaired
Homework Questions
Homework exercises for this lesson are being prepared. Check back soon!
3.4 Network hardware
RAM forgets everything when the power is off.
⚡ Solid-State Storage (Flash Memory)
Solid-state storage uses flash memory chips with no moving parts. Examples: USB flash drives, SSDs (Solid State Drives), memory cards.
✅ Advantages: Fast, durable, silent, low power, compact.
❌ Disadvantages: More expensive per GB, limited write cycles, lower maximum capacity than HDDs.
🧠 Virtual Memory
When RAM is full, the OS moves less frequently used data from RAM to the hard drive — this is called virtual memory. It acts as an extension of RAM, allowing more programs to run than the physical RAM could normally support. However, it is much SLOWER than real RAM because hard drives are slower than RAM chips.
☁️ Cloud Storage
Cloud storage stores data on remote servers accessed via the internet (e.g. Google Drive, Dropbox, iCloud). Users can access their files from any device, anywhere. The physical storage hardware is maintained by the service provider. Benefits include accessibility, automatic backup, and scalability. Drawbacks include reliance on internet connectivity and potential privacy/security concerns.
For permanent storage, computers need secondary storage — devices that retain data without electricity. Different storage technologies offer different trade-offs between speed, capacity, cost, and portability.📀 Magnetic Storage (Hard Disk Drive)
HDDs store data on spinning platters coated with magnetic material. A read/write head moves across the platter to access data.
✅ Advantages: Cheap per GB (lowest cost), very large capacities (up to 20+ TB), proven technology.
❌ Disadvantages: Moving parts → slower access times, vulnerable to physical shock, noisy, more power consumption.
⚡ Solid-State Storage (SSD / Flash)
SSDs use flash memory chips with no moving parts. Data is stored electronically in NAND flash cells.
✅ Advantages: Very fast (10x+ faster than HDD), silent, durable (no moving parts), low power consumption, compact.
❌ Disadvantages: More expensive per GB, limited write cycles (cells wear out), lower maximum capacity than HDD.
💿 Optical Storage (CD / DVD / Blu-ray)
Data is stored as pits and lands on a reflective surface, read by a laser. Different disc types have different capacities.
| Format | Capacity | Laser Colour | Use |
|---|---|---|---|
| CD | 700 MB | Red (780nm) | Music, small data |
| DVD | 4.7 GB | Red (650nm) | Movies, software |
| Blu-ray | 25-128 GB | Blue (405nm) | HD movies, PS5 games |
📊 Which Storage Should You Choose?
| Scenario | Best Choice | Why |
|---|---|---|
| Gaming PC | SSD + HDD | OS and games on SSD (speed), files on HDD (capacity) |
| Laptop | SSD | Durable for travel, fast boot, silent, low power |
| Backup server | HDD | Maximum capacity at lowest cost |
| Distribute a movie | Blu-ray / DVD | Cheap to mass-produce, portable |
Homework Questions
Homework exercises for this lesson are being prepared. Check back soon!
Past Paper Questions — Hardware
Practice with real exam questions from previous sessions
Chapter Test — Hardware
Assess your understanding of this chapter
Topic 4: Software
2 lessons4.1 Types of software and interrupts
4.1 Operating Systems and User Interfaces
The operating system (OS) is the most important software on any computer. It manages all hardware and software, provides a user interface, and acts as a platform for running applications. Without an OS, even the most powerful computer is useless.
⚙️ Key Functions of an OS
File Management
Organises files, folders, permissions. Creates, reads, writes, deletes files.
Memory Management
Allocates RAM to programs. Uses virtual memory when RAM is full.
Multitasking
Switches between programs so fast it seems they run simultaneously.
Peripheral Mgmt
Manages device drivers for hardware like printers, keyboards.
Security
User accounts, passwords, permissions, firewalls.
User Interface
GUI (windows, icons) or CLI (command-line) for user interaction.
🖥️ Types of User Interface
| Feature | GUI | CLI |
|---|---|---|
| Interaction | Point and click (mouse/touch) | Type text commands |
| Ease of use | ✅ Easy for beginners | ❌ Requires memorising commands |
| Speed | ❌ Slower for experts | ✅ Faster for experienced users |
| Resources | Needs more RAM/processing | Very lightweight |
| Examples | Windows, macOS, Android | Linux terminal, Windows CMD |
Homework Questions
Homework exercises for this lesson are being prepared. Check back soon!
4.2 Types of programming language, translators and integrated development environments (IDEs)
4.2 Types of Software — System vs Application
🧰 Utility Software
Utility software helps maintain, enhance, and troubleshoot a computer system. Examples include: antivirus (protects against malware), backup software (copies data for safekeeping), disk defragmenters (reorganises files for faster access), and file compression tools.
🔌 Device Drivers
Device drivers are system software that allow the operating system to communicate with hardware devices. Each piece of hardware (printer, graphics card, keyboard) needs its own driver. The OS manages these drivers so that applications can use hardware without needing to know the technical details.
🔲 Firmware
Firmware is permanent software stored in non-volatile memory (ROM) that controls hardware. It runs as soon as the computer is powered on — before the OS even loads. The BIOS/UEFI (firmware on the motherboard) performs initial hardware checks and loads the operating system.
Not all software is the same. The programs that make your computer useful fall into two distinct categories: system software (which runs the computer) and application software (which does tasks for you). Understanding the difference is essential.
📊 Comparison
| Feature | System Software | Application Software |
|---|---|---|
| Purpose | Manage hardware, run computer | Help user perform tasks |
| Runs without | Computer cannot function | Computer still works |
| User interaction | Often runs in background | User actively uses it |
| Examples | Windows, Linux, device driver | Word, Chrome, Photoshop |
| Written in | Often low-level languages | Often high-level languages |
Homework Questions
Homework exercises for this lesson are being prepared. Check back soon!
Past Paper Questions — Software
Practice with real exam questions from previous sessions
Chapter Test — Software
Assess your understanding of this chapter
Topic 5: The internet and its uses
3 lessons5.1 The internet and the world wide web
5.1 The Internet, the World Wide Web and Digital Currency
🍪 Cookies
Cookies are small text files stored on a user's device by a website. They save information between visits, such as:
- 📋 Login status — so you don't have to re-enter your password
- 🛒 Shopping cart items — items remain in your cart even if you leave the site
- 🌍 Language preferences — the site remembers your language choice
There are two types: session cookies (deleted when browser closes) and persistent cookies (remain for a set period).
The internet has changed everything — how we communicate, shop, learn, and even think about money. This lesson covers the fundamental concepts of the internet, the web, and a revolutionary technology called blockchain that powers digital currencies like Bitcoin.
🔗 Internet vs WWW
| Feature | Internet | World Wide Web |
|---|---|---|
| Nature | Physical network infrastructure | A service running on the internet |
| Analogy | Road system | Shops and billboards along the roads |
| Contains | Cables, routers, IP addresses, protocols | Websites, web pages, hyperlinks |
| Other services | Also carries email, VoIP, FTP, gaming | — |
🌐 How Web Pages Are Accessed
- User types a URL (e.g.
https://cscompass.cn/igcse) into a browser - Browser extracts the domain name (
cscompass.cn) - Browser contacts a DNS server to find the IP address
- Browser sends an HTTP/HTTPS request to that IP address
- Web server processes the request and sends back the page (HTML + CSS + images)
- Browser renders the page on screen
💰 Digital Currency and Blockchain
A blockchain is a digital ledger — a time-stamped series of records that cannot be altered. Each "block" contains multiple transactions, and each block is linked to the previous one by a cryptographic hash.
How a blockchain payment works:
- 🔐 Payment information is encrypted for security
- 📤 Encrypted data is sent to the blockchain network
- 📝 Transaction details (digital signature, timestamp) are recorded
- 📦 Transactions are grouped into a "block"
- 🔗 Each block contains a hash linking it to the previous block
- ✅ Once confirmed, the block is added to the chain on ALL devices
Homework Questions
Homework exercises for this lesson are being prepared. Check back soon!
5.2 Digital currency
5.2 Cybersecurity — Threats and Protections
The internet connects us to the world — but it also connects the world to us. Cybersecurity is about protecting computers, networks, and data from unauthorised access, attacks, and damage.
⚠️ Common Cyber Threats
🔑 Brute-Force
Automated guessing of passwords by trying millions of combinations.
👂 Data Interception
Capturing data as it travels over a network (unsecured Wi-Fi).
🌊 DDoS
Flooding a server with traffic to make it unavailable.
🦠 Malware
Viruses, worms, trojans, spyware, ransomware.
🎣 Phishing
Fake emails/messages pretending to be from trusted sources.
🔄 Pharming
Redirecting users to fake websites by tampering with DNS.
Malware Types
| Type | How It Spreads | What It Does |
|---|---|---|
| Virus | Attaches to files/programs, spreads when opened | Corrupts data, slows system |
| Worm | Self-replicating, spreads via networks without user action | Consumes bandwidth, overloads networks |
| Trojan | Disguised as legitimate software | Creates backdoors, steals data |
| Spyware | Bundled with free software | Secretly monitors and reports activity |
| Ransomware | Via phishing or infected downloads | Encrypts files, demands payment for decryption |
🛡️ Protective Measures
🔒 Access Levels
Restrict user permissions — only give access to what's needed.
🛡️ Anti-Malware
Scans files against database of known malware signatures.
🔐 Authentication
Passwords, biometrics, two-factor verification.
🔄 Auto Updates
Keep software patched against known vulnerabilities.
🧱 Firewall
Monitors and filters incoming/outgoing network traffic.
🔗 SSL/HTTPS
Encrypts data between browser and server.
🕵️ Proxy Server
Hides user's IP address, filters content, provides anonymity.
Homework Questions
Homework exercises for this lesson are being prepared. Check back soon!
5.3 Cyber security
This lesson will be available soon with full explanations, examples, and code snippets.
Homework Questions
Homework exercises for this lesson are being prepared. Check back soon!
Past Paper Questions — The internet and its uses
Practice with real exam questions from previous sessions
Chapter Test — The internet and its uses
Assess your understanding of this chapter
Topic 6: Automated and emerging technologies
3 lessons6.1 Automated systems
Content for 6.1 Automated Systems and Robotics coming soon.
Homework Questions
Homework exercises for this lesson are being prepared. Check back soon!
6.2 Robotics
Content for 6.2 Artificial Intelligence coming soon.
Homework Questions
Homework exercises for this lesson are being prepared. Check back soon!
6.3 Artificial intelligence
This lesson will be available soon with full explanations, examples, and code snippets.
Homework Questions
Homework exercises for this lesson are being prepared. Check back soon!
Past Paper Questions — Automated and emerging technologies
Practice with real exam questions from previous sessions
Chapter Test — Automated and emerging technologies
Assess your understanding of this chapter
Topic 7: Algorithm design and problem-solving
5 lessons7.1 Program development life cycle and decomposition
Content for 7.1 Algorithm Design and Computational Thinking coming soon.
Homework Questions
Homework exercises for this lesson are being prepared. Check back soon!
7.2 Flowcharts and pseudocode
Content for 7.2 Flowcharts and Pseudocode coming soon.
Homework Questions
Homework exercises for this lesson are being prepared. Check back soon!
7.3 Trace tables and error identification
Content for 7.3 Trace Tables and Error Identification coming soon.
Homework Questions
Homework exercises for this lesson are being prepared. Check back soon!
7.4 Validation, verification and test data
Content for 7.4 Validation, Verification and Test Data coming soon.
Homework Questions
Homework exercises for this lesson are being prepared. Check back soon!
7.5 Searching and sorting algorithms
Content for 7.5 Linear Search and Bubble Sort coming soon.
Homework Questions
Homework exercises for this lesson are being prepared. Check back soon!
Past Paper Questions — Algorithm design and problem-solving
Practice with real exam questions from previous sessions
Chapter Test — Algorithm design and problem-solving
Assess your understanding of this chapter
Topic 8: Programming
3 lessons8.1 Programming concepts
Content for 8.1 Programming Concepts — Variables, Selection and Iteration coming soon.
Homework Questions
Homework exercises for this lesson are being prepared. Check back soon!
8.2 Arrays
Content for 8.2 Arrays — One-Dimensional and Two-Dimensional coming soon.
Homework Questions
Homework exercises for this lesson are being prepared. Check back soon!
8.3 File handling
Content for 8.3 Functions, Procedures and String Handling coming soon.
Homework Questions
Homework exercises for this lesson are being prepared. Check back soon!
Past Paper Questions — Programming
Practice with real exam questions from previous sessions
Chapter Test — Programming
Assess your understanding of this chapter
Topic 9: Databases
1 lesson9.1 Databases
Content for 9.1 Database Concepts and Data Management coming soon.
Homework Questions
Homework exercises for this lesson are being prepared. Check back soon!
Past Paper Questions — Databases
Practice with real exam questions from previous sessions
Chapter Test — Databases
Assess your understanding of this chapter
Topic 10: Boolean logic
1 lesson10.1 Boolean logic
Content for 10.1 Data Security and Data Integrity coming soon.
Homework Questions
Homework exercises for this lesson are being prepared. Check back soon!
Past Paper Questions — Boolean logic
Practice with real exam questions from previous sessions
Chapter Test — Boolean logic
Assess your understanding of this chapter