
PythonQuizOnKeywordsVariablesExpressionsOperators&Statements
Authored by TJL_ Sarwani
Engineering
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Number of keywords supported by Python 3.9 and later
34
35
36
37
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the Python keyword def?
To define a variable
To define a class
To define a function
To define a loop
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Choose the correct answer/answers related to Python programming.
created by Guido van Rossum
released on February 20, 1991
the python is a large snake
it came from BBC television comedy sketch series called Monty Python's Flying Circus.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a Python keyword
lambda
assert
eval
global
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to exit a loop prematurely in Python
continue
pass
break
yield
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used for conditional statements in Python
for
while
if
try
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Does the python uses compiler or interpreter
compiler
interpreter
both compiler and interpreter
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?