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
- Hello, could you please walk me trough this problem: Prudoe Fuels factors its accounts receivable immediately at a discount of 1.65 percent. The average
- Fluoxetine (Prozac) has been prescribed for a patient. Which of the following statements is true regarding the action of this medication? A. Neuronal firing
- Exercise 4-4 The financial records of Ivanhoe Inc. were destroyed by fire at the end of 2017. Fortunately, the controller had kept certain statistical data