If you want a user to enter exactly 20 values, which loop would be the best to use?

a. while
b. for
c. switch
d. do-while
e. None of these


b. for

Computer Science & Information Technology

You might also like to view...

New Top Level Domains (TLDs) are coordinated by

a. ICANN b. no one, because anyone can add a TLD to the Domain Name System c. W3C d. TCP

Computer Science & Information Technology

Consider the following declaration: char str[15];. Which of the following statements stores "Blue Sky" into str?

A. str = "Blue Sky"; B. str[15] = "Blue Sky"; C. strcpy(str, "Blue Sky"); D. strcpy("Blue Sky");

Computer Science & Information Technology

Data can be accessed by its byte location using which file type?

A. random access B. binary C. sequential access D. text

Computer Science & Information Technology

When using jQuery, what is used to determine when the web page’s DOM has been fully loaded by the browser?

a. ``` $(document).onload() ``` b. ``` $(document).ready() ``` c. ``` $(html).loaded() ``` d. ``` $(document).onload() ```

Computer Science & Information Technology