[Instructions] [Search] [Current] [News] [Syllabus] [Glance] [Links] [Handouts] [Project] [Outlines] [Labs] [Assignments] [Quizzes] [Exams] [Examples] [EIJ] [JPDS] [Tutorial] [API]
This is a short set of notes on assignment 2. I will go over other details in class.
What was I looking for in your assignments? An essential part of the assignment was a demonstration that you could think about the fields that one would need for a student. While there are probably hundreds of possible fields, I did want to see, at minimum, name, gpa, id number, and one other thing. If you chose a particularly nice group of fields, I gave you a little bit of extra credit.
I also wanted to see that you could write working Java code. I'm pretty sure that all of you were able to write code that compiled and did something useful.
I particularly looked that you met the basic requirements of the
assignment. In addition to the fields, I expected a constructor, some
getXXX methods, some setXXX methods, a
toString method, and one other interesting method. (Yes, I
know that there's not much interesting to do with basic student
information, but I expect that as Grinnell students you can be pretty
creative.) I also expected that you tested most (if not all) of your
methods.
Some of my criticisms may currently seem pointless (e.g., that I expect you to write a comment for every field and method, even t he ones that have only one line). However, I find that if you make it a point to always do these things, you develop good habits.
/** ... */) when documenting
fields, methods, and constructors. And document every field, method,
and constructor.
m and fn
have little meaning out of context.
toString method in your classes.
Monday, 14 February 2000
Wednesday, 16 February 2000
[Instructions] [Search] [Current] [News] [Syllabus] [Glance] [Links] [Handouts] [Project] [Outlines] [Labs] [Assignments] [Quizzes] [Exams] [Examples] [EIJ] [JPDS] [Tutorial] [API]
Disclaimer Often, these pages were created "on the fly" with little, if any, proofreading. Any or all of the information on the pages may be incorrect. Please contact me if you notice errors.
This page may be found at http://www.math.grin.edu/~rebelsky/Courses/CS152/2000S/Assignments/notes.02.html
Source text last modified Wed Feb 16 09:52:56 2000.
This page generated on Wed Feb 16 09:47:19 2000 by Siteweaver. Validate this page's HTML.
Contact our webmaster at rebelsky@grinnell.edu