What is the value of X and what is the condition of the Do…Loop when execution ends in the following pseudo code?
 
X = 1
Do
                ‘ This is a comment
                Print X;
Loop

A. X = 1, the Do…Loop is endless.
B. X = 1, the Do…Loop is not endless.
C. X = 0, the Do…Loop is endless.
D. X = 0, the Do…Loop is not endless.


Answer: A

Computer Science & Information Technology

You might also like to view...

The word const after the end of a member function’s heading means:

a) the function does not change any variables b) the function cannot be changed c) the function cannot change the data members d) the function’s arguments cannot be changed

Computer Science & Information Technology

In OpenOffice applications, the Help window can be opened by pressing ________ on your computer keyboard

Fill in the blank(s) with correct word

Computer Science & Information Technology

The item marked ____ in the accompanying figure is the frame type that is determined by the last keyframe.

A. 2 B. 5 C. 6 D. 7

Computer Science & Information Technology

When a superclass is abstract, you cannot instantiate objects of a superclass. How can you use a superclass abstract object?

What will be an ideal response?

Computer Science & Information Technology