Skip to main content
Chapter 2 of 11
NCERT Solutions

Encoding Schemes and Number System — NCERT Solutions

CBSE · Class 11 · Computer Science

NCERT Solutions for Encoding Schemes and Number System, CBSE Class 11 Computer Science: 17 textbook questions solved step by step.

86 questions80 flashcards16 formulas & key relations5 concepts

Interactive on Super Tutor

Studying Encoding Schemes and Number System? Get the full interactive chapter.

Quizzes, flashcards, AI doubt-solver and a step-by-step study plan — built for NCERT solutions and more.

Free trial, no card needed.

17 Questions Solved · 1 Section

The first 9 solutions are open to read. The other 8 are free with a Super Tutor account.

EXERCISE — Encoding Schemes and Number System

1Write base values of binary, octal and hexadecimal number system.Show solution

The base (radix) of a number system equals the total number of unique digits (symbols) it uses.

Number SystemSymbols UsedBase Value
Binary0, 12
Octal0, 1, 2, 3, 4, 5, 6, 78
Hexadecimal0–9, A, B, C, D, E, F16
  • Binary base = 2
  • Octal base = 8
  • Hexadecimal base = 16
2Give full form of ASCII and ISCII.Show solution

ASCII — American Standard Code for Information Interchange

ISCII — Indian Script Code for Information Interchange

ASCII is a 7-bit (or 8-bit extended) encoding scheme used to represent English characters and control characters. ISCII is an 8-bit encoding scheme developed to represent characters of Indian scripts.

3Try the following conversions.
(i) (514)8=(?)10(514)_8 = (?)_{10}
(ii) (220)8=(?)2(220)_8 = (?)_2
(iii) (76F)16=(?)10(76F)_{16} = (?)_{10}
(iv) (4D9)16=(?)10(4D9)_{16} = (?)_{10}
(v) (11001010)2=(?)10(11001010)_2 = (?)_{10}
(vi) (1010111)2=(?)10(1010111)_2 = (?)_{10}
Show solution

(i) (514)8=(?)10(514)_8 = (?)_{10}

Formula: Multiply each digit by its positional power of 8.
5×82+1×81+4×805 \times 8^2 + 1 \times 8^1 + 4 \times 8^0
=5×64+1×8+4×1= 5 \times 64 + 1 \times 8 + 4 \times 1
=320+8+4=332= 320 + 8 + 4 = \boxed{332}
∴(514)8=(332)10\therefore (514)_8 = (332)_{10}


(ii) (220)8=(?)2(220)_8 = (?)_2

Method: Replace each octal digit with its 3-bit binary equivalent.
2→010,2→010,0→0002 \rightarrow 010, \quad 2 \rightarrow 010, \quad 0 \rightarrow 000
∴(220)8=(010 010 000)2=(010010000)2\therefore (220)_8 = (010\,010\,000)_2 = \boxed{(010010000)_2}


(iii) (76F)16=(?)10(76F)_{16} = (?)_{10}

Note: F=15F = 15
7×162+6×161+15×1607 \times 16^2 + 6 \times 16^1 + 15 \times 16^0
=7×256+6×16+15×1= 7 \times 256 + 6 \times 16 + 15 \times 1
=1792+96+15=1903= 1792 + 96 + 15 = \boxed{1903}
∴(76F)16=(1903)10\therefore (76F)_{16} = (1903)_{10}


(iv) (4D9)16=(?)10(4D9)_{16} = (?)_{10}

Note: D=13D = 13
4×162+13×161+9×1604 \times 16^2 + 13 \times 16^1 + 9 \times 16^0
=4×256+13×16+9×1= 4 \times 256 + 13 \times 16 + 9 \times 1
=1024+208+9=1241= 1024 + 208 + 9 = \boxed{1241}
∴(4D9)16=(1241)10\therefore (4D9)_{16} = (1241)_{10}


(v) (11001010)2=(?)10(11001010)_2 = (?)_{10}

