A transfer of control occurs when:

a) a program changes from input to output, or vice versa
b) a logic error occurs in a program
c) a statement other than the next one in the program executes
d) None of the above.


c) a statement other than the next one in the program executes

Computer Science & Information Technology

You might also like to view...

Suppose we have a class called Fish, an object of the Fish class called salmon, a class function called eat, and we would like to pass the string “worm” into the eat function. The line of code for doing this would look like this:

A. Fish.eat( “worm” ); B. eat( “worm” ); C. salmon.eat( “worm” ); D. Fish.salmon( eat.worm );

Computer Science & Information Technology

Case-Based Critical Thinking QuestionsCase 10-1Training unlimited is planning to create a page that will allow users to e-mail their requests for the training videos to add to their online training offerings. To make their code reusable, the Web designer should put it into a ____.

A. head B. function C. body D. all the above

Computer Science & Information Technology

When the ____ check box is not checked in the Image Size dialog box, the total number of pixels in the image must remain the same.

A. Resample Size B. Resize Image C. Sample Image D. Resample Image

Computer Science & Information Technology

int x;x = (1 <= 3 && 'K' >= 'F') ? 5 : 12Based on the code above, what is the value of x?

A. 1 B. 3 C. 5 D. 12

Computer Science & Information Technology