NEW
Font size
WorksheetsLesson 10 - Decision control statements
Total questions: 10
Worksheet time: 20mins
What will be the output of following code ?
perfect
imperfect
12
none
What will be the output of the following code ?
26
25
50
none
What is the maximum choices will we have in 2 level nested if else hierarchy ?
3
4
5
6
From the code below write for what condition else block will be executed ?
never execute
when a<18
when a=18
when a>=18
What will be the output of the following code ?
True
False
both True and false
none
What will be the output of following code ?
False
True
True
False
True
Error
what will be the output of the following statement ?
print(str(int(float(int(5.6)))))
'5'
5
'5.6'
5.6
what will be the output of the following statement ?
good morning
good day
both good morning and good day
none
What will be the output of the following code ?
same string
not the same string
both
none
mention two keywords which starts with capital letter ?
True and False
For
While
Is
