Default
Dyslexic-Friendly
š Active XP Boosts
Momentum Monday
Start the week strong! +20% EXP Bonus to all content
+20% EXP (All)
Python_Basics_Lesson1_quiz Knowledge Check
Question 1
What keyword is used to define a function in Python?
define
def
func
function
Question 2
What symbol is used to indicate a comment in Python?
#
--
//
**
Question 3
Which data type is used to store a single character in Python?
int
char
str
bool
Question 4
What is the result of 5 + 3 * 2 in Python?
11
16
13
10
Question 5
How do you print something to the console in Python?
output()
show()
display("")
print("")
Question 6
In Python, a variable is a ____ that stores data.
Question 7
The ____ statement is used to make decisions in Python.
Question 8
A ____ is a named location used to store data in Python.
Question 9
To repeat a block of code multiple times in Python, you can use a ____ loop.
Question 10
Python is an interpreted ____-level programming language.
Submit Quiz
Return to Homepage