Filters
Question type

Study Flashcards

The approach called _______________ is taking a large task and dividing it into several smaller tasks that are easily performed.

Correct Answer

verifed

verified

A(n) _____ is a variable that receives an argument that is passed into a function.


A) global
B) argument
C) scope
D) parameter

E) None of the above
F) A) and C)

Correct Answer

verifed

verified

The _____ of a local variable is the function in which the variable is created.


A) global
B) defined
C) local
D) scope

E) None of the above
F) All of the above

Correct Answer

verifed

verified

A variable's _____ is the part of a program in which the variable may be accessed.


A) global
B) argument
C) scope
D) local

E) B) and C)
F) A) and D)

Correct Answer

verifed

verified

The top-down design breaks down the overall task of the program into a series of _______________.

Correct Answer

verifed

verified

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


A) global
B) constant
C) defined
D) local

E) C) and D)
F) None of the above

Correct Answer

verifed

verified

Python allows for passing multiple arguments to a function.

A) True
B) False

Correct Answer

verifed

verified

The function header marks the beginning of the function definition.

A) True
B) False

Correct Answer

verifed

verified

The first line in the function definition is known as the function _____.


A) header
B) block
C) return
D) parameter

E) None of the above
F) C) and D)

Correct Answer

verifed

verified

Python function names follow the same rules for naming variables.

A) True
B) False

Correct Answer

verifed

verified

The main function contains a program's _______________ logic, which is the overall logic of the program.

Correct Answer

verifed

verified

The function header begins with the keyword _______________ followed by the name of the function.

Correct Answer

verifed

verified

A function definition specifies what a function does and causes the function to execute.

A) True
B) False

Correct Answer

verifed

verified

A(n) _____ constant is a global name that references a value that cannot be changed.


A) keyword
B) local
C) global
D) string

E) None of the above
F) C) and D)

Correct Answer

verifed

verified

Showing 21 - 34 of 34

Related Exams

Show Answer