Page 153 - Trackpad_V5_Book 7
P. 153
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 intelligence security?
___________________________________________________________________
___________________________________________________________________
PB Pro (Ver. 5.0)-VII Periodic Assessment 4 151

