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