Page 151 - TP_Prime_v2.2_Class_6
P. 151
Periodic Assessment 4
(Based on chapters 8 to 10)
A. Fill in the spaces in the given algorithm, that is drawn to check whether a given number
is odd or even.
Start PERIODIC ASSESSMENT 4
Read n
Is
_______
149
Yes No
Print "Number Print "Number
_______" _______."
Stop
B. Find the errors in the following code:
a = b = c = 20;
print(“a is”, a)
print(“lets print other values)
print(“ b is ”, b,” c is “, c)
C. Which approach is working in the following applications of the AI (Rule-based/Learning)?
1. Customer Service Chatbots ____________
2. Spam filters ____________
3. Recommendation System ____________
4. Self-Driving Cars ____________

