0% found this document useful (0 votes)
20 views13 pages

Chapter 2 Data Representation Notes

The document provides an overview of data representation, focusing on various number systems including binary, octal, and hexadecimal, as well as their conversions. It also covers character and string representation through ASCII, ISCII, and Unicode, detailing their significance and encoding methods. The document serves as a comprehensive guide for understanding how data is represented and manipulated in computing.

Uploaded by

bhura.aarna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views13 pages

Chapter 2 Data Representation Notes

The document provides an overview of data representation, focusing on various number systems including binary, octal, and hexadecimal, as well as their conversions. It also covers character and string representation through ASCII, ISCII, and Unicode, detailing their significance and encoding methods. The document serves as a comprehensive guide for understanding how data is represented and manipulated in computing.

Uploaded by

bhura.aarna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 13

Data Representation Swati Jain

Contents
1. Number systems.....................................................................................................................................2
1. Binary Number System –....................................................................................................................2
2. Octal Number System.........................................................................................................................2
3. Hexadecimal Number System.............................................................................................................3
4. Tabular Format of the number system...............................................................................................3
2. Conversion..............................................................................................................................................4
5. Binary to Decimal Conversion Example:.............................................................................................4
6. Octal to decimal conversion................................................................................................................5
7. Hexadecimal to decimal conversion...................................................................................................6
8. Decimal to Binary Conversion.............................................................................................................7
9. Decimal to Octal conversion...............................................................................................................8
10. Decimal to hexadecimal conversion................................................................................................9
11. Hexadecimal and Octal To Binary.................................................................................................10
3. Character/String representation...........................................................................................................11
12. ASCII Code.....................................................................................................................................11
13. ISCII Code......................................................................................................................................12
14. Unicode – Universal Character Set................................................................................................12
Data Representation Swati Jain

1. Number systems
- Binary
- Octal
- Decimal
- Hexadecimal

1. Binary Number System –


Binary Number system is required in Computers as 0 (off) and 1(on) as it is a digital
system.
- It is of the Base 2.
- 0 and 1 are the only two digits in this system.

2. Octal Number System


Octal Number system is created by joining 3 digits of the Binary Number system.
- It is of the Base 8.
- 0 - 7 are the digits in this system.
Data Representation Swati Jain

3. Hexadecimal Number System


Hexadecimal Number system is created by joining 4 digits of the Binary
Number system.
- It is of the Base 16.
- 0 – 9 and A-F are the digits in this system.

4. Tabular Format of the number system.

Binary numbers
0 – 15
Data Representation Swati Jain

2. Conversion
5. Binary to Decimal Conversion Example:
Data Representation Swati Jain

6. Octal to decimal conversion


Data Representation Swati Jain

7. Hexadecimal to decimal conversion


Data Representation Swati Jain

8. Decimal to Binary Conversion


Data Representation Swati Jain

9. Decimal to Octal conversion.


Data Representation Swati Jain

10. Decimal to hexadecimal conversion.


Data Representation Swati Jain

11. Hexadecimal and Octal To Binary


Data Representation Swati Jain

3. Character/String representation.
12. ASCII Code
stands for American Standard Code for Information Interchange. It is a
predetermined set of codes for each recognized letter, number and
symbol.

Below is the ASCII character table, including descriptions of the first


32 characters.

Only remember A and a value


Data Representation Swati Jain

13. ISCII Code


Indian Script Code for Information Interchange (ISCII) is a coding
scheme for representing various writing systems of India. This is useful
for including Indian languages in Coding standards. This makes data-
interchange possible.

14. Unicode – Universal Character Set

An international encoding standard for use with different languages and


scripts, by which each letter, digit, or symbol is assigned a
unique numeric value that applies across different platforms and
programs.
This is useful for :-
1. To define all the characters needed for writing the majority of known
languages in use on computers in one place.
2. To be a superset of all other character sets that have been encoded.

- UTF -8 : UTF-8 is a variable -width encoding that can represent


every character in Unicode character set. It can use 1 to 6
bytes , till now it has used upto 4 bytes or octets for
representing data. It is a type of multi byte encoding.
Sometimes it uses 8 bits to store the character, other times, 16
or 24 or more bits. It is the most popular encoding scheme.

- UTF-32 : UTF-32 is a fixed length encoding scheme that uses


exactly 4 bytes to represent all Unicode code points. That is , it
directly stores the binary code of any Unicode code point in 4
bytes.
Data Representation Swati Jain

You might also like