# CSC1024 Quiz 5Fall 2011

This web page is http://www.bernstein-plus-sons.com/.dowling/CSC1024F11/CSC1024_Quiz_5.html

This is the fifth weekly quiz to be taken on or before Tuesday, 11 October 2011. You should do it after you read the first 8 chapters of Brackeen. You should expect to spend 30 minutes to 2 hours on this quiz. You may use your text and any other resources to do this quiz, but if you do not know the answers well or are unable to discuss them in class, you will lose credit for the quiz.

<==== Do this AFTER you've answered all the questions

You probably DON'T want to do this ===>

Please fill in the following information:

Name:

Email:

Please answer the following questions on this form (or on a paper copy of this form).

1. Under bash, how can you view the last 55 lines of a log file?

2. Explain persistence in the context of multi-player games and give the major choices in achieving persistence.

3. What is bot testing?

4. Explain the use of object pools and how that relates to garbage collection.

5. Explain how to make a normalized vector.

6. Explain the relationship between an x-axis a y-axis and a z-axis in a right-handed coordinate system in terms of your hand.

7. Give the formulae to rotate a point around the z-axis counterclockwise by angle theta.

8. Give the relationship between the dot product of two vectors and the angle between them.

9. What should be the order of vertices for a polygon when viewed from the front. (Hint: this is a "right-hand" rule).

10. What does a scan coverter do to a polygon?

11. Explain the three situations that rise when clipping a polygon to a plane and what to do in each situation.

12. Explain the relationship between texels and pixels and which ones you should consider first.

13. Explain why creating color objects and catching exceptions, which are not slow in general, can become a problem in texture mapping.

14. What is inlining?

<==== Do this AFTER you've answered all the questions

You probably DON'T want to do this ===>

Revised 1 October 2011