
Lesson 3 Recap
Authored by P zet
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword is used to define a function in Python?
def
define
function
class
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is not a valid Python variable name?
my_var
myVar
my-var
myvar
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the result of the following code: 5 < 3 or 2 > 1?
True
False
SyntaxError
TypeError
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the result of the following code: for i in range(5): print(i)?
1, 2, 3, 4, 5
TypeError
0, 1, 2, 3, 4
0, 1, 2, 3, 4, 5
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the result of the following code:
x = 5
y = 3
print(x % y)
?
1
1.67
2
TypeError
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword is used to return data from a function in python?
return
pass
data
def
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
INTRODUCCION A LA PROGRAMACION
Quiz
•
6th Grade - University
10 questions
2025 python class first quiz
Quiz
•
9th Grade - University
10 questions
DevOps
Quiz
•
University
10 questions
Kuis Sensor 1
Quiz
•
University
10 questions
T02: Python - The Basics
Quiz
•
University
10 questions
DBMS 1
Quiz
•
University
10 questions
Clustering_Pertemuan2_Quiz_Ceria
Quiz
•
University
10 questions
Explorando Tinkercad en Secundaria
Quiz
•
7th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
5 questions
Examining Theme
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University