University of Toronto - Fall 2000
Department of Computer Science

Assignment 1 Announcements

Monday 25, September:

Question: In part one, do we need to print the number of pages remaining immediately after we instantiate p1?
Answer: The assignment handout asks you to print the number of pages remaining after each statement you have added, so yes, you'll need to print this information at this point in your program.

Monday 25, September: Every comment?

Question: Do I need to add any java statements between these comments or the corresponding pair in Part Two?
   // Part One

   // instantiate a printer card called p1

Answer: No, nothing needs to go between these comments.

Monday 25, September: Fall Back Plan

Question: In the assignment handout, I'm only instructed to submit files in step 3 of Part 2. What about my Part 1 code?
Answer: The code you added for Part 1 will still be in the AssignmentOne.java file you submit in Part 2 of the assignment. Do not remove it. Also, if you can't finish Part 2, you should still submit your version AssignmentOne.java with the parts of the assignment that you were able to finish.

Friday 22, September: Output Format

Clarification: Each statement reporting the number of pages should be printed on a separate line (with no spaces before or after the statement).

Thursday 21, September: CodeWarrior Required?

Question:In the assignment handout, it talks about making a CodeWarrior project. Do I have to use CodeWarrior even if I work at home?
Answer: No, using CodeWarrior is not required. If you are using CodeWarrior you will need to make a project which includes both source files. If you are using the JDK directly you will want to put the files in the same directory. You are welcome to use any other IDE but we aren't able to help you with instructions about how it works. As a general rule each class should stay in its own file where class X is in the file X.java.

Thursday 21, September: Extra Output

Question:Is it ok if I have extra output statements beyond what you specified in the handout?
Answer: Absolutely not. We plan to mark your assignment using another program which will look at the format of your output. If it does not exactly match the specifications, then the marking program will consider your program wrong.

Wednesday September 13, 2000: Sample Output

Question: Will you be providing a sample output file for this assignment?
Answer: No. The required output is completely specified in the assignment handout. Reading exact specifications without being given examples is part of what you are learning in this course.