Lesson Planning on File Compression

advertisement
Lesson Plan
Name of the Teacher: SL
Topic: Lossless Compression
Prior knowledge of Students

Level of the class: Form Four
Duration of the lesson: 40 mins
Students have the basic understanding of different multimedia file types, such as,
gif, jpg, mp3, midi, etc
Learning Outcomes/ Objectives:
After the lessons, students are able to:
1.
Relate the use of information compression in daily life;
2.
Identify different ways to achieve lossless compression;
3.
Understand the basic principles of lossless compression.
Explanation on the method(s)/Approach(es):
Inductive approach supported with exposition
Equipment/materials/support required:
Computers with Internet connection and LCD projector
Procedure:
Time
5 mins
10 mins
Activities
Q: How does your Mum pack your quilts during summer
time? How can this be done effectively?
T: (SET) Demonstrate the use of a vacuum pump to pack
down quilts
T: What makes the quilt reduced in volume?
Q: Can you restore the quilt to its shape and size? Is there any
loss in terms of the quantity of feather?
Q: How about computer files? How can we compress a
computer file? Can we squeeze the air out?
Q: Guess the meaning of the following three sentences: “Im
hpE”, “my day S incomplete with out ur btifl voiC!” and
“Ask nt w@ yr country cn do 4U - ask wotU cn do 4 yr
country.”
Q: View the following website and find out its meaning
http://www.lingo2word.com/translate.php
T: (Debriefing) Compression is an agreement between sender
and receiver to a system for the compaction of source
redundancy and/or removal of irrelevancy
Objective
Check
1
1, 2
1
20 mins
Q: How computer works in compressing the sentence: Ask not
what your country can do for you -- ask what you can do
for your country.?
3
(Ref:
http://computer.howstuffworks.com/file-compression.htm/printable)
Solution 1
Q: How is the size of the above compressed version in
comparison with the un-compressed one? Can you think of
a better way of compressing the captioned sentence?
Solution 2
Q: How is the size of this compressed version in comparison
with the un-compressed one?
T: (Debriefing) introduce the notion of LZ adaptive
dictionary-based algorithm.
5 mins
T: Summarize the basic strategies in compressing a file in a
3
(CLOSURE)
lossless way.
Further Work T: (Extension or building a connection with the next lesson)
(if time is
Apart from lossless compression, are there any other ways
available)
of reducing the size of a computer file? Do an Internet
search and tell me about your findings next lesson.
(Ref: http://www.ams.org/featurecolumn/archive/image-compression.html)
Follow-up
Browse the following website and read carefully the basic
1, 2, 3
work/ home principles of lossless compression.
http://computer.howstuffworks.com/file-compression.htm/printable)
assignment
Homework
Materials &
References
Evaluation
2
Download