83% found this document useful (6 votes)
8K views8 pages

Class 11 Data Representation Notes

This chapter discusses data representation in computing systems. It covers different number systems like decimal, binary, octal and hexadecimal. It describes how to convert between these number systems. It also discusses how unsigned integers are represented in binary and binary addition. Finally, it covers how characters and strings are represented in memory using character encoding standards like ASCII, ISCII and Unicode.

Uploaded by

Om Kurmi
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
83% found this document useful (6 votes)
8K views8 pages

Class 11 Data Representation Notes

This chapter discusses data representation in computing systems. It covers different number systems like decimal, binary, octal and hexadecimal. It describes how to convert between these number systems. It also discusses how unsigned integers are represented in binary and binary addition. Finally, it covers how characters and strings are represented in memory using character encoding standards like ASCII, ISCII and Unicode.

Uploaded by

Om Kurmi
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
  • Data Representation Overview
  • Number Conversions
  • Number Representation
  • Character Encoding

Class – XI (CS-Python) CHAPTER-2 (Data Representation) Page 1 of 8

CHAPTER-2
DATA REPRESENTATION

Digital Number System: In digital representation various number systems are used. The most common number
systems are decimal, octal, and hexadecimal systems. Each number system has a base also called a Radix. A decimal
number system is a system of base 10; binary is a system of base 2; octal is a system of base 8; and hexadecimal is a
system of base 16.

Number Conversion:
1. Decimal to Binary Conversion:
Class – XI (CS-Python) CHAPTER-2 (Data Representation) Page 2 of 8

Example:

2. Binary to Decimal Conversion:


Class – XI (CS-Python) CHAPTER-2 (Data Representation) Page 3 of 8

3. Decimal to Octal Conversion:

4. Octal to Decimal Conversion:


Class – XI (CS-Python) CHAPTER-2 (Data Representation) Page 4 of 8
Class – XI (CS-Python) CHAPTER-2 (Data Representation) Page 5 of 8

5. Binary to Octal & Octal to Binary Conversion:

6. Decimal to Hex Conversion:

7. Hex to Decimal Conversion:


Class – XI (CS-Python) CHAPTER-2 (Data Representation) Page 6 of 8

8. Binary to Hex Conversion:

9. Hex to Binary Conversion:


Class – XI (CS-Python) CHAPTER-2 (Data Representation) Page 7 of 8

Representing Unsigned Integers in Binary: An unsigned integer can be either a positive integer or zero but
never a negative integer.
 In a single decimal digit, we can write a number between 0 and 9 (Maximum number is 9).
 In two decimal digit, we can write a number between 0 and 99 (Maximum number is 99).
 In three decimal digit, we can write a number between 0 and 999 (Maximum number is 999). and so on.

Table: Unsigned binary integer ranges


Binary Addition: There are four points or steps to remember before proceeding through the operation.
These are

Representing Character/String in Memory: A computer can handle numeric and non numeric data like
letters, punctuation marks and other special characters. Some predefined codes are used to represent numeric and non
numeric characters.
ASCII: ASCII stands for American Standard Code for Information Interchange. ASCII-7 can represent 128
characters. Out of 7 bits, 3 are zone bits and 4 are numeric bits. ASCII-8 can represent 256 characters. It is an
extended form of ASCII-7.
For Ex:
ASCII Value for A is 65 which is equivalent to 1000001 in binary.

ISCII: A lot of efforts have gone into facilitating the use of Indian languages on computers. In 1991, the
Bureau of Indian Standards adopted the ISCII. It is an 8 bit code which allows English and Indian Scripts
alphabets to be used simultaneously. Characters coded in ISCII need 8 bits for each character.
Class – XI (CS-Python) CHAPTER-2 (Data Representation) Page 8 of 8

Unicode: The new universal coding standard being adopted all newer platforms. Unicode provides a unique
number for every character.
“No matter what the platform,
No matter what the program,
No matter what the language. “
This standard has been adopted by such industry leaders as Apple, HP, IBM etc. Unicode version 3.0
represented 49,194 characters, whereas Unicode version 3.1 has added many more characters, making the
character count to 94,140.

Common questions

Powered by AI

