Chapter 18: A Ray of Sunshine (One-Dimensional Arrays)
TRUE/FALSE
1. At times, you will encounter situations where some of the variables in an application are related to
each other.
2. In the cases when you encounter situations where some variables are related, it is easier and more
efficient to treat the related variables separately.
3. The most commonly used arrays in business applications are three-dimensional.
4. Each variable in an array has the same name and data type.
5. Superscripts are assigned by the computer when an array is created in internal memory.
6. To refer to the first variable in a one-dimensional String array named strFriends, you use
strFriends(0)—read “strFriends sub zero.”
7. A procedure-level memory location has class scope, which means it can be used only
within the procedure in which it is declared.
8. You use the Private keyword to create a class-level array.
9. The number of elements is always one number more than the array’s highest subscript.
10. The elements in a numeric array are initialized to the number 1.
11. The contents of the variables (elements) in an array cannot be displayed.