CS 1401 Assignment #6

Date Assigned: Monday, February 26, or Tuesday, February 27, 2007.

Due Date: Monday, March 5, or Tuesday, March 6, 2007, before the beginning of your lab section.

Objective: The main objective of this assignment is to learn to use GUI.

Programming assignment: design and implement a GUI program that asks a student for the student's name and letter grades (A, B, etc.) in the first three CS classes (CS1, CS2, and CS3), and returns the student's GPA in CS. A GPA is an arithmetic average of the numerical grades corresponding to letter grades: A is counted as 4.0, B as 3.0, C as 2.0, D as 1.0, and F as 0.0.

Please take into account that transfer grades (marked as TA, TB, etc.) are not counted. For example, if a student's letter grades had TA, B, and A, then this student's GPA is computed based only on two UTEP grades A ( = 4.0) and B ( = 3.0), and is therefore equal to (3.0 + 4.0) / 2 = 3.5. Feel free to assume that at least one of the grades is not a transfer grade.

Homework assignment: on a separate sheet of paper, solve Ex. 8, 16, and 18 at the end of Chapter 6.

Deliverables: as instructed by your TA.