Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Purpose: The main goal of this assignment is to practice Object Oriented Programming which includes classes and methods. Task: Create a Java project using the
Purpose:
The main goal of this assignment is to practice Object Oriented Programming which includes classes and methods.
Task:
- Create a Java project using the IDE
- Write a program using Object Oriented Programming
- Create a class with the following features
- A no argument constructor with default values in the body
- An overloaded constructor that accepts arguments
- A set method
- A get method
- Compress the project files and submit them
Criteria for Success:
See rubric and your notes from our in-class discussion
Rubric
Classes
Classes
Criteria Ratings Pts This criterion is linked to a Learning OutcomeSpecifications The program contains a class with the following features: 1) A no argument Constructor 2) An overloaded Constructor which accepts arguments 3) Getters and Setters 20.0 pts Full credit The code contains all three features from the criterion 15.0 pts Partial Credit The code contains two of the features from the criterion 10.0 pts Partial Credit The code contains one of the features from the criterion 0.0 pts No Credit The code contains none of the features from the criterion 20.0 pts This criterion is linked to a Learning OutcomeEfficiency The program is well written, efficient, and avoids unnecessary code. An effective solution is used for each task. 5.0 pts Full credit The program is written in an efficient way and does not contain unnecessary code 3.0 pts Partial Credit The program contains convoluted code that uses unnecessary code or contains unused code 0.0 pts No Credit The code is written in a way that makes it almost impossible to decipher 5.0 pts This criterion is linked to a Learning OutcomeFormatting The code is exceptionally well organized and easy to follow. The program includes whitespace to delineate the different sections of the code; the use of braces is logical and consistent; and the flow of the program is natural and avoids unexpected breaks. 1) Use of Whitespace 2) Logical use of Braces 3) Natural Flow 5.0 pts Full credit The code contains all three features from the criterion 4.0 pts Partial Credit The code contains two of the features from the criterion 3.0 pts Partial Credit The code contains one of the features from the criterion 0.0 pts No Credit The code contains none of the features from the criterion 5.0 pts This criterion is linked to a Learning OutcomeNaming All parts of the code use logical and consistent naming conventions including classes, methods, objects, fields, constants, variables. 1) Classes 2) Methods 3) Objects, Fields, Constants, and Variables 5.0 pts Full credit The code contains all three features from the criterion 4.0 pts Partial Credit The code contains two of the features from the criterion 3.0 pts Partial Credit The code contains one of the features from the criterion 0.0 pts No Credit The code contains none of the features from the criterion 5.0 pts This criterion is linked to a Learning OutcomeCommenting The comments are concise, well written, and unambiguous. Each section of the code clearly outlines the purpose of that section including classes, methods, and control structures (branching statements and loops). 1) Classes 2) Methods 3) Objects, Fields, Constants, and Variables 5.0 pts Full credit The code contains all three features from the criterion 4.0 pts Partial Credit The code contains two of the features from the criterion 3.0 pts Partial Credit The code contains one of the features from the criterion 0.0 pts No Credit The code contains none of the features from the criterion 5.0 pts Total Points: 40.0Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started