NDA Maths · Binary Numbers
Binary ↔ Decimal Conversion
Base 2 writes every number with just the digits 0 and 1, where each place is worth a power of 2. Converting between binary and decimal is the single skill that unlocks the whole chapter — almost every PYQ starts with it.
Why this matters
This subtopic is the chapter's foundation. The NDA almost never asks you to do clever things IN binary — it asks you to convert, do ordinary decimal arithmetic, and (sometimes) convert back. Three direct PYQs live here, but the conversion skill is used in every other question in the chapter. Get decimal ↔ binary fluent first and the rest becomes easy.
Concept 1 of 3
What Base 2 Means — Place Values Are Powers of 2
Intuition
Definition
A binary number is written using only the bits 0 and 1, in base 2. Reading from the right, the place values are
- The rightmost bit (, worth ) is the least significant bit.
- The leftmost bit is the most significant bit.
- A handy fact: a string of ones, , equals (e.g. ).
Powers of 2 (place values)
Worked example
- From the right the place values are .
- The bits of from the right are .
- Add the place values where the bit is : .
Practice this concept4 quick reps
Practice — Level 1 (4 reps)
Quick reps to lock in the method. Try each, then check.
- 1.What is the place value of the leftmost bit of ?
- 2.How many bits are 1 in , and which is the least significant bit?
- 3.Without converting, what is using the all-ones shortcut?
- 4.Is a valid binary number?
Place values grow leftward, from 2⁰ on the RIGHT
Concept 2 of 3
Converting Binary to Decimal
Intuition
Definition
To convert to decimal, sum the powers of 2 at the positions where the bit is 1:
- Line the bits up under their place values and add the ones that are switched on.
- A symbolic binary like with a stated order such as is still binary: the only digits available are 0 and 1, so and . Substitute and convert as usual.
Binary → decimal
Worked example
- Place values from the right: .
- Bits from the right: — so the 1s sit at the places.
- Add them: ... line them up: .
Practice this conceptself-check · 4 quick reps
Try it yourself
Practice — Level 1 (4 reps)
Quick reps to lock in the method. Try each, then check.
- 1.Convert to decimal.
- 2.Convert to decimal.
- 3.Convert to decimal.
- 4.Convert to decimal.
From the bank · past-year question
[Q40 · Sep · 2019]
A 0 bit contributes nothing — don't add its place value
Concept 3 of 3
Converting Decimal to Binary
Intuition
Definition
Two equivalent methods to convert a decimal number to binary:
- Subtract powers of 2 (greedy): find the largest power of 2 not exceeding the number, put a 1 in that place, subtract it, and repeat with the remainder; every skipped place gets a 0.
- Repeated division by 2: divide the number by 2, record the remainder (0 or 1), divide the quotient by 2 again, and so on until the quotient is 0. Read the remainders from bottom to top — that is the binary number.
Useful checkpoints: a value of the form is ones (so ), and a single power is a 1 followed by zeros.
Repeated division by 2
Worked example
- r ; r ; r ; r ; r ; r .
- Read the remainders from bottom to top: .
- Check by place value: ✓.
Practice this conceptself-check · 4 quick reps
Try it yourself
Practice — Level 1 (4 reps)
Quick reps to lock in the method. Try each, then check.
- 1.Convert to binary.
- 2.Convert to binary.
- 3.Convert to binary.
- 4.Convert to binary.
From the bank · past-year question
[Q17 · Apr · 2018]
Read the division remainders from the BOTTOM up
Summary — formulas & gotchas at a glance
A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.
Formulas (3)
- What Base 2 Means — Place Values Are Powers of 2
Powers of 2 (place values)
- Converting Binary to Decimal
Binary → decimal
- Converting Decimal to Binary
Repeated division by 2
Watch out for (3)
- Place values grow leftward, from 2⁰ on the RIGHT→ What Base 2 Means — Place Values Are Powers of 2
- A 0 bit contributes nothing — don't add its place value→ Converting Binary to Decimal
- Read the division remainders from the BOTTOM up→ Converting Decimal to Binary
Mastery check — 1 interleaved questions
Try each one before clicking. Questions are interleaved across the concepts above, not grouped — interleaving sharpens transfer.
[Q6 · Apr · 2020]
Drill every past-year question on this subtopic
3 questions from the bank — paginated, with cart and Word-export support.