
Python-01-Basic-Test
Authored by Chun-Jung Lin
others

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
30 sec • 10 pts
Which of the following is an annotation symbol in Python?
$
//
#
%
2.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Which of the following is an incorrect variable name?
if
mary
str56
error_i
3.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
num = 8 + True, what is the value of num?
0
1
8
9
4.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
What is the result displayed by print(type(56.0))?
str
float
int
double
5.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Which of the following is wrong?
print(23 + "67")
print(23 + int("67"))
print(str(23) + "67")
print(str(23) + str("67"))
6.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
num = 96 % 5, what is the value of num?
0
1
19
20
7.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
num = 5, then what is the value of num **=3?
3
15
25
125
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?