Exam 5: Functions and Modules

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

The Python standard library's _____ module contains numerous functions that can be used in mathematical calculations.

(Multiple Choice)
4.9/5
(44)

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

(Multiple Choice)
4.7/5
(39)

To refer to a function in a module, in our program we have to use the _______________ notation.

(Short Answer)
4.9/5
(37)

A(n) _______________ program displays a list of the operations on the screen and allows the user to select the operation that the program should perform.

(Short Answer)
4.8/5
(43)

A value-returning function is like a simple function except that when it finishes it returns a value back to the called part of the program.

(True/False)
4.8/5
(41)

A(n) _____ chart is also known as a structured chart.

(Multiple Choice)
4.9/5
(36)

A(n) _____ variable is accessible to all the functions in a program file.

(Multiple Choice)
4.9/5
(46)

What makes it easier to reuse the same code in more than one program?

(Multiple Choice)
4.9/5
(42)

Given the following function definition, what would the statement print magic(5) display? Def magic(num): Return num + 2 * 10

(Multiple Choice)
5.0/5
(36)
Showing 61 - 69 of 69
close modal

Filters

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