=========================preview======================
(comp101)[2004](s)final~masze^_10089.pdf
Back to COMP101 Login to download
======================================================
For questions 1 to 29, please tick the box that is the best answer (2 points for each question).
1.
Which of the file formats below can be used for graphical contents? . .mp3 . .wav
. .mid
. .swf
2.
The data transfer speeds of typical broadband connection,dial-up modem connection, and Ethernet connection are approximately:
. 56K, 2M, 100M bps
. 2M, 56K, 100M bps
. 100M, 56K, 2M bps
. 100M, 2M, 56K bps
3.
How do we estimate the file size of a 30 second silent video clip (30 frames per second) of 400x300 pixels in true color?
. 400x300x16x30x30/8 bytes
. 400x300x24x30x30/8 bytes
. 400x300x16x30x30 bytes
. 400x300x24x30x30 bytes
4.
Most multi-media contents on the Web are delivered using streaming technology. Why?
. Streaming is the most effective compression technology.
. Streaming allows the viewer to experience the contents
with little delay.
. Streaming protects the copyright of the content owner.
. Streaming saves bandwidth during transmission.
5.
To get higher quality digital music one could . increase the sample rate . use MPEG 3 compression technology . use MPEG 4 compression technology . use all of the above approaches
6.
The three basic constructs of a computer program are . sequence, choice, and loop . sequence, loop, and function . keyword, variable, and special term . array, statement, and function
7.
For the HTML segment below, what will be the label of the button created? <input type="submit" value="click me!!" name="don't click me" onClick="alert('COMP101')"> . submit . click me!!
. dont click me
. alert('COMP101')
8.
The <script> and </script> pair of tags is . only used in the header section of the HTML file. . only used in the body section of the HTML file. . used anywhere to contain JavaScript statements. . required in all HTML files in order to pass the W3C
validator.
9.
It is always a good idea to use the ALT attribute when including images because:
. the browser can use the attribute to display a captionfor the image.
. the browser can display the attribute instead of the image if it does not support graphics.
. the webpage will be accessible to the vision-impaired if a page reader is used.
. all of the above.
10.To make a webpage pass the W3C validator, one should
. use Notepad to create the webpage, instead of editors
such as Frontpage or Dreamweaver.
. follow HTML standards as published by the W3C.
. not use frames or tables.
. not include multimedia contents.
11.Creating webpages with Dreamweaver is easy and doesn't require real knowledge of HTML. Why can it be useful tohave a good knowledge of HTML nonetheless?
. Sometimes Dreamweaver generates invalid HTML
constructs that you need to correct manually.
. The HTML generated by Dreamweaver does not work for
browsers on Unix computers.
. Dreamweaver supports only a limited number of
JavaScript functions.
. Dreamweaver cannot include Flash