Python Functions

Python Functions

12th Grade

15 Qs

quiz-placeholder

Similar activities

SOAL UJIAN BAHASA INDONESIA MADRASH NURUL HIDAYAH

SOAL UJIAN BAHASA INDONESIA MADRASH NURUL HIDAYAH

9th - 12th Grade

15 Qs

Latihan Agama Bab 2

Latihan Agama Bab 2

9th - 12th Grade

15 Qs

Quiz Vocabulary Unit- 8D

Quiz Vocabulary Unit- 8D

12th Grade

15 Qs

Ulangan IPS kelas 9 bab 1: benua

Ulangan IPS kelas 9 bab 1: benua

9th - 12th Grade

10 Qs

Kuis Sistem Peredaran Darah Manusia

Kuis Sistem Peredaran Darah Manusia

12th Grade

10 Qs

YU153 quiz

YU153 quiz

9th - 12th Grade

15 Qs

Cause -Effect Relationship

Cause -Effect Relationship

12th Grade

20 Qs

Python Functions

Python Functions

Assessment

Quiz

Others

12th Grade

Medium

Created by

teams itpark

Used 15+ 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.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

A) Emma 25

B) Emma 20

c) Emma 2520

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

A) 25

B) 5

C) NameError

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 Which of the following is the use of function in python?

a) Functions are reusable pieces of programs
b) Functions don’t provide better modularity for your application
c) you can’t also create your own functions
d) All of the mentioned

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

A. x is the formal argument.

B. a is the actual argument.

C. fn(x) is the function signature.

D. x is the actual argument.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How is a function declared in Python?

A. def function function_name():
B. declare function function_name():
C. def function_name():
D. declare function_name():

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following function headers is correct?

A. def fun(a = 2, b = 3, c)
B. def fun(a = 2, b, c = 3)
C. def fun(a, b = 2, c = 3)
D. def fun(a, b, c = 3, d)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

A. the function header

B. the function body

C. the function definition

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?