A(n) ____ is another name for a subscript.

Can I get help with this? This is homework for an upcoming test. Need study guide.

1. In all languages, subscript values must be sequential ____.

2. A(n) ____ is another name for a subscript.

3. The number of bytes in an array is always a multiple of the number of ____ in an array.

4. A program contains an array that holds all the names of the days of the week. Which of the following is true?

5. The for loop is a good tool when working with arrays because you frequently need to process every element of an array from beginning to end. True or false?

6. Many newer programming languages such as C++, Java, and C# use the square bracket notation for arrays. True or False?

7. Besides making your code easier to modify, using a ____ makes the code easier to understand.

8. The number of elements in an array is called the ____ of the array.

9. One advantage to using a named constant is that the statement becomes ____.

10. The true benefit of using an array lies in your ability to use a ____ as a subscript to the array.

11. You can improve the efficiency of a program by leaving a loop as soon as a match is found in the array. True or False?

12. You use subscripts 1 through 10 to access the elements in a ten element array. True or False?

13. Array elements all have the same ____ in common.

14. An array is a(n) ____ of values in computer memory.

15. All array elements have the same group ____.

16. A parallel array is an array that stores another array in each element. True or False?

17. To search an array for a(n) ____ match, you can store either the highest or lowest value
of each range for comparison.

18. When you have a five element array and use subscript 6, your subscript is said to be out of bounds. True or False?

19. Suppose that you have declared a numeric array named numbers, and two of its elements are numbers[1] and numbers[5]. You know that ____.

Answer

  1. integers
  2. index
  3. elemets
  4. the highest subscript is 6
  5. true
  6. true
  7. named constant
  8. size
  9. self documenting
  10. variable
  11. true
  12. false
  13. data type
  14. list
  15. name
  16. false
  17. range
  18. true
  19. there are exactly 2 elements between those 2 elemets

Hottest videos

Leave a Reply

Your email address will not be published.

Related Posts