Computer Science 112
The Art & Science of Computer Graphics

Spring 2016, The College of Saint Rose

Lecture 2: Elementary Modeling
Date: Monday, January 25, 2016


Agenda

Lecture 2 Assignment

Due at the start of class, Wednesday, January 27.

Please submit answers to these questions either as a hard copy (typeset or handwritten are OK) or by email to terescoj AT strose.edu by the start of class. Please use a clear subject line when submitting by email (e.g., CSC 112 Lecture 2 Assignment , Joe Student). 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)

Terminology