Chris Pollett >
Old Classes >
CS151

   ( Print View )

Your Grade: Course Info: Homework Assignments: Practice Exams:
                            












HW #3 Page

HW#3 --- last modified January 16 2019 00:35:13..

A solution set is posted here.

Due date: Oct. 10. (start of class)
========= 

Files to be submitted: cs151sec3hw3file1.java (4.7 out of book)
====================== cs151sec3hw3file2.java (5.1 a  out of book)
                       cs151sec3hw3file3.java (5.1 b out of book)
                       cs151sec3hw3file4.java (5.1 d out of book)
							  
Purpose: To gain experience with applets, parameter passing, template 
======== method pattern. To play with javadoc. To write classes which 
         are in the canonical form for public classes.

Specification:
==============
Besides writing the code for the above programs and 
submitting it, you should run javadoc on all of 
them and turn in a print-out of the web pages you get. 
Obviously, given the file names above you will have to
appropriately rename the public classes for these problems 
from the book. For the 5.1 problems, you can assume that 
I have Plotter.class in the appropriate directory. Lastly, 
for problem 4.7 you should add methods to your pie chart 
applet so that it meets the Canonical Form of Public Classes. 
On a sheet of paper, that you turn on the due date justify
in a paragraph or two why you chose to override the methods 
as you did.



Point Breakdown
===============
javadoc print-outs.....................1pt
4.7 justification of canonical form....1pt
4.7 draws pie chart....................1pt
4.7 uses parameters passed to it.......1pt
4.7 does have code for canonical form
  methods as described in your 
  justifications.......................1pt
5.1a works as described................1pt
5.1b works as described................1pt
5.1d works as described................1pt

Total..................................8pts                          

A solution set is posted here.