levo

Data Representation

Character encoding: ASCII and Unicode

  • 3 things to know
  • Paper 2
Start revising · £5/month

Overview

Character sets and codes, 7-bit ASCII and the order of its codes, working out a letter's code from A = 65, why '5' differs from 5, and why Unicode was needed.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

What is a character set?

Key term

What is a character code?

Numbers

How many bits does ASCII use for each character, and how many characters can it represent?

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    What is a character set?

    Model answer

    A character set is a defined list of characters that a computer can represent. Each character in the set has its own unique binary code.

  2. 2

    What is a character code?

    Model answer

    A character code is the number given to one character in a character set. The computer stores the code in binary.

  3. 3

    How many bits does ASCII use for each character, and how many characters can it represent?

    Model answer

    ASCII uses 7 bits for each character. Seven bits give 128 codes, numbered 0 to 127.

  4. 4

    What characters does ASCII include?

    Model answer

    ASCII covers upper- and lower-case English letters, the digits 0 to 9 and punctuation. ASCII also has control codes such as a new line.

  5. 5

    The ASCII code for A is 65. What is the ASCII code for E?

    Model answer

    The code for E is 69. The capital letters run in sequence, so E is four places after A.

  6. 6

    The ASCII code for a lower-case a is 97. Which character has the code 100?

    Model answer

    The code 100 stands for the lower-case letter d. The lower-case letters run in order from 97 upwards.

Other ways to work this

The same content, four other ways.

Everything in your subscription

Runs, plus a mode for every other kind of session.

1Flash
2Imposter
3Fade
4Brain dump

Learn every subtopic in runs of four questions

Facts flash and fade, a wrong word hides in some of them, and a brain dump decides which questions are locked in.

Algorithms
Programming
Data Representation
Computer Systems

Cram the night before, weakest topic first

A quick scan finds your weakest topics. Recall each fact you missed three times in a row.

The table one extra row.
gainslosescopies

Blank Blitz consolidates the facts

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

✓What it iscovered
~Why it happenspartly there
How long it lastsnot there yet

Explain It tests your understanding

Explain a concept in your own words and see which of its points you covered.

ASC means sorting from smallest to largest, or A to Z.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The faults are the mistakes students make most often.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

Every question in Data Representation, on a schedule.

Learn it in runs of four questions, each ending on a brain dump against the clock. Every question you lock in comes back the next day, then at longer gaps, each time just before you would forget it.

Or £46 a year, about £3.83 a month. Cancel anytime.