Monday, 12 September 2016

NIELIT A Level Data Structure through C++ Assignment

Assignment 21


Prepare a decision tree that defines the following course grading scheme: A student may
receive a final course grade of S,A, B, C or F. In deriving the student’s final course grade,
the instructor first determines an initial grade for the first test of student. The initial course
grade is determined in the following manner.

a) A student who has scored a total of not less than 90 percent on the first test , quiz,
class performance and received a score not less than 75 percent in the final test will
receive an initial grade of ‘S’ for the course.

b) A student who has scored a total less than 90 percent but greater than 80 percent on
first test quiz, class performance and received a score not less than 70 percent in
final test will receive an initial grade of ‘A’ for the course.

c) A student who has scored a total less than 80 percent but greater than 70 percent in
the first test, quiz, class performance and received a score not less than 65 percent
in the final test will receive an initial grade of ‘B’ for the course.

d) A student who has scored a total less than 70 percent but greater than 60 percent on
the first test, quiz, class performance and received a score not less than 55 percent
in the final test will receive an initial grade of ‘C’ for the course.

e) A student who has scored a total less than 60 percent in the first test, quiz and class
performance will receive an initial and final grade of F for the course.

Once the instructor has determined the initial course grade for the student, the final course
grade will be evaluated. The student’s final course grade will be the same as his or her
initial course grade if no more than four class periods during the semester were missed;
otherwise, the student’s final course grade will be one letter grade lower than his or her
initial course grade (for example, an A will become a B).

Are there any conditions for which there was no course of action specified for the instructor
to take? If so, what would you do to rectify the problem? Can your decision tree be
simplified? If so, simplify it