Number System
Number System
g Data
Number System
From a very early age, we are introduced to the concept of numbers and
counting. Toddlers learn early that they can carry two cookies, one in each
hand. Kindergartners start counting by twos and fives. Invariably, we use
the decimal number system. Our number system is based on 10, most likely
because we have 10 fingers. A number system is simply a manner of
counting. Many different number systems exist.
Consider a clock. Clocks have 24 hours, each composed of 60 minutes. Each
minute is composed of 60 seconds. When we time a race, we count in
seconds and minutes.
Computers, like clocks, have their own numbering system, the binary
number system.
Decimal Number
Computer data looks strange as we use base 10 to represent numbers. The decimal
number system is called “ base 10” because 10 symbols are available: 0,1,2,3,4,5, 6,7,8,
and 9. When you need to represent a number greater than 9, you use two digits.
To build all the two-digit numbers (10-99) in the decimal number system, you use up all
the possible pairings of the system’s 10 symbols. Afterall 90 of the two-digit numbers
are built, then you begin using three-digit numbers (100-999), and so on. This pattern
can continue indefinitely, using only the 10 symbols you started with.
As the numbers start to become longer the concept of place becomes important.
Consider the number 1,325. Four places are represented in this number: the thousands,
hundreds, tens, and ones. Thus, there is a 1 in the thousands place, a 3 in the hundreds
place, a 2 in the tens place, and a 5 in the ones place.
Binary Number
In computer data is represented only two possible states--- on and off. To a computer;
when a switch is off, it represents a 0; when a switch is on, it represents a 1. Because
there are only two values, computers are said to function in base 2, which is also
known as the binary number system.
When a computer needs to represent a quantity greater than one, it does the same
thing you do when you need to represent a quantity greater than 9: it uses two (or
more) digits. With only 2 digits to work with, (here are many fewer two-digit pairings
than in the decimal system. Binary has only two 2-digit pairings. Once these two
pairings are exhausted, four 3-digit pairings are built.
• The trend that all odd numbers in decimal
have a 1 as the last binary digit.
Decimal to Binary Conversion
(𝟏𝟔𝟎)𝟏𝟎
Class
Activity:
Convert
the decimal
into binary
Binary to
Decimal
Conversio
n
Class
Activity:
Binary to
Decimal
Conversion