levo

Fundamentals of Data Representation

Bits, bytes and units of information

  • 2 things to know
  • Paper 2

Overview

Recall questions on how many values n bits can hold, choosing the smallest workable number of bits, and the binary prefixes against the decimal ones.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Numbers

State the names, symbols and powers of 10 of the four decimal prefixes.

Key term

A drive is advertised as 500 GB but the operating system reports about 465 units. Explain what has happened.

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    What is a bit, and why is it called the fundamental unit of information?

    Model answer

    A bit is a single binary digit, which is either 0 or 1. It is the fundamental unit of information because it is the smallest amount of data that can be stored or transmitted — one choice between two possibilities. Every other quantity of data is built from bits.

  2. 2

    What is a byte?

    Model answer

    A byte is a group of 8 bits. It is the usual unit in which storage is measured and is large enough to hold one character in ASCII, or an unsigned integer from 0 to 255.

  3. 3

    How many different values can be represented with n bits?

    Model answer

    2ⁿ different values. Each extra bit doubles the number of available patterns, because every existing pattern can be extended by either a 0 or a 1.

  4. 4

    List all the patterns that 3 bits can take, and state how many there are.

    Model answer

    There are 2³ = 8 patterns: 000, 001, 010, 011, 100, 101, 110 and 111.

  5. 5

    How many different values can be stored in one byte?

    Model answer

    2⁸ = 256 different values. Interpreted as unsigned binary these run from 0 to 255.

  6. 6

    A system must give a unique code to 1000 different products. What is the smallest number of bits that will do, and why?

    Model answer

    10 bits. Nine bits give 2⁹ = 512 codes, which is too few, while ten bits give 2¹⁰ = 1024 codes, which is enough with 24 spare. You must round up to the next whole bit, because you cannot use a fraction of a bit.

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.

Fundamentals of Programming
Fundamentals of Data Structures
Fundamentals of Algorithms
Theory of Computation

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.

A driver is .
softwarehardwarestorage

Blank Blitz makes facts automatic

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

AThe integer 5 is 0101.
B0.75 is 1/2 + 1/4.
CThe fraction bits are 1100.

Build It gets the exam shape right

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

Head means the first single element of a non-empty list.
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 Fundamentals of 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.