CSC 160 Fall 2015 - Homework #4 (100 points)
Assigned Oct 7, due FRI Oct 16
Assignments submitted on Moodle with time stamps during
class time (Mon or Wed 4:15-5:40pm) will be given a grade of ZERO.
Chapter 3
Read Chapter 3 of the textbook.
[40 pts.]Do Discussion Questions 2 & 3 on page 74. Submit with the filename "Ch3Discussion-LASTNAME".
[60 pts.]Do the Programming Exercises below. Show Steps 1-4 of the Software Development Process in a module file with the given filename:
Programming Exercise 9 on page 77 (module file name: ch3ex9-LASTNAME.py)
[Note: This program needs to start by printing an introduction. Then it should ask the user for the lengths of the three sides of a triangle.]
Programming Exercise 11 on page 77 (module file name: ch3ex11-LASTNAME.py)
[Note: Natural Numbers means 1, 2, 3, and so on.]
Although you are not asked to submit the shell file, make sure you test your programs on your own before submitting them.
Last Modified: 10/8/15