python2-lesson05

python2-lesson05

2nd - 12th Grade

15 Qs

quiz-placeholder

Similar activities

11302_02_資訊合理使用(02)

11302_02_資訊合理使用(02)

7th Grade

10 Qs

micro:bit

micro:bit

6th Grade

20 Qs

11302_01_個人資料保護(02)

11302_01_個人資料保護(02)

7th Grade

10 Qs

Scratch基礎測驗01

Scratch基礎測驗01

3rd - 6th Grade

10 Qs

11301_電腦教室使用規範

11301_電腦教室使用規範

7th Grade

10 Qs

翻翻看APP

翻翻看APP

8th - 9th Grade

10 Qs

微控制器板与外接电子元件

微控制器板与外接电子元件

5th Grade

17 Qs

Python 輸入/變數/輸出

Python 輸入/變數/輸出

11th Grade

10 Qs

python2-lesson05

python2-lesson05

Assessment

Quiz

Computers

2nd - 12th Grade

Practice Problem

Medium

Created by

hang zheng

Used 63+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?