0% found this document useful (0 votes)
71 views

Represntation of Text, Sound and Image

The document discusses how text, sound, and images are represented digitally. It explains that ASCII uses 7-bit or 8-bit binary codes to represent letters and characters, with each character assigned a unique number. Unicode expanded on ASCII to represent all languages. Images are made of pixels, with higher resolution meaning more pixels. Sound is converted to discrete samples that are assigned values for amplitude, with more bits per sample and higher sampling rates providing more detail. Color images use combinations of binary values for red, green, and blue pixels to represent different colors.

Uploaded by

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

Represntation of Text, Sound and Image

The document discusses how text, sound, and images are represented digitally. It explains that ASCII uses 7-bit or 8-bit binary codes to represent letters and characters, with each character assigned a unique number. Unicode expanded on ASCII to represent all languages. Images are made of pixels, with higher resolution meaning more pixels. Sound is converted to discrete samples that are assigned values for amplitude, with more bits per sample and higher sampling rates providing more detail. Color images use combinations of binary values for red, green, and blue pixels to represent different colors.

Uploaded by

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

Representing text, Sound

And Images
KS4 – Data representations
Topic: Representing text , sound and image

Lesson Objective:
To understand how ASCII is used to represent text, sound and images.

Self assessment
Success Criteria:
AT I can explain the basic terms related to the topic.
ABOVE I can represent the text data using ASCII code.
ABOVE + I can examine the color image to find all the
possible combinations .
Retrieval Practice
Convert 49 into 8-bit number in the two’s Convert the –ve binary number in the
compliment format. two’s compliment format into negative
denary number. (11001101)
ASCII code and Unicode
The ASCII code system (American Standard Code for
Information Interchange) was set up in 1963 for use in
communication systems and computer systems.

The standard ASCII code character set consists of 7-bit


codes (0 to 127 in denary or 00 to 7F in hexadecimal)
that represent the letters, numbers and characters found
on a standard keyboard, together with 32 control codes
(that use codes 0 to 31 (denary) or 00 to 19
(hexadecimal)).

Extended ASCII uses 8-bit codes (0 to 255 in denary or


0 to FF in hexadecimal).
Representing Text
When any key on a keyboard is pressed, it needs to be
converted into a binary so that it can be processed by the
computer and the types character can appear on the screen.

A code where each number represents a character can be used


to convert text into binary.
The ASCII code takes each character on the keyboard and
assign it to a binary number.
Unicode
Unicode can represent all languages of the world, thus supporting many operating
systems, search engines and internet browsers used globally. There is overlap with
standard ASCII code, since the first 128 (English) characters are the same, but Unicode
can support several thousand different characters in total.

The Unicode was published with five goals:

 create a universal standard that covered all languages.


 produce a more efficient coding system than ASCII
 adopt uniform encoding where each character is encoded as 16-bit or 32-bit code
 create unambiguous encoding
 reserve part of the code for private use to enable a user to assign codes for their own
characters and
Representing Images (Bitmap images)
Images are made-up of tiny elements called Image resolution refers to the number of pixels that
pixels, higher the number of pixels , higher make up an image; for example, an image could contain
the resolution. 4096 × 3072 pixels (12 582 912 pixels in total).

Images need to be converted to binary for The resolution can be varied on many cameras before
computers to process them. taking, for example, a digital photograph. Photographs
with a lower resolution have less detail than those with a
Digital images are made-up of pixels which is higher resolution.
made-up of binary numbers.

Which image
has the highest
and lowest
resolution and
why?
Representing Sound
Each sound wave has a frequency, wavelength and
amplitude (Loudness of sound).

Analogue data to be converted using analogue to digital


converter (ADC).

ADC measures amplitude of sound wave. This is Sampling.

The number of bits per sample is known as the sampling


resolution (also known as the bit depth).

Sampling rate is the number of sound samples taken per


second. This is measured in hertz (Hz), where 1Hz means
‘one sample per second’
Benefits and drawbacks of using large sampling rate
Challenge
Task 1: Task 2:
Explain: How the following text data are represented
Sampling resolution in the computer using ASCII code:
sampling rate HELLO WORLD
color depth GOOD MORNING
image resolution PLEASE HELP ME:

Task 3:
A color image is made up of red, green and blue color combinations. 8 bits
are used to represent each of the color components.

i How many possible variations of red are there?


ii How many possible variations of green are there?
iii How many possible variations of blue are there?
iv How many different colors can be made by varying the red, green and blue
values?
Review/Exit Pass

Strength

Improveme
nt
Developme
nt

You might also like