=========================preview======================
(ELEC360)quiz04bsol.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 #4B (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 yellow and object is cyan
Green
b) Light source is red and object is green
Black
2. What kind surface property in the rendering process can be used to distinguish metal from plastic?
Specular Reflection (or you can explain the meaning if you have forgotten the name)
3. In the hidden surface removal algorithm, only surfaces facing the camera are rendered. How can we test if a surface is facing the camera?
If the angle between the direction vector of the camera and the normal vector of the plane is less 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. What is <ul> the reason for the error? <li>First item
<li>Second item
The closing tag </li> are missing for the </ul>
paragraph </xhtml>