2.6
Storing images, audio and video (2.6) is a Class 9 Computer Science lesson for the Punjab boards. It walks through the idea in plain steps, then sets a short check, in English, Urdu or Roman Urdu.
Your guide: Miss HiraExplains computers with chai, cricket and your phone.
Chapter 1 of every subject is free. Unlock every chapter of this class with the full course.
Unlock full courseAlready paid? Sign in with the Google account you paid with.
Data size is counted in bytes: 1 byte = 8 bits, 1 KB = 1024 bytes, then MB, GB, TB, PB, EB, ZB, YB, each 1024 of the one before. An image is a grid of pixels; each colour pixel stores Red, Green and Blue values from 0 to 255, so (255, 0, 0) is bright red.
Audio is stored by sampling (recording the wave at regular intervals; samples per second = sampling rate) and quantization (turning each sample into a number). Video is many frames per second (24 fps in films, 30 fps on TV) plus audio.
Formats: images JPEG (compressed, may lose quality), PNG (transparency, lossless), GIF (simple animations); audio MP3 (compressed), WAV (uncompressed), AAC (streaming); video MP4, AVI (older, larger), MKV (multiple audio tracks, subtitles). All are stored as binary on HDD, SSD or cloud storage.
Step 1 / 1
Data size is counted in bytes: 1 byte = 8 bits, 1 KB = 1024 bytes, then MB, GB, TB, PB, EB, ZB, YB, each 1024 of the one before. An image is a grid of pixels; each colour pixel stores Red, Green and Blue values from 0 to 255, so (255, 0, 0) is bright red.
Audio is stored by sampling (recording the wave at regular intervals; samples per second = sampling rate) and quantization (turning each sample into a number). Video is many frames per second (24 fps in films, 30 fps on TV) plus audio.
Formats: images JPEG (compressed, may lose quality), PNG (transparency, lossless), GIF (simple animations); audio MP3 (compressed), WAV (uncompressed), AAC (streaming); video MP4, AVI (older, larger), MKV (multiple audio tracks, subtitles). All are stored as binary on HDD, SSD or cloud storage.
Image = pixels, audio = samples, video = frames.
Found a mistake? Tell us the lesson and the line at exciting@boringeducation.com.
No ads. Tell us what to fix.