How to create a variable?
Python Review

Quiz
•
Computers
•
11th Grade
•
Hard
Устим Гентош
Used 8+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
a == "my_variable"
b = variable
c = ["hello", "bye"]
print(d)
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What isn't a type of variable?
string
loop
list
Turtle
integer
3.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
Where we can write "if" conditions?
Inside a function before return
Inside a loop
Inside another if
Inside a function after return
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to write a for loop?
for i in random(100):
for i range(50)
for ward in range(25)
for in range(12)
for i on range(6)
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which while loop will work forever?
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How to define a function?
(only first row)
def(arg) func:
def (fun(arg)):
def fun[arg]:
def(arg):
def fun(arg):
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will this code print?
Error: missing 1 required positional argument: 'a'
NameError: name 'add_five' is not defined
15
Nothing
Create a free account and access millions of resources
Similar Resources on Quizizz
16 questions
Python programming

Quiz
•
6th - 12th Grade
15 questions
Functions in Python

Quiz
•
9th - 12th Grade
8 questions
Roblox Lua Scripting Quiz

Quiz
•
1st - 12th Grade
16 questions
Flow charts and pseudo code

Quiz
•
9th - 11th Grade
13 questions
Python while loop

Quiz
•
8th Grade - University
15 questions
Hangman Game - Programming Questions

Quiz
•
7th - 11th Grade
16 questions
Loops

Quiz
•
5th - 12th Grade
10 questions
Week 3 Arduino Basics Quiz

Quiz
•
7th - 12th 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
20 questions
Types of Credit

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

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