A teacher maintains a database containing two tablesStudents and Grades. The Students table has six fields: socSecNumber, lastName, firstName, streetAddress, cityAndState, and zipCode. The Grades table has four fields: socSecNumber, firstExam, secondExam, and 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 student that contains only the student's social security number.
2.1 Create an appropriate database using the above specifications for the table. (10)
Write a program that allows the instructor to record and process the grades for the semester. The program should do the following.
2.2 Create a data grid view that can be used to fill in the grades for each student after each exam. (10)
2.3 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. (10)
2.4 Print 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 8089, and so on. The list should be ordered by semester average. Note: You can just display the list in a list box instead of actually printing it. (10)
2.5 Print a letter for a student (identified by his or her social security number) similar to the one shown below. Note: You can just display the letter in a list box instead of actually printing it.
George Jackson
123 Main Street
Washington, DC 20015
Dear George,
Your grades for CMSC 100 are as follows:
Final Exam: 87
Semester Grade: B
Best wishes for a good summer,
Professor Jones.