
variables , if … else, while and loop for_HKICO_Python
Authored by Sỹ Minh
Computers
12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
27 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
A. JamesJamesJamesJamesJamesJames
B. JamesJamesJamesJamesJames
C. JamesJamesJamesJames
D. JamesJamesJames
E. Error: invalid syntax
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A. 20
B. 21
C. 10
D. 30
E. None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
E. It doesn’t generate any output.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What gets printed?
A. 4
B. 3
C. 2
D. 1
E. 7
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A. 2, 4, 6
B. 0, 1, 2, 4, 5, 6
C. 0, 1, 4, 5
D. 0, 1, 4, 5, 6, 7, 8, 9
E. 1, 2, 4, 5, 6
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following code,
What is the output?
A. 1
B. 2
C. 3
D. 4
E. 5
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What gets printed as the output of the below code?
A. 1
B. 2
C. 3
D. 4
E. None of the above
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?