AQA · GCSE · Computer Science

    Course version: 8525 · Version from Sept 2020

    Students should be able to use a given character encoding table to:

    Full specification wording

    Character encoding: Students should be able to use a given character encoding table to:

    A character encoding table pairs each character with its binary code.

    Checked against the AQA 8525 specification (opens in a new tab) on .

    • Point 2 of 10

    Study notes

    From the checked teaching notes for this specification point.

    The idea

    A character encoding table pairs each character with its binary code. Learners must use a supplied table rather than memorise it. The skills are: find the code for a given character, find the character for a given code, and encode or decode a short string by looking up each character in turn and joining the codes in order. For example, to encode a word, take each letter, read its binary code from the table and write the codes in sequence; to decode, split the binary into the code length shown in the table and match each group to a character. Always use the exact table provided, keep the code length consistent, and preserve the order of characters, because a different table or wrong grouping produces different text.

    What earns the marks

    • Locates the binary code for a specified character by reading across the supplied table.
    • Identifies the character matching a given binary code by reading the table in reverse.
    • Encodes a short string by looking up each character and writing the codes in the original order.
    • Decodes a binary string by splitting it into the code length used in the table and matching each group.
    • Keeps the code length and character order consistent so the decoded text matches the original.

    Common mistakes and how to put them right

    • Using remembered codes instead of the supplied table.

      Put it right by reading values directly from the given table.

    • Splitting a binary string into the wrong group length.

      Put it right by checking the code width stated in the table before grouping.

    • Reordering characters when joining codes.

      Put it right by encoding each character strictly left to right in the original sequence.

    Exam tips

    • Read the table header to confirm the code length before splitting any binary string.
    • Work character by character and write each code separately to avoid losing your place.
    • Check your answer by decoding it back with the same table to confirm it matches.

    Try the lesson

    The start of the Character encoding: Students should be able to use a given character encoding table to: lesson, made from checked teaching notes for this specification point.

    Have a go first

    A character encoding table gives the code for the letter A as 65, B as 66, C as 67 and D as 68. Using the same pattern, what is the code for the letter F?

    There is more to this lesson

    The full lesson goes on to check your understanding and help you earn the marks. Create a free account to carry on, with your progress saved.

    Carry on with the full lesson

    A week of Premium from your first lesson · Then the free plan continues · No card, no charge

    Test your understanding of Character encoding: Students should be able to use a given character encoding table to:

    Active recall beats re-reading. Take an instant quiz now to test what you’ve learned and lock it into long-term memory.

    Take topic quiz

    A week of Premium from your first lesson · Then the free plan continues · No card, no charge