Ch 5 Functions - Python

Ch 5 Functions - Python

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

AP COMP SCI A - CodeHs Unit 3 Vocab

AP COMP SCI A - CodeHs Unit 3 Vocab

12th Grade

16 Qs

Python - Data Types

Python - Data Types

12th Grade - University

11 Qs

9-Cpp-1

9-Cpp-1

9th Grade

13 Qs

Computer Viruses

Computer Viruses

6th - 10th Grade

10 Qs

Sphero Block Coding

Sphero Block Coding

KG - 12th Grade

11 Qs

Pipeline Explorer

Pipeline Explorer

8th - 11th Grade

20 Qs

Simulasi dan Komunikasi Digital

Simulasi dan Komunikasi Digital

1st Grade - University

15 Qs

SECURITY: Unit 4 Review

SECURITY: Unit 4 Review

11th - 12th Grade

20 Qs

Ch 5 Functions - Python

Ch 5 Functions - Python

Assessment

Quiz

Instructional Technology

9th - 12th Grade

Medium

Created by

Carlos Melendez

Used 11+ times

FREE Resource

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

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?