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

1. Changes made to an entire array that has been passed to a method will not affect the original values of the array.
2. When passing an array to a procedure, the method’s parameter list must
specify that an array will be received.
3. When we pass an array object to a procedure, we do not need to pass the upper
bound of the array as a separate argument.
4. For Each…Next loop is barely used because it’s more complicated than the For…Next loop.
5. The For Each…Next repetition statement is appropriate when the program doesn’t need to refer to the indices of the elements in an array.


1. False. Arrays are passed to methods by reference; therefore, changes made within the method modify the original array itself.
2. True.
3. True.
4. False. For Each…Next is often used because of its simplicity.
5. True.

Computer Science & Information Technology

You might also like to view...

MC The name “exception” indicates that an event__________ .

a) occurs frequently. b) occurs infrequently. c) cannot occur. d) None of the above.

Computer Science & Information Technology

For most applications, you'll typically first save your document normally as a Word TXT file.

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

Computer Science & Information Technology

Which of the following is one of the four “definitive answers” for usability questions that the author offers:

a. Use a large photo on each page. b. Never wear white after Labor Day. c. Don’t use small, low-contrast type.

Computer Science & Information Technology

The scale of a vertical axis is chosen automatically to fit the largest value selected

Indicate whether the statement is true or false

Computer Science & Information Technology