A while loop can be used in which of the following situations?
Loops Python

Quiz
•
Computers
•
9th Grade
•
Medium
Sarbagya Malla
Used 337+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Repeat a set of statements till a condition remains True.
Repeat a set of statements a finite or an infinite number of times.
Iterate through a string, list, and tuple.
All of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable?
a type of graphics
A box(memory location) where you store values
Data type
a type of memory
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol is used in python to assign values to a variable?
equals =
plus +
minus -
asterisk *
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output?
name = "Dave"
print (name)
(name)
Dave
name
Nothing
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A syntax error means your code has a 'grammar' mistake or you used symbols/operations incorrectly
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement correctly assigns the string "Tanner" to the variable name?
name = print( "Tanner")
input("Tanner")
name= "Tanner"
name = input("Tanner")
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output from the following code?
print ("hello world")
hello world
nothing
"HELLO WORLD"
Create a free account and access millions of resources
Similar Resources on Quizizz
13 questions
Python beginner quiz

Quiz
•
9th Grade
17 questions
Python Review

Quiz
•
7th - 8th Grade
11 questions
Python for Class 7

Quiz
•
7th - 8th Grade
13 questions
Python

Quiz
•
7th - 8th Grade
15 questions
Python : Codeathon Competition

Quiz
•
5th - 8th Grade
14 questions
Python Basics - Year 8

Quiz
•
7th - 9th Grade
11 questions
Python Boolean

Quiz
•
11th - 12th Grade
14 questions
year 8 lesson 2 quiz - python

Quiz
•
8th - 10th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade