What is the output of the following program segment?

```
Dim nums(8) As Integer
Dim total As Double = 0
For i As Integer = 0 To 8
nums(i) = i
Next
For k As Integer = 1 To 4
total += 10 ^ nums(k)
Next
txtBox.Text = CStr(total)
```
(A) 10000
(B) 11110
(C) 1110
(D) 0


(B) 11110

Computer Science & Information Technology

You might also like to view...

Which of the following statements about big data is false?

a. For computer scientists and data scientists, data is now as important as writ-ing programs. b. One megabyte is exactly one million (1,000,000) bytes. c. According to a March 2016 AnalyticsWeek article, within five years there will be over 50 billion devices connected to the Internet (most of them through the Internet of Things, ) and by 2020 we’ll be producing 1.7 megabytes of new data every second for every person on the planet. d. The speed at which quantum computers now under development could operate at is so extraordinary that in one second, a quantum computer theoretically could do staggeringly more calculations than the total that have been done by all computers since the world’s first computer appeared.

Computer Science & Information Technology

The port number at which the server waits for connections is often called the __________ point.

a. handhold. b. handshake. c. handoff. d. handle.

Computer Science & Information Technology

________ controls in a form are created from a text box control and contain an expression that generates a computed result when displayed

Fill in the blank(s) with correct word

Computer Science & Information Technology

Clients want to be involved in the design process

Indicate whether the statement is true or false

Computer Science & Information Technology