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
14 questions
year 8 lesson 2 quiz - python

Quiz
•
8th - 10th Grade
18 questions
Python basics

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

Quiz
•
7th - 8th Grade
10 questions
Python Programming

Quiz
•
7th - 9th Grade
16 questions
Test - Python básico II

Quiz
•
9th - 12th Grade
18 questions
Python Basics Review

Quiz
•
10th Grade
13 questions
Python

Quiz
•
7th - 8th Grade
12 questions
Основы Python

Quiz
•
6th 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
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

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

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University