Define Function

Define Function

12th Grade

20 Qs

quiz-placeholder

Similar activities

Defined Functions

Defined Functions

12th Grade

20 Qs

XII_CS_FUNCTIONS

XII_CS_FUNCTIONS

12th Grade

15 Qs

Python Functions

Python Functions

12th Grade

15 Qs

Functions & Scope of variables in C++

Functions & Scope of variables in C++

11th Grade - University

15 Qs

Python UDF 1

Python UDF 1

12th Grade

15 Qs

Function Basics Quiz

Function Basics Quiz

9th - 12th Grade

22 Qs

PHP Quiz

PHP Quiz

12th Grade

20 Qs

Parameters and Return Review

Parameters and Return Review

9th - 12th Grade

19 Qs

Define Function

Define Function

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?