Hands-on Computer Science
My learning DE

Quiz20 min

Quiz: symbols and information

Sixteen questions on symbols, alphabets and agreements, on the bit as a measure of information, on halving questions and on what a larger alphabet buys. Every answer comes with its reason.

Topics:Representing informationTransferring information

Part of the lesson Symbols and information

What is a symbol in the sense of information theory?

  • A small picture, such as an icon on a screen.
  • A written character such as a letter or a digit, that is, something you can write down.
  • An agreed, distinguishable state.
  • A single sensor reading, such as a particular brightness.

Two teams send data with coloured light, and their LED shows four colours they have agreed on. What is the alphabet of their link?

  • The 26 letters from A to Z that the link is meant to carry.
  • The set of the four colours that both teams have agreed on as symbols.
  • The order in which the colours of a message are sent.
  • The mapping of the colours to bit sequences, such as green standing for 01.

A link sends letters as coloured flashes of light. Who decides that a green flash means "A"?

  • The physics of light: each colour has a fixed wavelength, and from that the receiver recognises which character is meant.
  • Sender and receiver together, by an agreement made before the transmission.
  • A standard for light transmission that all devices follow so that they understand each other.
  • The receiver alone, since it is the side that has to turn readings into characters.

What is a bit?

  • A tiny component inside a computer that either passes or blocks current.
  • The amount of storage a computer needs for a single character such as "A".
  • The amount of information in a decision between two equally likely possibilities.
  • The smallest brightness a sensor can still measure.

An alphabet has four colours, all equally likely. How much information does a single received symbol carry, and why?

  • 4 bits, because each of the four colours is a possibility of its own, and each possibility counts as one bit.
  • 2 bits, because two yes/no decisions suffice to determine one of four colours.
  • 1 bit, because the receiver makes one decision per symbol: it has arrived or it has not.
  • It depends on the colour sent, because an easily recognised colour such as red carries more than a hard one such as yellow.

A link switches from 2 to 8 colours and still sends the same number of symbols per second. How does the transfer time of the same file change?

  • It drops to a quarter, because 8 divided by 2 is 4.
  • It drops to a third: each symbol now carries 3 bits instead of 1.
  • It stays the same, since the symbol rate has not changed.
  • It drops to an eighth, one eighth per colour.

More symbols per alphabet means more bits per symbol. Why not simply make the alphabet huge, say 256 colours?

  • Because a lamp can mix only a limited number of distinct colours from its three channels.
  • Because the receiver would need a lookup table for 256 colours whose search per symbol takes too long.
  • Because the receiver must still tell the symbols apart reliably: the more there are, the closer their measurement regions crowd together.
  • Because an alphabet needs only as many symbols as the text has distinct characters; further colours would go unused.

A receiver recognises every colour without error; recognition accuracy is 100 percent. Yet the resulting text is nonsense. What is the most likely cause?

  • The sensor delivers distorted readings, for instance because the gain is set too high.
  • Sender and receiver use different mappings from colours to characters.
  • Ambient light shifts the readings, so the receiver sees the colours but sorts them into the wrong regions.
  • The alphabet has fewer colours than the text has distinct characters, so several characters end up on the same colour.

An alphabet has 16 symbols. At most how many yes/no questions are needed to determine a received symbol with certainty?

  • 4, because halving four times leads from 16 possibilities to one.
  • 8, because each question halves, and half of 16 possibilities is 8.
  • 15, because in the worst case you have to rule out 15 symbols one by one.
  • 2, because every question has two answers, and two times two answers cover 16.

Which statements about bits are true?

  • One bit distinguishes exactly two possibilities.
  • A bit and a byte denote the same amount, just in different contexts.
  • Any information can be represented as a sequence of bits.
  • Bits exist only in computers, because only there are states stored electrically.
  • A message contains more bits if its content is more important.

An alphabet has four colours, so each symbol carries 2 bits. A 12-bit identifier is to be transmitted. How many symbols does that take at least?

  • 12, one symbol per bit.
  • 6, because 12 bits divided by 2 bits per symbol.
  • 3, because 12 divided by 4 colours.
  • 24, each bit twice to be safe.

Why is an alphabet of just two symbols in principle enough for any message, however complicated?

  • It is not enough: text needs at least 26 symbols.
  • Because two symbols lie furthest apart in the signal, so the receiver never confuses them.
  • Because every symbol of a larger alphabet can be replaced by a fixed group of two-way symbols; it only costs length.
  • Because computers work with two states internally anyway, so every message is already in that form before sending.

In terms of symbols and information, what does this dictionary establish?

ALPHABET = {
    "red":    "00",
    "green":  "01",
    "blue":   "10",
    "yellow": "11",
}
  • The four colours a lamp can produce, each with the code the manufacturer assigned to it.
  • The agreement: which symbol carries which group of bits. The receiver needs exactly the same mapping, only in reverse.
  • The order in which the colours are sent: first red, then green, then blue, then yellow.
  • How many symbols are sent per second, because two bits per symbol determine the pace of the transmission.

Sixteen faces, one of them is the secret. Question A is "does it wear glasses?", and eight of the sixteen do. Question B is "is it face number 7?". Which question is worth more on average?

  • Question A: it yields a guaranteed 1 bit, question B only about a third of that on average.
  • Question B: a yes solves the puzzle completely at once, which A can never do.
  • Both the same: they are both yes/no questions, and a yes/no answer is one bit.
  • That depends on luck and cannot be said in advance.

In Morse code the most common letter, "e", is also the shortest: a single dot. Rare letters like "q" are long. Why does that unequal treatment pay off?

  • Because short codes are less error-prone, so the most common letter should be the best protected.
  • Because "e" is the most important letter and important letters should arrive first.
  • Because it makes the average message shorter: what occurs often then costs little.
  • Because an alphabet with codes of different lengths can hold more letters than one with equal lengths.

A link can reliably manage only two symbols, bright and dark. It is still supposed to transmit an alphabet of 32 characters by grouping several flashes. How many flashes does one group need at least?

  • 16, half the number of characters.
  • 5, because two to the fifth is 32.
  • 32, because every character needs one flash.
  • 6, because one extra place is needed to separate the groups.

Download with answers: CSV Anki

Back
More on this
Details
Level
Beginner
Modules
Digitization and Programming
Code
4145
Updated
4 November 2026
Status
published

    A four-digit code takes you straight to the item.