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

1. A function can have zero to many parameters and either zero or one return value(s).
2. Functions are ideal for use in menu-drive programs. When a user selects a menu item, the program can call an appropriate function to carry out the user's choice.
3. When a function just needs to use a copy of an argument passed to it, the argument should normally be passed by value.
4. It is possible for a function to have some parameters with default arguments and some without.
5. A function with a return type of bool must return a value of either true or false.


1. TRUE
2. TRUE
3. TRUE
4. TRUE
5. TRUE

Computer Science & Information Technology

You might also like to view...

To declare variables and their associated data types in a procedure, the ____________________ statement is used.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Any graphic object that is to be part of your final document must be on the pasteboard, whether it is a static object or one that is animated.

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

Computer Science & Information Technology

To change an object's layer, you can also click the Select button in the Editing group on the ____ tab, and then click Selection Pane.

A. Insert B. Review C. Home D. View

Computer Science & Information Technology

The portion of a data record where the data value for a particular attribute is stored is called

a. an entity b. an attribute c. a field d. a record

Computer Science & Information Technology