Unit 1-Information Representation and Multimedia
Unit 1-Information Representation and Multimedia
representation and
multimedia
UNIT
1
NUMBER
SYSTEM
Denary(base 10)
ICE BREAKER
What are the column weightings for the binary number system?
Carry out the binary addition given on page 1 of the textbook
What are the column weightings for the hexadecimal number system?
Carry out the binary addition given on page 1 of the textbook.
UNIT
1
RECAPITULATION OF CONVERSION
RECAPITULATION OF CONVERSION
RECAPITULATION OF CONVERSION
BINARY TO HEXADECIMAL
CONVERSION
UNIT
1
BINARY TO HEXADECIMAL
CONVERSION
UNIT
1
HEXADECIMAL TO DENARY
CONVERSION
Column weightings are used to convert from hexadecimal to binary.
UNIT
1
1’s complement
Each digit in binary number is inverted.
2’s complement
Each digit in binary number is inverted.
1 is added to the right most bit.
UNIT
1
ACTIVITY 2:
ASCII codes
Disadvantage
Advantages
s
Character Limitations of ASCII
Easy to use
Non compatibility Issues with
Non-English Languages
KWL ACTIVITY
1.2 MULTIMEDIA
BITMAP
MULTIMEDIA VECTOR
SOUND FILES
UNIT
1
Bitmap images
Bitmap images
THINK,PAIR,SHARE
CASE STUDY
An Apple iPhone has a screen size of 5.5 inch and screen resolution of 1920 pixels into
1080 pixels. Calculate the screen density.
STEP 1: Add the squares of the resolution size ((1920)2 +(1080) 2
STEP 2: Find the square root of the sum.
STEP 3: Divide by the screen size.
An image An image
needs needs to
resizing look real
An image File
needs to be restrictions
drawn or are needed
scale
UNIT
1
SOUND FILE
UNIT
1
SAMPLING RESOLUTION
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 (A2D)
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
UNIT
1
SAMPLING RESOLUTION
UNIT
1
LOSSLE
LOSSY
SS
Loss of detail No loss of data
Algorithm used
decides which Quality not
parts to keep impacted
or discard
Impacts the
quality
UNIT
1
How are
How are MP3 photographic
and MP4 files images
compressed?? compressed??
UNIT
1
RLE ENCODING
Lossless encoding that enables compression by reducing the size of a string of adjacent, identical
data.
Repeating string is encoded into two values.
First value represents no. of identical data items. The second value represents the code of the data
item.
RLE is effective for long run of repeated units.
EXAMPLE: The 16 byte string aaaaa bbbb cc ddddd in ASCII would be stored as
0597 0498 02 99 05 100ss.
The size in memory reduces to almost 8 bytes.
UNIT
1
RLE ENCODING
RLE ENCODING
1 1 1 1 1 1 1 1
1 0 0 0 0 0 0 1
1 0 1 1 1 1 1 1
Compressed RLE is
1 0 1 1 1 1 1 1
9W 6B 2W 1B……
1 0 0 0 0 0 1 1
1 0 1 1 1 1 1 1
1 0 1 1 1 1 1 1
1 0 1 1 1 1 1 1