Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

Write a Java class named CMIS141HW3FirstnameLastnameYellow that represents

Write a Java class named CMIS141HW3FirstnameLastnameYellow that represents

your favorite musical instrument. Your musical instrument class should have at least 3 constants, 5 private data fields, getters and setters for each private data field, a toString() method, and three additional methods of your choice. Create a test class that constructs at least 5 of your musical instrument objects. For each of the objects constructed demonstrate the use of each of the methods. Be sure to use your IDE to accomplish this assignment. You can pick any instrument you want. When designing your class, think about what would make sense to describe and use the instrument. For example, if you selected a trumpet, you might need to provide the number of valves, the manufacturer, if the instrument is using a mute, the volume or even notes the trumpet is playing. Make this your own creation and have fun with it.
Your deliverables include your Java files (.java) and a single word document. The Java files should be named appropriately for your applications. Your word document should include screen captures showing the successful compiling and running of each application, and a detailed description of the test plan for each application. The screen captures should document your successful use of the IDE. The test plan should include the input, expected output, actual output and if the test case passed or failed. Submit your files to the Homework 3 assignment area no later than the due date listed in the calendar.

Homework 3 — Project Codename “Yellow”Before attempting this project, be sure you have completed all of the reading assignments, hands-onlabs, discussions, and assignments to date.(25 points) Write a Java class named CMIS141HW3FirstnameLastnameYellow that represents yourfavorite musical instrument. Your musical instrument class should have at least 3 constants,5 privatedata fields, getters and setters for each private data field, a toString() method, and three additionalmethods of your choice. Create a test class that constructs at least 5 of your musical instrument objects.For each of the objects constructed demonstrate the use of each of the methods. Be sure to use yourIDE to accomplish this assignment. You can pick any instrument you want. When designing your class,think about what would make sense to describe and use the instrument. For example, if you selected atrumpet, you might need to provide the number of valves, the manufacturer, if the instrument is using amute, the volume or even notes the trumpet is playing. Make this your own creation and have fun withit.Grading Rubric:The following grading rubric will be used to determine your grade:AttributeExceedsMeetsDoes not meetDesign (5 points)(5 points)Exhibits proper use ofparameters, andselection of data typesall of the time.Employs correct andappropriate use ofprogrammingstructures (loops,conditionals, classesetc.) all of the time.Efficient algorithmsused all of the time.(3-4 points)Exhibits proper use ofparameters, andselection of data typesmost of the time.Employs correct andappropriate use ofprogrammingstructures (loops,conditionals, classesetc.) most of the time.Efficient algorithmsused most of the time.(0-2 points)Rarely exhibits properuse of parameters, andselection of data types.Rarely employs correctand appropriate use ofprogrammingstructures (loops,conditionals, classesetc.)Poorly structured andinefficient algorithms.Functionality (10points)(9-10 points)Extra effort wasapparent through theaddition of significantand additionalfunctionality beyond(7-8 points)Program fulfills mostfunctionality.Most requirementswere fulfilled.(0-6 points)Program does not fulfillfunctionality.Few requirementswere fulfilled.
Background image of page 1
the scope of theassignment.Screen capturesprovideddemonstrating thesuccessful compilingand running of theprogram.Test cases (5 points)(5 points)Test cases providecomprehensivecoverage of all codepaths.Discussion of run-timeerrors included.(3-4 points)Test cases providecoverage of most codepaths.Test cases results welldocumented providingpass/fail results foreach test case.(0-2 points)No or insufficient testcasesMinimal supportingevidence provided toverify testing actuallytook place.Java Style Guide (5points)(5 points)Code impeccably neatand well-organized.Extensive In-linecomments providingadditional insight intocode design andfunctionality(3-4 points)Header commentsinclude filename,author, date and briefpurpose of theprogram.In-line comments usedto describe majorfunctionality of thecode.Meaningful variablenames and promptsapplied.Class names arewritten inUpperCamelCase.Variable names arewritten inlowerCamelCase.Constant names are inwritten in All Capitals.Braces use K&R style.(0-2 points)Code rarely followsrecommended Javastyle guideSubmission requirements:
Background image of page 2

Show 

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"