Java

Need Help in Java Assignment?
We can help you if you are having difficulty with your Java Assignment. Just email your Java Assignment at admin@assignmentcache.com.
We provide help for students all over the world in Java Assignment.

Items 11 to 20 of 100 total

per page
Page:
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5

Grid  List 

Set Ascending Direction
  1. CMIS 141 Project 2 Input Numbers

    CMIS 141 Project 2

    Regular Price: $15.00

    Special Price: $12.00

    CMIS 141 Project 2


    This project focuses on the use of of sequential, selective and repetitive programming statements, methods, and modular programming. Before attempting this project, be sure you have completed all of the reading assignments listed in the syllabus to date, participated in the weekly conferences, and thoroughly understand the examples throughout the chapters.


    The project requirements include:
    1. Design and implement a Java program that will gather a group of floating point numbers and determine the sum and average of the data entered. The program should use separate methods for inputting the data, calculating the sum, calculating the average, and displaying the results. A sentinel value should be used to indicate the user has completed entering their numbers. The output should display a message that includes the count of the numbers entered, the sum of the numbers and the average of the numbers. If the sum of the numbers is greater than 100, a warning message should be displayed indicating "values have exceeded a sum 100".


    2. Additional requirements include:
    1. Use JOptionPane.showInputDialog() methods for your user to input their data
    2. Use JOptionPane.showMessageDialog() methods to display your messages.
    3. Include a comprehensive set of application test data that you used to test your program. Similar to Project 1, your test data can be shown in a table that includes input data, expected output, actual output and pass/fail results from the test.


    Submission requirements:
    Your deliverables include a Java file and a Word document. The Java file should be named Yournamep2.java. Your word document should include your test table and be named Yournamep2.doc. Your completed assignment should be submitted to your Project 2 assignment area no later than the due date listed in the syllabus.

    Learn More
  2. CMIS 242 Project 2 Age-Recognizing Form v2.0

    CMIS 242 Project 2 Age-Recognizing Form v2.0

    Regular Price: $15.00

    Special Price: $12.00

    CMIS 242 Project 2 Age-Recognizing Form v2.0

    Enhance the form you created in Homework 3 to add:
    1. a JCombobox to select the user's state of birth (assuming one of the 50 US states)
    2. a JRadio button to indicate the user's gender
    3. a JTextArea
    When the user clicks on the JButton (from Homework 3), your program should display all of the user's information in the JTextearea.
    You should use an appropriate layout manager to provide a neat, aesthetically-pleasing interface.
    Ensure that your code compiles and runs without errors. Additionally, be sure to comment your code appropriately.

    Learn More
  3. Tracking Contributors Linked List Java Program

    Tracking Contributors Linked List Java Program

    Regular Price: $15.00

    Special Price: $12.00

    Tracking Contributors Linked List Java Program


    Your first task in developing the application for tracking contributors is to load a list of the people who are helping the cause. Design and develop a linked list, implemented as a stack, to track all of the contributors. You will read the contributor information from a file provided; it is a comma delimited (CSV) file. Your design should include the following:


    Each contributor will have the following Information:
    • Name: String; //the name of the contributor
    • City: String; //the city in which the contributor lives
    • Country: String; //the country in which the contributor lives
    • Phone: String; //the phone number for the contributor
    • Contribution: Double; //the amount of the contribution given by the contributor to the zoo
    • ID: Integer; //identifier key for future needs


    Contributor Functions/Methods:
    • Input constructor: //to accept a string for the name and additional information for each contributor (this should call the Push constructor to implement the stack)
    • Print constructor: //to print out the contributor data
    • Pop constructor
    • Push constructor


    Deliverables:
    • A fully documented program to load the data implemented as a stack
    • A test plan to show how the program runs and can be executed
    • A screenshot showing that the program loaded the data, and after all data is loaded, perform a single pop of the stack

    Learn More
  4. Travel Agents System Java Program

    Travel Agents System Java Program

    Regular Price: $30.00

    Special Price: $25.00

    Travel Agents System Java Program


    You are to develop program in Java for a small travel agents. The company arranges holidays from four UK airports to five international destinations. Users need to find flight times and costs for journeys between these destinations. The system also provides information on hotels at the destinations (name of hotel and cost per person per night). Information on hotels can only be added, or loaded from file, when the program is running. The following table (Table 1) provides the airport names, destinations, costs and flight times for the journeys Table 1 Information for the travel agents program – the two values represent cost (£) and flight time (hours) respectively – you can make up your own (realistic values) if you wish


    Airport/Destination | New York |Dahab | Rome |Sydney |Tokyo
    East Midlands |200/5.0 |150/4.0 |100/1.0 |500/22.0 |400/12.0
    Birmingham |190/4.8 |140/3.5 |95/1.1 |480/22.5 |380/12.5
    Heathrow |195/4.9 |140/3.6 |95/1.1 |490/23.0 |390/12.5
    Manchester |210/5.5 |145/3.7 |110/1.2 |470/22.7 |370/12.6


    (the above is a data table, where there is a line, represents the cell)


    Your program should have a main menu with four options – Time, Price, Hotels and End (which terminates the program). The Hotels option takes the user to another (Hotel) menu with the following six options – View Hotels; Add Hotel; Delete Hotel; Save Hotels; Retrieve Hotels; Exit (back to the previous menu). Note that your program should include appropriate error trapping – for example, entering an invalid date (eg 30 February).
    Functionality for each of these menu options is explained below:
    Time – Provides the flight time presented in hours.
    Price – The cost of travelling from an airport to a given destination (both selected by the user). Note, if the customer is travelling on the last day of the month the fare should be increased by 5% (and display a message to say that this has been done). The system will therefore need to ask the user the date of travel. It should not simply ask the user if it is the end of the month – but work this out from a date provided by the user.
    Hotels – Takes the user to a Hotels Information Menu.
    Hotels menu
    View Hotels – The user selects a destination and the system displays all available hotels at that destination including the overnight cost per person. If there are no hotels for a destination it should display a message to say so.
    Add Hotel – Allows the user to add a hotel for a given destination. This should add to the list of existing hotels for that destination (if there are any). For example, I might add 'Belle Vue' as a hotel in Sydney at a cost of £50 per person per night.
    Delete Hotel – Allows the user to delete a hotel from a list of hotels at a destination.
    Save Hotels – save all the information on all hotels to a single file in a format of your choosing.
    Retrieve Hotels – read in all the information on hotels from a user selected file (a file saved using the previous option). This should overwrite any existing hotel data in the program when it is running.


    Marking
    The more functionality you add to the program the higher your mark. Begin by getting the menu options in place then add functionality to your program in the following order (make sure that earlier parts of the system are working properly before moving on). Your program should also be structured in an object oriented way. You should try to identify and implement a number of classes for this program.


    Minimum pass (40%)
    The flight time between any airport and destination;
    The cost of travel between any airport and destination;
    Increased cost of travel on the last day of the month and a message to say this has been applied;


    40%-70%
    View hotels – users can view information on all hotels at a chosen destination; Add hotel – the ability for users to add hotels for a destination;
    Sort hotels – users can sort all hotels alphabetically;


    Documentation
    Your coursework should be submitted with appropriate documentation. You should include class diagrams, designs, functionality not completed, functionality working, test plans, evaluation, and program listings. Make sure you include an explanation of how your code should be run (eg. which file should be compiled and run and anything I need to know about using the program – a user guide).

    Learn More
  5. CMIS 242 Final Project Person Details

    CMIS 242 Final Project Person Details

    Regular Price: $15.00

    Special Price: $12.00

    CMIS 242 Final Project Person Details

    This project focuses on demonstrating your understanding of Java Collections. Before attempting this project, be sure you have completed all of the reading assignments listed in the syllabus to date, participated in the weekly conferences, and thoroughly understand the examples throughout the chapters. The project requirements include:

    1. Write a Java application that effectively uses Java collections to store up to 20 instances of the Person class and its subclasses. Then write a GUI that displays the Person names using radio buttons to select a name. When selected a TextArea of the GUI should display the information about the selected Person.

    2. Your program should compile and run without errors.

    Learn More
  6. Employee Online Time Clock Project

    Employee Online Time Clock Project

    Regular Price: $25.00

    Special Price: $20.00

    Employee Online Time Clock Project


    Overview
    The final project for this course is the creation of an Online Time Clock. The final project is designed to allow you to put together the concepts learned in the course and to demonstrate your ability to write a useful Java program. The final project is given early in the course so that you will have plenty of time to design the program before it is due.
    Early in the course, you will not have the knowledge to implement many of the required elements, but you will still be able to move your project forward by designing it at the conceptual level. Diagramming and pseudo coding before coding a project allows you to think through what needs to be done in detail, thus allowing you to see design flaws before they have been coded. The extra effort to design the program before coding will make the coding process much easier and will result in fewer bugs. The project specifications include a list of requirements that demonstrate different areas of Java development that must be included in your final project to demonstrate your skill in that area. The project shall demonstrate the following skills:
    • Use of a static member
    • Use of extended class
    • Code Commenting
    • GUI or Console based interface
    • Use of public and private methods
    • Use at least one overloaded constructor
    • Create instances of class(es)
    • Use the 'this' reference
    • Optional: Exception handling using try/throw/catch/finally


    The project is divided in to Six Milestones, which will be submitted at various points throughout the course to scaffold learning and ensure quality final submissions. These milestones will be submitted in Modules Four, Six, Seven, Eight, Nine, and Ten.


    Main Elements


    Approach Blueprint
    Coding a project of this size requires some planning and time. Work on building a blueprint for the program throughout the term. Having a blueprint will make the coding simpler and keep you from going down dead ends. Some important things to work on early:
    • If the application is using more than one screen (console applications have no choice.), what is the flow between screens? A flow chart that covers all of the possible screen access possibilities will avoid logic problems in the application.
    • Break the program down into a set of classes that will work together to execute the program. Object oriented programs are easier to write than structured programs because each class has one set of functionality that it does well and working on one piece at a time makes the programming easier. List out the properties and methods that each class will use so that the relationship between the classes can be established. (Software Engineers create formal class diagrams that show the class hierarchy of a program and how they interrelate. A formal class diagram is not required for this project, but sketching a rough diagram will make things easier.)
    • Optional: Error handling can have unexpected results if not done correctly. Diagram how your exception handling will work by sketching a flow chart.
    • Validation can be as tricky as error handling, so sketching a diagram is also useful.
    • Devise a strategy for handling data. The data may be held in objects in memory, or, optionally, in text files. If you decide to use memory objects, then there should be separate objects for Employee information and their time clock records. The employee memory object (or employee.txt flat file) will be relatively simple since there are no deletes or modifications to an input value. Employees will be employee ID order. The time clock memory object (or timeclock.txt file) is a different story because the records will not be in employee ID order; they will be in the order that an employee punched in or out. When generating a report it will be necessary to find all of the data for each employee and output it in chronological order. The chronological order is already in the memory object (or file) because we are not deleting or modifying any data. The program will only need to group all of the data for an employee together. This can be done in several ways (You may choose which is best, or come up with another solution):
    o When an employee punches in or out the program can search the data file and insert the value after the last entry for that employee.
    o The system can sort the values in the file in memory as part of the reporting functionality, leaving the data in the file in its original order.


    Caution is in order because the records should have the punch in time and punch out time for a single day in order. (They will be in that order in the file, because someone has to punch in before they punch out. The program specifications require checking for a 'punched in' record before saving a 'punched out' record.)
    NOTE: The separate screen descriptions are for console applications. The GUI application may use one or more screens, as appropriate, but the functionality shall remain the same).
    NOTE: Functionality labeled as Optional does not have to be implemented. It is for students who would like to write a more challenging program.
    NOTE: Those developing a GUI application will replace the 'input values' with appropriate GUI objects such as buttons. For example, instead of inputting 'A' for Add New Employee, create a button for adding a new employee.


    Scenario
    A company hires you to write a program to track hourly employee arrival and departure times from work. In essence, you are tasked to make an online time clock. The time clock shall keep a history of an employee’s hours for a two-week pay period. The application shall have the following functionality:


    Main Screen
    The main screen shall act as a menu to access program functionality and to exit the program.
    The main screen shall:
    • Display 4 options
    A) Add New Employee – Displays new employee screen
    B) Punch In/Out – Displays punch in/out screen
    C) Report – Displays report screen
    D) Exit – Exits the program
    • Display an input field called "Choice" to input one of the four options.
    • Inputting an incorrect option shall display a prompt indicating that the input was invalid and to try again.
    • Optional functionality: If the user enters an incorrect value more than 3 times, display a prompt that the program is exiting and close the program.


    Add New Employee Screen
    The 'add new employee screen' shall:
    • Add a new employee (we will not worry about modifying or deleting.), saving the data to a memory object or file.
    o The program shall allow the user to enter the Employee’s First and Last Name
    o The program shall validate the first and last name entered to ensure they are not blank. (We will assume that everyone has a first and last name.)
    o The program shall assign a new employee ID to the employee and display it on the screen.
    o The employee ID shall be generated by adding 1 to the largest employee ID already in the employee memory object (or employee.txt data file).
    o The program shall allow the user to enter an unlimited number of employees. In console based applications, the system shall prompt “Do you want to enter another? (y/n). Entering 'y' shall clear the screen and prompt for another employee. If 'n', the program shall return to the main screen.
    o The employee data shall be saved to a memory object called employee (or file called employee.txt)
    o Optional functionality: Check the first and last name to ensure that there are only valid characters. For examples, filter out numbers, punctuation, etc. Commas can cause problems because the data is being saved to comma-delimited files and that can be a headache!


    Punch in/out Screen
    The 'punch in/out screen' shall:
    • Save the punch in or punch out date and time of the employee to a memory object (or file).
    o The date and time, 'I' for Punched In or 'O' for punched out along with the Employee ID shall be saved to a memory object called timeclock (or file called timeclock.txt).
    o The recorded date for 'punched in' and 'punched out' shall be the method for matching corresponding records.
    o The program shall test to ensure that there is a 'Punched in' record for the corresponding day before a 'punched out' record is saved. If none is found, prompt the user to enter a 'punched in' time.
    o Then the user has punched in or out, the program shall display a message indicating that the employee has punched in or out, the employee ID, date and time.
    o In console based applications the screen shall display "Press any key to continue"
    o In console based applications the program shall return to the main menu after a key is pressed when the “Press any key to continue” prompt is displayed.
    o Optional functionality: Add the day of the week to the data saved.


    Report Screen (Hint: If you are writing a console application, java.io.PrintWriter may be useful.)
    The 'report screen' shall:
    • Allow the user to display a work history report for an individual or for all employees for the two weeks prior to the report request.
    o The screen shall display a prompt to enter 'I' for individual employee report, 'A' for all employees report.
    o If the selected value is 'I', prompt the user to enter the employee's ID number.
     If 'I' is selected the display shall show the employee's name and ID, list out each day worked in chronological order, the number of hours worked that day and a total number of hours worked in the two week period.
     The report shall prompt the user to re-enter an employee ID of it does not exist in the employee file.
     Optional Functionality: If the user inputs a nonexistent employee ID more than 3 times, prompt the user and then return to the main screen.
    o If the selected value is 'A', output the information to the console for the past two weeks.
    o The end of the report shall display "Press any key to continue" to return to the main menu.
    o Optional Functionality: Allow the user to print the report to a printer.


    Example Screen Shots
    The following screen shots are suggestions for setting up your application. You are not required to make your screens look like these, they are only provided to help you think about the program’s interface. Items that are inside a red box are some example prompts that may not be displayed unless a particular action takes place. You may have more or different prompts depending on how you decide to create your program.
    Console Based Application


    GUI Base Application Using One Screen (You are free to use multiple screens, if desired.)

    Learn More
  7. Graduation Planner Java Project

    Graduation Planner Java Project

    Regular Price: $20.00

    Special Price: $15.00

    Graduation Planner Java Project


    Introduction:
    As a competent programmer, your understanding of control structures, your ability to design and develop algorithms, and your proficient use of data structures will help you design and develop applications to meet customer requirements. The following project will help you apply these skills in a familiar, real-world scenario.


    Scenario:
    You have been assigned by a national online university to create a graduation planner for its undergraduate students. The university operates with six-month terms and charges a flat tuition rate of $2,890 per term. Undergraduate students must enroll for a minimum of 12 competency units (CUs) per term. They have asked that the graduation planner meet the following minimum requirements:
    Inputs
    1. Number of CUs for each individual course remaining in the degree program
    2. Planned number of units to complete per term


    Outputs
    1. Accurate number of terms to completion based on input data (rounded up to the nearest terms)
    2. Accurate tuition cost based on number of terms to completion
    3. Accurate number of months to completion based on input data


    Project Requirements:
    Note: Submit all .java and .class files in one zipped folder.
    A. Create a graduation planner program that meets the university's minimum requirements.
    1. Include the following design requirements:
    • array, ArrayList, or map
    • assignment operator
    • data types
    • math operators (e.g., modulus)
    • printf, println, or print
    • variables
    2. Include at least one of the following programming structures:
    • "if" statement(s)
    • logical operators
    • "while" loop
    3. Include input validation to check for negative values, prompting users to re-enter values if negative.
    4. Display the results to the user in a readable and descriptive format (e.g., System.out).


    B. When you use sources, include all in-text citations and references in APA format.
    Note: For definitions of terms commonly used in the rubric, see the Rubric Terms web link included in the Evaluation Procedures section.


    Note: When using sources to support ideas and elements in a paper or project, the submission MUST include APA formatted in-text citations with a corresponding reference list for any direct quotes or paraphrasing. It is not necessary to list sources that were consulted if they have not been quoted or paraphrased in the text of the paper or project.


    Note: No more than a combined total of 30% of a submission can be directly quoted or closely paraphrased from outside sources, even if cited correctly. For tips on using APA style, please refer to the APA Handout web link included in the APA Guidelines section.

    Learn More
  8. Contact List Java Project

    Contact List Java Project

    Regular Price: $20.00

    Special Price: $15.00

    Contact List Java Project


    Introduction:
    As a competent programmer, your ability to develop programs that implement inheritance, polymorphism, and collections will help you design and develop applications to meet customer requirements. This project is an opportunity for you to peer behind the scenes at how a program may function and will help you apply object oriented programming skill sin a familiar, real-world scenario.


    Scenario:
    You have been assigned by your employer to create a computer application to help employees manage their contact list. Users must be able to store two types of contacts: business and personal. Both types have common fields as well as properties unique to them. The application needs to accept and store contacts by type. Your team lead has required that you use an object-oriented design for the application. You are encouraged to consider usability of the system when designing the user interface. It is up to you if you want to use a menu-driven or graphical user interface; however, the approach needs to create an inheritance relationship for the contacts in order to facilitate evolving this application to easily add new contact types in the future.


    Requirements:
    Note: Submit all .java and .class files in one zipped folder.


    Create a contact list application that meets the employer’s following minimum requirements.


    Input Requirements
    Include a prompt that allows the user to enter a command from the following four options, repeating the process of displaying the menu screen until the user has selected “quit.”
    Add a business contact
    Add a personal contact
    Display contacts
    Quit
    Include a prompt that allows the user to enter the following identifiable information when the “add a business contact” command is selected:
    First name
    Last name
    Address
    Phone number
    E-mail address
    Job title
    Organization
    Note: You are not required to store the contact information as persistent data in a database.
    Include a promprt that allows the user to enter the following identifiable information when the “add a personal contact” command is selected:
    First name
    Last name
    Address
    Phone number
    E-mail address
    Date of birth
    Output Requirements


    Display the results to the user on screen in a readable and descriptive format(e.g., System.out) by doing the following:
    Display all contacts’ first and last names when the “display contacts” command is selected
    Include a numeric key for each contact that will be used to invoke the method that displays the contact details.
    Include a prompt that allows the user to enter the numeric key to display all details of the contact in a readable and descriptive format (e.g. System.out, output to a text file using FileWriter).
    Identify contacts by type when displaying the details of a contact: business or personal
    Design Requirements


    Demonstrate the use of collections (e.g. TreeSets, ArrayList).
    Demonstrate the use of encapsulation
    Demonstrate use of inheritance by doing the following:
    Create one abstract class
    Create two subclasses
    Demonstrate the use of polymorphism by overriding a method of the abstract class in both subclasses (i.e., method that displays contact details).
    When you use sources, include all in-text citations and references in APA format.

    Learn More
  9. IT215 Week 5 Inventory Program Part 1

    IT215 Week 5 Inventory Program Part 1

    Regular Price: $12.00

    Special Price: $10.00

    IT215 Week Five: Arrays and Exception Handling


    CheckPoint Inventory Program Part 1


    Choose a product that lends itself to an inventory (for example, products at your workplace, office supplies, music CDs, DVD movies, or software).


    Create a product class that holds the item number, the name of the product, the number of units in stock, and the price of each unit.


    Create a Java application that displays the product number, the name of the product, the number of units in stock, the price of each unit, and the value of the inventory (the number of units in stock multiplied by the price of each unit). Pay attention to the good programming practices in the text to ensure your source code is readable and well documented.

    Learn More
  10. IT215 Week 6 Inventory Program Part 2

    IT215 Week 6 Inventory Program Part 2

    Regular Price: $12.00

    Special Price: $10.00

    IT215 Week Six: Object-Oriented Programming


    CheckPoint Inventory Program Part 2


    Modify the Inventory Program so the application can handle multiple items. Use an array to store the items. The output should display the information one product at a time, including the item number, the name of the product, the number of units in stock, the price of each unit, and the value of the inventory of that product. In addition, the output should display the value of the entire inventory.


    Create a method to calculate the value of the entire inventory.


    Create another method to sort the array items by the name of the product.

    Learn More

Items 11 to 20 of 100 total

per page
Page:
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5

Grid  List 

Set Ascending Direction