Review Game Zone
Flash Cards
(current)
Games
Teachers
Search
7.02 Apply One-Dimensional Arrays
Test Description: Enjoy Learning!
Instructions: Answer all questions to get your test result.
1) What is a “container” that holds more than one value?
A
Sub Procedure
B
array
C
ENIAC
D
variable
2) What is each value in an array?
A
element
B
Try Catch
C
web servers
D
syntax
3) What is a number that indicates the position of an element in an array?
A
symbols
B
downtime, logic and runtime
C
Index
D
Watch Window
4) What is two arrays that are related by the index positions?
A
parallel arrays
B
modularization
C
URL
D
color
5) What is the keyword to re-declare an array?
A
Dim
B
btn
C
ReDim
D
str
6) What is the keyword to keep existing values in an array?
A
array
B
Preserve
C
syntax
D
modularization
7) What is the index of the first item in an array?
A
2
B
3
C
1
D
0
8) What does the Length property of an array do?
A
Returns the number of variables in an array
B
Stop
C
Returns the number
D
Returns the number of elements in an array
9) A Dim statement declaring an array called strNames that has 4 String elements is:
A
Dim dblGrade As Double
B
Dim strNames
C
Dim strNames (3) As String
D
End Sub
10) In the statement Dim strNames(4) As String, how many elements are automatically initialized?
A
0
B
5
C
55
D
1
11) What is a dynamic array?
A
You can re-declare it and leave
B
You can re-declare and keep an array so that you cannot change the size
C
You can re-declare and keep an array so that you can change the size
D
Create a new form
12) What is a linear search?
A
Looking through an array from first to last for a value.
B
Looking through an variable from first,middle and last for a value.
C
Searching in descending order (last to first).
D
Looking out the window
13) How do you pass an array to a sub?
A
Call subName(ArrayName)
B
Call
C
Call subName
D
Call (ArrayName)
14) What happens if Kim creates an array of her friends’ names, then ReDim’s the array without the keyword Preserve?
A
Loses existing values.
B
Log off and log back in
C
Rename her form to 'Preserve'
D
Create a new form
15) How do you write a declaration for an array named intAges that initially stores 14, 16, 17, 15, and 18?
A
Dim intAges() As Integer = 14, 16, 17, 15, 18
B
Dim intAges() As Integer = 14, 16, 17, 15, 18
C
Dim intAges() As Integer 14, 16, 17, 15, 18
D
Dim 14, 16, 17, 15, 18
*select an answer for all questions
Check Results & Get Answers
Play Games with the Questions Above
Teachers: Create FREE classroom games with your questions
Click for more info!
©2007-2024
ReviewGameZone.com
|
About
|
Privacy
|
Contact
|
Terms
|
Site Map
WAIT! Find what you needed?
×
Still Looking for the Answers?
Have Another Question?
Play a Review Game with These Questions?
Want to Make Your Own Test Like This One?