Page 167 - trackpad v5.1 class 7 flipbook
P. 167
Periodic Assessment 4
(Based on chapters 10 & 11)
1. If a = 10, b = 5 and c = 20, then what will be the output of the following statements:
a. print(a > b and b < c) __________________________
b. print(a ** b + c) __________________________
c. print(a, b, c) __________________________
d. print(a > b or b > c) __________________________
e. print(a // b – 2 + c) __________________________
2. Look at the given pictures and write their names.
a.
______________________________________________
b.
______________________________________________
c.
______________________________________________
d.
______________________________________________
3. Answer the following questions.
a. Write the difference between logical error and syntax error.
___________________________________________________________________
___________________________________________________________________
b. What is the use of intelligent security?
___________________________________________________________________
___________________________________________________________________
PB Pro (V5.1)-VII Periodic Assessment 4 165

