Lesson 14 Final Project and Presentation
Overview This lesson covers the following topics: • Develop a final project • Present the final project • Develop written documentation for the final project
Getting Started on the Final Project To apply your knowledge of NetBeans and Java and fine tune your presentation skills, you will work on a final class project. •Review the following project descriptions and choose a project to develop. •Working in groups or individually, choose a project that meets your interests and skill level. •At the end of the project, you will give an oral presentation including visual aids to demonstrate your project solution.
Project 1: Jeopardy This project will be developed in Java using NetBeans. Jeopardy! is an American television quiz show featuring trivia in a variety of subjects including: history, literature, the arts, pop culture, science, sports, and geography.
Project 1: General Requirements In this project, create a variation on the television game. •The goal is to answer the most questions. •The game can be played as a quiz for one person or as a game between two players or teams. •The player or team that accumulates the most points is the winner. •The moderator should keep track of the points for each team.
Project 1: Jeopardy Round Categories There are three categories of questions. •There are five questions in each category, each worth 100 to 500 points. •100 point questions are the easiest. •The questions get progressively harder as the point values increase.
Project 1: Jeopardy Round Categories Example Here is an example of how the categories could look.
Project 1: Jeopardy Round Functionality One player/team clicks a cell in the grid (“I’ll take operators for 100 points.”). A question is displayed. The moderator clicks to display the answer. •If the answer is correct, the points are added to the player/team score. •If the answer is incorrect, the team loses that amount. The other player/team now gets to choose a cell in the grid. 8
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Project 1: Question and Answer Example
Project 1: Double Jeopardy Round After all 15 questions have been attempted, the teams can play the Double Jeopardy round. •In this round, the amounts range from $200 to $1,000. This is double what the values were in the Jeopardy round. •Play is the same in this round as it was in the previous round, except there are three new categories. •In the two player/team game, the team that scores the most points wins.
Project 1: Double Jeopardy Round Example
Project 1: Final Jeopardy Round If a tie occurs, the Final Jeopardy round is played to determine the winner. •In this round, one uncategorized question is displayed and each team places a point wager on the answer they believe is correct. •The maximum wager of a team is their total points acquired thus far in the game. Each team that correctly answers the question will add the points wagered to their total score. •The team with the most points wins.
Project 1: Final Jeopardy Round Example
Project 2: Inventory Program This project will be created in Java using NetBeans. Create an inventory program that can be used for a range of different products (cds, dvds, software, etc.). •For each part, build upon the last part so that both the old and new requirements are met. •There are several parts to the project. The following slides offer an overview of the parts. •See the practice for this lesson for the complete project.
Project 2: Inventory Program Part 1 1. Choose a product that lends itself to an inventory (for example, products in your home, school, or workplace: office supplies; music CDs; DVD movies; or software). 2. Create a Product class. 3. Create two constructors. 4. Write getter/accessor and setter/mutator methods for four instance variables.
5. Override the toString() method from the object class that will show a description of each object that includes the variable values. 6. Create a Java main class called ProductTester that creates and initializes six Product objects.
7. From ProductTester, display the product number, the name of the product, the number of units in stock, and the price of each unit.
Project 2: Inventory Program Part 2 1. Add a Scanner to ProductTester to ask the user if they would like to add products. 2. Create a method in the Product class that will calculate the value of the each inventory item, using the quantity on hand and price. 3. Display the information in ProductTester for these products as was in Part 1. In addition, include the inventory value for each product by modifying the toString() method in Product.
Project 2: Inventory Program Part 3 1. Modify ProductTester so the application can handle multiple items using an array. A.
B.
C.
Create a method in the Product class that will calculate the value of the each inventory item, using the quantity on hand and price. Display the information in ProductTester for these products as was in Part 1. In addition, include the inventory value for each product by modifying the toString() method in Product. Implement the Comparable Interface to create another method in the Product class to sort the array items by the name of the product.
Project 2: Inventory Program Part 4 1. Modify the Inventory Program by creating a subclass of the product class that uses one additional unique feature of the product you chose (for the DVDs subclass, you could use movie title, for example).
2. In the subclass, create a method to calculate the value of the inventory of a product with the same name as the method previously created for the product class. The subclass method should also add a 5% restocking fee to the value of the inventory of that product. 3. Modify the output to display this additional feature you have chosen and the restocking fee.
Presentation Requirements Your final project will include a presentation which should include: •Introduction and high level outline of what you are presenting •Project overview •Demonstration •How the project requirements affected your design •Summary •Questions and answers
Presentation Rehearsal Be sure to sufficiently rehearse your presentation and demonstration.
Project Documentation Requirements • The project will include written documentation. This document should include the following sections: • Overview: Describe the problem and mention the development tool and most important features. • Design: Explain the high-level design of your solution. • Testing: Describe how you tested your solution. • Challenges: Explain any challenges you encountered. • Conclusion: Summarize the project including what you learned from working on this project.
Final Presentation Rubric Your project will be evaluated using a rubric that evaluates your work against the following criteria: •Organization •Animation/Interface •Code •Presentation/Demonstration •Documentation
Summary In this lesson, you should have learned how to: • Develop a final project • Present the final project • Develop written documentation for the final project