
python2-lesson05
Quiz
•
Computers
•
2nd - 12th Grade
•
Practice Problem
•
Medium
hang zheng
Used 63+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
定义函数的关键字是?
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
现在想要定义一个名为 test的函数,下列代码正确的是?
def (test):
def test ():
def test():
def ()test:
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
一个函数被定义完成之后,就一定会被执行
True
False
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
定义带参函数时,函数中定义了2个参数,那么执行函数时必须传入???个具体的数值
1
2
3
随便几个,根据实际情况而定
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
在函数中 return后面必须加一个数值
True
False
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
当函数根据参数名进行赋值的时候,不再遵循按顺序赋值的原则
True
False
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
在函数中,return关键字有什么作用?
返回一个值 并结束这个函数
返回一个值 并继续运行这个函数
结束整个程序
让程序重新开始
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?
Similar Resources on Wayground
10 questions
112-2 七年級 資訊科技 第一次定期評量
Quiz
•
7th Grade
12 questions
資訊科技九年級~網路技術與服務
Quiz
•
9th Grade
11 questions
Form 1
Quiz
•
9th Grade
10 questions
視窗操作
Quiz
•
1st - 5th Grade
15 questions
系統平臺與電腦硬體測驗
Quiz
•
9th Grade
15 questions
109 第二學期 資訊科技 3-3 & 3-4
Quiz
•
7th Grade
11 questions
J10.3 网络的类型
Quiz
•
8th Grade
16 questions
J01.1+01.2+01.3
Quiz
•
7th Grade
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
