Define Function

Define Function

12th Grade

20 Qs

quiz-placeholder

Similar activities

C++ Chapter 6 Review - Functions

C++ Chapter 6 Review - Functions

10th Grade - University

20 Qs

Python Functions Overview

Python Functions Overview

12th Grade

20 Qs

Excel - Formulas, Functions & Formatting

Excel - Formulas, Functions & Formatting

10th - 12th Grade

20 Qs

Mastering Python Basics

Mastering Python Basics

12th Grade

20 Qs

Functions in Python

Functions in Python

9th - 12th Grade

15 Qs

Computer Basics

Computer Basics

KG - University

16 Qs

Functional Programming 2

Functional Programming 2

12th Grade

19 Qs

Movie Maker

Movie Maker

9th - 12th Grade

16 Qs

Define Function

Define Function

Assessment

Quiz

Computers

12th Grade

Hard

CCSS
L.3.1A, 8.F.A.1, L.3.1E

+5

Standards-aligned

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

Tags

CCSS.8.F.A.1

CCSS.HSF.IF.A.1

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?