
Lesson 10 - Decision control statements
Authored by NotchUp .co
Professional Development, Education
5th - 8th Grade
Used 108+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the output of following code ?
perfect
imperfect
12
none
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the output of the following code ?
26
25
50
none
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the maximum choices will we have in 2 level nested if else hierarchy ?
3
4
5
6
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
From the code below write for what condition else block will be executed ?
never execute
when a<18
when a=18
when a>=18
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the output of the following code ?
True
False
both True and false
none
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the output of following code ?
False
True
True
False
True
Error
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
what will be the output of the following statement ?
print(str(int(float(int(5.6)))))
'5'
5
'5.6'
5.6
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?