Question
Hi I need help on some questions for my Visual Basic Studios class 1) True or False: An adjustable array is defined: Dim arystrNames() as
Hi I need help on some questions for my Visual Basic Studios class
1) True or False: An adjustable array is defined: Dim arystrNames() as String
2) True or False: Arrays always start with a zeroth element
3)
What Ends up in 11th element?
Dim aryBolX(10) as Boolean Dim i as integer
For i = 0 to 10 AryBolX(i) = True Next
4) True or False: To access an array element you need to use an index or subscript
5) True or False: For sngI as Single = 1 to 100 Step 1.5 'is a valid For Statement?
6) True or False:
Dim I as Integer
For I = 0 to 10 Step 2
Console.Write( I )
Next
'The output is 0, 2, 4, 6, 8?
7) Whats wrong this code: Displays All the Odd Numbers till 10 Dim num as Integer = 1 For num = 1 to 9 LstOutput.Items.Add(num) num = num + 2 Next
8) True or False: An array is defined as: Dim aryintNums(8) as Integer
9) True or False: An array of exactly 10 elements is defined as: Dim x(10) as Integer
10) True or False: In general a Step can't be negative
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started