Assign positional values (right to left, starting from 202^0):
1×27+1×26+0×25+0×24+1×23+0×22+1×21+0×201\times2^7 + 1\times2^6 + 0\times2^5 + 0\times2^4 + 1\times2^3 + 0\times2^2 + 1\times2^1 + 0\times2^0
=128+64+0+0+8+0+2+0=202= 128 + 64 + 0 + 0 + 8 + 0 + 2 + 0 = \boxed{202}
∴(11001010)2=(202)10\therefore (11001010)_2 = (202)_{10}


(vi) (1010111)2=(?)10(1010111)_2 = (?)_{10}

1×26+0×25+1×24+0×23+1×22+1×21+1×201\times2^6 + 0\times2^5 + 1\times2^4 + 0\times2^3 + 1\times2^2 + 1\times2^1 + 1\times2^0
=64+0+16+0+4+2+1=87= 64 + 0 + 16 + 0 + 4 + 2 + 1 = \boxed{87}
∴(1010111)2=(87)10\therefore (1010111)_2 = (87)_{10}

4Do the following conversions from decimal number to other number systems.
(i) (54)10=(?)2(54)_{10} = (?)_2
(ii) (120)10=(?)2(120)_{10} = (?)_2
(iii) (76)10=(?)8(76)_{10} = (?)_8
(iv) (889)10=(?)8(889)_{10} = (?)_8
(v) (789)10=(?)16(789)_{10} = (?)_{16}
(vi) (108)10=(?)16(108)_{10} = (?)_{16}
Show solution

(i) (54)10=(?)2(54)_{10} = (?)_2

Method: Repeated division by 2, read remainders bottom to top.
54÷2=27 R 054 \div 2 = 27 \text{ R } 0
27÷2=13 R 127 \div 2 = 13 \text{ R } 1
13÷2=6 R 113 \div 2 = 6 \text{ R } 1
6÷2=3 R 06 \div 2 = 3 \text{ R } 0
3÷2=1 R 13 \div 2 = 1 \text{ R } 1
1÷2=0 R 11 \div 2 = 0 \text{ R } 1
Reading remainders from bottom to top: (110110)2\boxed{(110110)_2}


(ii) (120)10=(?)2(120)_{10} = (?)_2

120÷2=60 R 0120 \div 2 = 60 \text{ R } 0
60÷2=30 R 060 \div 2 = 30 \text{ R } 0
30÷2=15 R 030 \div 2 = 15 \text{ R } 0
15÷2=7 R 115 \div 2 = 7 \text{ R } 1
7÷2=3 R 17 \div 2 = 3 \text{ R } 1
3÷2=1 R 13 \div 2 = 1 \text{ R } 1
1÷2=0 R 11 \div 2 = 0 \text{ R } 1
Reading bottom to top: (1111000)2\boxed{(1111000)_2}


(iii) (76)10=(?)8(76)_{10} = (?)_8

Method: Repeated division by 8.
76÷8=9 R 476 \div 8 = 9 \text{ R } 4
9÷8=1 R 19 \div 8 = 1 \text{ R } 1
1÷8=0 R 11 \div 8 = 0 \text{ R } 1
Reading bottom to top: (114)8\boxed{(114)_8}


(iv) (889)10=(?)8(889)_{10} = (?)_8

889÷8=111 R 1889 \div 8 = 111 \text{ R } 1
111÷8=13 R 7111 \div 8 = 13 \text{ R } 7
13÷8=1 R 513 \div 8 = 1 \text{ R } 5
1÷8=0 R 11 \div 8 = 0 \text{ R } 1
Reading bottom to top: (1571)8\boxed{(1571)_8}


(v) (789)10=(?)16(789)_{10} = (?)_{16}

Method: Repeated division by 16.
789÷16=49 R 5789 \div 16 = 49 \text{ R } 5
49÷16=3 R 149 \div 16 = 3 \text{ R } 1
3÷16=0 R 33 \div 16 = 0 \text{ R } 3
Reading bottom to top: (315)16\boxed{(315)_{16}}


