Unit 4 Vocabulary

Unit 4 Vocabulary

12 Qs

quiz-placeholder

Similar activities

Unit 4 Java Mini Quiz

Unit 4 Java Mini Quiz

12th Grade

9 Qs

Ch 2 - The Chemistry of Life

Ch 2 - The Chemistry of Life

KG - University

15 Qs

circular motion

circular motion

KG - University

12 Qs

Unit 1 Quiz 8th Grade - Part 1

Unit 1 Quiz 8th Grade - Part 1

8th Grade

15 Qs

Study Guide for Ch. 24 Quiz:  The Mystical Body

Study Guide for Ch. 24 Quiz: The Mystical Body

KG - University

11 Qs

Final Exam review 1

Final Exam review 1

6th Grade

10 Qs

Reading Informational Text 8

Reading Informational Text 8

KG - University

15 Qs

ProjectStem Unit 2 Lesson 5

ProjectStem Unit 2 Lesson 5

KG - University

8 Qs

Unit 4 Vocabulary

Unit 4 Vocabulary

Assessment

Quiz

others

Easy

Created by

Jason King

Used 1+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Body of a Loop
A loop that never ends.
Used to loop through all the elements of a collection (like a list or an array) and each time through the loop set a variable to the next item from the collection
The single statement or a block of statements that can be repeated (a loop may not execute at all if the condition is false to start with). In Java the body of the loop is either the first statement following a while or for loop is the body of the loop or a block of statements enclosed in { and }.
used to print the value of the variable. This is useful in tracing the execution of code and when debugging.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For Loop
Used to loop through all the elements of a collection (like a list or an array) and each time through the loop set a variable to the next item from the collection
A loop that has a header with 3 optional parts: initialization, condition, and change. It does the initialization one time before the body of the loop executes, executes the body of the loop if the condition is true, and executes the change after the body of the loop executes before checking the condition again.
used to start a while loop
used to print the value of the variable. This is useful in tracing the execution of code and when debugging.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For Each Loop
Used to loop through all the elements of a collection (like a list or an array) and each time through the loop set a variable to the next item from the collection
One loop inside of another.
A loop that never ends.
used to start a for loop or a for each loop

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Infinite Loop
used to start a for loop or a for each loop
One loop inside of another.
A loop that never ends.
used to start a while loop

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Loop
A way to repeat one or more statements in a program.
used to print the value of the variable. This is useful in tracing the execution of code and when debugging.
Used to loop through all the elements of a collection (like a list or an array) and each time through the loop set a variable to the next item from the collection
The single statement or a block of statements that can be repeated (a loop may not execute at all if the condition is false to start with). In Java the body of the loop is either the first statement following a while or for loop is the body of the loop or a block of statements enclosed in { and }.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Nested Loop
used to start a while loop
Used to loop through all the elements of a collection (like a list or an array) and each time through the loop set a variable to the next item from the collection
One loop inside of another.
Writing down the values of the variables and how they change each time the body of the loop executes.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Out of Bounds error
A run-time error that occurs when you try to access past the end of a string or list in a loop.
The single statement or a block of statements that can be repeated (a loop may not execute at all if the condition is false to start with). In Java the body of the loop is either the first statement following a while or for loop is the body of the loop or a block of statements enclosed in { and }.
A loop that never ends.
used to start a for loop or a for each loop

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?