Which of the following is not a control structure:

a. Sequence structure.
b. Selection structure.
c. Iteration structure.
d. Declaration structure.

D

Computer Science & Information Technology

You might also like to view...

Which code fragment below fills an M ? N matrix with the products of corresponding elements of M ? N matrices p and q?

a. m = p * q; b. for ( int i = M; i < N; ++i ) m[i] = p[i] * q[i]; c. for ( int i = 0; i < M; ++i ) for ( int j = 0; j < N; ++j ) m[i][j] = p[i][j] * q[i][j]; d. for ( int i = 0; i < M; ++i ) for ( int j = i; j < N; ++j ) m[j][i] = p[j][i] * q[j][i];

Computer Science & Information Technology

Which of the following statements is false?

a. A class can directly inherit from class Object. b. It's often much more efficient to create a class by inheriting from a similar class than to create the class by writing every line of code the new class requires. c. If the class you're inheriting from declares instance variables as private, the inherited class can access those instance variables directly. d. A class's instance variables are normally declared private to enforce good software engineering.

Computer Science & Information Technology