How many times will this for loop execute? (Note: i is an int.)

``` for(i = 0; i < 10; i = i+2) ```
A. 5
B. 10
C. The loop is not written correctly. It would not compile.
D. It is an infinite loop.


A

Computer Science & Information Technology

You might also like to view...

Write an HTML page that has a text ¯eld in it. Write some JavaScript to change some text on the page when the string in the text ¯eld has been changed. For instance the user could enter her name in a text ¯eld and the text on the page could change to use her name.

What will be an ideal response?

Computer Science & Information Technology

A ________ enables users to find data items in a database.

a) query language b) data manipulation language c) data definition language d) all of the above

Computer Science & Information Technology

The field on the "one" side of a one-to-many relationship that is used to create the relationship is typically the primary key in that table

Indicate whether the statement is true or false

Computer Science & Information Technology

fill the tank and return gallons needed

What will be an ideal response?

Computer Science & Information Technology