Skip to topic
    ← Back to course topics

    Fundamentals of data representation — AQA GCSE Computer Science

    Test yourself on Fundamentals of data representation with AQA GCSE practice questions.

    Start free

    7 days Premium · Then free forever · No card, no charge

    Fundamentals of data representation explained

    This topic covers the fundamental number systems used in computing, specifically decimal, binary, and hexadecimal.

    Read the full explanation

    Students must understand how computers use binary to represent all data and instructions, and be able to perform conversions between these three number bases.

    What to demonstrate

    1. Ability to represent decimal values between 0 and 255 in binary
    2. Ability to represent decimal values between 0 and 255 in hexadecimal
    3. Accurate conversion between binary and decimal
    Show all 6 objectives
    1. Accurate conversion between binary and hexadecimal
    2. Accurate conversion between decimal and hexadecimal
    3. Recognition of equivalent maximum values: decimal 255, binary 1111 1111, hexadecimal FF

    Fundamentals of data representation exam tips

    Topic Overview

    Fundamentals of data representation is the cornerstone of how computers store, process, and communicate information. This topic explores the binary number system (base-2) and how it underpins all digital data, from text and images to sound and video. You'll learn how data is converted between different number bases (binary, denary, hexadecimal), how characters are encoded using ASCII and Unicode, and how images and sound are digitised through sampling and colour depth. Understanding these principles is essential because every piece of data you interact with on a computer—from a simple text file to a high-definition video—relies on these fundamental representation techniques.

    In the AQA GCSE Computer Science specification, this topic appears in both Paper 1 and Paper 2, making it a high-priority area. You'll be expected to perform binary arithmetic (addition, shifts), convert between bases, calculate file sizes, and explain the trade-offs involved in data representation (e.g., resolution vs. file size, sample rate vs. quality). Mastering this topic not only helps you answer direct calculation questions but also builds a deeper understanding of how computers work at a hardware level, which is crucial for topics like logic gates, data storage, and networking.

    Beyond exams, data representation is fundamental to modern technology. Every time you stream a video, send a text, or take a photo, the device is converting real-world information into binary data. This topic gives you the tools to understand how that conversion happens, the limitations involved (e.g., lossy vs. lossless compression), and why file formats like JPEG, MP3, and PNG exist. It's a topic that connects directly to real-world applications, making it both practical and fascinating.

    Key Concepts
    • →Binary and denary conversion: Understand how to convert positive integers between binary (base-2) and denary (base-10), including the use of place values (128, 64, 32, etc.).
    • →Hexadecimal: Know how to convert between hexadecimal (base-16) and binary/denary, and why hex is used as a shorthand for binary (e.g., memory addresses, colour codes).
    • →Character encoding: Learn how ASCII (7-bit, 128 characters) and Unicode (variable-length, supporting many languages) represent text, and the limitations of ASCII.
    • →Bitmap images: Understand how images are stored as a grid of pixels, each with a binary colour code (colour depth), and how resolution (pixels per inch) and colour depth affect file size.
    • →Sound sampling: Know that sound is captured by measuring amplitude at regular intervals (sample rate, Hz) and storing each measurement as a binary number (bit depth). Understand the trade-off between quality and file size.
    Marking Points
    • Ability to represent decimal values between 0 and 255 in binary
    • Ability to represent decimal values between 0 and 255 in hexadecimal
    • Accurate conversion between binary and decimal
    • Accurate conversion between binary and hexadecimal
    • Accurate conversion between decimal and hexadecimal
    • Recognition of equivalent maximum values: decimal 255, binary 1111 1111, hexadecimal FF
    Examiner Tips
    • 💡Practice converting between binary and hexadecimal by grouping bits into sets of four
    • 💡Remember that hexadecimal is used as a shorthand for binary to make it easier for humans to read and debug
    • 💡Always double-check your conversions by converting back to the original base
    • 💡Show your working: In binary conversion and arithmetic questions, always write down the place values (128, 64, 32, ...) and show each step. Even if your final answer is wrong, you can get method marks.
    • 💡Know your formulas: For file size calculations, memorise: Image file size = width × height × colour depth (bits). Sound file size = sample rate × bit depth × duration × number of channels. Be careful with units (bits vs bytes).
    • 💡Explain trade-offs: When asked about representation choices (e.g., higher sample rate), always mention both the advantage (better quality) and disadvantage (larger file size). This shows deeper understanding and gains full marks.
    Common Mistakes
    • Incorrectly grouping binary bits when converting to hexadecimal
    • Confusing the base of the number system during conversion calculations
    • Failing to account for the full 8-bit representation when converting small decimal numbers to binary
    • Misconception: Binary numbers are read from left to right like denary. Correction: In binary, the rightmost bit is the least significant (value 1), and each bit to the left doubles in value. Always start from the right when converting.
    • Misconception: Hexadecimal is just a different way to write numbers, not used in computing. Correction: Hex is widely used in computing for memory addresses, colour codes (e.g., #FF0000 for red), and MAC addresses because it's more compact than binary.
    • Misconception: More bits always means better quality. Correction: While more bits (higher colour depth or bit depth) can improve quality, it also increases file size. There is always a trade-off, and sometimes the increase in quality is not noticeable to the human eye or ear.
    Frequently Asked Questions
    Why do computers use binary instead of denary?
    Computers use binary because they are built from transistors that can only be in two states: on (1) or off (0). This makes binary a natural fit for electronic circuits. Binary is also simple and reliable—there's less chance of error when distinguishing between two states compared to ten. While denary would be possible, it would require more complex hardware that can handle ten different voltage levels, which is harder to manufacture and less reliable.
    How do you convert hexadecimal to binary quickly?
    Each hexadecimal digit corresponds to exactly 4 binary bits (a nibble). To convert hex to binary, simply replace each hex digit with its 4-bit binary equivalent. For example, hex 'A' is 1010, '3' is 0011, so A3 in hex becomes 10100011 in binary. Memorise the binary patterns for digits 0-9 and A-F (A=1010, B=1011, C=1100, D=1101, E=1110, F=1111). This method is much faster than converting to denary first.
    What is the difference between ASCII and Unicode?
    ASCII (American Standard Code for Information Interchange) uses 7 bits to represent 128 characters, including English letters, digits, and punctuation. It cannot represent characters from other languages (e.g., Chinese, Arabic) or special symbols. Unicode is a more modern standard that can represent over 143,000 characters from virtually all writing systems. It uses variable-length encoding (e.g., UTF-8 uses 1-4 bytes per character) and is backward-compatible with ASCII. Unicode is essential for global communication and modern software.
    How do you calculate the file size of a bitmap image?
    The file size of an uncompressed bitmap image is calculated as: width (in pixels) × height (in pixels) × colour depth (in bits). For example, a 1920×1080 image with 24-bit colour (true colour) would be 1920 × 1080 × 24 = 49,766,400 bits. Divide by 8 to get bytes (6,220,800 bytes ≈ 5.93 MB). Remember that this is for uncompressed images; actual file formats like JPEG use compression to reduce size.
    What is the Nyquist theorem and why is it important for sound?
    The Nyquist theorem states that to accurately capture a sound wave, the sample rate must be at least twice the highest frequency present in the sound. For example, human hearing ranges up to about 20 kHz, so CD-quality audio uses a sample rate of 44.1 kHz (just over double 20 kHz). If the sample rate is too low, aliasing occurs—high frequencies are misrepresented as lower frequencies, causing distortion. This theorem is crucial for designing audio systems to avoid quality loss.
    How do you add two binary numbers together?
    Binary addition works like denary addition but with a base of 2. Align the numbers to the right, then add each column from right to left. Rules: 0+0=0, 0+1=1, 1+0=1, 1+1=0 carry 1, 1+1+1=1 carry 1. For example, adding 1011 (11) and 1101 (13): start from the rightmost column: 1+1=0 carry 1; next column: 1+0+carry1=0 carry1; next: 0+1+carry1=0 carry1; leftmost: 1+1+carry1=1 carry1. Result: 11000 (24). Always check by converting to denary.