CSC 160 Fall 2015 - Homework #7 (100 points)
Assigned Nov 9 & 11, due MON Nov 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.
  • For all Programming Exercises, submit in a module file with the given filename. Make sure to test before submitting, but don't submit the shell file.]
  • Submit all Discussion and Multiple Choice questions in a single file named "Ch6DiscussionPart2-LASTNAME"

    Chapter 6C (Assigned M 11/9)
  • Read Sections 6.5.2 of the textbook.
  • [10 pts.] Do Multiple Choice Questions #6,10 on page 195. For each question, explain the answer in one or two sentences.
  • [20 pts.] Do Programming Exercise #11 on page 198 (filename: ch6ex11-LASTNAME.py)
  • [20 pts.] Do Programming Exercise #13 on page 198 (filename: ch6ex13-LASTNAME.py) [Hint: So that the program works on both ints and floats, use eval to change each string into a number.]

    Chapter 6D (Assigned W 11/11)
  • Read Section 6.6 of the PowerPoint slides (not the textbook).
  • [10 pts.] Do Discussion Question #1 on page 195.
  • [40 pts.] Do Programming Exercise #1 on page 196. (filename: ch6ex1-LASTNAME.py)



    Last Modified: 11/9/15