Functions in Python

Functions in Python

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Python Functions

Python Functions

9th Grade

20 Qs

Year 9 Python Revision

Year 9 Python Revision

12th Grade

20 Qs

python 2

python 2

11th - 12th Grade

10 Qs

Karel the Dog Study Test

Karel the Dog Study Test

9th - 12th Grade

16 Qs

Gr10 DigiPro Sprint 1.1

Gr10 DigiPro Sprint 1.1

10th Grade

10 Qs

AQA GCSE Computer Science - 3.2.10 Subroutines

AQA GCSE Computer Science - 3.2.10 Subroutines

8th - 10th Grade

20 Qs

Functions With Return Values U1M2 Python

Functions With Return Values U1M2 Python

9th - 12th Grade

12 Qs

Python Introduction Quiz

Python Introduction Quiz

8th - 9th Grade

12 Qs

Functions in Python

Functions in Python

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Created by

Jed Tresmanio

Used 39+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following keywords marks the begining of the function block?

Func

define

def

function

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following pertains to a piece of code that can take inputs to perform a specific task?

Arguments

Functions

Parameters

Loops

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When defining a function, the definition must occur before it is called.

TRUE

FALSE

4.

DROPDOWN QUESTION

1 min • 1 pt

The variable listed inside the parentheses in the function definition is called a(n) ​ (a)   , while the value that is sent to the function when it is called is a(n) ​ (b)   .

parameter
argument

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following describe what parameters are function? (Select 2)

input value to a function for the function’s execution

a variable used to send information to a function

the name of the function

the name of the main program calling the function

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following symbols always comes after a function code block?

;

]

:

#

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

Which of the following is TRUE about the given function? (Select 3)

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?