A teacher maintains a database containing two tables - Students and Grades. The Students table has six fields: socSecNumber, lastName, firstName, streetAddress, cityAndState, and zipCode. The Grades table has four fields: socSecNumber, firstExam, secondExam, finalExam. At the beginning of the semester, the Students table is filled in completely with a record for each student in a class, and the Grades table has a record for each tudent that contains only the student's social security number. (Note: The database is attached.) Write a program that allows the instructor to record and process the grades for the semester. The program should do the following:
a) Create a data grid view that can be used to fill in the grades for each student after each exam.
b) At the end of the semester, display a data grid view showing the name of each student and his or her semester average. The semester average should be calculated as (firstExam + secondExam + 2*finalExam)/4.
c) Display a list of semester grades that the instructor can post on his or her office door. The list should contain the last four digits of each student's social security number and the student's semester grade. The semester grade should be determined by the semester average with an A for 90-100, a B for 80-89, a C for 70-79, a D for 60-69 and an F for 59 and below. The list should be ordered by semester average.
d)Display a letter for a student (identified by his or her social security number) similar to the one shown below:
123 Main Street
Washington, DC 20015
Your grades for CMSC 100 are as follows:
Final Exam: 87
Semester Grade: B
Best wishes for a good summer,
Recently Asked Questions
- Herman hospitals has $20,000 in an account earning 8 percent annually, what constant amount could they withdraw each year and have nothing remaining at the end
- of all 3-5 year old children, 56% are enrolled in school. If a sample of 500 such children are randomly selected, use the normal approximation to the binomial
- reduce rational expression simplify each expression 4k3-2k2-2k 9k 3 -18k 2 +9k