Page 81 - Digicode_AI_class_7
P. 81
Periodic Assessment 2
(Based on chapters 4 & 5)
A. Color the boxes as per the program.
If (box has )
then
colour it red
else
colour it yellow
B. Write an if-then-else condition to check if a number is even or odd.
C. Create an if-then-else statement to determine whether a student has passed or failed an exam. The
passing score is 60.
D. Define the following terms:
1. Variables:
2. Operand:
3. Sequence:
4. Loop:
5. Entry Criteria:
Periodic Assessment 2 79

