|
Reminder: for each class session and associated homework:
- You generally have reading to do.
- 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: Session04_NumbersAndLoops
|
Main learning objectives for this homework:
- Continuing to understand functions with parameters and calling such functions with actual arguments
- Continuing to understand functions that return values and how to use those returned values, often by capturing the returned value in a variable
- Objects:
- Constructing
- Using : dot notation for methods and instance variables (aka fields )
- The Zellegraphics module for simple graphics
- Introduction to the debugger in Eclipse.
- Using it to inspect values of variables.
- Counted loops , i.e., loops that use a range statement
- Accumulator loops : accumulating a sum, product or string
Additional learning objectives for this homework:
- Continuing to get familiar with Eclipse (your IDE — Integrated Development Environment)
- Continuing to explore defining functions versus calling functions
- Continuing to explore printing versus returning a value
|