CSC 161 Fall 2022 - Homework 11 (10 pts. total)
Assigned Thu Nov 17, due Tuesday Nov 29


I. Answer the following questions from the Fundamentals of Python Programming text (available on Moodle) in a single Microsoft Word file. Submit on Moodle using the filename hw11-LastName.doc (where LastName is replaced by your last name):
[2 pts.] Read Chapter 3. Then, answer questions 18 & 19 on page 66.
[2 pts.] Read Sections 4.1-4.5. Then, answer questions 1 & 9(a,b) on pages 107-109.

II. Answer the following question from the Fundamentals of Python Programming text (available on Moodle) in a Python Editor file. To receive any credit for this question, the filename & your first and last name must appear as comments at the top of the file. Submit on Moodle using the filename hw11-OK-LastName.py (where LastName is replaced by your last name):
[3 pts.] Page 109 #12 [MUST show Steps 1-3 of the Software Development Process as commented out lines in your file. Make sure to Run the program on different cases of inputs and make sure you get the expected output in the Shell window in all cases.]

III. Answer the following question in a Python Editor file. To receive any credit for this question, the filename & your first and last name must appear as comments at the top of the file. Submit on Moodle using the filename hw11-gramsconv-LastName.py (where LastName is replaced by your last name):
[3 pts.] Use the Software Development Process (demonstrated in class) to write a program that obtains inputs for the number of pounds and the number of ounces from the user. Then, it displays the total number of grams. [Note: There are 28.35 grams in an ounce & 16 ounces in a pound.] [MUST show Steps 1-3 of the Software Development Process as commented out lines in your file. Make sure to Run the program on different cases of inputs and make sure you get the expected output in the Shell window in all cases.]



Last Modified: 11/16/22