Page 126 - TP_Play_V2.1_class8
P. 126
3. The ............................... loop never ends.
4. The ............................... and ............................... are the jump statements in Python.
C. Write 'T' for true and 'F' for false.
1. We cannot use do-while loop in Python. ...............
2. The continue statement breaks the loops one by one. ...............
3. To come out of the infinite loop, we can either close the program window or
press Ctrl + C. ...............
4. The while statement is the looping statement. ...............
D. Short answer type questions.
1. What is looping?
...................................................................................................................................................................................................
2. Write the syntax of the for loop.
...................................................................................................................................................................................................
3. What is the use of Jump statement?
...................................................................................................................................................................................................
E. Long answer type questions.
1. What do you understand by Infinite Loop? Explain with an example.
...................................................................................................................................................................................................
...................................................................................................................................................................................................
...................................................................................................................................................................................................
2. Define the use of while statement with the help of example.
...................................................................................................................................................................................................
...................................................................................................................................................................................................
...................................................................................................................................................................................................
3. Distinguish between continue and break statements.
...................................................................................................................................................................................................
...................................................................................................................................................................................................
...................................................................................................................................................................................................
124 Play (Ver. 2.1)-VIII

