Python Functions Review Quiz

Python Functions Review Quiz

9th - 12th Grade

•

28 Qs

quiz-placeholder

Similar activities

A+ Chapter 2 Test

A+ Chapter 2 Test

11th Grade

•

26 Qs

Cybersecurity Checkpoint 1

Cybersecurity Checkpoint 1

10th - 12th Grade

•

23 Qs

Y5-Criterion A: Inquiring and Analyzing

Y5-Criterion A: Inquiring and Analyzing

8th - 10th Grade

•

23 Qs

Computers For Fun

Computers For Fun

9th - 10th Grade

•

23 Qs

TLE10 3RD QUARTER

TLE10 3RD QUARTER

10th Grade

•

23 Qs

Keamanan Jaringan 1

Keamanan Jaringan 1

11th Grade

•

25 Qs

2ND QTR-QUIZ 4-Proposed ICT Project for Social Change-12-1-2022

2ND QTR-QUIZ 4-Proposed ICT Project for Social Change-12-1-2022

11th Grade

•

25 Qs

Game History

Game History

KG - University

•

25 Qs

Python Functions Review Quiz

Python Functions Review Quiz

Assessment

Quiz

•

Computers

•

9th - 12th Grade

•

Hard

Created by

Bonnie Keating

Used 179+ times

FREE Resource

AI

Enhance your content in a minute

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

28 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a return in a function?

Keyword that tells the function what to print

Keyword that tells the function what value to send back

Keyword that tells the function what to add

Keyword that tells the function what parameter to pass

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

What is a parameter for a function?

the scope of the functions variables

a variable used to send information to a function

the name of the function

the name of the main program calling the function

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

What are the reasons for using functions? Select all that apply.

To build code that will be reused

To simplify code

To add comments

To help organize longer programs

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

WHAT IS THE DIFFERENCE BETWEEN A PARAMETER AND A FUNCTION?

1.Functions input values to a parameter

2.Parameter operate on those function values

1.Parameters input values to a function

2.Functions operate on those parameter values

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be printed?

nothing

5

6

"3 + 2"

Answer explanation

No print function is written. You need to print or save the function call.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be printed?

nothing

5

6

"3 + 2"

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be printed?

nothing

7

z

12

Answer explanation

9 is returned from the function call with 4 &5. Then 9 is passed with the 3 to the function again with 12 as the return value.

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?