Python Functions

Python Functions

12th Grade

15 Qs

quiz-placeholder

Similar activities

Kuis Manajemen Pertunjukan Musik

Kuis Manajemen Pertunjukan Musik

12th Grade

15 Qs

Teks Prosedur

Teks Prosedur

12th Grade

10 Qs

DIAS DA CRIAÇÃO

DIAS DA CRIAÇÃO

9th - 12th Grade

15 Qs

Sistema de numeración egipcio

Sistema de numeración egipcio

12th Grade

10 Qs

Monopoly Trivia Tuesday

Monopoly Trivia Tuesday

9th - 12th Grade

10 Qs

AV3 - 2 Pontos

AV3 - 2 Pontos

3rd Grade - University

20 Qs

Heart

Heart

9th - 12th Grade

18 Qs

Finding the Epicenter KC

Finding the Epicenter KC

9th - 12th Grade

10 Qs

Python Functions

Python Functions

Assessment

Quiz

Others

12th Grade

Medium

Created by

teams itpark

Used 16+ 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?