1.3.3-1.3.4 Data Compression

studied byStudied by 4 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 33

flashcard set

Earn XP

Description and Tags

34 Terms

1
Compression
Process whereby algorithms reduce file size.
New cards
2
Decompression
Process whereby algorithms restore compressed data to their original format so we can access the data stored in compressed files.
New cards
3
Compression is heavily used with ______, ________, and ________ files. There are 2 different types of compression: _________, and _______.
sound, image, video, lossy, lossless
New cards
4
Lossy compression
Irreversible compression, lossy compressed files permanently lose some data that cannot be restored during file decompression. However, it does decrease file size more than lossless compression can.
New cards
5
Lossy compression is mostly used for multimedia like ______, ______, _________, etc. Its image/graphic file formats include ________ and ________, whereas its sound/audio file formats include __________ and __________.
audio, video, images, JPG (or JPEG), GIF, MP3, AAC
New cards
6
Digital artefacts
Noticeable distortion of media (images, audio, and video), caused by the application of lossy compression. Examples include blurred/lowered image or video quality, glitchy audio sounds, etc.
New cards
7
Lossless compression
Reversible compression, lossless compressed files can restore and rebuild file data during decompression to result in the exact same-quality data as the original, uncompressed file. However, it decreases file size less than lossy compression can.
New cards
8
Lossless compression is mostly used for __________, ___________, ___________, etc, where data loss is ______________. Its image/graphics file formats include ________ and ________, whilst its sound/audio file formats include ___________, _________, and _______. Lossless compression algorithms finds groups of repeating data and records them at _______, along with the number of ___________.
text, data files, programs, undesireable, PNG, TIFF, FLAC, ALAC, WMA, once, repetitions.
New cards
9
RLE
Run length encoding, lossless compression method where sequences that display redundant data are stored as 2 values: 1 value represents the number of repetitions/frequency the other value represents the actual data being repeated.
New cards
10
RLE is often written as 2 numbers: the first number represents the _________ or _____________, i.e. ________________________, while the second number represents the _________________, i.e. ________________________.
count, frequency, number of repetitions, data value, what is being repeated
New cards
11
Runs of data
Sequences where the same data value occurs consecutively in many data elements
New cards
12
Runs of data are stored as a ________________ representing frequency and the actual ___________________ (what is being repeated), rather than as the original _______. This helps save lots of ________ and therefore bits as well as file size! However, in files without many data _____________, RLE can _________ the file size.
count value, data value, run, characters, repetitions, increase
New cards
13
It's possible to reduce _____________ and _______________ of images or ______________ and _____________ of sound files. This leads to _____________________ as well as a _________ file size at the cost of _____________ image/sound quality.
image resolution, colour depth, sample rate, sample resolution, permanent data loss, smaller, lower
New cards
14
Explain the uses of compression.
Compression is often used for files and data that are sent via the internet, they lead to reduced transmission time (hence faster downloading), further data allowances, less bandwidth required, and less storage space needed to save files as compression reduces file size.
New cards
15
Transmission
Transfer of data from 1 digital device to another.
New cards
16
Data allowances
Maximum amount of data usage (uploads and downloads) that you're allowed to use without any extra cost because it's pre-paid under your monthly billing plan (e.g. mobile data plan).
New cards
17
Bandwidth
Maximum amount of data transmitted over an internet connection in a given amount of time.
New cards
18
Storage space
Mechanism allowing data storage on your computer either temporarily or permanently to protect it from drive failures.
New cards
19
Downloading data/file size for music tracks (kilobits) =
Downloading speed (kilobits per second) * Duration of music track (seconds)
New cards
20
What are the benefits of compression?
  1. Smaller file size → Fewer bits → Faster transmission time and reduced internet traffic.

  2. Reduced download time for video, sound (including speech used for VOIP - Voice Over Internet Protocol - systems), and image files.

  3. Streaming is possible as the data can be sent as fast as the rate at which it's played.

  4. Images in web pages appear faster.

  5. Takes up less space on disks/servers.

New cards
21
Internet traffic (a.k.a. network traffic)
Amount of data moving across a network during any given time.
New cards
22
Disks
Computer data storage device
New cards
23
Servers
Computer program/device providing service to another computer program and its user (client).
New cards
24
Buffering
When your device pauses mid-task. This occurs when download speed is slower than the playback speed. It can be reduced by closing other programs/applications, reducing video quality, or speeding up internet connections.
New cards
25
How does video streaming work?
  1. Files for video streaming are compressed.

  2. The TV or computer needs to decompress the data as the video is played.

  3. Before the video is played, it will buffer a sufficient amount to allow for occasionally slow network.

  4. If the website or server detects slow connection, it may start sending alternatively lower-quality (hence lower file size) files.

New cards
26
JPEG
Lossy file format for photos.
New cards
27
PNG
Lossless file format for images/photos, may include transparency.
New cards
28
ZIP
Lossless file format for document compression.
New cards
29
GIF
Lossless file format used for simple images, may include animation.
New cards
30
MP4
Lossy file format used for videos.
New cards
31
MP3
Lossy file format used for music/audio.
New cards
32
FLAC
Free lossless file formats for music.
New cards
33
ALAC
Apple lossless file format for music.
New cards
34
AVI
Lossless file format for audio and/or video playback on discs as well as DVDs.
New cards
robot