Search Header Logo

BÀI 27: THAM SỐ CỦA HÀM

Authored by HẬU BÉ

Computers

10th Grade

Used 3+ times

BÀI 27: THAM SỐ CỦA HÀM
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

..............................được định nghĩa khi khai báo hàm và được dùng như biến trong hàm

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Hàm f được khai báo f(a, b, c). Số lượng đối số truyền vào là:

4

3

2

1

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Cho đoạn chương trình sau. Hãy tìm tham số của hàm

>>>  def add(m, n):

         return a * b

>>> x,y = 5, 3

>>> add(x,y)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Giả sử hàm f có hai tham số x,y khi khai báo, hàm sẽ trả lại giá trị x+2y. Lời gọi hàm f(10,a) đúng hay sai ?

A. Đúng

B. Sai

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Cho đoạn chương trình sau. Hãy tìm đối số của hàm

>>>  def f(x, y):

         return x+2y

>>> a =5

>>> f (10,5)

Access all questions and much more by creating a free account

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

Already have an account?