Program 3 -
Maximum Points = 50
The purpose of this assignment
is to design and implement an online (web-based) application using Visual Basic
and .Net. The GUI uses conditional and looping statements to allow for data
validation and multiple data entry, event-driven programming, and exception
handling. You can use
as a model for your application.
REQUIREMENTS DOCUMENT
Due Date: |
|
||||
Application title: |
|
||||
Purpose: |
The |
||||
Program Procedures: |
From splash screen, the customer
is presented with a menu for ordering, and takes the order of each customer.
The program calculates the total cost for the food and drinks, the tax on the
food and drinks, a service charge, and the final total and then displays
these values. (see http://order.ehungry.com/classicpizza) |
||||
Algorithms, Processing, and Conditions: |
1. The store name and
store picture will be displayed at all times. 2. The customer will be
asked for first, last name, and email address. 3. The customer will use comboboxes, radio buttons, checkboxes and listboxes where appropriate to select the order from the
menu. 4. After the order is
complete, the customer can Continue or Checkout. 5. Upon checkout, the
program displays the number of each type ordered along with the individual
costs, the food & beverage cost, and the tax. a. The customer is then asked to select
the service charge from a drop down list (as shown below.) b. The service charge and final total are
then displayed. 6. The individual cost,
the tax, service charge, and final total should appear in currency format.
8. The tax rate is 7% is
applied to the total food and beverage cost. 9. The final total is
calculated by adding total food and beverage cost, the tax, and the service
charge. |
||||
Notes and Restrictions: |
1. The user can clear the
order with a clear button. 2. Non-numeric and
negative values should not be accepted. 3. Use Try-Catch blocks to
validate the input 4. Validate the customer’s
name and email address are appropriate. |
||||
Comments: |
Use your own pictures
(from the web) for the shop. |
Draw a template for the application and write a Use
Case Definition BEFORE you start coding.
Test your program frequently and TEST WHAT YOU
SUBMIT.
(Due before
NOTE: Documentation must include
A) Program block:
‘******************************************************************************
‘ PROGRAM: program
name
‘ AUTHOR: your name (give credit for any code that is
not yours)
‘ DATE: date of creation
‘ PURPOSE: detailed description
of program
‘******************************************************************************
B) Every subroutine
‘******************************************************************************
‘detailed description of the subroutine’s function
‘ (give credit for any
code that is not yours)
‘******************************************************************************
Grades are determined using the following scale: