Practice Flashcards
Flip to reveal answersHow do you convert a binary number to decimal?
Track your progress — Sign up free to save your progress and get smart review reminders based on spaced repetition.
All 5 Flashcards — Binary and hex
Sign up free to track progress and get spaced-repetition review schedules.
Question
How do you convert a binary number to decimal?
Answer
Write the column values above it — 128 64 32 16 8 4 2 1 — and add the columns that have a 1 under them. 10110101 = 128 + 32 + 16 + 4 + 1 = 181.
Question
How do you convert a decimal number to binary?
Answer
Take the biggest column value that fits, subtract it, and repeat with what is left. 181: 128 fits (53 left), 32 fits (21), 16 fits (5), 4 fits (1), 1 fits (0) — so 10110101. Add the columns back to check.
Question
Why does one hex digit equal exactly four bits?
Answer
Four bits can hold the values 0 to 15, which is exactly the range of a single hex digit (0 to F). So any four bits swap cleanly for one character.
Question
How do you convert binary to hexadecimal?
Answer
Group the bits in fours starting from the right, padding the leftmost group with zeros, then turn each group into its digit. 101101 is 0010 1101, which is 2D.
Question
What are the hex digits above 9?
Answer
A = 10, B = 11, C = 12, D = 13, E = 14, F = 15. To convert two hex digits to decimal, multiply the left by 16 and add the right: B5 = 11 × 16 + 5 = 181.
Read the notes
Full study notes for Binary and hex
Topic 1.2 hub
Data representation and logic
More from Topic 1.2
All flashcards in this topic
Computer Science exam skills
Paper structures & tips
Track your progress with spaced repetition
Sign up free — Aimnova tells you exactly which cards to review and when, so you remember everything before your IB exam.
Start Free