Text, Sound and Images - Updated1 (13nov)
Text, Sound and Images - Updated1 (13nov)
AHIS CS
CHARACTER SETS
What is ASCII?
• ASCII is a character set and was an accepted standard for information
interchange.
• ASCII uses 7 bits, providing 27 unique codes (128) or a maximum of 128
characters it can represent.
• ASCII only represents basic characters needed for English, limiting its use for other
languages.
Extended ASCII:
• Extended ASCII uses 8 bits, providing 256 unique codes (28 = 256) or a maximum
of 256 characters it can represent.
• Extended ASCII provides essential characters such as mathematical operators and
more recent symbols such as ©.
LIMITATIONS OF ASCII & EXTENDED
ASCII
• What is UNICODE?
• UNICODE is a character set and was created as a solution to
the limitations of ASCII.
• UNICODE uses a minimum of 16 bits, providing 216 unique
codes (65,536) or a minimum of 65,536 characters it can
represent.
• UNICODE can represent characters from all the major
languages around the world.
Q/A
• What is ASCII?
Ans: ASCII (American Standard Code for Information
Interchange) is a character set that uses 7 bits, allowing it to
represent a maximum of 128 characters.
S/Q/A
• True or False?
“ASCII can represent characters from all major languages around the
world.”
Ans: False. ASCII can only represent basic characters needed for
English, limiting its use for other languages.
• What is the definition of extended ASCII?
Ans: Extended ASCII is a character set that uses 8 bits, allowing it to
represent a maximum of 256 characters.
• Define UNICODE.
Ans: UNICODE is a character set that uses a minimum of 16 bits, allowing
it to represent a minimum of 65,536 characters from all major
languages around the world.
S/Q/A
AHIS CS 12
R E P R E S E N TAT I O N O F S O U N D
AHIS CS 13
• The number of bits per sample is known as the
sampling resolution (also known as the bit
depth).
In our example it is 4
AHIS CS 14
HOW IS S AMPLING USED TO RECORD A
SOUND CLIP ?
AHIS CS 15
THE BENEFITS AND DRAWBACKS OF USING A
L ARGER S AMPLING RESOLUTION WHEN
RECORDING SOUND
AHIS CS 16
REPRESENTATION OF SOUND ENDS HERE.
THANK YOU
AHIS CS 17
HOW IS SOUND SAMPLED & STORED?
• Measurements of the original sound wave are captured and stored as binary on
secondary storage.
• Sound waves begin as analogue and for a computer system to understand them they must
be converted into a digital form.
• This process is called Analogue to Digital conversion (ADC).
• The process begins by measuring the amplitude of the analogue sound wave at a point
in time, called samples.
• Each measurement (sample) generates a value which can be represented in binary and
stored.
• Using the samples, a computer is able to create a digital version of the original analogue
wave.
• The digital wave is stored on secondary storage and can be played back at any time by
reversing the process.
SAMPLE RATE & SAMPLE RESOLUTION
Colour depth: The number of bits used to represent each colour is called
the colour depth. An 8 bit colour depth means that each pixel can be one of
256 colours.
Increasing colour depth also increases the size of the file when storing an
image.
R E P R E S E N TAT I O N O F I M A G E S
AHIS CS 23
R E P R E S E N TAT I O N O F I M A G E S
AHIS CS 24
TYPES OF DATA
STORAGE
SAMPLING
QUANTIZATION AND ENCODING
M E A S U R E M E N T O F D ATA S T O RA G E
AHIS CS 29
M E A S U R E M E N T O F D ATA S T O RA G E
AHIS CS 30
CONVERTING BETWEEN UNITS