04A Test Plan
ITP 112 Visual Basic .NET I -- Mrs. Eaton -- Spring 2008
General Instructions
- Same as last week.
Points: ______of 20
#1 Minimum/Maximum (10 points)
- (2 points)Open the .vbprog file using Visual Studio. Look at the property panel to complete the table.
Form / Text
Text box –number1 / Name
Text box –number2 / Name
Label – Displays Answer / Name
Button – Find min/max
- (0 points) Run the application. If the application does not run, then write down the error message, otherwise write OK.
- (2 points) With the application still running, open Word and do a screen capture of the GUI. (Alt+PrtScrn to capture a window, then paste). Save and print the Word document. List any GUI elements that are different from Figure 4-41 on page 263, otherwise write OK. Be very picky here.
- (2 points) Using the following test data, write the answer calculated by the program.
28 / 36
40 / 32
15 / -27
- (1 point) Look at the code window. Is the program documentation included at the top? If no, circle what is missing, otherwise write yes.
Programmer, Purpose, Input, Process, Output, ID - (3 points)Select File then Print from the menu bar to display the print dialog box. Print the code. Circle any problems in the code or write OK.
a) If statement(s) should be used to determine which number is smaller and which is larger.
b)A message box used be used to display the message (not a label)
#2Roman Numeral Converter (10 points)
- (2 points) Open the .vbprog file using Visual Studio. Look at the property window to complete the table.
Form / Text
Text box –Number / Name
Label – Roman numeral / Name
Button - Convert / Name
- (0 points) Run the application. If the application does not run, then write down the error message, otherwise write OK.
- (2 points) With the application still running, open Word and do a screen capture of the GUI. (Alt+PrtScrn to capture a window, then paste). Save and print the Word document. List any GUI elements that are different from Figure 4-42 on page 264, otherwise write OK. Be very picky here.
- (2 points) Look at the code window. Is the program documentation included at the top? If no, circle what is missing, otherwise write yes.
Programmer, Purpose, Input, Process, Output, ID - (1 point) Look at the code window. Is the program documentation included at the top? If no, circle what is missing, otherwise write yes.
Programmer, Purpose, Input, Process, Output, ID - (3 points) Select File then Print from the menu bar to display the print dialog box. Print the code. Use Select Case statement (not If statement) to convert to roman numerals. Use a label to display the conversion (not a message box.)
Submission Instructions
Staple together in the following order and submit.- Self-test on top for #1 Minimum/maximum.
- Your printed code for #1.
- The buddy test of your program for #1.
- Self-test for #2 Roman Numeral Convertor
- Your printed code for #2.
- The buddy test of your program for #2.
- Printed word document with the screen captures of all the VB GUIs.