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
17 questions
GCSE Computer Science - Python Programming Concepts

Quiz
•
9th - 11th Grade
13 questions
KS4 Python While Loops and For Loops

Quiz
•
9th - 11th Grade
17 questions
Flow of Control in C++ ( Conditional statements)

Quiz
•
9th Grade - University
15 questions
Python - Loops, Patterns & List manipulations

Quiz
•
11th Grade
14 questions
9.1.5 - Starter Quiz

Quiz
•
7th - 11th Grade
16 questions
Subroutines

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

Quiz
•
7th - 12th Grade
16 questions
If-Else Loops: Python Programming

Quiz
•
11th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade