Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 7

Student Grade Book Application

Class Diagram

Introduction
Keep track of students (with a student class that has their name, average, and
scores) in a class and their grades. Assign their scores on tests, quiz, project and
assignments to the students and figure out their average and carry mark for the
class. For added complexity put the students on a bell curve.
Student
-Name: String
-Student Id: String
-Gender: char
-Test: double
-Assignment: double
-Subject: String
-Quiz: double
-Final Exam: double
+Student()
+Student(String, String, char, double,
double, String, double, double)
+Student(Student)
+setStudent(String, String, char, double,
double, String, double, double): void
+setName(String) : void
+setId(String) : void
+setGender(char) : void
+setTest(double) : void
+setAssignment(double) : void
+setQuiz(double) : void
+setSubject(String) : void
+setFinalexam(double) : void
+getName() : String
+getID() : String
+getGender() : char
+getSubject() : String
+getTest() : double
+getQuiz() : double
+getAssignment() : double
+getFinalexam() : double
+toString(): String

+CalculateTest(double):double
+CalculateQuiz(double):double
+CalculateAssignment(double):double
+calculateCarrymark(double):double
+calculateFinalmark(double):double
+calculategrade(double):double
+findStatus(): String
+findClass(): void

Class Definition

You might also like