Exam 3: Simple functions

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

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

(Multiple Choice)
4.9/5
(70)

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

(Multiple Choice)
4.7/5
(82)

Python function names follow the same rules for naming variables.

(True/False)
4.8/5
(80)

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

(True/False)
4.9/5
(75)

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

(Multiple Choice)
4.7/5
(73)

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

(Multiple Choice)
4.9/5
(83)

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

(Multiple Choice)
4.8/5
(87)

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

(Short Answer)
4.8/5
(78)

Python allows for passing multiple arguments to a function.

(True/False)
4.9/5
(74)

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

(Short Answer)
4.7/5
(77)

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

(Multiple Choice)
4.9/5
(74)

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

(Short Answer)
4.7/5
(79)

The function header marks the beginning of the function definition.

(True/False)
4.7/5
(78)

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

(Short Answer)
4.8/5
(77)
Showing 21 - 34 of 34
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)