Exam 9: Arrays

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

The following statement will declare an array that has ____ elements. Dim lakes(5)As Integer

Free
(Multiple Choice)
4.8/5
(30)
Correct Answer:
Verified

C

Assigning initial values to an array is often referred to as ____.

Free
(Multiple Choice)
4.9/5
(32)
Correct Answer:
Verified

B

If the array's data type is Integer,each element in the array is initialized using the keyword Nothing.

Free
(True/False)
4.7/5
(37)
Correct Answer:
Verified

False

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

(Multiple Choice)
4.8/5
(32)

Storing data in an array decreases the efficiency of your code.

(True/False)
4.8/5
(31)

Which of the following correctly shows the syntax for storing data in a one-dimensional array? Which of the following correctly shows the syntax for storing data in a one-dimensional array?

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

The following array is declared and initialized: The following array is declared and initialized:    Write the statements to sort the values in the array in descending order. Write the statements to sort the values in the array in descending order.

(Essay)
4.9/5
(17)

An array is defined as follows: Dim numbers(3)As Integer How many elements does the array have?

(Multiple Choice)
4.9/5
(34)

An array's ____ method returns an integer that indicates the highest subscript in the specified dimension in the array.

(Multiple Choice)
4.7/5
(43)

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

(Multiple Choice)
4.9/5
(41)

You do not need to specify the highest array subscript in the ____ statement.

(Multiple Choice)
4.9/5
(32)

The following array is declared and initialized: The following array is declared and initialized:

(Essay)
4.8/5
(32)

Write the statement that assigns the string "Treasurer" to the element located in the third row,second column in the strOfficers array.

(Essay)
4.9/5
(31)

Explain the difference between a simple variable and an array.

(Essay)
4.8/5
(35)

Write the statement to declare a four-element procedure-level array named intNum with each element initialized to 0.Then write the statements necessary to add the number 5 to each element in the intNum array.

(Essay)
4.8/5
(41)

The data in a two-dimensional array are not required to have the same data type.

(True/False)
4.9/5
(20)

Write the statement to declare a six-element class-level array named strAnimal,and initialize the array with the following values: dog,cat,mouse,bird,snake,fish.

(Essay)
4.7/5
(35)

Consider the following array: Consider the following array:   What row index value would be required to create this two-dimensional array? What row index value would be required to create this two-dimensional array?

(Multiple Choice)
4.9/5
(38)

Which of the following statements declares a class-level one-dimensional array named strToppings that stores the 14 available pizza toppings?

(Multiple Choice)
4.7/5
(32)

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

(Multiple Choice)
4.8/5
(33)
Showing 1 - 20 of 57
close modal

Filters

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