• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Data representation
 

Data representation

on

  • 1,077 views

 

Statistics

Views

Total Views
1,077
Views on SlideShare
1,077
Embed Views
0

Actions

Likes
0
Downloads
22
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Data representation Data representation Presentation Transcript

    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    •  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
    • 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
    • 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
    • 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
    • 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
    • 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
    • Question?14 6:43 AM
    • THANK’S15 6:43 AM