Search results for 'ITS'
-
ITSD424 Unit 4 Famous Favorite Subs
Regular Price: $10.00
Special Price $8.00
ITSD424 Unit 4 Famous Favorite Subs
Continuing from the last assignment..
Learn More
Assignment Details
Update the GUI application you have developed so far by adding a Java application to store the order just made by the customer in a file and present a file confirmation message using files and streams. You may accomplish this by outputting the sub order information to a file. Finally, you will read this file to display the order confirmation information.
• Output user-entered data to a destination file using the file class.
• Input data from a source file using the file class.
• Use FileWriter class and PrintWriter class to output an order confirmation.
Order Information
Beverage: xxxx
Sub bread: bbbbbbb
Sub type: ttttttttttttt
Sub size: ssssssss
Customer Information
Name: fffffff lllllll
Address: aaaaaaaaaa
City: ccccc
State: ss
Zip: zzzzz
Phone: nnn-nnn-nnnn
Input File: SubOrder.txt -
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 DetailsPart 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 MethodPart 2
Learn More
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 -
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.
Learn More
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. -
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 -
PRG/420 Week 5 Java 5.16 LAB: Step counter
Regular Price: $7.00
Special Price $3.00
PRG/420 Week 5 Java 5.16 LAB: Step counter
A pedometer treats walking 2,000 steps as walking 1 mile. Write a program whose input is the number of steps, and whose output is the miles walked.
Output each floating-point value with two digits after the decimal point, which can be achieved as follows:
System.out.printf("%.2f", yourValue);Ex: If the input is:
5345
the output is:
2.67Your program must define and call a method:
Learn More
public static double stepsToMiles(int userSteps) -
PRG/420 Week 2 Java 2.20 LAB: Interstate highway numbers
Regular Price: $7.00
Special Price $3.00
PRG/420 Week 2 Java 2.20 LAB: Interstate highway numbers
Primary U.S. interstate highways are numbered 1-99. Odd numbers (like the 5 or 95) go north/south, and evens (like the 10 or 90) go east/west Auxiliary highways are numbered 100-999, and service the primary highway indicated by the rightmost two digits. Thus, I-405 services I-5, and I-290 services I-90.
Given a highway number, indicate whether it is a primary or auxiliary highway. If auxiliary, indicate what primary highway it serves. Also indicate if the (primary) highway runs north/south or east/west.Ex: If the input is:
90
the output is:
I-90 is primary, going east/west.
Ex: If the input is:
290
the output is:
I-290 is auxiliary, serving I-90, going east/west.
Ex: If the input is:
0
or any number not between 1 and 999, the output is:
0 is not a valid interstate highway number.See Wikipedia for more info on highway numbering.
Learn More -
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.00FUNCTIONAL 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 OrderAs 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 55CODE 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 reportFollow assignment specification regarding class/method names.
Learn More
Note that your java filename must match class name (DO NOT rename). -
ITSD322 Unit 5 Java ExceptionHandler program
Regular Price: $20.00
Special Price $15.00
ITSD322 Unit 5 Java ExceptionHandler program
Program Description:
For this project, you will write a Java program that demonstrates exception handling. Your program will accept from the user ten numbers and place them in an array. The numbers in the array will be added together and the result displayed to the user. The program will compare the values for the first two elements in the array (only) and determine which number is larger and report that information on screen. Then divide the larger number by the smaller number and report the result of that calculation. The program must use exception handling to avoid division by zero errors or out of range errors, then present a friendly error message to the user. The program must then repeat (loop), prompting the user for new data entry. When the user enters 9999, the program must terminate on the next loop cycle, and this must be indicated in the program text (“Enter 9999 to exit.”)
Project Steps:
Create a new project named "ExceptionHandler." (Custom classes are not needed.)
Learn More
Write code to accept numbers entered by the user.
Use error handling to ensure that only numbers are accepted.
Write code to add all values in the array together and display the result to the user.
Write code to compare the first two values in the array and report the results
Write code to divide the larger number by the smaller number from the above comparison
Use error handling to ensure that the program doesn’t crash if it attempts to divide a number by zero.
Prompt the user for another set of ten numbers.
If the user entered 9999 during data entry in the last loop cycle, terminate the program.
Use exception handling to manage out of range exceptions (only numbers are entered)
Use exception handling to manage division by zero exceptions (as noted)
Use exception handling to manage by default any errors that don’t fall into the above categories.
Using Catch blocks, display the cause of any exceptions to the user.
Output instructions to the screen so that the user will know how to operate the program and what to expect.
Use code comments to annotate your code, indicating what each line of code does as well as how it works.
Make sure the program runs correctly before submission. (Your instructor is here to help!)
Create an activity diagram that illustrates how your program works. Your diagram must include all the data items in your program.
Formal UML is not required but may be used if preferred. (You may use any software for this, but it must be submitted in Microsoft Word.)
ZIP your project folder and submit that and your Word document (containing the activity diagram) to the portal for grading. -
PRG/420 Week 1 Java 1.31 LAB: Phone number breakdown
Regular Price: $8.00
Special Price $3.00
PRG/420 Week 1 Java 1.31 LAB: Phone number breakdown
Given a long integer representing a 10-digit phone number, output the area code, prefix, and line number using the format (800) 555-1212.
Ex: If the input is:
8005551212
the output is:
(800) 555-1212Hint: Use % to get the desired rightmost digits. Ex: The rightmost 2 digits of 572 is gotten by 572 % 100, which is 72.
Learn More
Hint: Use / to shift right by the desired amount. Ex: Shifting 572 right by 2 digits is done by 572 / 100, which yields 5. (Recall integer division discards the fraction).
For simplicity, assume any part starts with a non-zero digit. So 0119998888 is not allowed. -
ITSD322 Unit 4 Java Billboard Sign console program
Regular Price: $20.00
Special Price $15.00
ITSD322 Unit 4 Java Billboard Sign console program
One of the most useful features of any programming language is recursion and control structures, decisions and loops. Recursion and loop structures allow programs to repeat actions without duplicating code.
This console application focuses on your understanding of object oriented programming, control structures, and arrays.
Create an application that manipulates a billboard sign. Use the following guidelines:
Main Program:
The main program must create an object of Billboard class (see below for details).
The main program must include a menu to allow a user to select a function of the Billboard object.
The menu must repeat (using a loop) until the user exits the program.
The application must exit upon user request.Billboard Class:
The program must include a Billboard class (separate from the main program class) that is able to store and display the text for the completed Billboard advertisement.
The Billboard class must include variables for data input.
The Billboard class must allow the user to define a custom message.
The Billboard class must include 3-4 predefined messages that can be set as the message in the billboard.
Add one method of your choice that can be used to manipulate the message in some way, such as reversing the text or capitalizing the letters.Completion Tasks:
Learn More
Use comments in your code to demonstrate your understanding of each statement.
Make sure the program runs correctly before submission. (Your instructor is here to help!)
ZIP your project folder and submit the file to the portal for grading. (There is no Word document for this assignment.)