Unit 4 Vocabulary

Unit 4 Vocabulary

12 Qs

quiz-placeholder

Similar activities

CL 8- 5. Decision making and loops in Python

CL 8- 5. Decision making and loops in Python

KG - University

10 Qs

Module 11 Quiz OG

Module 11 Quiz OG

KG - University

14 Qs

Pre-test CTCC0323

Pre-test CTCC0323

KG - University

16 Qs

DSD QUIZZ 2 2023 Batch

DSD QUIZZ 2 2023 Batch

KG - University

10 Qs

All in - Year 5 Selection in Quizzes

All in - Year 5 Selection in Quizzes

KG - University

14 Qs

TINKERCAD CODEBLOCK REVIEW FOR QUIZ

TINKERCAD CODEBLOCK REVIEW FOR QUIZ

7th Grade

12 Qs

Long and Short oo Quiz  U6W2

Long and Short oo Quiz U6W2

KG - University

9 Qs

Python Variables, Data Types, Loops, Operators, Lists, Sets, Dictionary, Tuples, and If-Else Quiz

Python Variables, Data Types, Loops, Operators, Lists, Sets, Dictionary, Tuples, and If-Else Quiz

12th Grade

10 Qs

Unit 4 Vocabulary

Unit 4 Vocabulary

Assessment

Quiz

others

Easy

Created by

Jason King

Used 1+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?