Quiz 5

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

One of the drawbacks of a modularized program is that the only structure you can use in such a program is the sequence structure. T/F

False

The 'math' function 'atan(x)' returns one tangent of 'x' in radians. T/F

False

The value assigned to a global constant can be changed in the mainline logic. T/F

False

Unfortunately, there is no way to store and call on functions when using turtle graphics. T/F

False

Different functions can have local variables with the same names. T/F

True

One reason not to use global variable is that it makes a program hard to debug. T/F

True

The 'randrange' function returns a randomly selected value from a specific sequence of numbers. T/F

True

To assign a value to a global variable in a function, the global variable must be first declared in the function. T/F

True

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

header


Ensembles d'études connexes

COSC4331- Structures of Programming Languages

View Set

MED SURG TEST #3 prep-u questions ch 20

View Set

Ch. 11- Outlining the Speech; Ch. 12- Using Language

View Set

HESI A2 Critical Thinking Questions

View Set

Practice: Solving One Step Equations Online Practice

View Set