Defined Functions

Defined Functions

12th Grade

20 Qs

quiz-placeholder

Similar activities

Mastering Python Functions

Mastering Python Functions

12th Grade

16 Qs

Understanding Python Functions

Understanding Python Functions

12th Grade

15 Qs

Function Basics Quiz

Function Basics Quiz

9th - 12th Grade

22 Qs

PHP Quiz

PHP Quiz

12th Grade

20 Qs

Mastering Python Functions

Mastering Python Functions

12th Grade

25 Qs

Define Function

Define Function

12th Grade

20 Qs

XII_CS_FUNCTIONS

XII_CS_FUNCTIONS

12th Grade

15 Qs

Functions in Python

Functions in Python

9th - 12th Grade

16 Qs

Defined Functions

Defined Functions

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Barbara White

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?