CIS122
Lab 7 Grader
Interface
-
Name appears in title bar
Determine Counselor
| Student Last Name |
Counselor |
| Allen |
Aaron Gordon |
| Hanson |
Heidi Munsterman |
| Nelson |
Natalya Stutz |
| Thompson |
Todd Zaragoza |
| george |
Aaron Gordon |
| martin |
Heidi Munsterman |
| smith |
Natalya Stutz |
| Ziegler |
Todd Zaragoza |
If nothing is entered in the student name textbox
An error message is displayed
The output label is blank
When input begins with characters like . , [ 1
'
An error message is displayed
The output label is blank
Focus always returns to Student Name Textbox
Used Select Case statement
Determine Grade Level Button
| Credits |
Grade Level |
| 31 |
Freshman |
| 32 |
Sophomore |
| 64 |
Junior |
| 96 |
Senior |
| 63 |
Sophomore |
| 95 |
Junior |
| 100 |
Senior |
If the input in the completed credits textbox is not numeric
or not a whole number
An error message is displayed
The output label is blank
If the input in the completed credits textbox is <= 0
An error message is displayed
The output label is blank
Focus always returns to # of completed credits textbox
Used Select Case statement
Estimate Tax (for singles)
| taxable income |
tax is: |
| $5,000 |
$500 |
| 7,825 |
$782.50 |
| 7,825.60 |
$782.65 |
| 30,000 |
$4,108.75 |
| 31,850 |
$4,386.25 |
| 50,000 |
$8,923.75 |
| 77,100 |
$15,698.75 |
| 100,000 |
$22,110.75 |
| 160,850 |
$39,148.75 |
| 200,000 |
$52,068.25 |
| $349,700 |
$101,469.25 |
Output value is formtted
If the input in the completed is not numeric
An error message is displayed
The output label is blank
If the input in the taxable income textbox is <= 0
An error message is displayed
The output label is blank
Used Select Case statement
Chinese Animal Sign
-
Correct animal is assigned based on year
-
Rat (1924),
Ox (1925),
Tiger (1926),
Rabbit (1927),
Dragon (1928),
Snake (1929),
Horse (1930),
Sheep (1931),
Monkey (1932),
Rooster (1933) ,
dog (1934),
pig (1935)
-
Appropriate web sited is launched.
-
An error message is displayed when input is nonnumeric or not a whole
number
-
An error message is displayed when the input value is < 1924
-
Used Select Case statement
Code
-
Included documentation lines in the general declarations section to identify
Student name
Project number and description
A record of how much time spent on the lab
-
Option Strict is ON
-
Used good naming practices for controls and variables
-
Used only variables for all math operations
-
Selection statements preceded and followed by blank lines