(vi) (108)10=(?)16(108)_{10} = (?)_{16}

108÷16=6 R 12(12=C)108 \div 16 = 6 \text{ R } 12 \quad (12 = C)
6÷16=0 R 66 \div 16 = 0 \text{ R } 6
Reading bottom to top: (6C)16\boxed{(6C)_{16}}

5Express the following octal numbers into their equivalent decimal numbers.
(i) 145 (ii) 6760 (iii) 455 (iv) 10.75
Show solution

(i) (145)8=(?)10(145)_8 = (?)_{10}

1×82+4×81+5×801 \times 8^2 + 4 \times 8^1 + 5 \times 8^0
=64+32+5=101= 64 + 32 + 5 = \boxed{101}


(ii) (6760)8=(?)10(6760)_8 = (?)_{10}

6×83+7×82+6×81+0×806 \times 8^3 + 7 \times 8^2 + 6 \times 8^1 + 0 \times 8^0
=6×512+7×64+6×8+0= 6 \times 512 + 7 \times 64 + 6 \times 8 + 0
=3072+448+48+0=3568= 3072 + 448 + 48 + 0 = \boxed{3568}


(iii) (455)8=(?)10(455)_8 = (?)_{10}

4×82+5×81+5×804 \times 8^2 + 5 \times 8^1 + 5 \times 8^0
=256+40+5=301= 256 + 40 + 5 = \boxed{301}


(iv) (10.75)8=(?)10(10.75)_8 = (?)_{10}

Integer part: 1×81+0×80=81 \times 8^1 + 0 \times 8^0 = 8

Fractional part: 7×8−1+5×8−2=78+564=0.875+0.078125=0.9531257 \times 8^{-1} + 5 \times 8^{-2} = \dfrac{7}{8} + \dfrac{5}{64} = 0.875 + 0.078125 = 0.953125

∴(10.75)8=(8.953125)10\therefore (10.75)_8 = \boxed{(8.953125)_{10}}

6Express the following decimal numbers into hexadecimal numbers.
(i) 548 (ii) 4052 (iii) 58 (iv) 100.25
Show solution

(i) (548)10=(?)16(548)_{10} = (?)_{16}

548÷16=34 R 4548 \div 16 = 34 \text{ R } 4
34÷16=2 R 234 \div 16 = 2 \text{ R } 2
2÷16=0 R 22 \div 16 = 0 \text{ R } 2
Reading bottom to top: (224)16\boxed{(224)_{16}}


(ii) (4052)10=(?)16(4052)_{10} = (?)_{16}

4052÷16=253 R 44052 \div 16 = 253 \text{ R } 4
253÷16=15 R 13(13=D)253 \div 16 = 15 \text{ R } 13 \quad (13 = D)
15÷16=0 R 15(15=F)15 \div 16 = 0 \text{ R } 15 \quad (15 = F)
Reading bottom to top: (FD4)16\boxed{(FD4)_{16}}


(iii) (58)10=(?)16(58)_{10} = (?)_{16}

58÷16=3 R 10(10=A)58 \div 16 = 3 \text{ R } 10 \quad (10 = A)
3÷16=0 R 33 \div 16 = 0 \text{ R } 3
Reading bottom to top: (3A)16\boxed{(3A)_{16}}


(iv) (100.25)10=(?)16(100.25)_{10} = (?)_{16}

Integer part (100):
100÷16=6 R 4100 \div 16 = 6 \text{ R } 4
6÷16=0 R 66 \div 16 = 0 \text{ R } 6
Integer part in hex = 6464

Fractional part (0.25):
0.25×16=4.00→digit=40.25 \times 16 = 4.00 \rightarrow \text{digit} = 4
Fractional part in hex = .4.4

