Loops Exam

Loops Exam

11th Grade

16 Qs

quiz-placeholder

Similar activities

Unit 3 Review

Unit 3 Review

9th - 12th Grade

18 Qs

Computer Science 2: Control Structures

Computer Science 2: Control Structures

8th - 12th Grade

11 Qs

Loops in Java

Loops in Java

9th - 12th Grade

12 Qs

Unit 3 Looping - Quiz

Unit 3 Looping - Quiz

9th Grade - University

20 Qs

Programming: Which Loop?

Programming: Which Loop?

9th - 12th Grade

20 Qs

Flow charts and pseudo code

Flow charts and pseudo code

9th - 11th Grade

16 Qs

Python Basics - yr 9

Python Basics - yr 9

9th - 12th Grade

18 Qs

Introduction to Loops

Introduction to Loops

11th Grade

16 Qs

Loops Exam

Loops Exam

Assessment

Quiz

Computers

11th Grade

Easy

Created by

Edgardo(US/PR/Prof) Rivera

Used 6+ times

FREE Resource

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

On what number do programmers begin to count from?

1

2

0

3

2.

FILL IN THE BLANK QUESTION

2 mins • 1 pt

A ________ is a loop that can execute a set of statements as long as the condition is true

3.

FILL IN THE BLANK QUESTION

2 mins • 1 pt

A _______ can be used to iterate through a sequence (list, string) or it can be used to iterate a statement a set number of times.

4.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

The _____ function returns a sequence of numbers, starting from 0 by default, and increments by 1 (by default), and ends at a specified number.

len()

range()

print()

append()

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

With the _____ statement we can stop the loop before it has looped through all the items.

break

continue

pass

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

With the ________ statement we can stop the current iteration, and continue with the next:

continue

pass

break

print

7.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

Media Image

What will this print?

1,2,3,4

6,7,8,9

2,3,4,5

3,4,5,6

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?