Number System1
Number System1
System
A number system is a system representing
numbers. It is also called the system of
numeration and it defines a set of values to
represent a quantity. These numbers are
used as digits and the most common ones
are 0 and 1, that are used to represent binary
numbers.
Types of Number System
1000 + 400 + 50 + 7
1457
How to Convert Decimal to Binary?
To convert numbers from decimal to binary, the given decimal number is divided
repeatedly by 2 and the remainders are noted down till we get 0 as the final
quotient. The following steps is considered as the decimal to binary formula that
shows the procedure of conversion.
Step 1: Divide the given decimal number by 2 and note down the remainder.
Step 2: Now, divide the obtained quotient by 2, and note the remainder again.
Step 3: Repeat the above steps until you get 0 as the quotient.
Step 4: Now, write the remainders in such a way that the last remainder is
written first, followed by the rest in the reverse order.
Step 5: This can also be understood in another way which states that the Least
Significant Bit (LSB) of the binary number is at the top and the Most Significant Bit
(MSB) is at the bottom. This number is the binary value of the given decimal
number.
Binary Number System (Base 2 Number
System) Decimal to
The base 2 number system is also known as the Binary
Binary number system wherein, only two binary
digits exist, i.e., 0 and 1. Specifically, the usual
base-2 is a radix of 2. The figures described under
this system are known as binary numbers which
are the combination of 0 and 1. For example, Solution:
110101 is a binary number. Base 2 Number System Example
Example
∴ (14)10 = 11102
Example 2:
Solution:
(1001001100)2
= 1 x 29 + 0 x 2 8 + 0 x 27 + 1 x 26 + 0 x 25 + 0 x 24 + 1
x 23 + 1 x 2 2 + 0 x 2 1 + 0 x 2 0
= 512 + 64 + 8 + 4
= (588)10
Decimal to Binary Table
The positional notation method is one in which the value of a digit in a number
is determined by a weight based on its position. This is achieved by multiplying
each digit by the base(2) raised to the respective power depending upon the
position of that digit in the number. The summation of all these values
obtained for each digit gives the equivalent value of the given binary number
in the decimal system.
Solution:
= 64 + 0 + 16 + 0 + 4 + 0 + 1
= 64 + 21
Solution:
= 0 + 8 + 4 + 0 +1
418 = (4 * 81) + (1 * 80) Now convert this decimal number into its equivalent binary
number. Let us draw a table to show the conversion of
=4*8+1*1 decimal to binary as given below.
Decimal Number divided by 2 Quotient Remainder
= 32+1 33 divided by 2
16 1
= 33(Decimal number) 16 divided by 2
8 0
8 divided by 2 4
0
4 divided by 2 2
0
2 divided by 2 1
0
1 divided by 2 0
1
Q.2: Convert 108 to a binary number.
Example 1: (10001110)2
1000 1110
8421 8421
8000 8420
8 14
8 E
Hexa To Binary Examples
= (A × 256) + (2 × 16) + (B × 1)
= (10 ×256) + 32 + 11
= 2560 + 43
= 2603(Decimal number)
Now we have to convert 260310 to binary
E16 = E × 160
=E×1
=E
=14 (Decimal number)
Solution:
2158 = 2 × 82 + 1 × 81 + 5 × 80
= 2 × 64 + 1 × 8 + 5 × 1
= 128 + 8 + 5
= 14110
Hexadecimal Number System (Base 16 Number System)
In the hexadecimal system, numbers are written or represented with base 16. In
the hex system, the numbers are first represented just like in decimal system, i.e.
from 0 to 9. Then, the numbers are represented using the alphabets from A to F.
The below-given table shows the representation of numbers in the hexadecimal
number system.
Hexadecimal 0 1 2 3 4 5 6 7 8
9 A B C D E F
Decimal 0 1 2 3 4 5 6 7 8
9 10 11 12 13 14 15
Number System Examples
Example 1:
Solution:
(1056)16
= 4096 + 0 + 80 + 6
= (4182)10
Now we will convert this decimal number to
the required octal number by repetitively
dividing by 8.
8 4182 Remainder
8 522 6
8 65 2
8 8 1 Therefore, taking the value of
8 1 0 remainder from bottom to top, we get;
0 1
(4182)10 = (10126)8
Therefore,
(1056)16 = (10126)8
Example 3:
Solution:
Given,
010 101
010 → 2
101 → 5
https://byjus.com/maths/number-system/
https://www.youtube.com/watch?v=FFDMzbrEXaE