Skip to topic
    ← Back to course topics

    Bits and bytes — AQA A-Level Computer Science

    Bits and bytes represent the fundamental units of binary data storage and processing in computer architecture, where a bit is a single binary digit (0 or 1) and a byte consists of eight bits. Mastery of binary prefixes (IEC) versus decimal prefixes (SI) is essential for precisely calculating memory capacities, data representation sizes, and transmission rates in AQA A-Level Computer Science.

    Bits and bytes explained

    This is a lead-in statement that introduces a list of facts to be recalled.

    Read the full explanation

    It does not describe a single skill by itself; its purpose is to signal that the learner must be able to state each of the bullet-pointed facts that follow it in the specification. For this section, the facts concern the bit as the fundamental unit of information, the byte as a group of eight bits, and the way larger units such as kilobytes, megabytes and gigabytes are built from bytes. Learners should therefore treat the statement as a prompt to memorise and accurately recall the definitions and relationships listed beneath it, rather than as a standalone question topic. Recall is best checked by stating each fact in your own words and then testing yourself on the conversions between units.

    What to demonstrate

    1. States that the bit is the basic unit of digital information, holding a value of 0 or 1.
    2. States that a byte is a group of eight bits.
    3. Recalls that larger storage units are multiples of bytes rather than bits.
    Show all 4 objectives
    1. Explains that each prefix step in common storage units is approximately a factor of 1024 in binary usage.

    Which command word is this?

    Show all working stages clearly, apply the correct mathematical factor (e.g. 1024 vs 1000, and 8 for bits/bytes), and state the final result with appropriate units.

    Bits and bytes exam tips

    Topic Overview

    The concept of bits and bytes forms the bedrock of modern digital computing, defining how information is represented, manipulated, and stored at hardware level. Every data structure, machine instruction, image, and sound file is ultimately resolved into discrete binary states (0s and 1s) constrained by physical memory and register capacities.

    In AQA A-Level Computer Science, understanding these units is vital for analysing word sizes, address buses, and data transmission throughput. Students must be proficient in applying both traditional International Electrotechnical Commission (IEC) binary prefixes and standard decimal SI prefixes across a range of mathematical calculations.

    Key Concepts
    • →Fundamental Units: A bit is a single binary digit (0 or 1); a nibble is 4 bits; a byte is 8 bits.
    • →Word Length: The fixed number of bits (e.g. 32-bit or 64-bit) that a CPU processes as a single unit in registers and buses.
    • →IEC Binary Prefixes: KiB (2^10 = 1,024 B), MiB (2^20 = 1,048,576 B), GiB (2^30 = 1,073,741,824 B), and TiB (2^40 = 1,099,511,627,776 B).
    • →SI Decimal Prefixes: kB (10^3 = 1,000 B), MB (10^6 = 1,000,000 B), GB (10^9 = 1,000,000,000 B), and TB (10^12 = 1,000,000,000,000 B).
    • →Data Representation Sizing: Calculating memory footprints for bitmap images (resolution * bit depth) and uncompressed sound (sample rate * bit depth * duration * channels).
    Marking Points
    • States that the bit is the basic unit of digital information, holding a value of 0 or 1.
    • States that a byte is a group of eight bits.
    • Recalls that larger storage units are multiples of bytes rather than bits.
    • Explains that each prefix step in common storage units is approximately a factor of 1024 in binary usage.
    Examiner Tips
    • 💡Write out the full list of facts that follow the lead-in before revising, so none is missed.
    • 💡Practise stating each definition in one sentence without looking at notes.
    • 💡Rehearse unit conversions with worked numbers, for example 2 KiB equals 2 × 1024 bytes.
    • 💡Always state formulas and write out explicit conversion stages step-by-step; method marks are routinely awarded even if an arithmetic slip occurs.
    • 💡Check units requested in the final line of the question (e.g. 'Give your answer in KiB' requires dividing by 1,024, not 1,000).
    • 💡Keep track of whether a value is expressed in bits (b) or bytes (B) at every intermediate stage of your calculation.
    Common Mistakes
    • Treats the lead-in statement as a complete question topic and revises only the heading rather than the facts beneath it. Revise each listed fact individually.
    • Confuses a bit with a byte, for example stating that a byte holds one binary digit. Correction: a bit holds one binary digit; a byte holds eight.
    • Converts units by multiplying by 1000 when binary storage conventions use 1024. Correction: check whether the context uses binary (1024) or decimal (1000) prefixes.
    • Treating 1 KiB and 1 kB as completely identical values in mathematical calculations.
    • Assuming byte transmission rates and bit transmission rates are interchangeable without multiplying or dividing by 8.
    • Believing word length only affects memory address limits rather than register capacity, ALU operand size, and bus bandwidth.
    Revision Plan
    1. 1Day 1: Memorise the exact definitions and symbols for nibble, byte, word, and the IEC/SI prefix families.
    2. 2Day 2: Practice data representation size calculations for bitmaps, plain text (ASCII/Unicode), and digital audio.
    3. 3Day 3: Complete calculation sets on network download durations and data transfer bandwidth conversions.
    4. 4Day 4: Work through mixed past paper questions from AQA Paper 1 and Paper 2 focusing on binary capacity.
    Exam Question Types
    • 📋File size estimation: Determining storage footprints of uncompressed media assets with specific bit depths and dimensions.
    • 📋Network throughput and download calculations: Computing transfer durations based on file sizes and connection bandwidth.
    • 📋Distinction and explanation questions: Describing the need for IEC binary prefixes versus SI decimal prefixes.
    Command Word Expectations (AQA)
    Calculate

    Show all working stages clearly, apply the correct mathematical factor (e.g. 1024 vs 1000, and 8 for bits/bytes), and state the final result with appropriate units.

    Explain

    Identify a specific technical reason (e.g. why IEC prefixes were created) and develop the explanation with clear logical links detailing real-world consequences.

    State

    Provide a concise, factual answer without supplementary working or justification, such as defining the number of bits in a nibble or word.

    How Students Lose Marks (Examiner Pitfalls)
    Pitfall: Conflating decimal SI prefixes (e.g. kilobyte, megabyte) with binary IEC prefixes (e.g. kibibyte, mebibyte), leading to power-of-10 versus power-of-2 arithmetic errors.
    ❌ Weak Answer (Loses Marks):A kibibyte is roughly 1000 bytes, so you multiply 4 by 1000 to get 4000 bytes.
    Example improved answer:A kibibyte (KiB) is strictly 1,024 bytes (2^10 bytes). Therefore, 4 KiB equals 4 * 1,024 = 4,096 bytes. In contrast, 4 kilobytes (kB) equals 4 * 1,000 = 4,000 bytes (10^3 bytes).
    Examiner Tip: Always check whether the question specifies IEC prefixes (KiB, MiB, GiB) or SI decimal prefixes (kB, MB, GB). Under the AQA specification, IEC units use powers of 2 (1024), whereas SI units use powers of 10 (1000).
    Pitfall: Failing to convert between bits (lowercase 'b') and bytes (uppercase 'B') when calculating transmission times across network links.
    ❌ Weak Answer (Loses Marks):Time = 80 MB / 10 Mbps = 8 seconds.
    Example improved answer:Convert file size to bits or bandwidth to bytes first: 80 MB = 80 * 8 = 640 Mb (or 80 * 10^6 * 8 bits). Time = 640 Mb / 10 Mbps = 64 seconds.
    Examiner Tip: Carefully examine the casing of unit symbols in calculation questions: 'b' denotes bits, whereas 'B' denotes bytes. Network speeds are almost universally quoted in bits per second (bps).
    Step-by-Step Worked Solutions

    Question: A digital camera captures an uncompressed bitmap image with a resolution of 1920 x 1080 pixels at a colour depth of 24 bits per pixel. Calculate the file size of the image in mebibytes (MiB). Give your answer to two decimal places.

    1. 1.Step 1: Calculate total number of pixels in the image: 1920 * 1080 = 2,073,600 pixels.
    2. 2.Step 2: Multiply the pixel count by the colour depth to determine total bits: 2,073,600 * 24 = 49,766,400 bits.
    3. 3.Step 3: Convert bits to bytes by dividing by 8: 49,766,400 / 8 = 6,220,800 bytes.
    4. 4.Step 4: Convert bytes to mebibytes (MiB) by dividing by 1,024^2 (1,048,576): 6,220,800 / 1,048,576 = 5.932617... MiB.
    5. 5.Step 5: Round the final value to two decimal places: 5.93 MiB.
    Final Answer: 5.93 MiB

    Question: A user downloads a software patch of size 420 MiB over a broadband connection with an average download speed of 56 Mbps. Calculate the theoretical minimum time in seconds required to download the patch. Give your answer to one decimal place.

    1. 1.Step 1: Convert file size from MiB to bits. 420 MiB = 420 * 1,024 * 1,024 bytes = 440,401,920 bytes.
    2. 2.Step 2: Multiply bytes by 8 to obtain total bits: 440,401,920 * 8 = 3,523,215,360 bits.
    3. 3.Step 3: Convert download speed to bits per second: 56 Mbps = 56 * 10^6 = 56,000,000 bits per second.
    4. 4.Step 4: Calculate download duration by dividing total bits by transmission rate: 3,523,215,360 / 56,000,000 = 62.91456... seconds.
    5. 5.Step 5: Round to one decimal place: 62.9 seconds.
    Final Answer: 62.9 seconds
    Active Recall Memory Test
    How many bits are in a byte, and how many are in a nibble?
    Key Fact: There are 8 bits in a byte and 4 bits in a nibble.
    What is the exact multiplier difference between a kibibyte (KiB) and a kilobyte (kB)?
    Key Fact: A kibibyte is 1,024 bytes (2^10), whereas a kilobyte is 1,000 bytes (10^3).
    What does CPU word length determine?
    Key Fact: Word length defines the number of bits a processor can transfer, manipulate, and address simultaneously in a single operation.
    How do you convert a data rate given in Megabits per second (Mbps) to Megabytes per second (MB/s)?
    Key Fact: Divide the value in Mbps by 8, because 1 byte equals 8 bits.
    Frequently Asked Questions
    Why did computer scientists introduce IEC prefixes like kibibyte and mebibyte?
    Historically, the computer industry used 'kilo-' and 'mega-' to refer to powers of 2 (1,024 and 1,048,576 bytes) because binary architectures naturally scale in powers of two. However, the International System of Units (SI) strictly defines 'kilo-' as 10^3 (1,000). To eliminate ambiguities and prevent consumer misinterpretation—particularly in storage capacities—the IEC formally standardised binary prefixes (kibi-, mebi-, gibi-) in 1998 to explicitly represent powers of 2.
    Why does a 1 TB hard drive show as roughly 931 GB in my operating system?
    Storage manufacturers measure drive capacities using decimal SI units, so a 1 TB drive provides 1,000,000,000,000 bytes (10^12). Operating systems such as Microsoft Windows calculate storage using binary prefixes based on powers of 2, but incorrectly label them with SI symbols. Dividing 1,000,000,000,000 bytes by 1,024^3 converts the figure to approximately 931.32 GiB, which the operating system displays as '931 GB'.
    Does AQA penalise using 1000 instead of 1024 if a question mentions kilobytes?
    Yes, mark schemes adhere to precise technical definitions. If an exam question explicitly refers to kibibytes (KiB), you must use 1,024 (2^10). If it states kilobytes (kB), you should use 1,000 (10^3) unless the question indicates otherwise. Mixing these up or failing to adopt standard IEC terminology when asked will forfeit calculation accuracy marks.
    What is the difference between word length and bus width?
    Word length refers to the natural data size that the CPU's registers and Arithmetic Logic Unit (ALU) handle in a single operation (e.g. 64 bits). Bus width refers to the physical number of parallel conductive tracks available on the data bus or address bus. While a system's data bus width often matches the CPU word length to optimize throughput, they are distinct hardware specifications.
    How do I avoid losing marks on unit conversions in transmission rate questions?
    Always break the calculation into explicit, linear steps: first convert the file size entirely into raw bits, then convert the transmission rate into raw bits per second (e.g. 10 Mbps = 10,000,000 bps). Dividing the total bits by the bits-per-second ensures units are completely aligned and avoids the common error of mixing up bits and bytes.