Programming

textual information – information expressed using natural and formal languages in written or printed form.

Encoding text information

symbols 0-32: Operations, line feed, space input

symbols 33-127: International, Latin alphabet, numbers, punctuation marks and mathematical operations

symbols 128-255: National, symbols of Russian alphabet or other languages

2i =256=2i=28=i= 8bit = 1 byte

Table Unicode

2 bytes are allocated for each character

Windows, MS-DOS, КОI-8, Mac

N = 28 = 256

Unicode

N = 216 = 65536

Encoding graphic information

The spatial resolution of a monitor is the number of pixels that make up the image on its screen.

системы цветопередачи

dead pixel

Encoding pixel dots

2i = N

N – Amount of colors

I – Color depth, the length of the binary code that is used to encode the color of a pixel

Encoding sound information

Sound – elastic waves propagating in a medium and creating mechanical vibrations in it

amplitude – volume

frequency – height

Information volume of digitized sound

2b = N

I = H * t * b

N – Number of volume levels

b – Audio coding depth, quantization bit depth

H – Sampling frequency

I – Information volume of the file

In duration of 25 seconds, sound was recorded into a computer at a sampling frequency of 22.050 kHz and a quantization depth of 16bit. Determine the information volume of the resulting sound file.

b = 16bit
t = 25s
H = 22,05 KHz
I = H*t*bI = 22050*25*16 = 8820000Bit =
= 1102500byte = 1102.5Kb = 1.1 Mb
I = ?Anwser: 1.1 Mb

Encoding video information