NEW
Font size
S
M
L
XL
WorksheetsPython Quiz 2
Total questions: 5
Worksheet time: 25mins
Name
Class
Date

Free Printable Worksheets
NEW
Font size
WorksheetsWhat is a variable in Python?
A constant value
A reserved keyword
A named container for storing data
A type of loop
Which of the following is a valid variable name in Python?
2count
total_score
break
class
What is the purpose of the assignment operator (=) in Python?
To compare two values
To perform mathematical operations
To assign a value to a variable
To declare a variable
Which data type is used to represent a single character in Python?
a. char
b. string
c. character
d. str
x = 5
y = x + 2
print(y)
5
7
10
Error
10 questions
Internet
Worksheet
•
University
10 questions
Jarkom F
Worksheet
•
University
10 questions
Recursos materiales
Worksheet
•
University
10 questions
TES AWAL MODUL 2
Worksheet
•
University
8 questions
Cha-ching 2
Worksheet
•
1st Grade - University
10 questions
ICF-Mechanical-(Theory Quiz-2)
Worksheet
•
University
10 questions
Computer Network
Worksheet
•
University
10 questions
HTML Quiz
Worksheet
•
University