Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

HOMEWORK 1 - GRADING KEY 1. (17 points) Documentation and Coding Style Name, ID number and recitation at the top of ALL java files [2

HOMEWORK 1 - GRADING KEY

1. (17 points) Documentation and Coding Style

  • Name, ID number and recitation at the top of ALL java files [2 points]
  • Precise and correct specifications. [6 points]
  • Indentation. [3 points]
  • Variable Names. [2 points]
  • Javadoc Style for Documentation. [4 points]

NOTE 1: Only submit java files. We will use the javadoc *.java command to create the javadoc files.

NOTE 2: YOUR ASSIGNMENT WILL NOT BE GRADED if you submit only *.class files.

NOTE 3: YOUR ASSIGNMENT WILL NOT BE GRADED if you use ArrayList, Vector or any predefined Java API Data Structures.

2. (13 Points) Source Code

  • Implementation done as specified (additional methods are OK) [7 points]
  • Throw an exception back to the calling method(s) if a precondition is violated. [6 points]

3. (70 Points) Program Correctness

  • Program compiles without any errors. [15 points]
  • Program handles erroneous input gracefully [5 points]
  • A - Add Book [7 points]
  • S - Swap Books [7 points]
  • L - Loan Book [4 points]
  • R - Remove Book [7 points]
  • D - Duplicate Book [7 points]
  • C - Change Shelf [3 points]
  • O - Overwrite other bookshelf with clone of the current bookshelf [7 points]
  • E- Check for bookshelf equality [7 points]
  • Q - Quit [1 point]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems Asian Conference Aciids 2012 Kaohsiung Taiwan March 19 21 2012 Proceedings Part 3 Lnai 7198

Authors: Jeng-Shyang Pan ,Shyi-Ming Chen ,Ngoc-Thanh Nguyen

2012th Edition

3642284922, 978-3642284922

More Books

Students explore these related Databases questions