Functions in Python

Functions in Python

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Security and Ethics

Security and Ethics

9th - 12th Grade

17 Qs

CIA Mid-Term Review 1

CIA Mid-Term Review 1

9th - 10th Grade

17 Qs

flowol week 3

flowol week 3

9th - 12th Grade

17 Qs

Pre-Assessment: ICT 10 Orientation Day

Pre-Assessment: ICT 10 Orientation Day

10th Grade

10 Qs

Coding Quiz

Coding Quiz

6th - 10th Grade

15 Qs

2.3.1 Graph Traversal & Path Finding Algorithms

2.3.1 Graph Traversal & Path Finding Algorithms

12th Grade - University

20 Qs

IT - TYPING TUTOR

IT - TYPING TUTOR

9th Grade

10 Qs

Interstate Competition

Interstate Competition

7th - 10th Grade

11 Qs

Functions in Python

Functions in Python

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Easy

Created by

Jed Tresmanio

Used 39+ times

FREE Resource

AI

Enhance your content in a minute

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

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

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?