Page 122 - TP_Play_V2.1_class7
P. 122
Periodic Assessment 4
(Based on chapters 8 to 10)
A. Look at the given SDG’s icons and write their aims.
ZERO
2 HUNGER
1. .....................................................................................................................................................
GENDER
5 EQUALITY
2. .....................................................................................................................................................
DECENT WORK AND
8 ECONOMIC GROWTH
3. ......................................................................................................................................................
REDUCED
10 INEQUALITIES
4. .....................................................................................................................................................
LIFE
15 ON LAND
5. .....................................................................................................................................................
B. Find the error in the given codes.
1. if(age > 18)
print(`You are eligible to vote'
else
print(`Not eligible to vote')
2. a = 200
b = 33
if b > a
print("b is greater than a")
else:
print("a is not greater than b")
C. Write an algorithm to find whether the given character is a vowel or not.
120 Play (Ver. 2.1)-VII

