Upcoming SlideShare
×

# Data representation

2,610 views

Published on

Published in: Technology
1 Like
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
Your message goes here
• Be the first to comment

Views
Total views
2,610
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
63
0
Likes
1
Embeds 0
No embeds

No notes for slide

### Data representation

1. 1. CONTENTS Introduction of Data Representation. Data Representation within the computer. What is number system? Define the following:- a) Binary numbers b) Octal numbers c) Hexadecimal numbers d) Decimal number system e) Memory drumps Types of number systems.2 6:43 AM
2. 2. CONTENTS (cont…) Relationship among Decimal,Hexadecimal,Binary,and Octal number systems. Binary addition & sub. Character representation. Types of conversions to convert numbers from one base to another.3 6:43 AM
3. 3. INTRODUCTION OF DATA REPRESENTATION Data is represented in the computer using binary value of 0&1.And also explain such as binary number system,octal number system and hexadecimal number system.This unit also describes how to represent various other characters such as BCD,EBCDIC & ASCII.4 6:43 AM
4. 4. DATA REPRESENTATION WITHIN THE COMPUTER We need to data represented in the computer by electrical components such as transitors,integrated circuits,semiconductors and wires.All information can therefore be represented within the computer by the presence(ON) or absence(OFF) these various signals.Let us now understsnd some commonly used terms:-  BITS  NIBBLE  BYTES5  WORD 6:43 AM
5. 5. What is number system Ten separate symbols 0,1,2,3,4,5,6,7,8,9are used to represent ten decimal digits. Ex-The decimal number 6498 as an example to explain the weight of each digit of the number. Solution:-6498=6000+400+90+8 =6*10*10*10+4*10*10+9*10+8*10*0.6 6:43 AM
6. 6. Define the following:-  BINARY NUMBERS-The base or radix of the binary number system is 2.It uses only two digits,0 &1. Ex-The binary number 1101as an example to explain the weight of each bit of the number. Solution:-1101=1*2*2*2+1*2*2+0*2*1+1*2*0 =8+4+0+1=13 (decimal number)  OCTAL NUMBERS-An octal system has eight digits represented as 0,1,2,3,4,5,6,7.7 6:43 AM
7. 7.  HEXADECIMAL NUMBERS-The hexadecimal system has sixteen digits, which are represented as 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F.  DECIMAL NUMBER SYSTEM-It uses base 10,which means that it uses 10 digits 0,1,2,3,4,5,6,7,8,\$9 to perform an operations.  MEMORY DRUMPS-A commonly used way of doing this is to print/display raw memory contents, which is called memory drump.8 6:43 AM
8. 8. TYPES OF NUMBER SYSTEMS:-  NON-POSITIONAL In this system, we have symbols such as I FOR 1.It is very difficult to perform airthemetic with such a number system.  POSITIONAL There are only a few symbols called digits. These symbols represent different values,depending on the position they occupy in a number.9 6:43 AM
9. 9. Relationship among decimal,hexadecimal,binary,octal number system DECIMAL HEXADECIMA BINARY OCTAL L 0 0 0 0 1 1 1 1 2 2 10 2 3 3 11 3 4 4 100 4 5 5 101 5 6 6 110 610 6:43 AM
10. 10. Binary addition and sub. a) Binary addition:- e.g.- 1001 (9 decimal no.) +0101 (5 decimal no.) 1110 (14 decimal no.) b) Binary substraction:- e.g.- 1110 (14 decimal no.) 0101 (-5 decimal no.) 1001 (9 decimal no.)11 6:43 AM
11. 11. Character representation 1. BCD It stands for binary coded decimal it is one of the early computer codes.In BCD code,each digit of a decimal no. is represented by its binary equivalent instead of converting entire decimal value to binary no. Decimal digit BCD equivalent 0 0000 1 0001 2 0010 3 001112 4 0100 6:43 AM
12. 12. Type of conversions to convert from one base to another a) Converting from another base to decimal. b) Converting from decimal to another base. c) Converting from a base other than 10 to another base other than 10. d) Shortcut method for binary to octal conversion. e) Shortcut method for octal to binary conversion. f) Shortcut method for binary to13 hexadecimal conversion. 6:43 AM
13. 13. Question?14 6:43 AM
14. 14. THANK’S15 6:43 AM