
Week 5 上周知识点回顾
Quiz
•
Information Technology (IT)
•
12th Grade
•
Practice Problem
•
Medium
Nila Zhang
Used 1+ times
FREE Resource
Student preview

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
Already have an account?
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Information Technology (IT)
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
55 questions
CHS Holiday Trivia
Quiz
•
12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade