Default
Dyslexic-Friendly
š Active XP Boosts
Midweek Bonus
Hump day hustle! +10% CodeCoins on all activities.
+10% EXP (All)
Python_Basics_Lesson1_quiz Knowledge Check
Question 1
What keyword is used to define a function in Python?
def
define
function
func
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
str
char
bool
Question 4
What is the result of 5 + 3 * 2 in Python?
13
16
11
10
Question 5
How do you print something to the console in Python?
print("")
display("")
output()
show()
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