Our Services

Get 15% Discount on your First Order

[rank_math_breadcrumb]

CMSC 215 Intermediate Programming Programming Project 1 The first programming project involves writing a program to find the tallest basketball player whose age is less than or equal to the average of

CMSC 215 Intermediate Programming Programming Project 1 The first programming project involves writing a program to find the tallest basketball player whose age is less than or equal to the average of all the players. The program should contain three classes. The java program must contain a main () method. The program class [public class (Java filename)] must have the same name as the java file name. Standard programing practice locates the main () method at the end of the program. The first class. Height. should contain two integer instance variables for the feet and inches. The class should be immutable, so it should have no setter methods at a minimum it should contain the following methods: • A constructor that accepts feet and inches constructs a Height object. • A method toInches that returns the height in total inches. • A method toString that returns the string representation of the height with a single quote. following the feet and a double quote following the inches. Regardless of what value for inches was supplied to the constructor the toString method should display the height normalized so the inches are less than 12. The second class, Player, should contain three instance variables that include the player’s name, the player’s height, which is stored as the type of Height and the player’s age. The class should be immutable, so it should have no setter methods It should contain the following methods: • A constructor that accepts a player’s name, height and age constructs a Player object. • Getter methods for each of the instance variables. • A method toString that returns the string representation of a player with each field appropriately labeled. The toString method of the Player class calls the toString method of the Height class. The third class InputData should repeatedly prompt the user for the information for each of the players. It should create a Player object for each player and add the player to an ArrayList. As the players are read in, the total age of all players should be computed to enable the average to be calculated once all have been input. Once all player information has been inputted, the average age of all players should be output. Then the list of players should be traversed to find the tallest player whose age is less than or equal to the average age of all players. OUTPUT The output to the screen is basically three prompts, one separate line for each, and lines that display the result of the programs processing. Each prompt should include enough information, so the user knows exactly what to enter on the line. Formatting may be necessary to be user friendly. The program can ask for an integer for the age or try to include year and month – not recommended. For the height display the format for the two entries. The program can have a while loop limiting the number of entries or there can be a statement. telling the user to continue until a word is entered, like exit or stop. There should be a check, especially for height indicating an invalid entry. This error is displayed on the screen. It would be user-friendly to explain to the user what the program’s purpose is. Before the user is prompted for data entry this section can be included. It is optional and will not affect the grade. DELIVERABLES: You are to submit two files. 1. The first file is a single java program file that contains all the source code for the project. The java file should contain only source code with appropriate comments and nothing else. If you elect to use a package, the .java file should be in a folder whose name is the package name. The program file should include a comment block at the top containing your name, the project name, the date, and a brief description of the class contained in that file. The java file and the program name in the java file should use the naming convention of CMSC215PROJ1[Last Name] [First Initial].java. 2. The second file is a Word document (PDF is also acceptable) that contains the documentation for the project, which should include the following: a. A UML class diagram that includes all classes you wrote. Do not include predefined classes. b. A test plan that includes test cases that you have created indicating what aspects of the program each one is testing. c. A short paragraph on lessons learned from the project. d. Each of the above elements is tagged and the content inserted into that element. UML Diagrams [Insert the various UML diagrams here.] Test Plan [Insert the various test Plan tables here.] Lessons Learned [Insert the paragraph(s) that identified the various lessons learned in research. deign, coding, and documentation.] e. The documentation name should use the naming convention of CMSC215PROJ1[Last Name] [First Initial].docx. A pdf file is also acceptable.

Requirement  of the project must include

50 points

1 – Includes Height class and all its required methods (20)2 – Includes Player class and all its required methods (20)3 – Includes InputData class (10)

100 points

1 – Creates array list of Player objects (40)2 – Correctly computes and outputs average age of players (30)3 – Correctly determines and outputs the tallest player (30)

50 points

1 – Discussion of approach included (10)2 – Includes correct UML diagram (10)3 – Includes test plan with  sufficient test cases (10)4 -Lessons learned included (10)5 -Comment blocks with student name, project, date and code description include

MY name is Aissata Samake

Professor Thomas Timko

Class CMSC 215

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

TNM1 — Task 2: Multipage Website Prototype Competencies 4040.01.1 : User Interface Design Projects The graduate describes user interface design project constructs. 4040.01.2 : User Interface Design Pr

TNM1 — Task 2: Multipage Website Prototype Competencies 4040.01.1 : User Interface Design Projects The graduate describes user interface design project constructs. 4040.01.2 : User Interface Design Process The graduate describes the user interface design process. 4040.01.3 : User Centered Web Design The graduate explains the relationship between the user and the site design. 4040.01.4 : User Interface

IntroductionUser interface and user experience (UI/UX) designer is one of the most popular job titles in the technology industry. UI/UX designers tend to enjoy the challenges associated with creating

