Multiple Choice
Case 1 - Tony’s Pizza & Pasta
The restaurant uses an application to update and display menu items and the related price information.
-The intSub variable keeps track of array subscripts and is initialized to 0.The intHighSub variable contains the highest subscript for the strToppings array.Which of the following statements will traverse the strToppings array?
A) Do While intSub >= intHighSub
B) For intHighSub As Integer = 0 To intSub
C) Do While intSub <= intHighSub
D) For intSub As Integer = 1 To intHighSub
Correct Answer:

Verified
Correct Answer:
Verified
Q35: Based on the code below,intScores(2,0)is initialized to
Q36: Write the statement that assigns the string
Q37: Based on the code below,intScores(2,1)is initialized to
Q38: An advantage of using the For Each…Next
Q39: A two-dimensional array resembles a table in
Q41: Which of the following correctly shows the
Q42: The following sample of code contains errors.
Q43: Write the statement to declare a five-element
Q44: Two or more arrays whose elements are
Q45: If a one-dimensional array contains five elements,its