Write a script that outputs HTML text that keeps displaying in the browser window the multiples of the integer 2, namely 2, 4, 8, 16, 32, 64, etc. Your loop should not terminate (you should create an infinite loop). What happens when you run this pro- gram?

What will be an ideal response?


```

1

2

3

4

5

6 Infinite Loop

7

8

16

17

18

19

Click Refresh (or Reload) to run this script again.

20

21

```



Computer Science & Information Technology

You might also like to view...

When programs contain large amounts of data that must be accessed by functions, pointers to the data in functions are helpful because

A. they provide a way to access it. B. they don’t require their own copy of data in the program. C. the function can’t pass it to main(). D. main() doesn’t have a copy of data to pass to the function.

Computer Science & Information Technology

From the above code, who can access species?

A. main B. any function in main C. class Animal only D. None of the above

Computer Science & Information Technology

Selecting a zoom size of greater than 100% will increase the zoom of a document

Indicate whether the statement is true or false

Computer Science & Information Technology

Acceptance means that nothing is done; companies usually accept a risk only when the protection clearly is not worth the expense.

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

Computer Science & Information Technology