Place Values
Multiply each digit by its place value and sum the results.
Binary
2⁷ 2⁶ 2⁵ 2⁴ 2³ 2² 2¹ 2⁰ Hexadecimal
16³ 16² 16¹ 16⁰ Cambridge IGCSE 0478 / 0984
Binary arithmetic, logic gates, storage calculations, network speeds and algorithmic metrics summarised for fast revision.
Cambridge Computer Science questions often combine binary maths with hardware and networking principles. Use this sheet to keep all the required conversions, formulas and data size conversions in a single, exam-friendly format.
Binary ↔ decimal ↔ hexadecimal conversions
Logic gate outputs with Boolean notation
CPU performance & sound/image file calculations
Network bandwidth, latency & transmission time
Show working clearly when converting between bases to secure method marks.
Multiply each digit by its place value and sum the results.
Binary
2⁷ 2⁶ 2⁵ 2⁴ 2³ 2² 2¹ 2⁰ Hexadecimal
16³ 16² 16¹ 16⁰ Position starts from 0 at the rightmost bit.
Decimal = Σ (bit × 2^position) Repeatedly divide by 2, record remainders, read in reverse order. Repeatedly divide by 16, convert remainders (10–15 → A–F), read in reverse order. Group binary digits into sets of four (from the right) and convert each nibble to hex. Remember the most significant bit indicates the sign in 8-bit representation.
Invert bits (1's complement), then add 1 to LSB. Check for overflow if carry extends beyond the bit-length.
0 + 0 = 0 carry 0
0 + 1 = 1 carry 0
1 + 1 = 0 carry 1
1 + 1 + 1 = 1 carry 1
1 nibble = 4 bits 1 byte = 8 bits 1 kilobyte (KB) = 1024 bytes 1 megabyte (MB) = 1024 KB 1 gigabyte (GB) = 1024 MB For ASCII use 7/8 bits; for UTF-16 use 16 bits.
File size (bits) = Number of characters × Bits per character Colour depth = number of bits per pixel.
Image Size
File size (bits) = Width × Height × Colour depth File size (bytes)
Bytes = (Width × Height × Colour depth) / 8 Uncompressed audio
File size (bits) = Sample rate × Bit depth × Duration (seconds) × Number of channels Frame size = width × height × colour depth. Apply compression ratio if specified.
File size (bits) ≈ Frame size (bits) × Frame rate × Duration NOT
¬A → inverts the input AND
A · B → output 1 only if A = 1 AND B = 1 OR
A + B → output 1 if A = 1 OR B = 1 NAND
¬(A · B) NOR
¬(A + B) XOR
A ⊕ B → output 1 if inputs are different Useful for simplifying Boolean expressions.
¬(A · B) = ¬A + ¬B ¬(A + B) = ¬A · ¬B For n inputs, total rows = 2ⁿ. List binary combinations systematically.
Full adder uses XOR for sum and includes carry-in.
Sum
S = A ⊕ B Carry
C = A · B CPI = cycles per instruction. Mention factors like cache and pipelining in explanations.
Clock Time per Cycle
Time per cycle = 1 / Clock speed Execution Time
Execution time = Number of cycles × Time per cycle Power of parallel cores
Total throughput ≈ Clock speed × Number of cores × CPI adjustment Bandwidth (bps)
Bandwidth = Data transferred / Time Transmission Time
Transmission time = File size (bits) / Transmission rate (bits per second) Latency = Propagation delay + Transmission delay + Processing delay For binary signalling, bit rate equals baud rate.
Bit rate = Baud rate × Bits per signal change Even parity: total number of 1s must be even; odd parity: total number of 1s must be odd. Checksum values depend on protocol rules.
Always initialise accumulators (total ← 0, count ← 0) before loops.
Average
average ← total / count Running total
total ← total + nextValue n = number of sorted items.
Maximum comparisons ≈ ⌈log₂(n)⌉ Know Big-O for common algorithms: linear search O(n), binary search O(log n), bubble sort O(n²) average/worst.
Validation checks data reasonableness (range, length); verification ensures data copied accurately (double entry, visual check).
Boost your Cambridge exam confidence with these proven study strategies from our tutoring experts.
Lay out each step for binary ↔ decimal ↔ hexadecimal conversions so examiners can award method marks even with minor errors.
After each calculation, explain what it means for hardware, networking or algorithm efficiency to capture explanation marks.
Use a one-minute drill to add and subtract binary numbers daily so overflow and carry rules become second nature.
Create your own tables for ASCII codes, hex digits and logic gate outputs to reduce memorisation stress on exam day.
Get guided practice on Cambridge-style programming, database design and theory questions. Tutopiya tutors help you combine precise calculations with strong explanations.
Based on Cambridge Assessment International Education IGCSE Computer Science (0478/0984) syllabus for 2025 examination series.
Always reference units (bits, bytes, Hz, seconds) in final answers and convert file sizes before dividing by transmission rates.