CS 115 - Lab 2
[Back to CS 115 schedule]
Deadlines
- Writeup and code (lab02.py): Tu at 2 PM
- Demo (part F): Any lab section, workshop, or open tutoring session before Tu at 2 PM.
Goals
Upon successful completion of this lab, you should be able to write and edit Python programs
that use:
- numeric data types
- arithmetic operations
- order of operations
- the math library
Instructions
Follow the links below to complete each part of this lab.
- Setup and practice
- Computing the area of a square
- Computing the area of a circle
- Computing the volume of a cube
- Computing the volume of a sphere
- Computing the area of an equilateral triangle
- Submitting your assignment