Search Header Logo

CMP128 Java Ch. 11-07-05-04 Exam #2 Study Guide Quiz

Authored by Professor Tirrito

Computers

University

Used 123+ times

CMP128 Java Ch. 11-07-05-04 Exam #2 Study Guide Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

84 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is true about For Loops?

They are counter-controlled
They iterate a finite number of times
They contain an initialization of a counter variable, a condition test, and a counter accumulation or decrementation.
All of the above

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is NOT true about While Loops?

They are post-test loops.
They contain a priming statement.
They contain an updating statement.
They are used when you cannot quantify the number of iterations, but some indeterminate qualifier will terminate it.

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which construct is best used for event-driven qualifiable pre-test loops?

While Loop
For Loop
Do While Loop
For Next Loop

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which construct is best for event-driven qualifiable post-test loops?

While Loop
For Loop
Do While Loop
For Next Loop

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which construct is best used for counter-controlled finite (quantifiable) loops?

While Loop
For Loop
Do While Loop
None of these

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which type of looping structure is guaranteed to execute at least one time?

While Loop
Do While Loop
For Loop
None of these

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following terms describes a normal terminator for a looping structure

A continue clause
A break clause
A sentinel value
A stop clause

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?