Welcome to AssignmentCache!

Search results for 'WK9D1 apply your knowledge Chapter 5: Apply Your Knowledge – Adding Fields Babbage CPA Firm database'

Maximum words count is 10. In your search query was cut next part: Adding Fields Babbage CPA Firm database.

Items 1 to 10 of 109 total

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

Grid  List 

Set Ascending Direction
  1. PRG421 Week 4 Java 4.15 LAB Ticketing service (Queue)

    PRG/421 Week 4 Java 4.15 LAB: Ticketing service (Queue)

    Regular Price: $7.00

    Special Price $3.00

    PRG/421 Week 4 Java 4.15 LAB: Ticketing service (Queue)

    Given main, complete the program to add people to a queue. The program should read in a list of people's names including "You" (ending with -1), adding each person to the peopleInQueue queue. Then, remove each person from the queue until "You" is at the head of the queue. Include print statements as shown in the example below.

    Ex. If the input is
    Zadie Smith
    Tom Sawyer
    You
    Louisa Alcott
    -1

    the output is
    Welcome to the ticketing service...
    You are number 3 in the queue.
    Zadie Smith has purchased a ticket.
    You are now number 2
    Tom Sawyer has purchased a ticket.
    You are now number 1
    You can now purchase your ticket!

    Learn More
  2. ITSD424 Unit 3 Famous Favorite Subs Input

    ITSD424 Unit 3 Famous Favorite Subs

    Regular Price: $10.00

    Special Price $8.00

    ITSD424 Unit 3 Famous Favorite Subs

    Continuing from the last assignment.
    Assignment Details

    Part 1
    Modify your Java application so that it is an easy-to-use GUI application where all of the interaction is performed on one screen. You will now take the individual components and translate them to a single interactive GUI interface using the following GUI components, container, the event listeners, and event subclasses to enhance your application as a more GUI-appropriate interface:
    • GUI components
    • Container
    • Event listeners
    • Event subclasses (at least 3–4 utilized)
    o ActionEvent
    o ItemEvent
    o FocusEvent
    o KeyEvent
    o MouseEvent
    o WindowEvent
    • ActionPerformed Method

    Part 2
    For this assignment, you are being asked to make sure you are exception handling by verifying that all of the customer-entered information is valid before the order is submitted to ensure order accuracy.
    The customer information that the customer must now enter that should be validated includes the following:
    • Entered username (must fill in a name)
    • Entered at least one sub to order
    • Selected all three attributes for sub (such as bread type, sub type, and sub size)
    • Entered delivery address that includes street, city, state, and zip code
    • Entered telephone number xxx-xxx-xxxx
    In this assignment, you are adding in error handling to make sure the customer is filling in all of the required information.
    To accomplish this task, you will be utilizing the following Java classes:
    • Methods in the character class and StringBuilder class to validate and manipulate characters in a string
    • Try.. Catch for the exception handling of all input fields

    Learn More
  3. ITSD424 Unit 2 Famous Favorite Subs Output

    ITSD424 Unit 2 Famous Favorite Subs

    Regular Price: $10.00

    Special Price $8.00

    ITSD424 Unit 2 Famous Favorite Subs

    Continuing from the last assignment.
    Use vector, wrapper classes, conversion, and collection data structures by writing and implementing Java code within your application that demonstrates each of these concepts.
    Hint: These may be utilized in areas of storing items in the customer order so that you can allow the customer to order more than one sub or beverage.
    Refer to the sample prototype for the various item lists you will use. Feel free to add more choices to each of these lists.

    Learn More
  4. ITSD424 Unit 1 Famous Favorite Subs Output

    ITSD424 Unit 1 Famous Favorite Subs

    Regular Price: $10.00

    Special Price $8.00

    ITSD424 Unit 1 Famous Favorite Subs

    We are developing this application
    1. User will choose from menu item
    2. User will review ordered items
    3. Each item will have a unit price
    4. Order details will show unit price plus total price
    5. Use will Press order button to place order

    For this Unit
    Assignment Description
    At this point, you are ready to start developing Java code to ask questions on customer information and the sub sandwich that customers want to order. You are only concerned with the functionality to request and provide feedback on what the customer entered.
    Your main focus is on defining your classes and abstract classes and utilizing the concept of inheritance and polymorphism for the final sub the customer orders. You will first prompt for the customer name and delivery address, like in this sample that prompts for the customer name:

    Then, you will prompt for the beverage, sub bread, sub type, and sub size.
    You should present a message echoing back all of the information that the customer entered, similar to the following example presenting the customer’s name with a message:

    Make sure you prompt for the four attributes (beverage, bread, type, and size) that you will need to request from the customer to define for the final sub and beverage selection. Also, be sure to comment all of your code to demonstrate that you understand what the code is doing.

    Learn More
  5. 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
  6. 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
  7. PRG420 Week 5 Java 5.23 LAB Adjust list by normalizing - methods

    PRG/420 Week 5 Java 5.23 LAB: Adjust list by normalizing - methods

    Regular Price: $7.00

    Special Price $3.00

    PRG/420 Week 5 Java 5.23 LAB: Adjust list by normalizing - methods

    When analyzing data sets, such as data for human heights or for human weights, a common step is to adjust the data. This can be done by normalizing to values between 0 and 1, or throwing away outliers. For this program, adjust the values by subtracting the smallest value from all the values. The input begins with an integer indicating the number of integers that follow. Assume that the list will always contain less than 20 integers.

    Ex: If the input is:
    5 30 50 10 70 65
    the output is:
    20 40 0 60 55
    For coding simplicity, follow every output value by a space, even the last one.

    Your program must define and call a method:
    public static int getMinimumInt(int[] listInts, int listSize)

    Note: This is a lab from a previous chapter that now requires the use of a method.

    Learn More
  8. PRG420 Week 5 Java 5.22 LAB Output values below an amount - methods

    PRG/420 Week 5 Java 5.22 LAB: Output values below an amount - methods

    Regular Price: $7.00

    Special Price $3.00

    PRG/420 Week 5 Java 5.22 LAB: Output values below an amount - methods

    Write a program that first gets a list of integers from input. The input begins with an integer indicating the number of integers that follow. Then, get the last value from the input, and output all integers less than or equal to that value. Assume that the list will always contain less than 20 integers.

    Ex: If the input is:
    5 50 60 140 200 75 100
    the output is:
    50 60 75

    The 5 indicates that there are five integers in the list, namely 50, 60, 140, 200, and 75. The 100 indicates that program should output all integers less than or equal to 100, so the program outputs 50, 60, and 75. For coding simplicity, follow every output value by a space, including the last one.
    Such functionality is common on sites like Amazon, where a user can filter results. Write your code to define and use two methods:
    public static void getUserValues(int[] myArr, int arrSize, Scanner scnr)
    public static void outputIntsLessThanOrEqualToThreshold(int[] userValues, int userValsSize, int upperThreshold)

    Utilizing methods will help to make main() very clean and intuitive.
    Note: This is a lab from a previous chapter that now requires the use of methods.

    Learn More
  9. PRG420 Week 5 Java 5.21 LAB Contact list

    PRG/420 Week 5 Java 5.21 LAB: Contact list

    Regular Price: $7.00

    Special Price $3.00

    PRG/420 Week 5 Java 5.21 LAB: Contact list

    A contact list is a place where you can store a specific contact with other associated information such as a phone number, email address, birthday, etc. Write a program that first takes as input an integer N that represents the number of word pairs in the list to follow. Word pairs consist of a name and a phone number (both strings). That list is followed by a name, and your program should output the phone number associated with that name. Assume that the list will always contain less than 20 word pairs.

    Ex: If the input is:
    3 Joe 123-5432 Linda 983-4123 Frank 867-5309
    Frank
    the output is:
    867-5309

    Your program must define and call the following method. The return value of getPhoneNumber() is the phone number associated with the specific contact name.
    public static String getPhoneNumber(String[] nameVec, String[] phoneNumberVec, String contactName, int arraySize)

    Hint: Use two arrays: One for the string names, and the other for the string phone numbers.

    Learn More
  10. PRG420 Week 5 Java 5.20 LAB Acronyms

    PRG/420 Week 5 Java 5.20 LAB: Acronyms

    Regular Price: $7.00

    Special Price $3.00

    PRG/420 Week 5 Java 5.20 LAB: Acronyms

    An acronym is a word formed from the initial letters of words in a set phrase. Write a program whose input is a phrase and whose output is an acronym of the input. If a word begins with a lower case letter, don't include that letter in the acronym. Assume there will be at least one upper case letter in the input.

    Ex: If the input is Institute of Electrical and Electronics Engineers, the output should be:
    IEEE

    Your program must define and call a method thats returns the acronym created for the given userPhrase.
    public static String CreateAcronym(String userPhrase)

    Hint: Refer to the ascii table to make sure a letter is upper case.

    Learn More

Items 1 to 10 of 109 total

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

Grid  List 

Set Ascending Direction
[profiler]
Memory usage: real: 14942208, emalloc: 14756312
Code ProfilerTimeCntEmallocRealMem