...Purple Pizza Eater CTU IT110 Sam Craig Tammera Atencio 2/25/2015 Contents Week 1: 3 Project Description or Overview 3 Case Diagram 3 Java Fundamentals 4 Program 4 Screen Shots 6 Week 2 Jave Control Structures 7 Program 7 Screen Shots 11 Week 3 14 Week 4 15 Week 5 16 Week 1: Project Description or Overview The company that I am working for is Purple Pizza Eater. This is a new pizza company. I am helping them setup their online ordering system. They will offer different kinds of pizza. You can pick from Meat Lovers, BBQ chicken and hot wing pizza. You will also have 3 different option of crust thin, pan and deep dish. The prices got from 6 dollars for a signal topping and 12 dollars for special pizza. Case Diagram Order pizza Order pizza Offer GUI Offer GUI Customer Customer Take order Take order Java Fundamentals Program /* Name – Sam Craig * Date – 3/2/2015 * Project - IT110 Phase 1 IP * Description - This is my first Java program to introduce an online product to sell * and prompt the user for information */ package phase.pkg1.ip; import javax.swing.JOptionPane; public class Phase1IP { public static void main(String[] args) { // declare and initialize variables String openingMsg, nameInputMsg, customerName, nameOutputMsg, returnInputMsg, customerReturn, returnOutputMsg, greetingOutputMsg, outputMsg; ...
Words: 1940 - Pages: 8
...Larquetta Permenter IT110-1402A-01 April 23, 2014 As a programmer, we’re always trying to prepare our software to be perfect. This means no errors! Since we’re human, we can only do our best. It’s when these errors occur, how they are dealt with, error or exception handling. Understanding each type will go a long way when client acceptance testing begins. Errors are problems in program operations usually caused because the code isn’t written correctly or a problem occurred that wasn’t addressed during the design process. According to the Board, the term exception is a reclassification of errors into a category of errors that can occur in a program but can be handled in a way that allows the program to continue operation.(Editorial Board, 2014) Dealing with errors in a well-defined way allows programmers to write code to handle errors. This is exception handling. There are pros and cons for using error and exception handling. Exception handling enables normal code to be written and to deal with the exceptional cases code elsewhere. It also provides the means to separate the details of what to do when something out of the ordinary happens from the main logic of a program. A second advantage of exceptions is the ability to propagate error reporting up the call stack of methods which allows grouping and differentiating error type objects. In traditional programming, error detection, reporting, and handling often leads to confusing code. This presents disadvantages...
Words: 401 - Pages: 2
...IT110-1301A-02 Introduction to Programming Phase III DB Andrew Ramona 1/22/2013 This discussion board I will discuss what predefined methods that I might consider using and why. Also, where to find other sources for finding predefined Java classes and methods. Last we can look at some other programmer defined methods I might consider using based on the class and case diagrams from week 1. Well the first method I will definitely use is the JOptionPane method. This is the perfect tool for allowing the customer to enter the required data for ordering golf balls from SkyGolf. This will allow them to be able to select the different options for the balls, color, number, and type in the required information for a custom imprint or adding a logo. JOptionPane can then also display in a window after all of the selections have been made and the customer can verify the information is correct. Then you can prompt the customer if everything is correct to enter a 1 or if it is incorrect then maybe select a 2 to route them back to the selection process. The scanner method can also be used to accomplish the same results except all of the information is shown line by line in a command window. I would use this method for the customer input but the JOptionPane has a better visual appearance for the user with graphical user interface (GUI). I have found that the Oracle website is a good source for finding predefined Java classes and methods. These can be found at the address http://docs...
Words: 566 - Pages: 3
...IT110-1301B-02 Introduction to Programming Week 2 March 4, 2013 Contents Week 1: Project Outline 3 Week 1: Class Diagrams 4 Week 1: Use Case Diagrams 5 Week 2: Java Fundamentals 6 Week 3: Java Control Structures 9 Week 4: Error Handling and File Input/Output 10 Week 5: Final Application Design and Screenshots 11 Week 1: Project Outline The name of my company is called Turkey Shooter INC. We are located in Montgomery, Alabama. The product we produce and sell is turkey calls. The turkey calls are all wooden and handmade. The price for the call is $25.00. You can choose between three color stains, they are natural, cherry, and walnut. They are hand held and easy to use. They are 6 inches in height and 2 inches in width. The calls can be used by any hunter male or female, beginner or expert. Turkey Call Colors Walnut (00781) Natural (00782) Cherry (00783) Week 1: Class Diagrams Turkey Call | DescriptionCostPriceColor ID | Set Description: ( )Set Cost: ( )Set Price: ( )Get Description: ( )Get Cost: ( )Get Price: ( )Get Color ID: ( ) | The Product class is a system that will help in ordering the turkey calls. This will break down the attributes into the price, color, and give a description along with the ID number. This will make it simple to find the product online. Customers | NameCredit Card InfoQuantityAddress | Set Name:...
Words: 496 - Pages: 2
...IT110-1302A-06 Introduction to Programming Hockey Performance 5/6/2013 TABLE OF CONTENTS Contents TITLE PAGE 1 TABLE OF CONTENTS 2 Week 1: Project Outline 3 Week 1: Project Outline 4 Week 1: Use Case Diagrams 5 Week 1: Class Diagram 6 Week 2: Java Fundamental 7 Week 2: Java Fundamental 8 Week 3: Java Control Structures 9 Week 3: Java Control Structures 10 Week 4: Error Handling and File Input/Output 11 Week 4: Error Handling and File Input/Output 13 Week 4: Error Handling and File Input/Output 14 Week 4: Error Handling and File Input/Output 15 Week 4: Error Handling and File Input/Output 16 Week 4: Error Handling and File Input/Output 17 Week 4: Error Handling and File Input/Output 18 Week 4: Error Handling and File Input/Output 19 Week 4: Error Handling and File Input/Output 20 Week 5: Final Application Design & Screenshots 21 Week 5: Final Application Design & Screenshots 22 Week 5: Final Application Design & Screenshots 23 Week 5: Final Application Design & Screenshots 24 Week 5: Final Application Design & Screenshots 25 Week 5: Final Application Design & Screenshots 26 Week 5: Final Application Design & Screenshots 27 Week 5: Final Application Design & Screenshots 28 Week 5: Final Application Design & Screenshots 29 REFERENCE: An Introduction to Java Programming and Object-Oriented Application Development 29 ISBN-13: 9780619217464 29 Author(s): Johnson 29 Week 1: Project Outline ...
Words: 773 - Pages: 4
...P5IP Walter Bryant Colorado Technical University IT110-1303A-05 Introduction to Programming 08/11/2013 Table of Contents Week 1: Individual Project 3 Project Outline 3 Class Diagrams 4 Use Case Diagrams 6 Week 2: Java Fundamentals 7 Week 3: Java Control Structures 10 Week 4: Error Handling and File Input/output 13 Week 5: Final Application Design & Screenshots 17 References: 18 Week 1: Individual Project Project Outline After great thought about this assignment, I decided to call my company Walt’s Electronic Expo. My company’s focus is on selling car security systems. Within the current economy and the increase of theft, this business should thrive. Product | Product Attributes | AutoPage C3-RS915 | • ID number | | • Product Description | | •My cost | | •Selling Price | Within this company, I will be selling the AutoPage C3-RS915 remote start vehicle security system w/car alarm model RS915 LCD. Below is a chart of the attributes for the product I have chosen to sell. ID number – attaches a “tag” that uniquely identifies the AutoPage C3-RS915 that I will be selling to customers. Product Description – Is the information that describes in detail the product. It describes the product including the benefits it will provide to the customer buying it. My cost – Is what I pay for this product. For this product I found a vendor that will sell me 25 of these products in bulk @ $39.99 per unit. Selling Price...
Words: 1185 - Pages: 5
...IT110-1204A-01: Introduction to Programming Java Graphical User Interface (GUI) and Design Document Joseph Mirabal 11/12/2012 Table of Contents Project Outline 3 Class Diagrams 5 Use Case Diagrams 8 Java Fundamentals 10 Java Application Planning Worksheet 10 Final value 10 Java classes used: 11 Java Control Structures 12 Java Application Worksheet 12 Explain what this piece of code is doing: 13 Error Handling and File Input/Output 15 Final Application Design & Screenshots 37 Project Outline The company I am going to hypothetically create will be a sports store dedicated to selling different types of sporting equipment for all types of sports. I will mainly start my store by just selling sports balls. I will call my store Joey’s Sporting Balls and Equipment. I know the name sounds funny, but I am doing that on purpose to catch the attention of my potential customers. I want the name of my store to stick in their minds, and what better way to o than a pun or play on words. I will start off with two types of balls, a football and a basketball. The football will be brown in color, will have white laces, and will come in different sizes according to the level of the athlete and also to have a range in prices. It will range in size from miniature footballs for fun, small for beginners and as gift items, medium or college level, and to a large size for professional athletes, or just people who like to imitate professional athletes for...
Words: 2125 - Pages: 9