
quiz-1
Authored by G Tan
Education
Professional Development
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
After this code is run, what is the value of b?
[1,2,3]
a
[4,5,6]
2.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What happens when the computer reads a comment line in Python?
The instructions in the comment are executed.
The comment is exported to a .py file.
Nothing. The line is skipped.
3.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What symbol do "comments" start with?
#
//
*
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code?
222
24
22
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct extension of the Python file?
.python
.pl
.py
.p
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the “hello” +1+2+3?
hello123
Error
hello
hello6
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result?
1
2
3
4
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?