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

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

University

84 Qs

quiz-placeholder

Similar activities

Java syntax

Java syntax

University

86 Qs

D278 Scripting and Programming quiz

D278 Scripting and Programming quiz

University

87 Qs

AI-Quiz2

AI-Quiz2

University

80 Qs

Java fundamentals starts with Git

Java fundamentals starts with Git

University

87 Qs

Computer Science 1 2nd Sem. Final Exam Review

Computer Science 1 2nd Sem. Final Exam Review

KG - University

80 Qs

Technical Quiz

Technical Quiz

University

84 Qs

JRRI_Programming_Quiz_EASY_Set1

JRRI_Programming_Quiz_EASY_Set1

University

82 Qs

Strings C

Strings C

University

82 Qs

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

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

Assessment

Quiz

Computers

University

Medium

Created by

Professor Tirrito

Used 122+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?