Chapter 5 true or false
A hierarchy chart shows all the steps that are taken inside a function.
F
A local variable can be accessed from anywhere in the program.
F
In Python there is no restriction on the name of a module file.
F
One of the drawbacks of a modularized program is that the only structure you can use in such a program is the sequence structure.
F
The math function atan(x) returns one tangent of x in radians.
F
The value assigned to a global constant can be changed in the mainline logic.
F
Unfortunately, there is no way to store and call on functions when using turtle graphics.
F
Unlike other languages, in Python the number of values a function can return is limited to one.
F
A value-returning function is like a simple function except that when it finishes it returns a value back to the part of the program that called it.
T
Different functions can have local variables with the same names.
T
In Python you can have a list of variables on the left side of the argument operator.
T
One reason not to use global variables is that it makes a program hard to debug.
T
One reason to store graphics functions in a module is so that you can import the module into any program that needs to use those functions.
T
Python allows you to pass multiple arguments to a function.
T
Python function names follow the same rules as those for naming variables.
T
The math function ceil(x) returns the smallest integer that is greater than or equal to x.
T
The randrange function returns a randomly selected value from a specific sequence of numbers.
T
To assign a value to a global variable in a function, the global variable must be first declared in the function.
T
A function definition specifies what a function does and causes the function to execute.
F