Loops Exam

Quiz
•
Computers
•
11th Grade
•
Easy
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
7.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
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
Similar Resources on Wayground
15 questions
Looping Review

Quiz
•
10th - 12th Grade
20 questions
Unit 5 TEST

Quiz
•
11th - 12th Grade
15 questions
Intermediate Python

Quiz
•
9th - 11th Grade
16 questions
Flow charts and pseudo code

Quiz
•
9th - 11th Grade
15 questions
Basic Python Coding

Quiz
•
11th - 12th Grade
20 questions
Python year 9

Quiz
•
8th - 11th Grade
20 questions
Python -Iteration (loops)

Quiz
•
7th - 12th Grade
20 questions
Programming OCR GCSE

Quiz
•
10th - 11th 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