


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Main points of this past exam are: Dithering, Laoghaire, Little Lamb, Mary, Fleece, Assume, Default Font, Centered Lamb Image, Relative Frequencies, Algorithm
Typology: Exams
1 / 4
This page cannot be seen from the preview
Don't miss anything!



(NFQ Level 6)
Instructions Answer FOUR questions All questions carry equal marks.
Examiners: Mr. C. E. Manning Mr. J. Greenslade Mr. J. Walsh
Q1. (Total 25 marks)
Mary had a Little lamb
Its fleece Was white as snow
She went to Dún Laoghaire To España
And she went to CIT She went
almost everywhere
Everywhere that Mary went the lamb was sure to go
You may assume that all type is the default font and size. CIT is a link to the CIT homepage. The centered lamb image is 100x100 pixels and is named “lamb.gif”
(a) The table below shows the relative frequencies with which 16 characters occur in a particular language. Use Huffman’s algorithm to construct an optimal variable length code for the language. ( marks)
A 7 I 6 B 1 L 5 C 3 M 1 D 2 T 6 E 15 O 6 U 2 P 1 G 3 R 6 H 4 S 6
(b) How would the sting “ ITSRULES ” be expressed using this variable length code? (2 marks) (c) For “ ITSRULES ” what percentage saving (if any) do the variable length codes offer over the fixed length? (3 marks)
An MPEG video file comprises frames of three types.
What are these three types called? (6 marks)
Briefly outline the dependencies that exist between the three types of MPEG frame. (6 marks)
A sequence of MPEG frames is transmitted in the following order
33 37 34 35 36 41 38 39 40 44 41 42 43
For each frame in this sequence, identify the type of the frame. ( marks)
Q5. (Total 25 marks)
(a) Macromedia Director has six special channels in addition to those used for image sprites. Two of these channels are for sound. What are the other four and what are they used for?
(5 marks) (b) A Macromedia Director movie has a black button on stage in channel 5. Over the button is a hot spot in channel 6. When the mouse rolls over the hotspot, the button changes from black to white. When the mouse rolls off, it goes back to black. The white button is in cast member number 14 and the black button is in cast member number 15. When the hotspot is clicked the movie jumps to frame “action.”
A frame script in frame 10 controls the rollover. Write the Lingo code for the frame script. (20 marks)