Q4 Lesson 1 Number System
Q4 Lesson 1 Number System
Q4 Lesson 1 Number System
Binary
Binary is a base-2 number system, which means it has two digits (0 and 1) that represent different
values.
Each digit in a binary number is called a bit.
The place values in binary are powers of 2: 1, 2, 4, 8, 16, etc.
Examples of binary numbers: 1011 (eleven), 111010 (fifty-eight).
Decimal
Decimal is a base-10 number system, which means it has ten digits (0-9) that represent different
values.
Each digit in a decimal number is called a digit.
The place values in decimal are powers of 10: 1, 10, 100, 1000, etc.
Examples of decimal numbers: 123, 4567.
Converting Binary to Decimal
To convert a binary number to decimal, multiply each bit by its corresponding power of 2 and add
the results.
Example #1: Convert 1011 into decimal.
1 x 2^3 = 8
1 x 2^2 = 4
0 x 2^1 = 0
1 x 2^0 = 1
8+4+0+1 = 13
1 x 2^4 = 16
1 x 2^3 = 8
1 x 2^2 = 4
0 x 2^1 = 0
0 x 2^0 = 0
16+8+4+0+0 = 28
1 x 2^6 = 64
0 x 2^5 = 0
1 x 2^4 = 16
0 x 2^3 = 0
1 x 2^2 = 4
0 x 2^1 = 0
1 x 2^0 = 1
64+0+16+0+4+0+1 = 85