Question 1 (2 points) All the variables in an array are called _____. Question 1
ID: 3700432 • Letter: Q
Question
Question 1 (2 points)
All the variables in an array are called _____.
Question 1 options:
parts
elements
segments
things
Save
Question 2 (2 points)
Which of the following is not true about the subscript of an array?
Question 2 options:
It must be a positive number
It can be a positive integer named constant
It can be a positive integer variable
It can be a negative integer.
Save
Question 3 (2 points)
This is an incorrect way to declare an array:
Dim intSales() as Integer = {500, 450, 900, 567}
Question 3 options:
Save
Question 4 (2 points)
You can use the Length function to find the size of an array, such as
strNames.Length
Question 4 options:
Save
Question 5 (2 points)
To refer to the highest subscripts in a multidimensional array, the subscript of the row is first, and then the subscript of the column.
Question 5 options:
parts
elements
segments
things
Explanation / Answer
1. elements
An array variables are called as its elements.
2. it can be a negative integer.
Array subscript values start from 0 and can be a positive integer.
3. True
array declaration syntax is : Dim Integer[] = {500,450,900,567}
it does not involve syntax like intSales() which has parenthesis.
4. True
length property of an array returns the size of the array
point to note : this is array property, but not function.
5. True
A [rowNum] [colNum] , first subscript is the row number, second subscript is the column number.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.