Computer Science 202
Introduction to Programming
Fall 2012, The College of Saint Rose
Lecture 24: Methods and Classes
Date: Tuesday, December 4, 2012
Agenda
- Course evaluations
- Announcements
- Final projects continue - due Monday at 4 PM, usual late
penalty rules apply
- Final Exam information
- Two sittings available, both on Tuesday, December 11
- 8:00-10:30 AM, AH 114
- 4:10-6:40 PM, AH 205
- All topics covered up to the end of our last class meeting,
with some additional focus on those topics covered since exam 2:
writing methods and classes.
- No books, notes, neighbors, electronic devices permitted with
the exception of three pages of handwritten notes on 8.5 x 11"
sheets, double sided, plus your Java reference card that came
with Visual Logic.
- Review: Monday 6-8 PM, Albertus 216.
- Kinds of questions to expect: describe an algorithm in
pseudocode or with a flowchart that solves a given problem; find
the errors in an algorithm; given a Java program, what is the
output?; find the errors in a given Java program; write or fill
in some details of a Java program given a description of what it
should do.
- How to prepare: go over every lecture assignment and
programming assignment and class example, and make sure you
understand everything it does (is that all?). If you have made
the effort and understood what your programs were doing and why,
you should have no trouble with the exam questions.
- This exam is worth 25% of your course grade.
- Lecture assignment 23 recap
- Another method example
- Classes
- Work on Lab 10: Methods or final projects
Lecture Assignment 24
Due at the start of class, Thursday, December 6.
Please submit answers to these questions
in Blackboard by the start of class. We will discuss these questions at
the start of class, so no late submissions are accepted.
- Gaddis Find the Error exercise 3, p. 287 (2 points)
- Gaddis Find the Error exercise 4, p. 287 (2 points)
- Gaddis Algorithm Workbench exercise 7, p. 289 (2 points)
Examples