Filters
Question type

Study Flashcards

In the following statements, the printf statement will be executed ____ times. Count = 10; While (count <= 10) Printf("%d ",count) ;


A) 0
B) 1
C) 10
D) an infinite number of

E) B) and C)
F) All of the above

Correct Answer

verifed

verified

A pretest loop is also called an exit-controlled loop.

A) True
B) False

Correct Answer

verifed

verified

Not all loops require a condition that must be evaluated.

A) True
B) False

Correct Answer

verifed

verified

In Unix operating systems, the EOF mark is generated whenever the ____ keys are pressed simultaneously.


A) Ctrl and D
B) Ctrl and E
C) Ctrl and F
D) Ctrl and Z

E) A) and D)
F) A) and C)

Correct Answer

verifed

verified

____ is an accumulating statement.


A) total += num;
B) total++;
C) ++total;
D) total* = num;

E) A) and D)
F) A) and B)

Correct Answer

verifed

verified

A posttest loop is also called an entranced-controlled loop.

A) True
B) False

Correct Answer

verifed

verified

The statement ____ is a null statement.


A) NULL
B) NULL;
C) break;
D) ;

E) B) and C)
F) A) and D)

Correct Answer

verifed

verified

Showing 41 - 47 of 47

Related Exams

Show Answer