Take Quizzes
Animal
Nutrition
Love
Relationship
Computer
Sports
Society
Business
Geography
Language
Personality
Harry Potter
Movie
Television
Music
Online Exam
Health
Country
Art
Entertainment
Celebrity
Math
Game
Book
Fun
Science
Food
History
Education
All Topics
Create a Quiz
Search
Quiz Maker
Training Maker
Survey Maker
Flashcards
Brain Games
See All
ProProfs.com
Search
Speak now
Search
Create A Quiz
Take Quizzes
Animal
Nutrition
Love
Relationship
Computer
Sports
Society
Business
Geography
Language
Personality
Harry Potter
Movie
Television
Music
Online Exam
Health
Country
Art
Entertainment
Celebrity
Math
Game
Book
Fun
Science
Food
History
Education
All Topics
Products
Quiz Maker
Training Maker
Survey Maker
Flashcards
Brain Games
See All
ProProfs.com
Quizzes
›
Computer
›
Programming
›
Java
Java Ch 5 Quiz
9 Questions
|
By Tcarteronw | Updated: Mar 21, 2022
| Attempts: 268
Share
Questions
All questions
5 questions
6 questions
7 questions
8 questions
9 questions
Settings
Feedback
During the Quiz
End of Quiz
Difficulty
Sequential
Easy First
Hard First
Play as
Quiz
Flashcard
Start
Create your own Quiz
Questions and Answers
1.
True or False: A loop is a control-structure used for repetition of certain statements.
A. 
True
B. 
False
2.
True or False: The statements found within a while loop always execute.
A. 
True
B. 
False
3.
True or False: A flag-controlled while loop uses a Boolean variable to control the loop.
A. 
True
B. 
False
4.
A loop that continues to execute endlessly is called a(n) ____ loop
5.
If the first two numbers of a Fibonacci sequence are 1 and 1 what is the seventh Fibonacci number?
6.
True or False: Any for loop can be written as a while loop.
A. 
True
B. 
False
7.
If the loop condition is initially ____, the loop body does not execute.
A. 
True
B. 
False
8.
True or False: The statements in the body of a do…while loop execute at least once.
A. 
True
B. 
False
9.
do…while loops are called ____ loops because the condition is evaluated after the body of the loop is executed.
Related Topics
HTML
Server
PHP
Computer Science
SQL
Recent Quizzes
Core Java Quiz: Packages And Interfaces In Java
Core Java Quiz: Packages And Interfaces In Java
Class and Object in JAVA Quiz
Class and Object in JAVA Quiz
Java Assessment Quiz
Java Assessment Quiz
Oracle Certified Java Associate Exam Quiz!
Oracle Certified Java Associate Exam Quiz!
Oops Using JAVA-Q2 Group 1
Oops Using JAVA-Q2 Group 1
Loops in Java: Trivia Exam Quiz!
Loops in Java: Trivia Exam Quiz!
Java MCQ: Ultimate Trivia Quiz!
Java MCQ: Ultimate Trivia Quiz!
Can You Pass This Advanced Level Array Quiz?
Can You Pass This Advanced Level Array Quiz?
Programming Test: Arrays and Loops
Programming Test: Arrays and Loops
Featured Quizzes
Donald Duck Day Quiz: How Much You Know About Donald?
Donald Duck Day Quiz: How Much You Know About Donald?
Best Friend Quiz: Are You Really Best Friends?
Best Friend Quiz: Are You Really Best Friends?
subject verb agreement quiz
subject verb agreement quiz
True Love Test Meter Quiz!
True Love Test Meter Quiz!
What Do You Know About Donald Duck?
What Do You Know About Donald Duck?
Where Should I Live Quiz
Where Should I Live Quiz
Popular Topics
Array Quizzes
DotNET Quizzes
Python Programming Quizzes
Training Quizzes
Visual Basic Quizzes
Back to top
Related Quizzes
Quiz: The Ultimate Java Test For Beginners
Ultimate Quiz On Java Skills! Trivia
Java Junior
Back to top
×
Wait!
Here's an interesting quiz for you.
We have other quizzes matching your interest.
Quiz: The Ultimate Java Test for Beginners
Start