Netbeans programming assignment

Assignment Help JAVA Programming
Reference no: EM131578988

NetBeans Programming Assignment

Read the assignment before you start. The order in which aspects are described does not necessarily indicate the order in which you should write the code. It is up to you to use the concepts we have covered to design the classes and methods that will go into your program; your grade will be based on how well you do this.

Most of the credit for the programming part of this assignment will be given for making good use of the programming ideas we've covered. A program that runs with nice output but does not make use of these ideas will get minimal credit.

Feel free to reuse code you have already written or example code that has been given, but be sure to remove portions unrelated to the current assignment, and to update variable names, method names, etc. Readability matters.

Use comments to clarify what your code is trying to do. If code does not work; partial credit will only be given if comments explain what it was trying to do.

NetBeans Programming Assignment Description:

We will have an online store with media items, and customers that can buy, own, and use these items.

The store will have various types of media -- books, movies, and programs. Each of these has a name, a price, and a size (how many MB of storage space it takes up) and books, movies, etc, should have other appropriate information specific to them. Users can "use" their media items; when a book is used, it is read and we should tell the user the title and how many pages, when a movie is used, the video plays, and we should tell the user how many minutes long it is, when programs are used they run, and we should tell the user the version. (You only need to display messages to say that these things are happening; you do not need to worry about any actual media.).

The store has a list of media items being sold (at least 20, including some from each type). This list can be shown to the user. Items from the list can be chosen (by their number in the list) to buy (note that when a customer buys from the store, that doesn't remove the store's copy).

The store also should have a list of at least three customers.

Each customer has a name, a balance (how much money is in their account), a certain amount of total storage space (e.g. 1GB), and a list of the media they have bought (you can assume they never buy more than 100 items).

Customers can browse their own media, in which case they are shown all the items they own, and can choose from the list an item to use.
Customers can shop the store and buy a new item, in which case we need to check that there is enough storage space left, and they have enough money, and if so, buy the item and add it to the list (and remove that much money). (Note that the amount of space left is their total storage space minus the total storage space of all the media they currently own).

EC+10 If they don't have enough storage space, ask if they want to buy more, at $25 per 1GB (if they can afford it), and if so, let them increase their space and charge them accordingly.

At the beginning of the program, a customer can log in by typing in their name. (Put a comment at the top of your main class with the customer names, so that I can test your program without having to search!)

A customer who is logged in can add money to their balance, browse the media they already own, shop for more, or log out.

If they browse, they can choose to use any of their media.

If they log out, allow a new customer to log in. Within one run of the program, a customer should be able to log in, buy new media, log out, then log back in again later and see their new media when they browse.

Reference no: EM131578988

Questions Cloud

How sociograms and social assessments can impact population : Consider how sociograms and social assessments can impact population-based health assessments as parts to a whole.
Create a class named pizza : Create a class named Pizza. This class should have three fields : a String for topping ( such as pepperoni, e.g.) , an integer for diameter in inches
Outline and discuss the business model used by the firm : Outline and discuss the business model used by the firm. How has the firm attempted to capture value from the innovation? -The supply side.
Describe the best cost finding method used in a large hospit : Describe the best cost finding method used in a large hospital. Discuss some of the specifics of how the method is structured (or should be structured)
Netbeans programming assignment : Design the classes and methods that will go into your program; your grade will be based on how well you do this - how much money is in their account
Describe how justification and excuse play a role : Explain the nature and types of defenses used in the cases and what evidence was used to demonstrate the defense. Describe how justification and excuse play
Is client stigmatized because of health problems : Is client stigmatized because of health problems? Does the clients' health problem affect his/her social and economic role in society?
What constitutes the necessary quality for the project : Which definition of quality "wins"? What steps can you take to ensure you and the customer agree on what constitutes the necessary quality for the project?
Analyze the manner in which his actions rose : Jack Kevorkian's saying, "dying is not a crime", and analyze the manner in which his actions rose to the level of homicide

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd