You are expected to work by yourself on this exam. You may use your notes, your book, and any other written or electronic material, but you may not discuss these questions with any person other than your instructor.
Please answer each question carefully and completely.
---------------------------------- NORMAL LINE
___ ____
/ \ / \
--- \ /\ / ------ RANDOM LINE
------ ----
color c
has been implemented. This command sets the current drawing color to
c where 1 = white and 0 = black.
An the motion of the rectangle may be:
/\
+---+ / \ ----+ ----+ +----+
| | -> / / -> | -> \ | -> | |
| | / | \ | | |
---+ ----+ -----+----+ +----+ +----+
The motion need not be correct according to the laws of physics, it is
sufficient to simply show correct transformations of the object.