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