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

Flashcard
•
Computers
•
University
•
Hard
Wayground Content
FREE Resource
Student preview

69 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following is true about For Loops? Options: 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.
Back
All of the above
2.
FLASHCARD QUESTION
Front
Which of the following is NOT true about While Loops? Options: 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.
Back
They are post-test loops.
3.
FLASHCARD QUESTION
Front
Which construct is best used for event-driven qualifiable pre-test loops? Options: While Loop, For Loop, Do While Loop, For Next Loop
Back
While Loop
4.
FLASHCARD QUESTION
Front
Which construct is best for event-driven qualifiable post-test loops? Options: While Loop, For Loop, Do While Loop, For Next Loop
Back
Do While Loop
5.
FLASHCARD QUESTION
Front
Which construct is best used for counter-controlled finite (quantifiable) loops? Options: While Loop, For Loop, Do While Loop, None of these
Back
For Loop
6.
FLASHCARD QUESTION
Front
Which type of looping structure is guaranteed to execute at least one time? Options: While Loop, Do While Loop, For Loop, None of these
Back
Do While Loop
7.
FLASHCARD QUESTION
Front
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?
Back
A sentinel value
Create a free account and access millions of resources
Similar Resources on Wayground
49 questions
ACP CS 1 December 2024 (Practice)

Flashcard
•
10th Grade
48 questions
Python Semester Independant Review Part 1

Flashcard
•
9th Grade
50 questions
C++ Programming Basics

Flashcard
•
8th Grade
55 questions
2024-2025 CodeHS Computer Science Principles Fall Final Review

Flashcard
•
9th - 12th Grade
55 questions
Python 3 Loops

Flashcard
•
9th - 12th Grade
48 questions
Python Review

Flashcard
•
University
50 questions
Forensic Science - Fingerprints

Flashcard
•
11th - 12th Grade
50 questions
Practice Programming Finals

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade