TW 8
Outline a Windows mock up based on the requirements on page 105, Fig 2-83.
Finish the user interface, download and add the images, and write code that will execute according to the code requirements in Visual Basic 2010 on page 189, Fig. 3-94.(Note: This is in Chapter 3)
Create an event planning document for each event in the program.
Compile the code.
Debug and correct any compile-time errors that prevent the application from compiling.
Test the application and verify that all functions behave per the Case Programming requirements.
Fix and correct any run-time errors or deviations in required functionality.
ONLINE STORE SPECIALS
Create a Use Case Definition document and design a Windows form mock-up based on the requirements document in Figure 2-83.
Figure 2-83 ( Chapter 2)
REQUIREMENTS DOCUMENT
Date submitted: January 6, 2014
Application title: Online Store Specials
Purpose: The online store specials program will display the daily, weekly, and
holiday specials of the online store. The user can select the desired
product and then add the product to the shopping cart.
Procedures: From a window on the screen, the user should select the daily special,
the weekly special, or the holiday special. When a special is selected,
program should display a picture of the special product, the regular price
of the product, and the special price of the product. The user should be
able to select any special.Then,the user can add the product to the
shopping cart.
Algorithms,
Processing
and Conditions: 1. The user must select a special in order to display the special’s product
picture, regular price, and sales price.
2. The user cannot add a product to the shopping cart until a special is
selected.
3. When a special is selected, only that special’s picture and prices should
be displayed in the window. No other special should be displayed.
4. After the user selects a special and adds it to the shopping cart, the only
allowable user action is to exit the window.
5. A user should be able to exit the window at any time.
Notes and
Restrictions: n/a
Comments: 1. The specials are: Daily Special: Cell Phone: Regular Price: $99.95; Special
Price: $84.50
Weekly Special: iPod: Regular Price: $39.95; Special Price: $29.95
Holiday Special: Digital Camera: Regular Price: $259.95; Special Price:
$203.19
2. The pictures shown in the window can be found on
scsite.com/vb2010/ch3/images.
The names of the pictures are Cellphone, iPod, and Digital Camera.
Figure 3-94 (Chapter 3)
ONLINE STORE SPECIALS
Based on the Windows form mock-up you created in Chapter 2, complete the Online Store Specials program by finishing the user interface, downloading, and adding the images, and writing the code that will execute according to the program requirements. Before writing the code, create an event planning document for each event in the program.
FIGURE 3-94
REQUIREMENTS DOCUMENT
Date submitted: January 6, 2014
Application title: Online Store Specials
Purpose: The online store specials program will display the daily, weekly, and
holiday specials of the online store. The user can select the desired
product and then add the product to the shopping cart.
Program
Procedures: From a window on the screen, the user should select the daily
special weekly special, or the holiday special. When a special is
selected, program should display a picture of the special product, the
regular price of the product, and the special price of the product. The
user should be able to select any special.Then,the user can add the
product to the shopping cart.
Algorithms,
Processing
and Conditions: 1. The user must select a special in order to display the special’s product
picture, regular price, and sales price.
2. The user cannot add a product to the shopping cart until a special is
selected.
3. When a special is selected, only that special’s picture and prices should
be displayed in the window. No other special should be displayed.
4. After the user selects a special and adds it to the shopping cart, the only
allowable user action is to exit the window.
5. A user should be able to exit the window at any time.
Notes and
Restrictions: n/a
Comments: 1. The specials are: Daily Special: Cell Phone: Regular Price: $99.95; Special
Price: $84.50
Weekly Special: iPod: Regular Price: $39.95; Special Price: $29.95
Holiday Special: Digital Camera: Regular Price: $259.95; Special Price:
$203.19
2. The pictures shown in the window can be found on
scsite.com/vb2010/ch3/images.
The names of the pictures are Cellphone, iPod, and Digital Camera.
Cellphone, iPod, and Digital Camera