___________ Select the correct syntax to declare an array named DecFinalgrades w
ID: 3575375 • Letter: #
Question
___________ Select the correct syntax to declare an array named DecFinalgrades with 31 Decimal elements. Dim DecFinalgrades (30) as Decimal Dim DecFinalgrades (29) as Decimal Dim DecFinalgrades [29] as Decimal Dim DecFinalgrades (31) as Decimal _____ The elements in an integer type array will be initialized to ______. 0 1 Null -1 _____ To display the the 5th element of array Exam in Textbox 1, the correct declaration is: Textbox1.Label = Exam(4) Textbox1.Text = Exam(3) Textbox1.Text = Exam(4) Textbox1. Text = Exam(5) ______ What does the following code do? For I = 0 To 30 Listbox1.Items.add(Exam(I)) Next Array of ListBox 1 = Exam is created ListBox 1 is added to Exam ListBox 1 displays Exam elements of 0 to 30 Incorrect statements result in error message ___ The _____ property of an array contains the number of elements in an array. Number length Value Dimension _____ 4. If a VB 2010 program contains the statements at the right, which one of the following array reference legal? Price (Isub + 30) Dim Price (39) As Integer Price (3* Isub) Dim Isub As Integer =10 Price (Isub-11) All the above choices are legal _____ Which of the following relational expressions will be correctly after the VB 2010 statements at the right have been executed? F(0) = F(2) Dim F(7) As Integer F(1) = F(2) Dim K As Integer F(2) = F(3) F(0) = l F(2) = F(5) For K = 1 To 6 None of the above F(K) = K - F(K - 1) Next An array can be passed as an argument to a(n) _____ procedure. Function Order Baseline Sort To apply the sort procedure to an array called intAges, use the syntax _____. Sort(intAges) Sort.Array(.intAges) ArraySort(intAges) Array.Sort(intAges) _______ The ___ object is used to access information in a text file. Reader TextReader Streamer Stream ReaderExplanation / Answer
5.
Answer:A
6.
The elements in an integer type array will be initialized to zero
Answer:A
0
9.
The length property of an array contains the number of elements in an array
Answer:b
Length
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.