Domain 2: Grade calculation (Program 4)
Task 1 – Consider:
All libraries defined.
FEATURE ENABLED: FREQUENCY, UNIT3 AND SECOND_CHANCE_TEST.
FEATURES DISABLED: NONE.
INITIAL VALUES: unity1 = 6 and unity2 = 5 in line 44.
QUESTION: What will be printed on line 45 when the int main( ) function on line 42 is executed?
Task 2 – Consider:
All libraries defined.
FEATURE ENABLED: FREQUENCY AND SECOND_CHANCE_TEST.
FEATURES DISABLED: UNIT3.
INITIAL VALUES: unity1 = 2 and unity2 = 4 in line 44.
QUESTION: What will be printed on line 45 when the int main( ) function on line 42 is executed?
Task 3 – Consider:
All libraries defined.
FEATURE ENABLED: NONE.
FEATURES DISABLED: FREQUENCY, UNIT3 AND SECOND_CHANCE_TEST.
INITIAL VALUES: unity1 = 7 and unity2 = 5 in line 44.
QUESTION: What will be printed on line 45 when the int main( ) function on line 42 is executed?