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

  Compare code of 2 similar java programs and explain it

Compare code of 2 similar Java programs and explain differences.

  An n n matrix is called a positive markov matrix

An n n matrix is called a positive Markov matrix if each element is positive and the sum of the elements in each column is 1. Write a program MarkovMatrix.java that prompts the user to enter a 33 matrix of double values. Use a method with the followi..

  Class pointparameters

What is the output of the following Java program? Explain in terms of how parameters are passed in Java.import java.awt.*;class PointParameters

  Give two different ijvm translations for the given java code

Give two different IJVM translations for the following Java statement: i = k + n + 5; Give the Java statement that produced the following IJVM code:

  Your task in this assignment is to develop a graphical user

your task in this assignment is to develop a graphical user interface based java program that can communicate with a

  What is the expected big-o running time

What is the expected Big-O running time if an ArrayList is passed. Explain your answer

  Create a third string consisting of the first half of string

Show the length of both strings - Create a third string consisting of the first half of string (1) and the second half of string.

  Write a java program and pseudocode to read a number

Write a java program and pseudocode to read a number up to 15 digits long or a date (dd/mm/yyyy). The program should distinguish numbers from input date, and prints them in alphabetic spelling form

  Nailpolish inventory in java

In addition, the GUI should include a button that allows the user to move to the first item, the previous item, the next item, and the the last item in the inventory

  In java programming objects are stored on stack

In java programming Objects are stored on Stack. True/False

  Eligible for garbage collection

When is the B object, created in line 3, eligible for garbage collection - There is no way one can be absolutely certain.

  Design a program to help a videorental store

Design classes (class video, class customer, etc) based on your analysis above, using LINKED LISTS for the database elements read into the main memory.

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