Skip to content
← Computer Science

Computer Science · Class 11 Optional

Ch 2Encoding Schemes and Number System — Class 11 Computer Science, concept-first.

Every key you press on a keyboard is in a form you can recognise — letters, digits, symbols. A computer, however, works only in the binary language of 0s and 1s (as seen in the previous chapter).

45

Q&A

8

Concepts

~5m

Unit weightage

Start learning — read this chapter →

Key concepts

Hover a concept to preview it and jump to its most relevant Q&A.

ASCII Character Encoding

Imagine you're sending a letter to a friend, but the only way to communicate is through a series of numbered boxes. You need a rulebook that says "Box 65 means 'A', Box 66 means 'B'," and so on.

Start with this concept →

Chapter contents

The NCERT structure, section by section. Open a section to see its questions, then read the concept-first solution.

2.1

Introduction

Every key you press on a keyboard is in a form you can recognise — letters, digits, symbols. A computer, however, works only in the binary language of 0s and 1s (as seen in the previous chapter).

2.1.1

American Standard Code for Information Interchange (ASCII)

In the early 1960s, computers could not communicate with one another: each machine represented the keys of its keyboard in its own way, so text produced on one computer meant nothing to another.

2.1.2

Indian Script Code for Information Interchange (ISCII)

ASCII covers English only — so how do we use Indian languages on computers? To make that possible, a common standard for coding Indian scripts, called ISCII — Indian Script Code for Information Interc…

2.1.3

UNICODE

3 Q

By the time computers had spread across the world, there were many encoding schemes, each covering the character set of a different language.

2.2

Number System

So far we have seen that each key of the keyboard — a character, a special symbol, a function key — is internally mapped to an ASCII code by an encoding scheme, and that this code is then converted to…

2.2.1

Decimal Number System

The decimal number system is the one we use in day-to-day life. It is known as the base-10 system, because it uses 10 digits — 0 to 9.

2.2.2

Binary Number System

Why do computers count in 0s and 1s at all? The answer lies in the hardware. The ICs (Integrated Circuits) inside a computer are made up of a very large number of transistors, which are activated by t…

2.2.3

Octal Number System

As the value of a decimal number grows, the number of bits (0/1) in its binary representation grows with it.

2.2.4

Hexadecimal Number System

Like octal, hexadecimal numbers are used for a compact representation of binary numbers — and they compress binary even further.

2.2.5

Applications of Hexadecimal Number System

Where does hexadecimal actually get used? Two everyday places: memory addresses and web colours. Both are cases where humans must read long binary values, and hexadecimal makes them manageable.

2.3

Conversion between Number Systems

We now know the four number systems used in the context of computers. The natural next step is learning to convert a number from one system to another, which is essential for understanding how numbers…

2.3.1

Conversion from Decimal to other Number Systems

5 Q

One single procedure converts a decimal number into any other number system — binary, octal or hexadecimal. Only the divisor changes: it is always the base value (b) of the target system.

2.3.2

Conversion from other Number Systems to Decimal Number System

4 Q

The reverse journey — from binary, octal or hexadecimal back to decimal — uses the positional-value idea from Section 2.2.

2.3.3

Conversion from Binary Number to Octal/Hexadecimal Number and Vice-Versa

5 Q

Converting between binary and octal/hexadecimal never needs division or positional sums — it is pure grouping and substitution.

2.3.4

Conversion of a Number with Fractional Part

9 Q

All the conversions so far dealt with whole numbers. Numbers with a fractional part need one extra set of techniques — and there are three cases to master.

Summary

- An encoding scheme maps text into codes, which is what makes communication among computers possible — every key pressed is mapped to a unique code value, which is then converted to binary.

Exercises

+Show 17 questions17 questions
  1. Q1Write base values of binary, octal and hexadecimal number system.Free
  2. Q2Give full form of ASCII and ISCII.Free
  3. Q3Try the following conversions. (i) (514)8 = (?)10 (ii) (220)8 = (?)2 (iii) (76F)16 = (?)10 (iv) (4D9)16 = (?)10 (v) (11001010)2 = (?)10 (vi)…Free
  4. Q4Do the following conversions from decimal number to other number systems. (i) (54)10 = (?)2 (ii) (120)10 = (?)2 (iii) (76)10 = (?)8 (iv) (88…Preview
  5. Q5Express the following octal numbers into their equivalent decimal numbers. (i) 145 (ii) 6760 (iii) 455 (iv) 10.75Preview
  6. Q6Express the following decimal numbers into hexadecimal numbers. (i) 548 (ii) 4052 (iii) 58 (iv) 100.25Preview
  7. Q7Express the following hexadecimal numbers into equivalent decimal numbers. (i) 4A2 (ii) 9E1A (iii) 6BD (iv) 6C.34Preview
  8. Q8Convert the following binary numbers into octal and hexadecimal numbers. (i) 1110001000 (ii) 110110101 (iii) 1010100 (iv) 1010.1001Preview
  9. Q9Write binary equivalent of the following octal numbers. (i) 2306 (ii) 5610 (iii) 742 (iv) 65.203Preview
  10. Q10Write binary representation of the following hexadecimal numbers. (i) 4026 (ii) BCA1 (iii) 98E (iv) 132.45Preview
  11. Q11How does computer understand the following text? (hint: 7 bit ASCII code). (i) HOTS (ii) Main (iii) CaSePreview
  12. Q12The hexadecimal number system uses 16 literals (0–9, A–F). Write down its base value.Preview
  13. Q13Let X be a number system having B symbols only. Write down the base value of this number system.Preview
  14. Q14Write the equivalent hexadecimal and binary values for each character of the phrase given below. “हम सब एक”Preview
  15. Q15What is the advantage of preparing a digital content in Indian language using UNICODE font?Preview
  16. Q16Explore and list the steps required to type in an Indian language using UNICODE.Preview
  17. Q17Encode the word ‘COMPUTER’ using ASCII and convert the encode value into binary values.Preview