levo

Data Types, Characters and Floating Point

Unicode and multilingual encoding

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

Overview

The problem of one encoding for every writing system, how Unicode keeps the first 128 code points identical to ASCII, and what a code point is.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Numbers

How many code points does Unicode define, and what is a code point?

Key term

What problem does Unicode solve?

Key term

How does Unicode relate to ASCII?

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    What problem does Unicode solve?

    Model answer

    Unicode provides a single code for every character in every major writing system. Text can then be exchanged worldwide without choosing a local character set.

  2. 2

    How does Unicode relate to ASCII?

    Model answer

    The first 128 Unicode code points match the ASCII codes exactly. Plain ASCII text is therefore already valid Unicode.

  3. 3

    Roughly how many characters can Unicode represent?

    Model answer

    Unicode defines code points from 0 to just over 1.1 million. Around 160,000 of those code points are currently assigned to characters.

  4. 4

    What is a code point?

    Model answer

    A code point is the number Unicode assigns to a particular character. Capital A is code point U+0041, written in hexadecimal.

  5. 5

    Describe UTF-8.

    Model answer

    UTF-8 is a variable-length encoding using one to four bytes per character. Characters in the ASCII range still take a single byte.

  6. 6

    Describe UTF-16.

    Model answer

    UTF-16 encodes most characters in two bytes and the remainder in four. Common English characters therefore cost more than they do in UTF-8.

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.

Data Structures: Arrays, Records and Hash Tables
Stacks, Queues, Linked Lists and Trees
Boolean Logic and Simplification
Algorithms, Pseudo-Code and Programming Constructs

Cram the night before, weakest topic first

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

KDW to HAT.
decryptsencryptscompresses

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.

Backup means the copy of the data.
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 Types, Characters and Floating Point, 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.