Page 139 - TP_Plus_v4_Class7
P. 139
Fill in the blanks with the correct words.
Hints False, if, True, else
1. The statement is the simplest conditional statement.
2. In Python, the non-zero value is interpreted as
3. A condition may give the result either True or
4. The block will be executed if and only if the provided condition evaluates to false.
Tick () the correct statements and cross () the wrong ones.
1. Control is passed to the statement after if block, if the 'if' condition is false.
2. If one if statement is used inside another if statement, then it is called a combined if statement.
3. Conditional statements are also known as decision-making statements.
4. If x = True and y = False, then (x > y) will return False.
5. The elif keyword can be used multiple times in a single if...elif...else statement.
Q Answer the following questions:
A
1. What is decision making statement?
2. Write the syntax for the if…elif…else statement.
3. Draw the flowchart of the if statement.
4. What is the difference between if and if...else statements?
#Conditional Statements in Python 137

