{% seo_meta title="Python Basics Quiz β Play" description="Take the Python Basics Quiz quiz on BSTFN. Test your knowledge and earn a certificate." keywords="Python Basics Quiz, quiz, online test" %}
π―
BSTFN
π Quizzes
πΌ Jobs
π Admission
π Blog
π Tools
EN
π¬π§ English
π§π© বাΰ¦ΰ¦²ΰ¦Ύ
π
Login
Sign Up
β
Python Basics Quiz
Score:
0
/
5
β±
120:00
Question
1
of 5
Q1
What is the output of print(type([]))?
A
<class 'list'>
B
<class 'tuple'>
C
<class 'dict'>
D
<class 'set'>
π Explanation:
[] is a list so type([]) returns <class 'list'>
Q2
Which keyword defines a function in Python?
A
function
B
def
C
func
D
define
π Explanation:
The def keyword is used to define functions.
Q3
What does len('hello') return?
A
4
B
5
C
6
D
7
π Explanation:
hello has 5 characters so len returns 5.
Q4
Python is a compiled language.
T
True
F
False
π Explanation:
Python is interpreted not compiled.
Q5
Which creates a dictionary in Python?
A
[]
B
()
C
{}
D
<>
π Explanation:
Curly braces with key:value pairs create a dict.
β Prev
Skip β
Next β
Submit Quiz
π― You Might Also Like
Browse All β
Home
Quiz
Jobs
Blog
Login