Python Function

Python Function

11th - 12th Grade

11 Qs

quiz-placeholder

Similar activities

CHƯƠNG TRÌNH CON BT1

CHƯƠNG TRÌNH CON BT1

10th - 12th Grade

10 Qs

Python

Python

7th - 12th Grade

15 Qs

АЛГОРИТМІЗАЦІЯ 7 КЛ частина 1

АЛГОРИТМІЗАЦІЯ 7 КЛ частина 1

12th Grade

12 Qs

Информатика 8ә-сынып

Информатика 8ә-сынып

11th Grade

10 Qs

Recap

Recap

12th Grade

10 Qs

Microsoft Excel էլեկտրոնային աղյուսակ

Microsoft Excel էլեկտրոնային աղյուսակ

12th Grade

10 Qs

Quiz #2 ETEC 486 | Spr. 16

Quiz #2 ETEC 486 | Spr. 16

KG - University

10 Qs

Mengenal Jendela dan Ikon Microsoft Excel

Mengenal Jendela dan Ikon Microsoft Excel

7th Grade - University

15 Qs

Python Function

Python Function

Assessment

Quiz

Computers

11th - 12th Grade

Practice Problem

Hard

Created by

Sangita Panchal

Used 154+ times

FREE Resource

AI

Enhance your content in a minute

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

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Name the keyword used to define a function.

define

def

function

fu

2.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

def square(x) _______

print(x*x)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one is not true about function?

It breaks the large program into small modules.

It avoids repetition.

It makes code reusable.

It makes the program unorganized.

4.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Media Image

Which statement is used to display the docstring?

print(welcome.__doc__)

print(__doc__)

print(welcome._doc_)

print(docstring)

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Media Image

What is the value of Y?

Error

None

Alsan

Hello, Alsan Good Morning!

6.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Media Image

Which one is incorrect calling function statement?

add(4, c = 10, b = 5)

add(3, 4, c = 45)

add (b = 12, c = 10, 1)

add (5, 6, 7)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output?

Value inside function: 10

Value outside function: 20

Value inside function: 10

Value outside function: 10

Value inside function: 20

Value outside function: 10

Value inside function: 20

Value outside function: 20

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?