Functions in Python

Functions in Python

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

H -Subprograms

H -Subprograms

12th Grade - University

12 Qs

XII_CS_FUNCTIONS

XII_CS_FUNCTIONS

12th Grade

15 Qs

DA METER REVIEW #5

DA METER REVIEW #5

12th Grade

18 Qs

Python Programming: Functions and Procedures

Python Programming: Functions and Procedures

9th - 11th Grade

12 Qs

Python Functions 1

Python Functions 1

12th Grade

12 Qs

การเขียนโปรแกรมภาษา python ม.5 ภาคเรียนที่ 2 ปีการศึกษา 2561

การเขียนโปรแกรมภาษา python ม.5 ภาคเรียนที่ 2 ปีการศึกษา 2561

10th - 12th Grade

20 Qs

Subroutine

Subroutine

10th Grade

15 Qs

AP CSP Unit 4: 2.1.1-2.1.3 (CMU)

AP CSP Unit 4: 2.1.1-2.1.3 (CMU)

11th Grade

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