=========================preview======================
(ELEC360)quiz2a_ans.pdf
Back to ELEC360 Login to download
======================================================
Hong Kong University of Science & Technology Department of Electrical & Electronic Engineering
ELEC 360: Digital Media & Multimedia Applications
Fall 2002
Name: _______________________________ Student ID: ___________________________ E-mail: ______________________________
Quiz #2A (14th November, 2002)
1. If figure 1 is the starting key frame of an animation sequence, which of the

Ans: e
2. What kind of 2D animation transition can be used in a visually pleasing manner between figure 1 and the picture you select in Question 1?
Ans: Translation
3. When we use a web browser to `surf the internet via the dial-up (i.e. phone line-based connection to the internet) TCP/IP network, which of the following data layer contains the IP address of the source?
a.
Application layer (i.e. web browser)

b.
Ethernet data frame

c.
TCP layer

d.
IP layer


Ans: b or d
4. In a corporate internet environment, it is common not to allow any web browser to `surf the internet directly. An intermediate agent called `proxy server is used as shown in the following figure. Name one of the reasons for deploying the `proxyserver.

Ans : Caching for faster access speed, Security features, etc.
5. XHTML is essentially a reformulation of HTML 4.0 as an application of XML. In XML, its syntax, or loosely speaking, its grammar, is tightly enforced. As such, all the bad habits or invalid syntax (so called ill-formed HTML) are no longer tolerated. In the following ill-formed HTML body, name one ill-formed aspect.
<body bgcolor = `#fffff0>
<p>
This is the first paragraph

<p>
This is the second paragraph


<b> This <i> is the </b> third </i> paragraph
Ans:
Line 1: should be #fffff0.
Line 2 and 3: without ending tags </p> which indicate the end of the paragraphs.
After line 4: ending tag </body> is missing, which indicates the end of the body.

6. Which one of the following tools does not belong to SGML?
a.
XML

b.
SVG

c.
SMIL

d.
Macromedia Flash

e.
MathML


Ans: d
7. What is the difference between the HTTP `GET and `POST request?
Ans:
A GET request is to retrieve a document from the server. Any specifications of the document are attached at the end of the URL like Cookies. Thus, the length of the data can be sent to the server is limited, usually less than 1024 bytes. The data sent have no effect on the data of the server.
A POST request is to pass sent data to the server. The data are contained inside the message body rather than at the end of the URL. Also, the data sent can be used to update the data in the server, e.g. to be stored in the server.
8. Which 3D transformations (maybe more than one) does the following matrix operation represent?
0 0 3 1
a.
Scaling

b.
Bending


. . . . ..Translationc.
d.
Rotation about the y-axis

e.
Rotation about the z-axis


Ans: c and e
9. For the specular re