
Week 5 上周知识点回顾
Quiz
•
Information Technology (IT)
•
12th Grade
•
Medium
Nila Zhang
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python中的'if'语句需要什么?
一个函数调用
一个循环
一个条件表达式
一个返回值
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
双分支if/else语句的语法是什么?
if condition then body1 else body2
if condition body1 else body2
if condition: body1; else: body2
if condition: body1 else: body2
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
当迭代次数未知时,通常使用哪种循环?
无限循环
While 循环
For 循环
嵌套循环
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
在循环中,'continue'语句的作用是什么?
结束循环
退出程序
重新开始循环
跳过当前迭代
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
什么关键字用于从函数返回一个值?
return
output
yield
send
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
如果一个函数没有返回语句,会发生什么?
它将返回零
它将返回 None
它将导致错误
它将返回一个空字符串
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
循环中 'break' 语句的目的是什么?
暂停循环
继续到下一个迭代
终止循环
跳过当前迭代
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Information Technology (IT)
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
17 questions
Afro Latinos: Una Historia Breve Examen
Quiz
•
9th - 12th Grade
17 questions
Hispanic Heritage Month Trivia
Quiz
•
9th - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
15 questions
PRESENTE CONTINUO
Quiz
•
9th - 12th Grade
