예제 #1
0
 public void submitGrades(Student student, Coeficient balance)
 {
     foreach (var stud in _submittedStudents)
     {
         stud.calcFinalGrade(balance);
     }
 }
예제 #2
0
 internal handleCourse( string name, Coeficient balance)
 {
     CourseName = name;
     ExamBalance = balance;
     _submittedStudents = new List<Student>();
     Status = CourseStatus.Starting;
     Courses = new Courses();
 }
예제 #3
0
 internal handleCourse(string name, Coeficient balance)
 {
     CourseName         = name;
     ExamBalance        = balance;
     _submittedStudents = new List <Student>();
     Status             = CourseStatus.Starting;
     Courses            = new Courses();
 }
예제 #4
0
 internal handleCourse(string name,Coeficient balance, List<Student> submittedStuds)
     : this(name,balance)
 {
     Contract.Requires(submittedStuds != null);
     _submittedStudents = submittedStuds;
 }
예제 #5
0
 public void submitGrades(Student student, Coeficient balance)
 {
     foreach (var stud in _submittedStudents)
     {
         stud.calcFinalGrade(balance);
     }
 }
예제 #6
0
 internal handleCourse(string name, Coeficient balance, List <Student> submittedStuds)
     : this(name, balance)
 {
     Contract.Requires(submittedStuds != null);
     _submittedStudents = submittedStuds;
 }
예제 #7
0
        internal void calcFinalGrade(Coeficient coeficient)
        {
            var valCoeficient = coeficient.Fractie;

            finalGrade = new Grade(Math.Round(valCoeficient * examGrade.GradeValue + (1 - valCoeficient) * activityGrades.calculateAverage.GradeValue));
        }
예제 #8
0
 internal void calcFinalGrade(Coeficient coeficient)
 {
     var valCoeficient = coeficient.Fractie;
     finalGrade = new Grade(Math.Round(valCoeficient * examGrade.GradeValue + (1 - valCoeficient) * activityGrades.calculateAverage.GradeValue));
 }