Lesson 3 Recap

Quiz
•
Computers
•
University
•
Medium
P zet
Used 1+ times
FREE Resource
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
Similar Resources on Wayground
10 questions
Python with DataScience

Quiz
•
7th Grade - University
10 questions
Scientific Computing with Python-Basics

Quiz
•
University
10 questions
Understanding Procedures in Python

Quiz
•
9th Grade - University
10 questions
Techno India University Python Quiz Contest

Quiz
•
University
10 questions
Session 2

Quiz
•
University
10 questions
Python Quiz 1 : Python Basics

Quiz
•
University
10 questions
Python Programming Concepts Challenge

Quiz
•
10th Grade - University
10 questions
C++ vs Python: A Quiz Introduction

Quiz
•
11th Grade - University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade