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 ________ Checker will inform you of ways to ensure people with visual impairments can still get the most out of your presentation

Fill in the blank(s) with correct word

Computer Science & Information Technology

More advanced substitution ciphers use two or more alphabets, and are referred to as __________ substitutions.

A. multialphabetic B. monoalphabetic C. polyalphabetic D. polynomic

Computer Science & Information Technology