Question: Answer the following questions by circling the correct answer. Which statement(s) is true about array a? a. The array has 3 elements. b. Each element
Answer the following questions by circling the correct answer. Which statement(s) is true about array a? a. The array has 3 elements. b. Each element is data type Integer. c. The elements of the array occupy contiguous memory locations. d. All statements a) - c) are true. 2. Assuming an Integer uses 4 bytes of memory, how many bytes arc used by the array values? 3. To have efficient code. which algorithm should use an array to hold the data? a. Read a list of numbers from a file and report the maximum and the minimum. b. Read a list of grades from a file and report the amount by which each grade differs from the average. c. Both choices a) and b) are correct. d. Neither choice a) nor b) needs an array for efficient code. What is the output of the code? Dim b(2) As Integer Dim index As Integer b(1)-5 b(0) = 8 b(2) = 7 For i= 0 To 2 IblOut.Text = IblOut.Text & " " & b (i) a. 0.12 b. 5.87 c. 8.57 d. 5.70
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
