Page 11 - TP_Prime_V2.2_Class7
P. 11
Any digit in this system is always less than 8. Octal number system is used as a shorthand
representation of long binary numbers. The number (841) is not valid in this number system
8
as 8 is not a valid digit.
The place value of the digits is determined by their position and weight as follows:
Position 2 1 0 –1 –2
•
Weights 8 2 8 1 8 0 8 –1 8 –2
Hexadecimal Number System
The hexadecimal number system consists of 16 digits from 0 to 9 and A to F. The letters A NUMBER SYSTEM
to F represent decimal numbers from 10 to 15. The base of this number system is 16. Each
digit position in hexadecimal number system represents a power of 16. The number (764)
16
is valid hexadecimal number. It is different from (764) which is seven hundred and sixty
10
four.
The place value of the digits is determined by their position and weight as follows: 9
Position 2 1 0 –1 –2
•
Weights 16 2 16 1 16 0 16 –1 16 –2
The hexadecimal number system provides a shortcut method to represent long binary
numbers. These numbers are often used to show colors on websites, which is why
programmers like to use them. Here are some examples of color codes:
Red: #FF0000
Green: #00FF00
Blue: #0000FF
Number System Conversion
A number of any number system can be converted into other like decimal number can be
converted into binary number and vice-versa.
Decimal to Binary Conversion
To convert a decimal number into a binary number, follow these steps:
Step 1: Divide the decimal number by 2 (the base of the binary number system).
Step 2: Note down the quotient and the remainder.
Step 3: Divide the quotient obtained again by 2 and note down the resulting quotient and
remainder.
Step 4: Repeat the procedure till you reach a quotient less than 2.

