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
variable
C
array
D
ENIAC
2) What is each value in an array?
A
syntax
B
web servers
C
Try Catch
D
element
3) What is a number that indicates the position of an element in an array?
A
symbols
B
Watch Window
C
downtime, logic and runtime
D
Index
4) What is two arrays that are related by the index positions?
A
parallel arrays
B
modularization
C
color
D
URL
5) What is the keyword to re-declare an array?
A
btn
B
Dim
C
str
D
ReDim
6) What is the keyword to keep existing values in an array?
A
array
B
Preserve
C
modularization
D
syntax
7) What is the index of the first item in an array?
A
0
B
1
C
2
D
3
8) What does the Length property of an array do?
A
Returns the number of variables in an array
B
Returns the number of elements in an array
C
Returns the number
D
Stop
9) A Dim statement declaring an array called strNames that has 4 String elements is:
A
End Sub
B
Dim strNames
C
Dim strNames (3) As String
D
Dim dblGrade As Double
10) In the statement Dim strNames(4) As String, how many elements are automatically initialized?
A
5
B
55
C
1
D
0
11) What is a dynamic array?
A
Create a new form
B
You can re-declare it and leave
C
You can re-declare and keep an array so that you can change the size
D
You can re-declare and keep an array so that you cannot change the size
12) What is a linear search?
A
Looking through an array from first to last for a value.
B
Looking out the window
C
Searching in descending order (last to first).
D
Looking through an variable from first,middle and last for a value.
13) How do you pass an array to a sub?
A
Call (ArrayName)
B
Call subName(ArrayName)
C
Call subName
D
Call
14) What happens if Kim creates an array of her friends’ names, then ReDim’s the array without the keyword Preserve?
A
Create a new form
B
Rename her form to 'Preserve'
C
Loses existing values.
D
Log off and log back in
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 14, 16, 17, 15, 18
D
Dim intAges() As Integer = 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?