Exam 2 Python - Review Questions

Exam 2 Python - Review Questions

Assessment

Flashcard

•

Computers

•

University

•

Practice Problem

•

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

50 questions

Show all answers

1.

FLASHCARD QUESTION

Front

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

Back

function

2.

FLASHCARD QUESTION

Front

A design technique that helps to reduce the duplication of code within a program and is a benefit of using functions is

Back

code reuse

3.

FLASHCARD QUESTION

Front

You ______ the method to execute it

Back

call

4.

FLASHCARD QUESTION

Front

A design technique that programmers use to break down an algorithm into functions is known as

Back

top-down design

5.

FLASHCARD QUESTION

Front

The first line of a method definition is known as the

Back

header

6.

FLASHCARD QUESTION

Front

A ______ is a diagram that gives a visual representation of the relationships between functions in a program

Back

hierarchy chart

7.

FLASHCARD QUESTION

Front

A(n) ______ variable is created inside a function.

Back

local

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?

Discover more resources for Computers