AQA A-Level Computer Science 7517
Fundamentals of Programming
Fundamentals of Data Structures
Fundamentals of Algorithms
Theory of Computation
Fundamentals of Data Representation
Fundamentals of Computer Systems
Fundamentals of Computer Organisation and Architecture
Fundamentals of Communication and Networking
Consequences of Uses of Computing
Systematic Approach to Problem Solving
Fundamentals of Databases
Big Data
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.
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
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
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
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
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
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
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.
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.