To Takehome Quizzes
IT 236 -- Quiz 5
1. (25 pts.) Write a Form1_Load handler that creates an string
array initialized to {"Sunday", "Monday", "Tuesday",
"Wednesday", "Thursday", "Friday", "Saturday"}.
Then load these strings into the combo box
cboWeekDays.
2. (25 pts.) Write a VB.Net application using Method 2 or 3 that
accesses the PersonData table in the persons.mdb
database. Output the average age of all the
females. Use a textbox to hold the age if you
use Method 2. Write either a Console or Windows
application.
Hint: Create a dataset that contains the ages of
all females. Then iterate through its rows, keeping
track of the sum and count.
3. (25 pts.) Write a VB.Net application using Method 3 that
accesses the PersonData table in the person.mdb
database. Write the names of all the persons in
the file to the output file persons.txt. See
Problem 17 in the 7/6 notes for the persons.zip
file. Write either a Console or Windows application.
4. (25 pts.) Write a Windows application that displays a full
circle rainbow by drawing concentric filled circles
with colors Red, Orange, Yellow, Green, Cyan, Blue,
Magenta, Black.