Exam 6: Design With Functions

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

What higher-order function takes a list of values and repeatedly applies a function to accumulate a single data value?

(Multiple Choice)
4.9/5
(32)

The process of hiding a complex process by developing a mechanism to simplify or hide that process is known by what term?

(Multiple Choice)
4.9/5
(40)

What is the purpose of a higher-order function?

(Multiple Choice)
4.8/5
(38)

A function call expresses the idea of a process to the programmer, forcing him or her to wade through the complex code that realizes that idea.

(True/False)
4.9/5
(39)

What makes up a Python program's namespace?

(Multiple Choice)
4.8/5
(44)

What type of error is raised when the Python virtual machine runs out of memory resources to manage a process?

(Multiple Choice)
4.8/5
(42)

Recursive solutions are often more natural and elegant than their iterative counterparts.

(True/False)
4.8/5
(32)

For each call of a function, the Python virtual machine must allocate a small chunk of memory on the call stack, which is known by what term?

(Multiple Choice)
4.9/5
(41)

The use of a common pool of data allows a program to grow easily as new data sources are added to the program.

(True/False)
4.7/5
(35)

When using functions that have default arguments, the required arguments must be provided and must be placed in the same positions as they are in the function definition's header.

(True/False)
4.8/5
(39)
Showing 41 - 50 of 50
close modal

Filters

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