Number systems: formulas
Class 7 Computer Science, CBSE and ICSE. 5 formulas, each with what it means.
Binary place values: 1, 2, 4, 8, 16, 32, 64, 128
Each place doubles.
Decimal → binary: divide by 2, read remainders bottom to top
13 → 1101.
Binary → decimal: add the place values of the 1s
1011 = 8 + 2 + 1 = 11.
Octal: base 8 (digits 0–7); hexadecimal: base 16 (0–9, A–F)
A = 10 … F = 15.
One hex digit = 4 bits
FF = 1111 1111 = 255.