break and continue

break and continue

11th - 12th Grade

34 Qs

quiz-placeholder

Similar activities

Python

Python

KG - Professional Development

35 Qs

AP Computer Science Principles (Final Exam part 2)

AP Computer Science Principles (Final Exam part 2)

9th - 12th Grade

30 Qs

Karel Programming

Karel Programming

10th Grade - University

39 Qs

python

python

KG - Professional Development

30 Qs

Backpack

Backpack

9th - 12th Grade

30 Qs

2.1.1 CSE Transitioning from Block to Text Coding

2.1.1 CSE Transitioning from Block to Text Coding

9th - 12th Grade

33 Qs

Java Control Flow and Collections

Java Control Flow and Collections

11th Grade - Professional Development

39 Qs

Computer Science Concepts and Terminology

Computer Science Concepts and Terminology

9th - 12th Grade

34 Qs

break and continue

break and continue

Assessment

Quiz

Computers

11th - 12th Grade

Medium

Created by

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

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?