You are on page 1of 2

3.

WRITTEN RESPONSES

3 a.
3.a.i.
The purpose of the program is to calculate the grade point average (GPA) of the user.

3.a.ii.
I enter that I want to calculate the unweighted GPA. I entered in the number of classes I want to calculate the average
GPA of, and the grades for each of my classes converted to numbers. The program outputs the average GPA and that I
calculated the unweighted GPA. Then I choose to calculate the weighted GPA. I enter in the number of classes I want to
calculate, the grades of my classes, and the number of honor or accelerated classes. The program outputs the average
GPA and that I calculated the weighted GPA.

3.a.iii.
The user inputs whether or not they want to calculate the weighted or unweighted grade point average, total number of
classes, number of honor courses (weighted was inputted), the grades as numbers. The output is the grade point average
and whether or not the grade point average is weighted or unweighted.

3 b.
3.b.i.

3.b.ii.

3.b.iii.
The list is called the "gradeList".

3.b.iv.
The data contained in the list represents the grades as integers that the user inputs.

3.b.v.
The list allows

3 c.
3.c.i.

3.c.ii.

3.c.iii.

3.c.iv.

3 d.
3.d.i.
First call:
Second call:

3 d.ii.
Condition(s) tested by first call:

Condition(s) tested by second call:

3.d.iii.
Results of the first call:

Results of the second call:

You might also like