Hexadecimal digits 0 to 9 and A to F
The 16 hex digits: 0-9, then A=10, B=11, C=12, D=13, E=14, F=15. Each digit stands for one 4-bit value, and F (15) is the largest single hex digit.
Understanding Hexadecimal digits 0 to 9 and A to F in IGCSE Computer Science Paper 1
What it does: This string lists all 16 hex digits in order: ten numbers then six letters. The letters follow on from 9 in order: A=10, B=11, C=12, D=13, so D is worth 13. A=10, so B=11. The letters count up from A=10 to F=15. Hex goes past 9 using letters, and F=15 is the largest single digit. Hex only uses 0-9 and A-F. G is not a hex digit. Hex is base 16: the digits 0-9 plus the six letters A-F make 16 digits. Each hex digit matches one 4-bit value, from 0000 to 1111. A=10, B=11, C=12, D=13, E=14, F=15.
Common mistakes: In hexadecimal C stands for 12, not 13. D is 13. The letters go A=10, B=11, C=12, D=13, E=14, F=15. F is worth 15. Hex has 16 digits but they run from 0 to 15, so no single hex digit is worth 16.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 3–17) and word search (Modules 3–27).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
0123456789ABCDEFFill in the Blanks
Spot the Error
Student with a class code? Join your class →