Multiple Choice
Which of the following code segments will copy the values of a 5 element array named intOldValues into another 5 element array named intNewValues?
A) intIndex = 1 Do While intIndex < =5
IntNewValues(intIndex) = intOldValues(intIndex)
IntIndex = intIndex + 1
Loop
B) intIndex = 0 Do While intIndex < 5
IntNewValues(intIndex) = intOldValues(intIndex)
IntIndex = intIndex + 1
Loop
C) For intIndex = 1 To 5 intNewValues(intIndex) = intOldValues(intIndex)
Next intIndex
D) For intIndex = 0 To 4 intOldValues(intIndex) = intNewValues(intIndex)
Next intIndex
Correct Answer:

Verified
Correct Answer:
Verified
Q18: The following statements apply to a Timer
Q19: What task is accomplished by the following
Q20: Which of the following code segments sets
Q21: What is the best way to describe
Q22: Due to their similarities, it's easy to
Q24: The lowest possible subscript of an array
Q25: In Visual Basic you can use the
Q26: Procedures can be written to handle arrays
Q27: What does the following section of code
Q28: How many elements can be stored in