Which of the following lines of code is considered a list? SELECT ALL THAT APPLY.
Python Ifs, Lists, and Loops

Quiz
•
Computers
•
7th - 8th Grade
•
Medium
Mark Christensen
Used 26+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
num=input('Please enter your list')
num=[1, 2, 3]
var=['apple,' banana', 'grape']
print('Is this a list?')
letters=['a' , 'b' , 'c']
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
In order to be considered a List, the code needs what? SELECT ALL THAT APPLY.
Brackets
Variable
Commas
Print Command
Input Command
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many iterations will the loop have?
1 iteration
2 iterations
3 iterations
6 iterations
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between For Loops and While Loops?
For Loops don't use numbers
While Loops aren't considered loops
While Loops can't go infinite
Typically, For Loops are based on lists and While Loops are based on equations
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What number will this loop start at?
1
3
5
20
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you write out "while x is less than twenty"?
while x != 20:
while x > 20:
while x < 20:
while x <= 20:
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A loop that is inside of another loop is known as a what?
Infinite loop
Loop to loop
While Loop
Nested Loop
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Loops

Quiz
•
8th Grade
15 questions
Code.org Express Course Quiz 2

Quiz
•
6th - 8th Grade
15 questions
G-8-Python Basics Quiz

Quiz
•
8th Grade
16 questions
Loops

Quiz
•
5th - 12th Grade
12 questions
Quiz sobre Sentencias IF y bucles en Python

Quiz
•
7th Grade
15 questions
Coding Terms Quiz

Quiz
•
7th Grade
10 questions
Intro to Python

Quiz
•
8th Grade
15 questions
JavaScript - Control Statements

Quiz
•
8th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
17 questions
guess the logo

Quiz
•
8th Grade
16 questions
Function or Non-Function?

Quiz
•
8th - 10th Grade