What is the output of the following program when the button is clicked on?

```
Private Sub btnDisplay_Click(...) Handles btnDisplay.Click
Dim result As Double
Dim number(4) As Double
FillArray(number)
result = SumArray(number)
txtBox.Text = CStr(result)
End Sub
Sub FillArray(ByRef anyArray() As Double)
Dim temp() As String = IO.File.ReadAllLines("Data.txt")
For i As Integer = 0 To 4
anyArray(i) = CDbl(temp(i))
Next
End Sub
Function SumArray(anyArray() As Double) As Double
Dim total As Double
total = 0
For i As Integer = 0 To 4 Step 2
total += anyArray(i)
Next
Return total
End Function
```
Assume the five rows of the file Data.txt contain the following entries: 1, 3, 5, 7, 9
(A) 0
(B) 25
(C) 15
(D) None of the above


(C) 15

Computer Science & Information Technology

You might also like to view...

The __________ attribute of the anchor element can cause the new web page to open in its own browser window.

a. target b. window c. id d. name

Computer Science & Information Technology

Using the saved output, describe the time interval between each ARP Request issued by PC1. Describe the method used by ARP to determine the time between retransmissions of an unsuccessful ARP Request. Include relevant data to support your answer.

What will be an ideal response?

Computer Science & Information Technology

jQuery is a ____ framework.

A. JavaScript B. UNIX C. Perl D. C++

Computer Science & Information Technology

Answer the following statement(s) true (T) or false (F)

1. The speed of a commercial printer and possible shifts in the paper may make some colors run together creating spreads of blended color. 2. Chokes and spreads are both examples of misregistration. 3. Because of the individual settings on your own installation of Photoshop, only you can correctly set trapping values for your projects; a service bureau is unable to do so. 4. Soft proofs can be as simple as a preview, or more complex when color adjustments and monitor calibrations take place. 5. The use of inferior printers can result in somewhat false hard proof output.

Computer Science & Information Technology