Functions in Python

Functions in Python

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Subroutines

Subroutines

9th - 11th Grade

16 Qs

Python Functions Part3 Week11

Python Functions Part3 Week11

10th Grade

20 Qs

Python Function

Python Function

11th - 12th Grade

11 Qs

Python Function and Return

Python Function and Return

9th - 12th Grade

12 Qs

HIGHER Python Subroutines Quiz

HIGHER Python Subroutines Quiz

9th Grade

12 Qs

8525 GCSE CS 3.2.10 Structured programming and subroutines

8525 GCSE CS 3.2.10 Structured programming and subroutines

10th - 11th Grade

19 Qs

XII_CS_FUNCTIONS

XII_CS_FUNCTIONS

12th Grade

15 Qs

Functions in Python

Functions in Python

9th - 12th Grade

16 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?