Introduction

The contribution of a digit to the total value of a number in a positional system is determined by three factors:
Note: If the digit symbols are 0 through 9, the base is 10.
Several number systems are commonly used in digital electronics and computation. The most important positional systems are described below.

The binary system uses base 2 and two digit symbols: 0 and 1. Each binary digit is called a bit. Groups of bits have common names: a group of four bits is a nibble, and a group of eight bits is a byte.
In binary notation the position of a digit represents a power of 2.
Examples: (10100)2, (11011)2, (11001)2, (000101)2, (011010)2.
The decimal system uses base 10 and digit symbols 0 through 9. It is the standard system for everyday counting and arithmetic.
(2541) can be expanded as
(2 × 1000) + (5 × 100) + (4 × 10) + (1 × 1)
(2 × 103) + (5 × 102) + (4 × 101) + (1 × 100)
2000 + 500 + 40 + 1 = 2541
The octal system uses base 8 with digit symbols 0 through 7. Each octal digit corresponds to exactly three binary bits, which makes conversion between binary and octal convenient.

Examples: (273)8, (5644)8, (0.5365)8, (1123)8, (1223)8.
The hexadecimal system uses base 16 and sixteen symbols: 0-9 and A-F, where A-F represent decimal values 10-15. Each hexadecimal digit corresponds to exactly four binary bits, which makes conversion between binary and hexadecimal straightforward.

Examples: (FAC2)16, (564)16, (ABD5)16, (1123)16, (11F3)16.
A number in base b with digits anan-1...a1a0.a-1a-2... is interpreted as the sum of each digit times the corresponding power of b.
anbn + an-1bn-1 + ... + a1b1 + a0b0 + a-1b-1 + a-2b-2 + ...
Each coefficient ai satisfies 0 ≤ ai ≤ b - 1.
Compute the positional sum: multiply each digit by the appropriate power of b and add the results.
Example: Convert (10100)2 to decimal.
Sol.
10100 in base 2 equals
1 × 24 + 0 × 23 + 1 × 22 + 0 × 21 + 0 × 20
16 + 0 + 4 + 0 + 0
= 20
Divide the decimal number repeatedly by the target base and collect remainders; the remainders read from last to first give the digits in the new base.
Example: Convert (2541)10 to base 8.
Sol.
2541 ÷ 8 = 317 remainder 5
317 ÷ 8 = 39 remainder 5
39 ÷ 8 = 4 remainder 7
4 ÷ 8 = 0 remainder 4
Read remainders from last to first: (4755)8
Conversion between binary and octal is done by grouping binary digits in sets of three, starting from the radix point; each group maps to one octal digit.
Conversion between binary and hexadecimal is done by grouping binary digits in sets of four; each group maps to one hexadecimal digit.
Example: Convert (11001010)2 to hexadecimal.
Sol.
Group binary digits in sets of four from the right: 1100 1010
1100 in binary = 12 in decimal = C in hexadecimal
1010 in binary = 10 in decimal = A in hexadecimal
So the hexadecimal representation is (CA)16
To convert a fractional decimal part to base b, multiply the fractional part repeatedly by b and record the integer part of each product; these integers form the fractional digits in order.
Example: Convert 0.62510 to binary.
Sol.
0.625 × 2 = 1.25 → integer part 1
0.25 × 2 = 0.5 → integer part 0
0.5 × 2 = 1.0 → integer part 1
Fractional digits: .101
Hence 0.62510 = (0.101)2
Final summary
Positional number systems assign each digit a weight equal to a power of the base. Understanding binary, octal, decimal and hexadecimal systems, and the standard methods to convert among them, is essential for representing data and performing arithmetic in digital systems. Grouping methods facilitate binary↔octal/hex conversions, while division‐remainder and multiplication methods convert integral and fractional parts respectively between decimal and other bases.
| 1. What is the number system in GATE? | ![]() |
| 2. How important is the number system in the GATE exam? | ![]() |
| 3. What are the different types of number systems tested in the GATE exam? | ![]() |
| 4. How can I improve my understanding of the number system for the GATE exam? | ![]() |
| 5. Are there any shortcuts or tricks to solve number system problems in the GATE exam? | ![]() |