∴(100.25)10=(64.4)16\therefore (100.25)_{10} = \boxed{(64.4)_{16}}

7Express the following hexadecimal numbers into equivalent decimal numbers.
(i) 4A2 (ii) 9E1A (iii) 6BD (iv) 6C.34
Show solution

(i) (4A2)16=(?)10(4A2)_{16} = (?)_{10}

A=10A = 10
4×162+10×161+2×1604 \times 16^2 + 10 \times 16^1 + 2 \times 16^0
=1024+160+2=1186= 1024 + 160 + 2 = \boxed{1186}


(ii) (9E1A)16=(?)10(9E1A)_{16} = (?)_{10}

E=14, A=10E = 14,\ A = 10
9×163+14×162+1×161+10×1609 \times 16^3 + 14 \times 16^2 + 1 \times 16^1 + 10 \times 16^0
=9×4096+14×256+1×16+10= 9 \times 4096 + 14 \times 256 + 1 \times 16 + 10
=36864+3584+16+10=40474= 36864 + 3584 + 16 + 10 = \boxed{40474}


(iii) (6BD)16=(?)10(6BD)_{16} = (?)_{10}

B=11, D=13B = 11,\ D = 13
6×162+11×161+13×1606 \times 16^2 + 11 \times 16^1 + 13 \times 16^0
=1536+176+13=1725= 1536 + 176 + 13 = \boxed{1725}


(iv) (6C.34)16=(?)10(6C.34)_{16} = (?)_{10}

C=12, 3=3, 4=4C = 12,\ 3 = 3,\ 4 = 4

Integer part:
6×161+12×160=96+12=1086 \times 16^1 + 12 \times 16^0 = 96 + 12 = 108

Fractional part:
3×16−1+4×16−2=316+4256=0.1875+0.015625=0.2031253 \times 16^{-1} + 4 \times 16^{-2} = \frac{3}{16} + \frac{4}{256} = 0.1875 + 0.015625 = 0.203125

∴(6C.34)16=(108.203125)10\therefore (6C.34)_{16} = \boxed{(108.203125)_{10}}

8Convert the following binary numbers into octal and hexadecimal numbers.
(i) 1110001000 (ii) 110110101 (iii) 1010100 (iv) 1010.1001
Show solution

Method for Octal: Group bits in sets of 3 from right (for integer part) and from left (for fractional part). Replace each group with its octal digit.

Method for Hexadecimal: Group bits in sets of 4 from right (for integer part) and from left (for fractional part). Replace each group with its hex digit.


(i) (1110001000)2(1110001000)_2

To Octal (groups of 3):
001  110  001  000001\; 110\; 001\; 000
=1610= 1\quad 6\quad 1\quad 0
∴(1610)8\therefore \boxed{(1610)_8}

To Hexadecimal (groups of 4):
0011  1000  10000011\; 1000\; 1000
=388= 3\quad 8\quad 8
∴(388)16\therefore \boxed{(388)_{16}}


(ii) (110110101)2(110110101)_2

To Octal (groups of 3):
110  110  101110\; 110\; 101
=665= 6\quad 6\quad 5
∴(665)8\therefore \boxed{(665)_8}

To Hexadecimal (groups of 4):
0001  1011  01010001\; 1011\; 0101
=1B5= 1\quad B\quad 5
∴(1B5)16\therefore \boxed{(1B5)_{16}}


(iii) (1010100)2(1010100)_2

To Octal (groups of 3):
001  010  100001\; 010\; 100
=124= 1\quad 2\quad 4
∴(124)8\therefore \boxed{(124)_8}

To Hexadecimal (groups of 4):
0101  01000101\; 0100
=54= 5\quad 4
∴(54)16\therefore \boxed{(54)_{16}}


(iv) (1010.1001)2(1010.1001)_2

