Exam 9: Arrays

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

Write the statement to declare a seven-element procedure-level array named strItemCode with each element initialized to the keyword Nothing.

(Essay)
4.9/5
(28)

If a one-dimensional array contains five elements,its Length property contains the number 5 but its highest subscript is 3.

(True/False)
4.9/5
(39)

To arrange the elements in an array in ascending order,you use the ____ method. A) Array.Arrange B) Array.Ascending C) Array.Sort D) Array.Arrange

(Not Answered)
This question doesn't have any answer yet
Ask our community

Write the statements to traverse the strCategory array and display each element's value in the lstCategory control.Use a For Each...Next statement.

(Essay)
4.8/5
(27)

The following statement will declare an array.What is the index value for the first element? Dim lakes(5)

(Multiple Choice)
4.8/5
(38)

Based on the statement below,which of the following If clauses determines whether the intSub variable contains a valid subscript for the array? Based on the statement below,which of the following If clauses determines whether the intSub variable contains a valid subscript for the array?

(Not Answered)
This question doesn't have any answer yet
Ask our community

Write the statement that assigns the length of the strBooks array to the intNumElements variable.Then write the statement that assigns the highest subscript in the array to the intHighestSub variable.

(Essay)
4.7/5
(40)

Based on the code below,intScores(0,0)is initialized to ____. Based on the code below,intScores(0,0)is initialized to ____.

(Multiple Choice)
4.9/5
(43)

Based on the code below,intScores(3,1)is initialized to ____. Based on the code below,intScores(3,1)is initialized to ____.

(Multiple Choice)
4.7/5
(37)

When an array is sorted in descending order,the first element in the array contains the smallest value and the last element contains the largest value.

(True/False)
4.7/5
(32)

Write the statements to traverse the strCategory array and display each element's value in the lstCategory control.Use a Do...Loop statement.

(Essay)
4.7/5
(34)

To refer to the element located in the first row,first column in a two-dimensional array named strProducts,you use ____.

(Multiple Choice)
4.7/5
(40)

A(n)____ is a group of variables that have the same name and data type,and are related in some way.

(Multiple Choice)
4.9/5
(35)

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?

(Multiple Choice)
4.9/5
(37)

How do the elements in parallel one-dimensional arrays relate to each other? Provide an example.

(Essay)
4.9/5
(40)

The strRoom and strRate arrays are parallel arrays.If Deluxe is stored in the third element in the strRoom array,where is its rate (115)stored?

(Multiple Choice)
4.7/5
(35)

Which of the following statements assigns the daily special of lasagna to Tuesday?

(Multiple Choice)
4.9/5
(35)
Showing 41 - 57 of 57
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)