assignment_two


"/home/yossef/notes/Su/network_based_multimedia/assignments/assignment_two.md"

path: Su/network_based_multimedia/assignments/assignment_two.md

- **fileName**: assignment_two
- **Created on**: 2025-03-19 17:14:52

INT338 — Network-Based Multimedia

Assignment 2


Question 1: What is the distinction between lossy and lossless data compression?


Question 2: Give one application each suitable for lossy and lossless compression.


Question 3: Describe the difference between lossless and lossy compression techniques for encoding information and give an example of each in image coding.


Question 4: Define the term "run length coding."


Question 5: Give the principle of "differential encoding."


Question 6: Given the following Differential Pulse Code Modulated (DPCM) sequence, reconstruct the original signal:

+4 +2 +3 -2 +3 -1 +1 +1


Question 7: Find the Huffman codeword for the given text "AAAAAAAAAABBBBBCCCSS" using a static Huffman tree. Calculate entropy and derive the average number of bits per character.


Question 8: Audio encoding at 8 bits/sample, 8000 samples/sec — how many bits per second?


Question 9: Video encoding at 1000×1000 pixels, 24 bits/pixel, 30 frames/sec — how many bits per second?


Question 10: Describe LZW encoding algorithm using "ABABBABCABABBA" as an example.


Question 11: Describe four basic types of data redundancy for audio, image, and video signals.

  1. Temporal: Redundant data over time (e.g., unchanged video frames).
  2. Spatial: Correlation between neighboring pixels.
  3. Spectral: Exploits color/brightness frequency patterns.
  4. Psycho-visual/acoustic: Leverages human perception limits.

Question 12: One example each of lossless and lossy compression techniques:


Question 13: Basic approach of entropy coding algorithms. Two examples:


Question 14: Briefly state the Huffman coding algorithm. Encode "AAABDCEFBBAADCDF":


continue:[[]]
before:./assignment_one.md