Unicode has substantially impacted global digital communication by providing a universal encoding standard capable of representing characters from all writing systems. This surpasses ASCII, which was limited to English characters, thereby restricting international and multilingual communication. Unicode's broad character set and adaptability across platforms facilitate seamless global interoperability in software applications, databases, and content distribution. Its adoption by industry leaders has fostered an inclusive digital environment supporting diverse scripts and symbols .

ASCII and Unicode are essential because they provide standardized methods to encode characters into binary formats, which can be consistently processed, stored, and interpreted by computers. ASCII is sufficient for English language text, while Unicode is necessary for global text representation, offering a comprehensive standard that includes characters from all languages, thus enabling internationalization and consistent data processing across diverse platforms and languages .

ASCII is a 7-bit encoding system that can represent 128 characters and is primarily designed for English characters. ISCII, on the other hand, is an 8-bit code that allows for both English and Indian script characters, providing broader linguistic coverage suitable for Indian subcontinent use. Unicode surpasses both ASCII and ISCII in terms of versatility as it can represent characters universally with its unique number system, independent of platform, program, or language. Unicode versions have expanded significantly, with version 3.1 supporting 94,140 characters .

The concept of radix (or base) determines the range of digit symbols used in representing numbers and sets the place value of each digit within a number in that system. For example, the decimal system with radix 10 uses digits from 0 to 9, whereas binary uses only 0 and 1 due to its radix of 2. The role of radix is pivotal for conversions and calculations across different bases, as it governs the fundamental representation rules of numbers in each system .

The extension from ASCII-7 to ASCII-8, increasing the bit-length from 7 to 8 bits, doubled the representation capacity from 128 to 256 characters. This expansion enabled the inclusion of additional symbols, special characters, and control codes, enhancing the system's versatility beyond the limitations of the original ASCII-7. Although still limited, this extension allowed more comprehensive text manipulation and display options, setting the stage for further developments like Unicode .

The primary number systems used in digital representation are the decimal, binary, octal, and hexadecimal systems. The decimal number system has a base of 10, the binary system has a base of 2, the octal system has a base of 8, and the hexadecimal system has a base of 16. Each system is used based on its suitability for particular applications in digital computations and data representation .

Challenges include potential errors in manual conversions, increased complexity in understanding for learners, and the necessity of employing comprehensive conversion tools and algorithms in computing systems. Addressing these challenges involves education on fundamental conversion principles, implementing user-friendly software tools for automatic conversions, and using standard conventions for number representation in digital systems to minimize errors and improve communication among computer engineers and programmers .

Conversion between binary and octal systems involves grouping binary digits into sets of three, starting from the binary's least significant bit, and converting each group to its octal equivalent. This conversion simplifies binary representation and operations by reducing the number of digits for easier interpretation and debugging without loss of information. It is particularly useful in fields like computer engineering and digital electronics for simplifying circuit designs and programming tasks .

Representing unsigned integers in binary format is crucial because it allows for the efficient storage and manipulation of numerical data in computers, which fundamentally operate on binary logic. Each binary digit (bit) represents an increasing power of 2, allowing for a range determination based on the number of bits used; for instance, an 8-bit binary can represent values from 0 to 255. This range is foundational for computer arithmetic and data processing tasks .

To convert a decimal number to its binary equivalent, one divides the number by 2 and records the remainder. This process is repeated with the quotient until the quotient is zero. The binary equivalent is read from the last remainder to the first. This conversion is fundamental in computer systems because computers operate using binary logic, where each bit represents a power of 2, which is integral for data processing and storage .

Class – XI (CS-Python)                                                                 CHAPTER-2 (Data Representation)
Class – XI (CS-Python)                                                                 CHAPTER-2 (Data Representation)
Class – XI (CS-Python)                                                                 CHAPTER-2 (Data Representation)
Class – XI (CS-Python)                                                                 CHAPTER-2 (Data Representation)
Class – XI (CS-Python)                                                                 CHAPTER-2 (Data Representation)
Class – XI (CS-Python)                                                                 CHAPTER-2 (Data Representation)
Class – XI (CS-Python)                                                                 CHAPTER-2 (Data Representation)
Class – XI (CS-Python)                                                                 CHAPTER-2 (Data Representation)

You might also like