=========================preview======================
(ELEC360)quiz04asol.pdf
Back to ELEC360 Login to download
======================================================

Hong Kong University of Science & Technology
Department of Electrical & Electronic Engineering

Fall 2001 ELEC 360: Digital Media & Multimedia Applications Mansun Chan
Name: ___Solution______________ E-mail: ___________________________
Quiz #4A (November 13, 2001)
1. When a colored light source is used to illuminate a colored object, what color will you see on the object if: a) Light source is red and object is blue Black b) Light source is cyan and object is yellow Green
2. What kind surface property in the rendering process is necessary to generate the surface texture of metal?
Specular Reflection (or you can explain the meaning if you have forgotten the name)
3. In the hidden surface removal algorithm, all back facing surfaces are not rendered. How can we test if a surface is facing away from the camera?
If the angle between the direction vector of the camera and the normal vector of the plane is larger than 90 degree (the best way to answer this question is to draw a diagram)
4. In Microsofts Active Web Server, if you name a simple HTML document with a .asp extension, it will take longer time to retrieve then naming it with .htm extension. Explain why.
Because the server has to read through the document to look for scripts before sending the document out when the document is label with .asp extension
5. Consider the XHTML code given on the right. A <xhtml> XML browser will give out an error message.
<p ID=p1>First paragraph What is the reason for the error.
<p ID=p2>Second paragraph </xhtml>
The closing tag </p> are missing for the paragraph