
conditional and iterative statements
Authored by JAGANNATHAN D
Computers
11th Grade
Used 50+ 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
45 sec • 12 pts
2.
MULTIPLE CHOICE QUESTION
45 sec • 12 pts
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The program above
prints all the odd numbers between 1 and 20
prints all even numbers between 1 and 20
print all the odd numbers between 1 and 21
prints all the even numbers between 1 and 21
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The equivalent of the above for loop using the while syntax would be
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How many times will 1 be printed
3
4
5
6
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
for i in 100 :
print ( i )
Syntax error
prints numbers 0 to 100
prints numbers 1 to 100
prints numbers 0 to 99
prints numbers 1 to 99
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What does this program print
2 + 2 = 4
4 + 4 = 8
8 + 8 = 16
16 + 16 = 32
32 + 32 = 64
2 + 2 = 4
2 + 2 = 4
2 + 2 = 4
2 + 2 = 4
2 + 2 = 4
2 + 2 = 4
2 + 4 = 6
2 + 6 = 8
2 + 8 = 10
2 + 10 = 12
2 + 2 = 4
2 + 2 = 4
2 + 2 = 4
2 + 2 = 4
2 + 2 = 4
2 + 4 = 6
2 + 6 = 8
2 + 8 = 10
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?