IntroductionUser interface and user experience (UI/UX) designer is one of the most popular job titles in the technology industry. UI/UX designers tend to enjoy the challenges associated with creating products that people love. Industry leaders know that design is a substantial competitive advantage, and they are competing for best talents;

In Units V, VI, and VII, you learned about the components of a computer, how a computer works, the internet, networks and network communications, cloud computing, web development, digital identity, so

In Units V, VI, and VII, you learned about the components of a computer, how a computer works, the internet, networks and network communications, cloud computing, web development, digital identity, social media, e-commerce, ethical behavior, databases, and explored two Microsoft Office applications, PowerPoint and Access.  In this assignment, you will

In the previous assignment, the annotated bibliography, you collected 15 – 20 references. Now, you are to craft an analytical research paper. Using the same themes assigned for the previous assignment

In the previous assignment, the annotated bibliography, you collected 15 – 20 references. Now, you are to craft an analytical research paper. Using the same themes assigned for the previous assignment.  GROUP 1: Context-Aware Computing  Prepare a ten (10) page research paper. In the paper, you are to cover the

This week, you will submit the second project, the Desktop Migration Proposal. Using the requirements analysis your manager provided and the Internet research you conducted, submit your recommendation

This week, you will submit the second project, the Desktop Migration Proposal. Using the requirements analysis your manager provided and the Internet research you conducted, submit your recommendation to the assignment folder. As you are writing your recommendation, ensure your analysis and recommendations align with your manager’s priorities and concerns.

In Units I, II, and III, you learned about the history of computers, application and system software, blockchain, cryptocurrency, computer ethics, and explored two Microsoft Office applications, Word

In Units I, II, and III, you learned about the history of computers, application and system software, blockchain, cryptocurrency, computer ethics, and explored two Microsoft Office applications, Word and Excel.  In this assignment you will demonstrate what you have learned in these three units. This assignment will have five parts. 

Research and brainstorm three (3) proposals for a mobile computing solution. Write up a half-page (double-spaced, approx. 250 words) description of each mobile computing solution proposal. Provide an

Research and brainstorm three (3) proposals for a mobile computing solution.  Write up a half-page (double-spaced, approx. 250 words) description of each mobile computing solution proposal. Provide answers to the following questions: 1) What is the 1 sentence summary of the mobile computing solution? 2) Who and how big is

Creating and Submitting your Portfolio Overview Creating a professional cybersecurity portfolio is essential for showcasing your skills, achievements, and growth. This portfolio will serve as a valuab

Creating and Submitting your Portfolio Overview Creating a professional cybersecurity portfolio is essential for showcasing your skills, achievements, and growth. This portfolio will serve as a valuable tool for presenting yourself to universities, scholarship committees, employers, and beyond. Objective:: To design a professional cybersecurity portfolio that markets your academic and

IntroductionFor this project, you will create a personal portfolio website to demonstrate your ability to use HTML, CSS, and JavaScript and resolve software problems in web development environments. Y

IntroductionFor this project, you will create a personal portfolio website to demonstrate your ability to use HTML, CSS, and JavaScript and resolve software problems in web development environments. You will create three HTML pages: a résumé, a cover letter, and a career goals page. As you make your website, you

IntroductionFor this project, you will create a personal portfolio website to demonstrate your ability to use HTML, CSS, and JavaScript and resolve software problems in web development environments. Y

IntroductionFor this project, you will create a personal portfolio website to demonstrate your ability to use HTML, CSS, and JavaScript and resolve software problems in web development environments. You will create three HTML pages: a résumé, a cover letter, and a career goals page. As you make your website, you

Need to report 1 You will submit two reports generated from your developed database. These reports should be meaningful to your database. The report(s) resolve one of the problems that you originally

Need to report 1 You will submit two reports generated from your developed database. These reports should be meaningful to your database. The report(s) resolve one of the problems that you originally identified in your Database Proposal.  The lay out should be appealing to the eye and the design should

Select any example visualization or infographic and imagine the contextual factors have changed: If the selected project was a static work, what ideas do you have for potentially making it usefully in

Select any example visualization or infographic and imagine the contextual factors have changed: If the selected project was a static work, what ideas do you have for potentially making it usefully interactive? How might you approach the design if it had to work on both mobile/tablet and desktop? If the

Excel 365/2021 Capstone – Level 2 Working with Sales Data These instructions are compatible with both Microsoft Windows and Mac operating systems. In this project, you will work with sales data from T

Excel 365/2021 Capstone – Level 2 Working with Sales Data These instructions are compatible with both Microsoft Windows and Mac operating systems. In this project, you will work with sales data from Top’t Corn, a popcorn company with an online store, multiple food trucks, and two retail stores. You will