
Python - Branching and Looping - 1
Authored by Lathika Valavan
Computers, Professional Development
6th Grade - Professional Development
Used 18+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
How do we differentiate the body of the loop from the rest of the code?
Writing loop above.
Writing loop below the whole code.
Using proper indentation.
All are correct.
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
a, b = 12, 5
if a + b: print('True')
else: print('False')
True
False
3.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Given the nested if-else structure below, what will be the value of x after code execution completes
2
0
3
4
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Given the nested if-else below, what will be the value x when the code executed successfully
0
4
2
3
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Mark the output:
cpp
learnpython
java
None
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the output?
Or learning python?
Or learning python 4 sona
Am I learning python?
Or learning python? Or learning python 4 sona
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the output?
You rock
Not interested
None
Error
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?