Page 105 - Trackpad_V2.1_class8
P. 105
b. The statements that are executed one after the other without any jumps are called
_____________ statements.
c. When programmers are required to execute a particular set of statements depending upon a
particular test condition, a _____________ statement is required.
d. The _____________ statement causes the program to skip the rest of the statement of the current
block and to move to the next iteration of the loop.
3. Answer in one or two words.
a. What is a set of instructions for a computer program known as? ____________
b. Name any one iterative statement. ____________
c. Which function is used to generate a list of numbers from a starting number
up to the number just before the ending number? ____________
d. Name the statements that are used to repeat a task based on a given condition. ____________
4. Think and answer.
a. What do you understand by control structure?
_____________________________________________________________________________________
_____________________________________________________________________________________
b. In which condition the if-elif-else statement is used? Write its syntax.
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
c. Write the syntax of the following:
(i) While Loop
_________________________________________________________________________________
_________________________________________________________________________________
(ii) Nested if statements
_________________________________________________________________________________
_________________________________________________________________________________
d. What are jump statements? Define the jump statements used in Python.
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
Control Structures in Python 103

