CSSE 120 — Introduction to Software Development, Robotics

Homework 10

Reminder: for each class session and associated homework:

  • You do all other work in Eclipse in the project that you checked out for that session.
  • You turn in your Eclipse work by committing that project:
    • Right-click on the project name in the Pydev Package Explorer view.
    • Select Team → Commit
    • In the message box that appears, put a message to yourself if you wish (eventually, these messages will be for your teammates) and press OK.
    It is a GOOD idea to COMMIT OFTEN, not just when you finish the homework. Doing so provides easy backups of your work.

Questions? Email csse120-staff@rose-hulman.edu.

Best place and time to do the homework: CSSE lab (Moench Hall, room F-217), 7 p.m. to 9 p.m., Sunday — Thursday.

Today's project: Session10_ConditionalsAndFiles

Main learning objectives for this homework:

  • Learning about if ... elif ... else statements
  • Learning about the counting pattern
  • Learning about Files: open, read/write, close
  • Learning about parsing strings: split, int, float

Do the following exercises. Use today's project: Session10_ConditionalsAndFiles

  1. Do the TODO's in the m1_ifs.py module of today's project.
  2. Do the TODO's in the m2_files.py module of today's project.
  3. Do the TODO's in the m3_countPassFail.py module of today's project.

Additionally:

  1. Complete any exercises from previous homework assignments that you have not yet completed.
  2. Begin preparing for the Exam next week by reviewing the concepts we have covered so far. Bring your questions to class!