Number Systems and Data Units
Aligned to the OCR J277 specification
- Topic
- Memory and storage
- Level
- Intermediate
- Reading time
- 7 min
- Published
- 12 June 2026
- Updated
- 1 July 2026
On this page
Key takeaways
- Computers use binary (base 2) because transistors have two stable states: on (1) and off (0). Bit place values double from right to left: 1, 2, 4, 8, 16, 32, 64, 128.
- Each hexadecimal digit represents exactly 4 binary bits (one nibble), making hex a convenient shorthand for binary. Hex uses digits 0-9 and letters A-F, where A=10 and F=15.
- A left binary shift multiplies a value by 2 per position; a right binary shift divides by 2 per position. Bits shifted off the end are lost.
- Overflow occurs when the result of an addition exceeds the maximum value storable in the available bits - with 8 bits the maximum is 255, so any result above that causes an overflow error.
- Image file size in bits = colour depth x height (px) x width (px); sound file size in bits = sample rate x duration (s) x bit depth.
Want more lessons like this one?
Generate lessons on anything you study. Free account, no card needed.
Key terms
- Bit
- The smallest unit of data, representing a single binary digit: 0 or 1.
- Nibble
- A group of 4 bits, equal to half a byte. One nibble corresponds to exactly one hexadecimal digit.
- Byte
- A group of 8 bits. The smallest addressable unit of data in most computer systems.
- Binary (base 2)
- A number system using only the digits 0 and 1, where each bit position has a place value that doubles from right to left.
- Denary (base 10)
- The standard decimal number system using digits 0-9, where each position is a power of 10.
- Hexadecimal (base 16)
- A number system using digits 0-9 and letters A-F (A=10 to F=15). Each hex digit represents exactly 4 binary bits.
- Most significant bit (MSB)
- The leftmost bit of a binary number, which has the highest place value.
- Least significant bit (LSB)
- The rightmost bit of a binary number, which has the lowest place value (always 1).
- Overflow
- An error that occurs when the result of a binary addition exceeds the maximum value storable in the available number of bits, producing a wrong result.
- Binary shift
- Moving all bits in a binary number left or right by a number of positions. Each left shift multiplies by 2; each right shift divides by 2.
- Colour depth
- The number of bits used to represent the colour of each pixel in an image. More bits means more possible colours.
- Sample rate
- The number of audio samples taken per second when recording sound, measured in Hz. Higher sample rates produce better quality but larger file sizes.
Frequently asked questions
Write the place values 128, 64, 32, 16, 8, 4, 2, 1 above each bit from left to right. Add together the place values where the bit is 1. For example, 10110101 gives 128+32+16+4+1 = 181.
Overflow happens when the result of a binary addition is too large to be stored in the available number of bits. With 8 bits the maximum is 255; if the result exceeds 255 a carry bit beyond the 8th bit is generated and lost, producing a wrong stored result.
Split the binary number into groups of 4 bits from the right, then convert each group to its hex digit. For example 10110101 splits into 1011 (= 11 = B) and 0101 (= 5), giving B5. To go from hex to binary, expand each hex digit into 4 bits.
Generate revision on any topic you study
Type any topic you're studying and Aicademy generates a complete lesson, quiz, and flashcard set, personalised to your level.
Lessons on anything
Structured, level-matched lessons on any topic you study
Practice quizzes
Find out what you actually know before the exam does
Flashcard sets
Lock in key concepts with instant revision cards
Ask Aica
Stuck on something? Get a clear explanation, any time
Primary and Secondary Storage
Data Representation
Related lessons
7 min
9 min
6 min
7 min