
python2-lesson05

Quiz
•
Computers
•
2nd - 12th Grade
•
Medium

hang zheng
Used 62+ times
FREE Resource
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
Similar Resources on Wayground
12 questions
S07.2 常见的应用软体

Quiz
•
10th Grade
16 questions
S10.5+10.6 通讯媒介传输装置+网络架构

Quiz
•
11th Grade
15 questions
极客争霸赛-第四回合

Quiz
•
10th Grade
15 questions
第四章:输入装置

Quiz
•
10th Grade
20 questions
11900程1-20

Quiz
•
9th - 12th Grade
10 questions
micro:bit複習

Quiz
•
5th Grade
16 questions
scratch介面

Quiz
•
7th Grade
18 questions
S08.2 作业系统

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
20 questions
Input, Output, Processing or Storage

Quiz
•
5th - 6th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade