Computer Science 112
The Art & Science of Computer Graphics

Fall 2015, The College of Saint Rose

Lecture 2: Elementary Modeling
Date: Friday, September 4, 2015


Lecture 2 Assignment

Due at the start of class, Wednesday, September 9.

Please submit answers to these questions in Blackboard by the start of class, or bring a hard copy to class. We will discuss these questions at the start of class, so no late submissions are accepted.

  1. Write a Python statement (i.e., a line you type at Python's >>> prompt) that computes the sum of the odd numbers less than 10. (3 points)
  2. Write a Python statement that computes 5 factorial (that is, 5×4×3×2×1). (3 points)