priming read
The initial input of data before a validation loop is called a ________
________.
size declarator
This specifies the number of elements in an array.
named constants
Using these as size declarators simplifies program maintenance.
element
An individual item in an array is known as a(n) ______.
subscript
A(n) ______ identifies an element in an array.
index
A(n) ______ variable is typically used to iterate through the elements of an
array.
, 0
An array begins with this subscript value.
The array size minus one.
An array ends with this subscript value.
parallel
"Design a program which tracks the scores of four separate golfers.
"This problem would be a good candidate for using ______ arrays.
index variable should be incremented after the second Display statement, not
the first.
The following loop is designed to iterate through two parallel arrays and
display their values, but it contains a logic error. Find the error.
Set index = 0
While (index < MAXVAL)
Display "Value A.", index, "=", arrayA[index]
Set index = index + 1
Display "Value B.", index, "=", arrayB[index]
End While