Search Header Logo

Ch 5 Functions - Python

Authored by Carlos Melendez

Instructional Technology

9th - 12th Grade

Used 11+ times

Ch 5 Functions - Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A group of statements that exist within a program for the purpose of performing a specific task is a(n) _______

block

parameter

function

expression

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

You _____ a function to execute it

define

call

import

export

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A ______ is a variable that is created inside a function

global variable

local variable

hidden variable

none of the above; you cannot create a variable inside a function

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A(n) ______ is a piece of data that is sent into a function

argument

parameter

header

packet

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A _______ variable that is assigned the value of an argument when the function is called

argument

header

parameter

packet

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A variable that is visible to every function in a program file is a _____

local variable

universal variable

program-wide variable

global variable

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

This type of function returns either True or False

Binary

true_false

Boolean

logical

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?