MBOSE Class XI Computer Science · Chapter 2
Encoding Schemes and Number System
Opening soonHow letters and symbols become numbers (ASCII, ISCII, Unicode) and how to write the same number in base 2, 8, 10 and 16.
14 lessons · 62 practice questions
What this chapter covers
- Encoding schemes: ASCII, ISCII and Unicode (UTF-8, UTF-32)
- Number systems: binary, octal, decimal and hexadecimal
- Conversion between number systems (integers and fractions)
Key terms
- Encoding
Converting data into an equivalent code
- ASCII
American Standard Code for Information Interchange (7 bits)
- ISCII
Indian Script Code for Information Interchange (8 bits)
- Unicode
Standard giving a unique number to every character of every language
- UTF-8, UTF-16, UTF-32
Ways of storing Unicode using 8-bit, 16-bit, 32-bit units
- Base (radix)
Number of symbols of a number system
- Binary, octal, decimal, hexadecimal
Bases 2, 8, 10, 16
- Place value (weight)
Power of the base for a position
Important questions with answers
10 of the 62 questions on this chapter, solved.
Question 1 · Multiple choice · 1 mark
ASCII is a
- (a) 5-bit code
- (b) 7-bit code
- (c) 16-bit code
- (d) 32-bit code
Answer: (b) 7-bit code
Standard ASCII uses 7 bits and encodes 128 characters.
Question 2 · Multiple choice · 1 mark
Unicode is a superset of
- (a) ASCII
- (b) BASIC
- (c) Python
- (d) HTML
Answer: (a) ASCII
Its first 128 values are the same as ASCII.
Question 3 · Multiple choice · 1 mark
(1F)₁₆ in decimal is
- (a) 15
- (b) 16
- (c) 31
- (d) 32
Answer: (c) 31
1×16 + 15 = 31.
Question 4 · Multiple choice · 1 mark
(110110)₂ in octal is
- (a) 66
- (b) 33
- (c) 54
- (d) 36
Answer: (a) 66
110 110 = 6 6.
Question 5 · Assertion and reason · 1 mark
Assertion (A): 7-bit ASCII can represent 128 characters.
Reason (R): 2⁷ = 128.
- (a) Both A and R are true, and R is the correct explanation of A.
- (b) Both A and R are true, but R is not the correct explanation of A.
- (c) A is true, but R is false.
- (d) A is false, but R is true.
Answer: (a) Both A and R are true, and R is the correct explanation of A.
Seven bits give 2⁷ patterns.
Question 6 · Short answer · 1 mark
Expand ASCII.
Answer
American Standard Code for Information Interchange.
Question 7 · Short answer · 2 marks
What is encoding?
Answer
The mechanism of converting data into an equivalent code using a specific code scheme; for example, the key A is mapped to code 65 and stored in binary.
Question 8 · Short answer · 3 marks
Convert (3E8)₁₆ to decimal and octal.
Answer
3×256 + 14×16 + 8 = 768 + 224 + 8 = 1000. Octal: 0011 1110 1000 → 001 111 101 000 = 1750.
Question 9 · Long answer · 5 marks
Explain ASCII, ISCII and Unicode with the number of bits and characters each.
Answer
Section 1.1 and the table of schemes.
Question 10 · Long answer · 5 marks
Explain, with two examples each, the conversion of a number from any base to decimal and from decimal to any base.
Answer
Sections 1.3 and 1.4.
Study the whole chapter
14 step-by-step lessons, all 62 practice questions with hints, flashcards and mock tests for MBOSE Class XI Computer Science.