0% found this document useful (0 votes)
9 views17 pages

Computer Ata

Uploaded by

ssuperior779
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
0% found this document useful (0 votes)
9 views17 pages

Computer Ata

Uploaded by

ssuperior779
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
You are on page 1/ 17

DATA

REPRESENTATION
What is DATA REPRESENTATION ?

Data representation is the method used to


encode information into a format that can be
used and understood by computer systems. It
is important as it, involves the conversion of
real-world data, such as text, images,
sounds, numbers, into forms like binary or
hexadecimal which computers can process.
TYPES OF DATA REPRESENTATION SYSTEMS ?

Binary Number System

Denary Number System

Hexadecimal Number system


What is Binary number system ?

Binary is a number
system that only uses
two digits: 1 and 0.
Computer only
understands binary
digits.
What is denary number system ?

Denary, also known as


"decimal" or "base 10," is the
standard number system
used around the world. It
uses ten digits (0, 1, 2, 3, 4, 5,
6, 7, 8, and 9) to represent all
numbers.
What is hexadecimal 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

01101 2 starting from 0 and add each result to


get the decimal number of it.

= 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

8421 8421 zeros.

1010 1111 Convert each set of four binary


digits to their hexadecimal
= 10 =15

=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-

3 4 1 where the digit is in the nth position.


Step 4: Add the terms after multiplication.

= 0011 = 1111

= 00111111
What is Character Encoding?

Character encoding tells computers how to interpret


digital data into letters, numbers and symbols. This is
done by assigning a specific numeric value to a letter,
number or symbol. These letters, numbers, and
symbols are classified as “characters”. Example ASCII
& UNICODE
What is ASCII?

ASCII (American Standard Code for Information Interchange) is the


most common character encoding format for text data in
computers and on the internet. In standard ASCII-encoded data,
there are unique values for 128 alphabetic, numeric or special
additional characters and control codes.
What is Unicode ?

Unicode is a universal character encoding standard. This


standard includes roughly 100000 characters to represent
characters of different languages. While ASCII uses only 1
byte the Unicode uses 4 bytes to represent characters.
Hence, it provides a very wide variety of encoding.
Real Life Examples
File Storage
When you save a text document, such as a .txt file, each
character is stored using its ASCII binary representation.
For example, saving the text "DATA" in a file involves
storing the following binary values:
D -> ASCII 68 -> Binary 01000100
A -> ASCII 65 -> Binary 01000001
T -> ASCII 84 -> Binary 01010100
A -> ASCII 65 -> Binary 01000001
QUIZ!
https://forms.office.com/Pages/ResponsePage.aspx?
id=YYXOMPxqc0Ow45mOMSz9v8Tv4D7HzPlKspJe1KGeSMpUNEp
aSUJLNTJWMDFMTDA4VUtGSkZLTUszWS4u
Thanks !

You might also like