Hexadecimal representation
Expressing numbers using base-16 positional notation with digits 0-9 and letters A-F. Hexadecimal provides compact notation for binary values—one hex digit represents four bits. Widely used for memory addresses, color codes, and debugging. Conversion between hex and binary is trivial.
Real World
Web designers use hex colour codes like #FF5733 to specify exact colours in CSS — Instagram's gradient logo is defined using hex values that each map directly to 4-bit binary groups.
Exam Focus
Group binary digits into nibbles (4 bits) from the right before converting to hex; pad with leading zeros if the group is incomplete.
How well did you know this?