
break and continue

Quiz
•
Computers
•
11th - 12th Grade
•
Medium
shilpa keesara
Used 16+ times
FREE Resource
34 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a loop?
Allows execution of single statements only
Allows you to return to the beginning of the program
Allows execution of groups of statements all at once
Allows execution of statement or group of statements multiple times
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Use of one or more loops inside any other while, for or do....while loop
while loop
for loop
nested loop
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Terminates the loop statement and transfers execution to the statement immediately following the loop
pass statement
continue statement
break statement
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Causes loop to skip the remainder of its body and immediately retest its condition to reiterating
continue statement
break statement
pass statement
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Used when a statement is required syntactically but you do not want a command or a code to execute
break statement
continue statement
pass statement
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
break will break out of an iteration
true
false
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If there is a circumstance where you do not want to break out of a loop, but just skip a certain value, you would use
skip
break
continue
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
Fundamentals of Programming

Quiz
•
11th Grade
30 questions
Python

Quiz
•
11th Grade
30 questions
Programming Q3 Review - Data Structures

Quiz
•
9th Grade - University
35 questions
Grade 11 Quiz Review

Quiz
•
11th Grade
30 questions
PL/SQL MCQs Quiz

Quiz
•
12th Grade
30 questions
Python Review Exam 3 5 24-25

Quiz
•
9th - 12th Grade
30 questions
Introduction to Programming Quiz

Quiz
•
12th Grade
35 questions
Looping & Conditions iReview n Python

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade