levo

Data Representation

Character encoding: ASCII and Unicode

  • 3 things to know
  • Paper 2

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.

What is inside Levo

Six ways to work the same material.

1Closed book
2Open book
3Closed book

The 3-step method, run for you

Answer cold, learn it, then prove it stuck. Levo tracks the jump between your first attempt and your last.

Algorithms
Programming
Data Representation
Computer Systems

Cram a whole paper in one sitting

Sort every topic into what you know and what you do not, then drill only the weak ones.

The table one extra row.
gainslosescopies

Blank Blitz makes facts automatic

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

AThe algorithm outputs 1.
BThe variable x falls from 5 to 3 to 1.
CThe loop stops because 1 is not greater than 1.

Build It gets the exam shape right

Assemble a full-mark answer from its marking points, in the order an examiner wants them.

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

Test It catches misconceptions

Spot the fault in a statement. The traps are the mistakes students actually make.

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.

Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.

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