To Octal:
Integer: 001  010→1  2001\; 010 \rightarrow 1\; 2
Fractional: 100  100→100  100→4  4100\; 1\mathbf{00} \rightarrow 100\; 100 \rightarrow 4\; 4 (pad right with zeros)
∴(12.44)8\therefore \boxed{(12.44)_8}

To Hexadecimal:
Integer: 1010→A1010 \rightarrow A
Fractional: 1001→91001 \rightarrow 9
∴(A.9)16\therefore \boxed{(A.9)_{16}}

9Write binary equivalent of the following octal numbers.
(i) 2306 (ii) 5610 (iii) 742 (iv) 65.203
Show solution

Method: Replace each octal digit with its 3-bit binary equivalent.

Octal–Binary table:

OctalBinary
0000
1001
2010
3011
4100
5101
6110
7111

(i) (2306)8(2306)_8
2→010,3→011,0→000,6→1102 \to 010,\quad 3 \to 011,\quad 0 \to 000,\quad 6 \to 110
∴(010011000110)2\therefore \boxed{(010011000110)_2}


(ii) (5610)8(5610)_8
5→101,6→110,1→001,0→0005 \to 101,\quad 6 \to 110,\quad 1 \to 001,\quad 0 \to 000
∴(101110001000)2\therefore \boxed{(101110001000)_2}


(iii) (742)8(742)_8
7→111,4→100,2→0107 \to 111,\quad 4 \to 100,\quad 2 \to 010
∴(111100010)2\therefore \boxed{(111100010)_2}


(iv) (65.203)8(65.203)_8
6→110,5→101  .  2→010,0→000,3→0116 \to 110,\quad 5 \to 101 \;.\; 2 \to 010,\quad 0 \to 000,\quad 3 \to 011
∴(110101.010000011)2\therefore \boxed{(110101.010000011)_2}

10Write binary representation of the following hexadecimal numbers.
(i) 4026 (ii) BCA1 (iii) 98E (iv) 132.45

Free with a Super Tutor account

11How does computer understand the following text? (hint: 7 bit ASCII code).
(i) HOTS (ii) Main (iii) CaSe

Free with a Super Tutor account

12The hexadecimal number system uses 16 literals (0-9, A-F). Write down its base value.

Free with a Super Tutor account

13Let X be a number system having B symbols only. Write down the base value of this number system.

Free with a Super Tutor account

14Write the equivalent hexadecimal and binary values for each character of the phrase given below.
"हम सब एक"

Free with a Super Tutor account

15What is the advantage of preparing a digital content in Indian language using UNICODE font?

Free with a Super Tutor account

16Explore and list the steps required to type in an Indian language using UNICODE.

Free with a Super Tutor account

17Encode the word 'COMPUTER' using ASCII and convert the encode value into binary values.

Free with a Super Tutor account

8 more solved questions in Encoding Schemes and Number System

They are free with a Super Tutor account, along with practice quizzes and flashcards for this chapter. Free to start, no card needed.

Frequently Asked Questions

What are the important topics in Encoding Schemes and Number System for CBSE Class 11 Computer Science?
Key topics in Encoding Schemes and Number System include Encoding Schemes, ASCII, ISCII, and Unicode Examples, Number Systems and Positional Value, Binary, Octal, and Hexadecimal Number Systems. Study these first, then practise questions on each for Class 11 exams.
Are these NCERT Solutions for Encoding Schemes and Number System free?
The first 9 of the 17 solutions on this page are open to read. The other 8 are free with a Super Tutor account — signing up is free and needs no card.
How should I revise Encoding Schemes and Number System for Class 11 exams?
Learn the core ideas first, then work through the 86 practice questions on Encoding Schemes and Number System. Revise definitions regularly and use flashcards for quick recall before the exam.

Sources & Official References

Content is aligned to the official syllabus. Refer to the board website for the latest curriculum.

For serious students

Get the full Encoding Schemes and Number System chapter — start free.

Quizzes, flashcards, an AI doubt solver and a study plan for CBSE Class 11 Computer Science. Free to start, no card needed.