Python
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Medium
note cw
Used 40+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
如何在Python中声明一个变量?
int i = 0;
Dim i = 0
i = 0
var i = 0;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
如何在Python中注释代码?
\\ Python中的注释以两个反斜杠开始
-- Python中的注释以两个连字符开始
# Python中的注释以#开始
// Python中的注释以两个正斜杠开始
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
在 Python要"輸出"可以使用哪個指令?
if
output
for
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
下面的程序输出是什么?
name = 'Dave'
print (name)
Dave
'Dave'
name
(name)
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Python有一个复杂的元组(Tuple)实现。下列元组操作的正确输出是什么?
tupA = (‘Spam’, ‘Ham’, 0, 2)
tupB = (‘Beans’, ‘Toast’, 5, 10)
print(tupB[0])
print(tupB + tupA)
Beans
(Beans, Toast, 5, 10, Spam, Ham, 0, 2)
Beans
(Beans, Toast , Spam, Ham, 5 , 10 , 0, 2)
Beans
Beans, Toast, 5, 10, Spam, Ham, 0, 2
Beans
(Spam, 0, 2, Ham, 5, 10)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
下列哪一行程式在Python中不會被執行?
print ("Hello Python")
print ('Hello World')
print(round(3.1415))
# print ('Hen 棒棒')
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
“ab”+”c”*2 结果是
abc2
abcabc
abcc
ababcc
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?
Similar Resources on Wayground
16 questions
Lesson Plan 2.2
Quiz
•
9th - 12th Grade
22 questions
C# start
Quiz
•
11th - 12th Grade
15 questions
网络与通讯
Quiz
•
12th Grade
20 questions
EmTech: LONG QUIZ for Lesson 3 & 4
Quiz
•
11th - 12th Grade
20 questions
Colour Theory
Quiz
•
12th Grade - University
21 questions
Lecture Exercise Topic 1.3
Quiz
•
12th Grade
20 questions
Computer Startup Quiz
Quiz
•
2nd Grade - University
20 questions
Computer Vocabulary
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
10 questions
Martin Luther King, Jr. For Kids
Interactive video
•
1st - 12th Grade
10 questions
Dr. King's Speech and Its Impact
Interactive video
•
7th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
7 questions
Anti-Bullying ARS 15-341
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
15 questions
TSI Math Practice Questions
Quiz
•
8th - 12th Grade
24 questions
Identify Properties of Polygons and Quadrilaterals
Quiz
•
9th - 12th Grade
