
Python Basics Worksheet
Authored by SURENDRA PRABHAKAR
Information Technology (IT)
9th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
100 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python is a _____ language.
Low-level
High-level
Machine-level
Assembly
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used for single-line comments in Python?
//
#
/*
--
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is immutable?
List
Set
Tuple
Dictionary
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to define a function?
fun
function
def
define
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of: print(type(5))?
str
int
float
bool
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which loop is used when iterations are known?
while
for
do-while
loop
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure does not allow duplicate values?
List
Tuple
Set
Dictionary
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?