1 / 8

CS12230 Introduction to Programming Lecture 4-x – Assignment

CS12230 Introduction to Programming Lecture 4-x – Assignment. The assignment. Art Show. Javadoc Its own little language. When I hand out code I omit it so we can see everything on one sheet Also I am ‘talking my code through’ YOU SHOULDN’T. Producing it. { { {. /**

kaycee
Download Presentation

CS12230 Introduction to Programming Lecture 4-x – Assignment

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS12230Introduction to ProgrammingLecture 4-x – Assignment

  2. The assignment Art Show

  3. Javadoc Its own little language When I hand out code I omit it so we can see everything on one sheet Also I am ‘talking my code through’ YOU SHOULDN’T

  4. Producing it { { { /** * This class represents a Player in a MUD Game * @author Lynda * @version version 1 */ public class Player { … stuff deleted /** * Better Constructor for objects of class Player * @param theName starting name * @param theImageFile where the picture resides */ public Player(String theName, String theImageFile) { … stuff deleted /** * toString () returns a printable String * @return nice printout information */ public String toString() {

  5. How use then? Player p=new Player(“fr”,”f.jpg”); p.setTreasure (t); System.out.println(p.toString()); Using it Class Playerextends java.lang.Object This class represents a Player in a MUD Version: version 1 Author: Lynda Under details: public Player(java.lang.String theName, java.lang.String theImageFile) Better Constructor for objects of class Player Parameters: theName - starting name theImageFile - where the picture resides

  6. Other things the assignment asks for • More UML and other notations

  7. Use case diagrams – part of your analysis of the problem (SEE 4-3 SLIDES) • Class diagrams and discussion. Make sure you have the links between the classes labelled correctly • An object diagram • Pseudocode for tricky algorithms – describe how you did the usecases • Testing: • A table with what you are testing, what you expect, whether it passed or not, refers to … • Some screen shots

  8. The format? • Write a self evaluation – mention what didn’t work on it • Make all your documentation into pdf • Put everything in one zip file (zip!!!!!!!!) • Submit via blackboard in enough time

More Related