FractionsCalc • Free Math Worksheets
Binary to Decimal & Decimal to Binary Worksheet
Convert base-2 binary strings to base-10 decimal integers and vice versa. 10 computer science math problems.
Base & Numeral Systems
Medium / Intermediate
High School (Grades 9โ12)
10 Problems
Name:
Date:
Class:
Score:
______ / 10
1)
Convert binary 1012 to decimal:
2)
Convert binary 10102 to decimal:
3)
Convert binary 11112 to decimal:
4)
Convert binary 100002 to decimal:
5)
Convert decimal 7 to binary:
6)
Convert decimal 12 to binary:
7)
Convert decimal 20 to binary:
8)
Convert decimal 255 to 8-bit binary:
9)
Convert binary 11012 to decimal:
10)
Convert decimal 9 to binary:
Answer Key & Solutions
Binary to Decimal & Decimal to Binary Worksheet
#1:
5
(1 ร 4) + (0 ร 2) + (1 ร 1) = 4 + 1 = 5.
#2:
10
(1 ร 8) + (0 ร 4) + (1 ร 2) + (0 ร 1) = 8 + 2 = 10.
#3:
15
8 + 4 + 2 + 1 = 15.
#4:
16
2^4 = 16.
#5:
111
7 = 4 + 2 + 1 = 111 in binary.
#6:
1100
12 = 8 + 4 = 1100 in binary.
#7:
10100
20 = 16 + 4 = 10100 in binary.
#8:
11111111
255 = 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 11111111.
#9:
13
1101โ = (1 ร 8) + (1 ร 4) + (0 ร 2) + (1 ร 1) = 8 + 4 + 0 + 1 = 13.
#10:
1001
9 = 8 + 1 = 1ร2ยณ + 0ร2ยฒ + 0ร2ยน + 1ร2โฐ = 1001โ.
Was this worksheet helpful?
Help us improve our free step-by-step tools