CIS355A Business Application Programming

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

6 Item(s)

per page

Grid  List 

Set Ascending Direction
  1. CIS355A Week 6 Lab - Database Connectivity Student Management System Add student

    CIS355A Week 6 Lab - Database Connectivity Student Management System

    Regular Price: $10.00

    Special Price: $8.00

    CIS355A Week 6 Lab - Database Connectivity Student Management System


    OBJECTIVES
    • Programmatic access to a MySQL database to add and display records



    PROBLEM: Student Management System
    A teacher needs the ability to store and retrieve student data. This includes
    • student name;
    • three test scores;
    • average; and
    • letter grade.


    FUNCTIONAL REQUIREMENTS
    You can code the GUI by hand or use NetBeans GUI builder interface.
    Create a GUI which allows for input and display of student data.
    It should include buttons to save a record, display all records.


    Create a database and table to store student name and three test scores. (Note that average and grade are calculated by app.)


    Student class
    Create a Student class to manage the student data. It should have private instance variables of
    • student name; and
    • three test scores.
    The class must have the following methods.
    • A default and parameterized constructor
    • Sets/gets for all instance variables
    • A get method to calculate and return the average
    • A get method to calculate and return the letter grade
    • toString to display the name of the student


    StudentDB class
    Create a StudentDB class that is used to create a connection and interface with the database.


    This class should have two methods.
    • getAll - reads data from database, returns data in an arraylist of student objects
    • add - writes a record to the database


    GUI class
    Insert button will take the info from the GUI (student name and three test scores) and insert a record into the table.  Input should be cleared from the textboxes.
    Display button will read the data from the database and creates a report in Console window, sample format below.
    Name Test1 Test2 Test3 Avg Grade
    Bruce Wayne  90  95  98  94.3  A
    Clark Kent  65  70  90  75.0  C


    RUBRIC
    Student class
    • Has all required functionality 10
    GUI class
    • Student record can be saved
    • All student data can be displayed 15
    StudentDB class
    • add method inserts a record into db.
    • get method reads all records and returns in arraylist. 15
    Code style 5
    Lab Report 10
    TOTAL 55


    CODE STYLE REQUIREMENTS
    • Include meaningful comments throughout your code.
    • Use meaningful names for variables.
    • Code must be properly indented.
    • Include a comment header at beginning of each file, example below.
    /****************************************************
    Program Name: ProgramName.java
    Programmer's Name: Student Name
    Program Description: Describe here what this program will do
    ***********************************************************/


    DELIVERABLES
    Submit as a SINGLE zip folder
    • all java files; and
    • the Lab report.


    Follow assignment specification regarding class/method names.
    Note that your Java file name must match class name (DO NOT rename).

    Learn More
  2. CIS355A Week 5 Lab - File Processing Stocks4U FileReader

    CIS355A Week 5 Lab - File Processing Stocks4U

    Regular Price: $10.00

    Special Price: $8.00

    CIS355A Week 5 Lab - File Processing Stocks4U


    OBJECTIVES
    • Add persistent data storage to your Week 4 Lab using text file input/output.


    PROBLEM: Stocks4U Portfolio Management System
    The portfolio management system you developed for Stocks4U needs the ability to save and restore a user’s data from a text file.


    FUNCTIONAL REQUIREMENTS
    You can code the GUI by hand or use NetBeans GUI Builder Interface.
    You will enhance Week 4 GUI to include
    • a File menu with menu items: open, save, exit; and
    • a label to display total portfolio value.


    Stock class
    • Modify the toString of Stock class to display as
    "Company: qty shares" (i.e., "Apple: 10 shares")


    StockIO class
    Create a StockIO class that is used to read from and write to a text file using an ArrayList. Make sure to use a delimiter between the fields; it does not have to be the # character. Example format of the file is:


    Apple#100#55.0#80.0
    Intel#50#75.0#70.0


    This class should have two methods.
    • getData - reads data from file, returns data in array list of stock objects
    • saveData - writes data from an array list to the file in proper format
    The file name will be an instance variable that you can set with a parameterized constructor, or with a separate method.


    GUI class
    Note that you will need to add an ArrayList to your GUI class to manage the data to/from the file. It will act as a parallel array to your DefaultListModel. Any time you add a stock, you must add it in BOTH places. Any time you remove a stock, you must remove it in BOTH places.


    File - open should prompt for file name using JOptionPane, read the file and populate the JList.
    File - save should prompt for file name to save data from JList to.
    File - exit should exit the program.


    The total value of the portfolio should be displayed at all times and updated anytime a stock is added or removed.


    RUBRIC
    Stock class toString modified 5
    GUI class
    • Menu is added.
    • Label is added for total portfolio value.
    • Open menu item reads data from a file and displays in list box.
    • Save menu item writes data to a text file in proper format.
    • Total value is updated whenever any changes are made to stocks (add, remove, open a new file). 15
    StockIO class
    • getData method reads from file to array list
    • saveData method writes from array list to file 20
    Code style 5
    Lab Report 10
    TOTAL 55


    CODE STYLE REQUIREMENTS
    • Include meaningful comments throughout your code.
    • Use meaningful names for variables.
    • Code must be properly indented.
    • Include a comment header at beginning of each file, example below.
    /****************************************************
    Program Name: ProgramName.java
    Programmer's Name: Student Name
    Program Description: Describe here what this program will do
    ***********************************************************/


    DELIVERABLES
    Submit as a SINGLE zip folder
    • all Java files; and
    • the Lab report.


    Follow assignment specification regarding class/method names.
    Note that your Java file name must match class name (DO NOT rename).

    Learn More
  3. CIS355A Week 4 Stocks4U Portfolio Management System Add stock

    CIS355A Week 4 Lab - Processing Arrays of Objects Stocks4U

    Regular Price: $12.00

    Special Price: $10.00

    CIS355A Week 4 Lab - Processing Arrays of Objects Stocks4U


    OBJECTIVES
    • Create a GUI that uses JList and JTabbedPanes.
    • Process multiple objects in an ArrayList.
    • Code event handlers for multiple events.


    PROBLEM: Stocks4U Portfolio Management System
    Stocks4U needs to develop an app for you to manage your stock purchases. You should be able to store a list of stock purchases, view the individual stocks, add and remove stocks.


    FUNCTIONAL REQUIREMENTS
    You can code the GUI by hand or use NetBeans GUI builder interface.


    The GUI should have two tabs using JTabbedPane.
    • One tab ("Show stocks") should have
     o a JList to display all the stock purchases;
     o a text field or label to display information about a particular stock; and
     o a JButton to remove a stock.
    • One tab ("Add stock") should have textboxes, labels, and a button to input a stock.


    Create a Stock class to manage the stock activity. It should have private instance variables of
    • company name;
    • number of shares;
    • purchase price; and
    • current price.
    Create a default and parameterized constructor.
    Create sets/gets for all instance variables.
    Create a get method to calculate and return the profit or loss. This would be calculated as
     Number of shares * (current price – purchase price).
    Create toString to display the name of the stock.


    As you add stocks, they are displayed in the JList.
    If you select an element in the JList, the gain or loss is displayed in the label or text field.
    If you select an element in the JList and click Remove, the stock is removed from the list.


    GRADING RUBRIC
    Stock class
    • Has all required functionality 15
    GUI class
    • Use the Stock class to process data.
    • As you add stocks, they are displayed in the JList.
    • If you select an element in the JList, the gain or loss is displayed in the label or text field.
    • If you select an element in the JList and click Remove, the stock is removed from the list.
    • Use error messages for any invalid/missing user input using JOptionPane. 25
    Code style 5
    Lab Report 10
    TOTAL 55


    CODE STYLE REQUIREMENTS
    • Include meaningful comments throughout your code.
    • Use meaningful names for variables.
    • Code must be properly indented.
    • Include a comment header at beginning of each file, example below.
    /****************************************************
    Program Name: ProgramName.java
    Programmer's Name: Student Name
    Program Description: Describe here what this program will do
    ***********************************************************/


    DELIVERABLES
    Submit as a SINGLE zip folder
    • All java files
    • Lab report


    Follow assignment specification regarding class/method names.
    Note that your java filename must match class name (DO NOT rename).

    Learn More
  4. CIS355A Week 3 Lab BurgersRUs - Enhanced GUI Application using Additional Swing Components

    CIS355A Week 3 Lab - Enhanced GUI Application using Additional Swing Components

    Regular Price: $12.00

    Special Price: $10.00

    CIS355A Week 3 Lab - Enhanced GUI Application using Additional Swing Components


    OBJECTIVES
    • Create a GUI that uses JCheckBox, JRadioButton, JTextArea, and menus.
    • Process multiple events.


    PROBLEM: BurgersRUs Point of Sale system
    Burger Barn needs a point of sale application. The products and prices are as follows.
    Burgers: single $3.50, double $4.75
    Add cheese: +$.50
    Add bacon: +$1.25
    Make it a meal: +$4.00


    FUNCTIONAL REQUIREMENTS
    You can code the GUI by hand or use NetBeans GUI builder interface.
    The GUI should use JRadioButton to choose single or double burger.
    • Single burger
    • Double burger
    It should use JCheckBox for add ons.
    • Add cheese
    • Add bacon
    • Make it a meal
    JTextField for item price, order quantity, order total
    JTextArea to display the receipt
    Create a menu with the following options.
    File  Order
    Exit  Add to Order
      Clear for next item
      New Order


    As the user selects items, the item price should be calculated and updated accordingly.
    Note that quantity should default to 1. The user can change if needed.
    Once choices are made and quantity is entered, process the order using the menu options.
    Order—Add  to Order Displays the choice and price in each text area.
       Note that multiple items can accumulate in a single order Updates the order total
    Order—Clear for next item Clears the checkboxes. Note that quantity should default to 1
    Order—New  Order Clears the GUI and totals for a new order
    File—Exit  Exits the program. Use System.exit(0) commad.


    GRADING RUBRIC
    Functional Requirements
    All components on GUI created correctly
    Item price updated properly with radio and checkbox selections
    Items added to text area
    Total price accumulates correctly
    Clear for next item works correctly
    Clear for new order works correctly
    All prices displayed with two decimal places
    File exit works correctly
    Error messages for any invalid/missing user input using JOptionPane 40
    Code style 5
    Lab Report 10
    TOTAL 55


    CODE STYLE REQUIREMENTS
    Include meaningful comments throughout your code.
    Use meaningful names for variables.
    Code must be properly indented.
    Include a comment header at beginning of each file, example below.
    /****************************************************
    Program Name: ProgramName.java
    Programmer’s Name: Student Name
    Program Description: Describe here what this program will do
    ***********************************************************/


    DELIVERABLES
    Submit as a SINGLE zip folder
    All java files
    Lab report


    Follow assignment specification regarding class/method names.
    Note that your java filename must match class name (DO NOT rename).

    Learn More
  5. CIS355A Week 2 Lab - Developing a GUI Application

    CIS355A Week 2 Lab - Developing a GUI Application

    Regular Price: $12.00

    Special Price: $10.00

    CIS355A Week 2 Lab - Developing a GUI Application


    OBJECTIVES
    • Create a GUI that uses JTextField, JLabel, and JButton.
    • Write event handlers to process user data.


    PROBLEM: Health Profile App
    GymsRUs would like to replace their console program with an updated app using a graphical user interface. You will use the HealthProfile class that you created in the Week 1 Lab and build a GUI for it.


    FUNCTIONAL REQUIREMENTS
    Make sure your HealthProfile class from the Week 1 Lab is in a named package, not default (i.e., package lab1).


    You must ADD the project that contains the HealthProfile class to this week’s project by
    right click project, go to properties; and
    click Libraries, Add Project, click OK.


    Then you will be able to reference your existing class as
    import lab1.HealthProfile.


    Your project will have three classes:
    • HealthProfile class from Week 1 Lab
    • HealthProfileGUI class
    • Lab2Main class


    Your HealthProfildGUI class should have the following components (see sample GUI below).
    • JTextField objects to enter:  name, age, height in feet, height in inches, weight in pounds 
    • JButton objects to display results, clear the GUI
    • JTextField objects to display the BMI, category, and max heart rate
    • JLabels to describe all textboxes
    You are free to layout and design your GUI as you like as long as it includes these components.


    Add default and parameterized constructors to your HealthProfile class. The parameterized constructor should have five arguments: the name, age, weight, height in feet, and height in inches. Note it should convert the height to inches to store in the private instance variable.
    Code event handlers for each button:
    • Display: Make sure all user input is present and valid Use the HealthProfile class to process the data Display the results on the GUI
    • Clear Clear all text boxes on the GUI


    GRADING RUBRIC
    HealthProfile class
    • Add default and parameterized constructors 10
    HealthProfileGUI class
    • All components on GUI
    • Display button event handler coded properly
    • Clear button event handler coded properly
    • Error messages for any invalid/missing user input using JOptionPane 25
    Lab2Main class
    • Displays the GUI properly 5
    Code style 5
    Lab Report 10
    TOTAL 55


    CODE STYLE REQUIREMENTS
    • Include meaningful comments throughout your code
    • Use meaningful names for variables
    • Code must be properly indented
    • Include a comment header at beginning of each file, example below
    /****************************************************
    Program Name: ProgramName.java
    Programmer's Name: Student Name
    Program Description: Describe here what this program will do
    ***********************************************************/


    DELIVERABLES
    Submit as a SINGLE zip folder
    • All java files
    • Lab report


    Follow assignment specification regarding class/method names.
    Note that your java file name must match class name (DO NOT rename).

    Learn More
  6. CIS355A Week 1 Lab - Developing an OOP Console Application

    CIS355A Week 1 Lab - Developing an OOP Console Application

    Regular Price: $10.00

    Special Price: $8.00

    CIS355A Week 1 Lab - Developing an OOP Console Application


    OBJECTIVES
    • Create a class in java with appropriate methods.
    • Process user input with the class using the scanner for keyboard input and console output.


    PROBLEM: Health Profile Console Program
    GymsRUs has a need to provide fitness/health information to their clients, including BMI and maximum heart rate. Your task is to write a console program to do this.


    Body mass index (BMI) is a measure of body fat based on a person’s height and weight. BMI can be used to indicate if you are overweight, obese, underweight, or normal. The formula to calculate BMI is


    The following BMI categories are based on this calculation.
    Category BMI Range
    Underweight less than 18.5
    Normal between 18.5 and 24.9
    Overweight between 25 and 29.9
    Obese 30 or more


    Max heart rate is calculated as 220 minus a person's age.


    FUNCTIONAL REQUIREMENTS
    Design and code a class called HealthProfile to store information about clients and their fitness data. The attributes (name, age, weight, and height) are private instance variables. The class must include the following methods.


    method Description
    setName Receives a value to assign to private instance variable
    setAge Receives a value to assign to private instance variable
    setWeight Receives a value to assign to private instance variable
    setHeight Receives TWO inputs (height in feet, inches).  Converts and stores the total INCHES in private instance variable
    getName Returns private instance variable
    getAge Returns private instance variable
    getWeight Returns private instance variable
    getHeight Returns private instance variable (inches)
    getBMI Calculates and returns BMI
    getCategory Returns category based on BMI
    getMaxHR Calculates and returns maximum heart rate


    Create a SEPARATE TEST CLASS, Lab1Main, to prompt for user input and display output using the HealthProfile class. Process multiple inputs using a loop. You can assume all user input is valid.


    SAMPLE OUTPUT


    Enter name or X to quit: John Smith
    Your age: 35
    Your weight: 200
    Your height - feet: 6
    Your height - inches: 0


    Health Profile for John Smith
    BMI:  27.1
    BMI Category: overweight
    Max heart rate: 185


    Enter name or X to quit: Ann Jones
    Your age: 50
    Your weight: 120
    Your height - feet: 5
    Your height - inches: 2


    Health Profile for Ann Jones
    BMI:  21.9
    BMI Category: normal
    Max heart rate: 170


    Enter name or X to quit: X


    GRADING RUBRIC
    HealthProfile class
    • All methods created with proper functionality 25
    Lab1Main class
    • Receives user input using Scanner
    • Process input using a HealthProfile object
    • Correct output displayed in console
    • BMI displayed with 1 decimal place
    • Loop to process multiple clients 10
    Code style 5
    Lab Report 5
    TOTAL 45


    CODE STYLE REQUIREMENTS
    • Include meaningful comments throughout your code.
    • Use meaningful names for variables.
    • Code must be properly indented.
    • Include a comment header at beginning of each file, example below.
    /****************************************************
    Program Name: ProgramName.java
    Programmer's Name: Student Name
    Program Description: Describe here what this program will do
    ***********************************************************/


    DELIVERABLES
    Submit as a SINGLE zip folder
    • All java files
    • Lab report


    Follow assignment specification regarding class/method names.
    Note that your java filename must match class name (DO NOT rename).

    Learn More

6 Item(s)

per page

Grid  List 

Set Ascending Direction