Answer the following statements true (T) or false (F)

1) Function call random.randrange ( 1, 7 ) produces a random integer in the range 1 to 7, inclusive.
2) An identifier’s scope is the portion of the program in which the identifier has meaning.
3) Every call to a recursive function is a recursive call.
4) Omitting the base case in a recursive function can lead to “infinite” recursion.
5) A recursive function may call itself indirectly.


1) F
2) T
3) F
4) T
5) T

Computer Science & Information Technology

You might also like to view...

When all the contents of a file are truncated, this means that ________.

a. the data in the file is saved to a backup file b. the file is deleted c. a FileNotFoundException occurs d. all the data in the file is discarded

Computer Science & Information Technology

When using Windows 8 gestures, you need to ________ to zoom in on a document

Fill in the blank(s) with correct word

Computer Science & Information Technology

You can add calculations for groups of data such as totals, averages, and counts to report columns

Indicate whether the statement is true or false

Computer Science & Information Technology

The Ribbon organizes commands into ________

Fill in the blank(s) with correct word

Computer Science & Information Technology