Computer Ata
Computer Ata
REPRESENTATION
What is DATA REPRESENTATION ?
Binary is a number
system that only uses
two digits: 1 and 0.
Computer only
understands binary
digits.
What is denary number system ?
Hexadecimal is a numbering
system with base 16. It can be
used to represent large numbers
with fewer digits. In this system
there are 16 symbols or possible
digit values from 0 to 9, followed
by six alphabetic characters -- A,
B, C, D, E and F.
O CO NV ERT DIFFERENT
HOW T
NUM BE R SY STE M ?
Binary To Denary
01101 To convert a binary number to decimal
we need to perform a multiplication
16 8 4 2 1 operation on each digit of a binary
number from right to left with powers of
= 8+ 4+1
= 13
Denary TO BINARY
25
To convert a binary number to
2 25 1 decimal we need to perform a
multiplication operation on each
digit of a binary number from right to
2 12 0 left with powers of 2 starting from 0
and add each result to get the
decimal number of it.
2 6 0
2 3 1
1
=11001
BINARY TO Hexadecimal
10101111 Group the binary digits into sets of
four, starting from the right. If
there are not enough digits to
make a complete set, add leading
=AF
Hexadecimal TO BINARY
3F
Step 1: Take given hexadecimal number.
Step 2: Find the number of digits in the decimal.
Step 3: If it has n digits, multiply each digit with 16n-
= 0011 = 1111
= 00111111
What is Character Encoding?