6. The elements of an array can consist of multiple variables at individual times, each having a single value.
a. True
b. False
7. The elements of array are distinguished from one another by a unique index
a. True
b. False
8. An array's subscript or index always starts from 1, with the last subscript corresponding to n - 1
a. True
b. False
9. With one-dimensional arrays, programmers can write shorter and more efficient code, while still providing the read-in data after the array has been read.
a. True
b. False
10. Given a one-dimensional array of weekdays: weekdays(7), what is the fourth index element?
Monday Tuesday Wednesday Thursday Friday Saturday Sunday
a. Friday
b. Thursday
c. Saturday
d. Sunday
6.. True
7.. True
8.. False
9.. True
10.. a
Comments
Leave a comment