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 97 total

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

Grid  List 

Set Ascending Direction
  1. CMIS 141 Project 1 Grade Comments

    CMIS 141 Project 1 Grade Comments

    Regular Price: $15.00

    Special Price: $12.00

    CMIS 141 Project 1 Grade Comments


    Design and implement a Java program that will read the name and number of points of the students and displays the comments accordingly.
    In the following table there are the relation between Grades, Points and Comments


    Grade Points Comments
    A+ 100 The grade is A+: Outstanding it is a perfect score. Well done.
    A 90-99 The grade is A : Excellent Performance excels far above established standards for university-level performance.
    B 80-89 The grade is B : Superior-Performance above established standards
    C 70-79 The grade is C : Good- Performance meets established standards
    D 60-69 The grade is D : Substandard- Performance is below established standards
    F 0-59 The grade is F : Failure- Performance does not meet minimum requirements


    Program Statement
    The program ask you to introduce:
    First name:
    Points:
    The output is:
    Name of the student, Points, Grade, Comments regarding the grade (like in the table)
    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. Your test data can be shown in a table that includes input data, expected output, actual output and pass/fail results from the test. Your test data can be presented in the form of a table as follows:
    Example application test data:
    Input Expected Output Actual Output Did Test Pass?
    First name : John Points: 97 John has points 97 and the grade is A : Excellent Performance excels far above established standards for university-level performance. John has points 97 and the grade is A : Excellent Performance excels far above established standards for university-level performance. Y
    Additional data test have to be added

    Learn More
  2. CMIS 242 Homework 3 Age-Recognizing Form

    CMIS 242 Homework 3 Age-Recognizing Form

    Regular Price: $12.00

    Special Price: $10.00

    CMIS 242 Homework 3 Age-Recognizing Form

    Write a Java application that displays a form for a user to enter their first name, last name, and age.
    The form should include a JButton and a JTextField.
    When the user clicks on the JButton, the application should display "User Login: <last name>, <first name>", where <first name> and <last name> are the current user-entered values.
    The application should a message related to the user's age. The actual message is your choice, but the divisions should be along the following age limits:
    less than 12
    between 13 and 18
    between 19 and 35
    between 36 and 65
    greater than 66
    Be sure your code compiles and runs as expected.

    Learn More
  3. 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
  4. CMIS242 Homework 2 Java Division Exception

    CMIS242 Homework 2 Java Exceptions and Interface

    Regular Price: $12.00

    Special Price: $10.00

    CMIS242 Homework 2 Java Exceptions and Interface


    Write a Java application that asks a user to enter two integers (A and B) and then display the results of A/B. Catch any division by zero errors and prompt the user to reenter the value of B. Be sure your code compiles and runs as expected. Name your Java file SafeDivision.java.


    Write a Java interface named Searchable with two abstract methods: one named Way2Search that returns a String and another named MaxTime that returns an Integer. Write another class that implements that interface and that contains a simple test. Be sure your code compiles and runs as expected. Name your Java files Searchable.java, and TestSearchable.java.

    Learn More
  5. CMIS 141 Homework 3 Array Sorting

    CMIS 141 Homework 3 Array Sorting

    Regular Price: $12.00

    Special Price: $10.00

    CMIS 141 Homework 3 Array Sorting


    Write a Java application that allows a user to enter 10 numbers (double precision) into an array and then sorts and displays the numbers from lowest to highest. Remember that array addresses begin at 0, not at 1. You should use the Arrays.sort() method. Demonstrate your code compiles and runs without issue Be sure to include comprehensive test cases to demonstrate your program is implemented correctly. Your test cases should include the input, expected output, actual output and if the test case passed or failed. You can document your test cases in a word table and include it in your word document submission. Test cases should include negative numbers, and numbers that are very close to each other (to test the sort).
    For example, -.001,-.0011,0.0,.001,.0011,.00111,.0010001,-999,999,999.00001


    Homework 3 Submission requirements:
    Your completed assignment should consist of the Yournamehw3.java Java file and a Yournamehw3.doc Word document. Submit each of these files to your WebTycho homework 3 assignment area no later than the due date listed in the syllabus.

    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 97 total

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

Grid  List 

Set Ascending Direction