What is the output of print(5 + 3 * 2)?
print(5 + 3 * 2)的输出结果是什么?

Midterm Review

Quiz
•
Computers
•
6th - 8th Grade
•
Medium
Sylvia wang
Used 3+ times
FREE Resource
48 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
16
11
13
Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the range(1,5) function generate?
range(1,5) 函数生成什么?
[1, 2, 3, 4, 5]
[1, 2, 3, 4]
[0, 1, 2, 3, 4]
[5, 4, 3, 2, 1]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which loop is best when the number of iterations is known?
当循环次数已知时,最好使用哪种循环?
while loop
for loop
if-else
repeat-until
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to check if x is equal to 10?
如何正确检查 x 是否等于10?
if x = 10:
if x == 10:
if x === 10:
if x != 10:
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used for exponentiation (power)?
哪个运算符用于幂运算?
^
**
//
%%
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will print(type(3.14)) output?
print(type(3.14)) 输出什么?
<class 'int'>
<class 'float'>
<class 'str'>
<class 'bool'>
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will print(type(3.14)) output?
print(type(3.14)) 输出什么?
<class 'int'>
<class 'float'>
<class 'str'>
<class 'bool'>
Create a free account and access millions of resources
Similar Resources on Wayground
46 questions
中国电子学会 Python 一级真题

Quiz
•
7th Grade
43 questions
Python编程基础测试-5级

Quiz
•
7th Grade
52 questions
Python

Quiz
•
7th - 8th Grade
45 questions
GCSE Python Legends

Quiz
•
1st - 12th Grade
50 questions
國中技藝競賽學科題庫1-50

Quiz
•
6th - 8th Grade
50 questions
109上資訊科技期末考複習測驗

Quiz
•
7th Grade
45 questions
6下健康L6

Quiz
•
6th Grade
50 questions
速成輸入法(初中適用)

Quiz
•
7th - 8th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade