CSY3010 Media Technology 20/21
CSY3010 Media Technology
Time-Constrained Assessment
There is an open book time-constrained assessment. All four questions are
compulsory. Use the provided answer sheet for your answers. The deadline to
submit your answer paper on NILE (module site – Submit your work - online
TCA submission) is 4pm, 13th January 2021.
Plagiarism and collusion
In an open-book TCA, you are able to access textbooks, lecture notes and other
resources. However, you must submit the answers written in your own words
based on your understanding of the subject and without any help from others.
Copying/ paraphrasing from any resource is prohibited. Turnitin similarity
check will be applied to all submissions to detect plagiarism and collusion. The
University of Northampton Policy on Academic Misconduct and Plagiarism
will be strictly implemented.
Page 1 of 6
, CSY3010 Media Technology 20/21
Q1. Lossless encoding and compression (25 marks)
You are given a string: lossless [mob] lossy
Replace [mob] with one of the following codes that corresponds to your month
of birth (jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec). For instance, if
you were born in March, then the string is: lossless mar lossy.
1. Use Huffman method to encode the string in Binary. Give the coding
table, the Binary results and the compression ratio (compared with ASCII
coding). (8 marks)
2. Use LZW method to encode the string (extend ASCII to 12 bit). Give the
extended coding table, the output, and the compression ratio. (8 marks)
3. Discuss the pros and cons of each method. Explain which method
achieves better compression results over the given string and why. (9
marks)
Page 2 of 6
CSY3010 Media Technology
Time-Constrained Assessment
There is an open book time-constrained assessment. All four questions are
compulsory. Use the provided answer sheet for your answers. The deadline to
submit your answer paper on NILE (module site – Submit your work - online
TCA submission) is 4pm, 13th January 2021.
Plagiarism and collusion
In an open-book TCA, you are able to access textbooks, lecture notes and other
resources. However, you must submit the answers written in your own words
based on your understanding of the subject and without any help from others.
Copying/ paraphrasing from any resource is prohibited. Turnitin similarity
check will be applied to all submissions to detect plagiarism and collusion. The
University of Northampton Policy on Academic Misconduct and Plagiarism
will be strictly implemented.
Page 1 of 6
, CSY3010 Media Technology 20/21
Q1. Lossless encoding and compression (25 marks)
You are given a string: lossless [mob] lossy
Replace [mob] with one of the following codes that corresponds to your month
of birth (jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec). For instance, if
you were born in March, then the string is: lossless mar lossy.
1. Use Huffman method to encode the string in Binary. Give the coding
table, the Binary results and the compression ratio (compared with ASCII
coding). (8 marks)
2. Use LZW method to encode the string (extend ASCII to 12 bit). Give the
extended coding table, the output, and the compression ratio. (8 marks)
3. Discuss the pros and cons of each method. Explain which method
achieves better compression results over the given string and why. (9
marks)
Page 2 of 6