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
How to create a variable?
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 Wayground
15 questions
Gateway Level 3 Python Quiz 3

Quiz
•
9th - 12th Grade
10 questions
Python ismétlés

Quiz
•
9th - 12th Grade
10 questions
Python Review - Functions

Quiz
•
9th - 12th Grade
10 questions
Python Basic files

Quiz
•
10th - 12th Grade
15 questions
ONE 6th FORM Introduction to Python Basics

Quiz
•
11th Grade
15 questions
Iteration

Quiz
•
9th - 12th Grade
10 questions
Understanding Procedures in Python

Quiz
•
9th Grade - University
10 questions
ASESMEN DIAGNOSTIK INFORMATIKA – FASE E

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade