HW2 Grading Sheet

The TA/SAs grading your assignments will be using this form to tally your results. This will clearly explain to you what is being expected of you.

Question Points Actual Description Notes
1.

20 pts.
+4   Documented test cases to show student has considered different possible inputs  
+6   Create a String rev that represents the reverse of the line, WITHOUT using StringBuffer  
+4   Properly reads Input  
+4   Properly produces Output  
+2   Suitable Design Recipe Documentation  
2.

15 pts.

+4   Documented test cases to show student has considered different possible inputs  
+4   Properly reads String from the input file  
+4   Properly calculates values for table  
+3   Properly formats the output  
3.

25 pts.

+4   Documented test cases to show student has considered different possible inputs  
+4   Properly reads String from input  
+5   Properly reads multiple Strings from the sequence input  
+10   Proper functioning and calculated results for the table  
+2   Proper format of the output  
4.

25 pts.

+4   Documented test cases to show student has considered different possible inputs  
+4   Properly reads String from input  
+5   Properly constructs rev(s) to be used for the target search  
+10   Proper functioning and calculated results for the table  
+2   Proper format of the output  
5.

15 pts.

+4   Documented test cases to show student has considered different possible inputs  
+3   Program reads in variable number of ints, based on user input  
+1   Program prompts user for number of values to input  
+5   Functionality Correct  
+2   Suitable documentation (@author tags for class and design recipe within method)  
TOTAL

100 pts.

    Estimated Effort on these problems: 4 - 8 hours total  

HW2 Guidelines

To start the coding problems in this assignment, take the following steps:

  1. In eclipse, first create a project named "cs2102homeworks" (Just a suggestion). For all Java classes that you develop for your assignment, they MUST belong to the package:

        <userName>.hw2

    where <userName> is replaced by your CCC id. For example, if I were submitting this assignment, I would use "heineman.hw2". When you request to create a package (using the Eclipse wizard)
     

  2. For each question, you will need to create a class called "ProblemN" within the above package for each of these questions. For example, the Java class for question 2 should be called "Problem2". Note that we follow the Java etiquette to capitalize the name of classes. This "ProblemN" class is the one that will contain the 'static' method main, which is the entry point into any Java program. IT IS ESSENTIAL THAT YOU FOLLOW THESE NAMING GUIDELINES BECAUSE THE TAs ARE GOING TO HAVE TO EXECUTE/GRADE/READ 180 ASSIGNMENTS, AND THIS IS THE ONLY WAY TO AUTOMATE THE PROCESS.
     
  3. To submit hw2, first export all files in package "<userName>.hw2" to a zip file. To do this, right click on package "hw2", choose "export...", and in the pop-up window, select "zip file" as the export destination. Name this zip file as "USERNAME-hw2.zip".

    You can verify that your USERNAME-hw2.zip file is properly formatted by opening up the .zip file within WinZip or any program that reads that format. You should see within the .zip file all the Java source files that you created.
     
  4. Use the online turnin system to upload your files for you and your programming partner.

Notes

  1. Updated reference from 'hw1' to 'hw2' as relevant for this assignment.
  2. Initial guideline outline created. No details yet.

© 2006 George T. Heineman