The ____ statement literally loops back on itself to recheck the expression until it evaluates to 0 (becomes false).

A. for
B. switch
C. do-while
D. while


Answer: D

Computer Science & Information Technology

You might also like to view...

Which of the following is not included in an exception’s stack trace?

a. A descriptive message for the exception. b. The method-call stack at the time the exception occurred. c. The name of the exception. d. Instructions on handling the exception.

Computer Science & Information Technology

Select all that apply. While traversing a list, a node pointer knows when it has reached the end of the list if

a. it encounters the newline character b. it encounters a null pointer c. it finds itself back at the beginning of the list d. it encounters a sentinel such as 9999

Computer Science & Information Technology

Consider the relational schema in Figure 3.6. Assume that the Web server delivers the contents of these relations using the following XML format: the name of the relation is the top-level element, each tuple is represented as a tuple element, and each relation attribute is represented as an empty element that has a value attribute. For instance, the Student relation would be represented as

follows:


         
                  
                 
Formulate the following queries using XQuery: a. Produce the list of all students who live on Main Street. b. Find every course whose CrsCode value does not match the Id of the department that o?ers the course. (For instance, the course IS315 in information systems might be o?ered by the Computer Science (CS) Department.) c. Create a list of all records from the Teaching relation that correspond to courses taught in the fall semester.

Computer Science & Information Technology

Finding run-time errors in a program is more difficult when there are several classes instead of just one.

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

Computer Science & Information Technology