=========================preview======================
(comp101)[2007](sum)midterm2~masze^_10104.pdf
Back to COMP101 Login to download
======================================================
For each of the questions 1 to 15, please use a pencil to fill in the circle on the answer sheet that represents the best answer (4 points for each question).
1.Which of the following is NOT a valid HTML tag?



A.<h0>









B.<i>


C.<li>


D.<p>


2.What is the "dithering" technique in processing images?



A.To decrease the number of perceived colors









B.To decrease the perceived resolution


C.To increase the number of perceived colors


D.To increase the perceived resolution


3.Which of the following is NOT a valid <a> tag in HTML?



A.<a bookmark="top"></a>









B.<a href="image.jpg">some text</a>


C.<a href="mailto:[email protected]">some text</a>


D.<a name="top"></a>


4.Which of the following tags in an HTML document does NOT need a corresponding closing tag to be considered valid?



A.<blockquote>









B.<br>

6
C.<em>


D.<span>


5.If you want to let people send email to the address "[email protected]" in your webpage by clicking "Contact us", you should write:



A.<a href="[email protected]">Contact us</a>









B.<a href="mailto:[email protected]">Contact us</a>


C.<link href="[email protected]">Contact us</link>


D.<link href="mailto:[email protected]">Contact us </link>


6.Given a trueCcolor BMP picture with 1024*768 pixels, how large is the storage required to save it on the PC?



A.1024 * 768 / 8 bytes









B.1024 * 768 * 3 / 8 bytes


C.1024 * 768 bytes


D.1024 * 768 * 3 bytes


7.When inserting an image into HTML document, which of the following attribute should NOT be omitted in order to improve accessibility?



A.align









B.alt


C.href


D.width


8.Which of the following statements about GIF is wrong?



A.GIF has no audio capability.









B.GIF is a "loss-less" compression format.


C.GIF is the short form for "Graphic Interchange Format".


D.GIF supports true-color.


9.For an HTML document residing in the iHome server, to use an external style sheet called "private.css", the file private.css must be placed



A.in the parent directory of the HTML file.









B.in the same directory of the HTML file.


C.in the same website that the HTML file resides.


D.where the "href" attribute of the link specifies.


10.Usually most photographs captured by digital cameras are in .jpg rather than .bmp format. The main reason is that:



A..jpg images can be easily edited.









B..jpg images can contain more colors.


C..jpg images can have higher resolutions.


D..jpg images require less storage space.


11.Cookie files are used by



A.the browser to remember the websites visited.









B.the computer to manage the cached websites.


C.the operating system to remember the number of open browser windows.


D.the