Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
138 views2 pages

Unit 1 Data Representation

This document discusses different types of data compression techniques. It provides examples of when different compression methods would be suitable. 1. Lossy compression is more suitable for video recordings as some quality loss is acceptable, while lossless compression like Run Length Encoding is better for manuscripts where no quality loss can be tolerated. 2. Run Length Encoding applied to image data converts runs of the same color pixel to a single color code and run count, compressing GGGGGRRRRYYYYYRRRRGGGG into G5R3Y4R3G3. This is a lossless compression technique. 3. Reducing image resolution and color depth are lossy techniques that decrease file size but also result in lower quality

Uploaded by

finnvowles
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
138 views2 pages

Unit 1 Data Representation

This document discusses different types of data compression techniques. It provides examples of when different compression methods would be suitable. 1. Lossy compression is more suitable for video recordings as some quality loss is acceptable, while lossless compression like Run Length Encoding is better for manuscripts where no quality loss can be tolerated. 2. Run Length Encoding applied to image data converts runs of the same color pixel to a single color code and run count, compressing GGGGGRRRRYYYYYRRRRGGGG into G5R3Y4R3G3. This is a lossless compression technique. 3. Reducing image resolution and color depth are lossy techniques that decrease file size but also result in lower quality

Uploaded by

finnvowles
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Worksheet 14 Data compression

Unit 1 Data representation

Name:............................................................................. Class:................... Mark:................

1. (a) Give two reasons why you might compress photographic files
before emailing them.

Reason 1.

Reason 2:

(b) Two forms of compression are lossy and lossless.


Explain the most suitable form of compression to use when transmitting:
(i) a draft manuscript for a book.

(ii) A video recording which you have made of the school play.

2. A music production company needs to save music at the highest quality possible. They
would like to make use of compression if possible.
Explain how compression can help the music production company.

1
Worksheet 14 Data compression
Unit 1 Data representation

3. An algorithm called Run Length Encoding is used to compress an image. It converts the
file by recording the colour code, represented here by a letter, followed by the number of
pixels of the same colour, e.g. R4.
(a) Give the result of applying the algorithm to the following data for an image:

G G G G G R R R Y Y Y Y Y Y R R R G G G G

(b) Is this lossy or lossless compression?


Explain your answer:

4. Describe the effect of reducing the resolution and colour depth of an image.

[Total 15 marks]

You might also like