Number System
Number System
Number System
Computers use binary digits. And some puzzles can be solved using binary numbers. A Binary Number is made up of only 0s and 1s.
110100
Example of a Binary Number There is no 2,3,4,5,6,7,8 or 9 in Binary!
Decimal
Well how do we count in Decimal?
0 ... 9 10
Start at 0 Count 1,2,3,4,5,6,7,8, and then... This is the last digit in Decimal So we start back at 0 again, but add 1 on the left
Binary 0
Start at 0 Then 1 Now start back at 0 again, but add 1 on the left
1 10
11 ???
Decimal
What happens in Decimal ... ?
99 100
When we run out of digits, we ... ... start back at 0 again, but add 1 on the left
Binary 0
Start at 0 Then 1 Start back at 0 again, but add 1 on the left
start back at 0 again, and add one to the number on the left... ... but that number is already at 1 so it also goes back to 0 ... ... and 1 is added to the next position on the left
Start back at 0 again (for all 3 digits), add 1 on the left And so on!
Decimal vs Binary
Here are some equivalent values:
Decimal: Binary:
0 0
10
11
12
13
14
15
1 10 11 100 101 110 111 1000 1001 1010 1011 1100 1101 1110 1111
Decimal: Binary:
20 10100
25 11001
30 11110
40 101000
50 110010
100 1100100
200 11001000
500 111110100
This is 18 + 14 + 02 + 1
10.1
The number to the left of the point is a whole number (10 for example) As we move further left, every number place gets 2 times bigger.
As we move further right, every number place gets 2 times smaller (half as big).
Example: 10.1
The "10" means 2 in decimal, The ".1" means half, So "10.1" in binary is 2.5 in decimal
Words
The word binary comes from "Bi-" meaning two. We see "bi-" in words such as "bicycle" (two wheels) or "binocular" (two eyes). When you say a binary number, pronounce each digit (example, the binary number "101" is spoken as "one zero one", or sometimes "one-oh-one"). This way people don't get confused with the decimal number. A single binary digit (like "0" or "1") is called a "bit". For example 11010 is five bits long. The word bit is made up from the words "binary digit"
To show that a number is a binary number, follow it with a little 2 like this: 1012 This way people won't think it is the decimal number "101" (one hundred and one).
Examples
Example: What is 11112 in Decimal?
The "1" on the left is in the "222" position, so that means 1222 (=8) The next "1" is in the "22" position, so that means 122 (=4) The next "1" is in the "2" position, so that means 12 (=2) The last "1" is in the units position, so that means 1 Answer: 1111 = 8+4+2+1 = 15 in Decimal
"There are 10 kinds of people in the world, those who understand binary numbers, and those who don't."
Question 1
Convert the decimal number 76 to binary.
A
1010100
B
1001100
C
1001010
D
1001000
Answer to Question 2
Convert the decimal number 193 to binary.
A
10100001
B
11000000
C
11000001
D
11000010
Answer to Question 3
Convert the decimal number 18.25 to binary.
A
10010.01
B
10010.011
C
10010.1
D
10010.11
Decimals
A Decimal Number (based on the number 10) contains a Decimal Point.
Place Value
To understand decimal numbers you must first know about Place Value. When we write numbers, the position (or "place") of each number is important. In the number
327:
the "7" is in the Units position, meaning just 7 (or 7 "1"s), the "2" is in the Tens position meaning 2 tens (or twenty), and the "3" is in the Hundreds position, meaning 3 hundreds.
10 times bigger!
10 times smaller.
But what if we continue past Units? What is 10 times smaller than Units?
But we must first write a decimal point, so we know exactly where the Units position is:
"three hundred twenty seven and four tenths" but we usually just say "three hundred twenty seven point four"
View Larger
Decimal Point
The decimal point is the most important part of a Decimal Number. It is exactly to the right of the Units position. Without it, we would be lost ... and not know what each position meant. Now we can continue with smaller and smaller values, from tenths, to hundredths, and so on, like in this example:
17.591
The number to the left of the decimal point is a whole number (17 for example) As we move further left, every number place gets 10 times bigger.
As we move further right, every number place gets 10 times smaller (one tenth as big).
Definition of Decimal
The word "Decimal" really means "based on 10" (From Latin decima: a tenth part). We sometimes say "decimal" when we mean anything to do with our numbering system, but a "Decimal Number" usually means there is a Decimal Point.
23
Hexadecimals
A Hexadecimal Number is based on the number 16
16 Different Values
There are 16 Hexadecimal digits. They are the same as the decimal digits up to 9, but then there are the letters A, B, C, D, E and F in place of the decimal numbers 10 to 15: Hexadecimal: Decimal: 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 A B C D E F
10 11 12 13 14 15
So a single Hexadecimal digit can show 16 different values instead of the normal 10.
Counting
Choose "Hexadecimal" below and watch it count:
When the "Units" position is filled up (when we reach "F"), the units start back at 0, and we add "1" to the next position on the left. When that position reaches "F", we do the same thing, and so on. As we move left, every number place is 16 times bigger.
The Point
Example: 2E6.A3
This is 21616 + 1416 + 6 + 10/16 + 3/(1616) Read below to find out why Numbers can be placed to the left or right of the point, to indicate values greater than one or less than one: The number just to the left of the point is a whole number, we call this place units. As we move left, every number place its 16 times bigger. The first digit on the right of the point means sixteenths (1/16). As we move further right, every number place its 16 times smaller (one sixteenth as big).
More Examples
Example 1: What is 2E6 (Hexadecimal)?
The "2" is in the "1616" position, so that means 21616 The "E" is in the "16" position, so that means 1416 The "6" is in the "Units" position so that means 6. Answer: 2E6 = 21616 + 1416 + 6 (=742 in Decimal)
Question 1
Numbers (Year 8, General)
A
47
B
51
C
5B
D
129
Question 2
Convert the decimal number 30 to a hexadecimal number
A
1E
B
1G
C
28
D
48
Question 3
Numbers (Year 8, General)
A
665
B
18F
C
12F
D
12B