Search Header Logo

User Defined Functions

Authored by Priyanka Kalarikkal

Computers

12th Grade

Used 141+ times

User Defined Functions
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A function is a subprogram doing a specific operation on data.

True

False

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

____ statement in function bring the result to the calling program.

break

return

def

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Functions should be defined before __main__ of a program.

True

False

4.

MULTIPLE SELECT QUESTION

20 sec • 1 pt

A function definition includes the following parts..(you can choose multiple options if any)

def keyword in function header

Indented body

Optional parameters

Break statement

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

random.random() is an example of___

User defined function

Built-in functions

Functions defined in modules

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

____ are the values passed to a function during function call.

Arguments

Parameters

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

____ are the values received by the functions.

Arguments

Parameters

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?