Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Evaluating a Program for an Assignment - Computer Science I | CPSC 220, Assignments of Computer Science

Material Type: Assignment; Class: Computer Science I; Subject: Computer Science; University: University of Mary Washington; Term: Unknown 1989;

Typology: Assignments

Pre 2010

Uploaded on 08/19/2009

koofers-user-vck-1
koofers-user-vck-1 🇺🇸

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Evaluating a program done for an assignment.
Timeliness:
Full score for an on time project.
Deduct 5 points for each day late.
Style & Documentation:
Follows style conventions that make the program readable.
See, for example,
"Code Conventions for the JavaTM Programming Language,"
http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html
Comments that identify the author,
explain for each project component its purpose and the way in
which the purpose is accomplished, identify and give the
purpose for each variable or constant.
See "How to Write Doc Comments for the Javadoc Tool,"
http://java.sun.com/j2se/javadoc/writingdoccomments/index.html
Example:
/**
* Returns an Image object that can then be painted on the screen.
* The url argument must specify an absolute {@link URL}. The name
* argument is a specifier that is relative to the url argument.
* <p>
* This method always returns immediately, whether or not the
* image exists. When this applet attempts to draw the image on
* the screen, the data will be loaded. The graphics primitives
* that draw the image will incrementally paint on the screen.
*
* @author Ernest Ackermann
* @param url an absolute URL giving the base location of the image
* @param name the location of the image, relative to the url argument
* @return the image at the specified URL
* @see Image
*/
Program structure:
Appropriate use of classes and objects
Appropriate construction of classes and objects
Appropriate use of decision and iteration structures
Program code:
Proper code for the task. That is, code that does not accomplish
the task properly will not be given full credit.
Output:
Correctness and format of the output.

Partial preview of the text

Download Evaluating a Program for an Assignment - Computer Science I | CPSC 220 and more Assignments Computer Science in PDF only on Docsity!

Evaluating a program done for an assignment. Timeliness: Full score for an on time project. Deduct 5 points for each day late. Style & Documentation: Follows style conventions that make the program readable. See, for example, "Code Conventions for the JavaTM^ Programming Language," http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html Comments that identify the author, explain for each project component its purpose and the way in which the purpose is accomplished, identify and give the purpose for each variable or constant. See "How to Write Doc Comments for the Javadoc Tool," http://java.sun.com/j2se/javadoc/writingdoccomments/index.html Example: /**

  • Returns an Image object that can then be painted on the screen.
  • The url argument must specify an absolute {@link URL}. The name
  • argument is a specifier that is relative to the url argument.
  • *

    * This method always returns immediately, whether or not the * image exists. When this applet attempts to draw the image on * the screen, the data will be loaded. The graphics primitives * that draw the image will incrementally paint on the screen. * * @author Ernest Ackermann * @param url an absolute URL giving the base location of the image * @param name the location of the image, relative to the url argument * @return the image at the specified URL * @see Image */ Program structure: Appropriate use of classes and objects Appropriate construction of classes and objects Appropriate use of decision and iteration structures Program code: Proper code for the task. That is, code that does not accomplish the task properly will not be given full credit. Output: Correctness and format of the output.