Practice Set
Practice questions aggregated across this exam type.
Practice Questions
10 of 150 questions
Q1. Which Python data type is immutable?
Select one answer before revealing.
Q2. Which keyword exits a loop early in Python?
Select one answer before revealing.
Q3. What does the def keyword do in Python?
Select one answer before revealing.
Q4. What is the output?
print(3 / 2)
Select one answer before revealing.
Q5. What is the output?
print(bool([]))
Select one answer before revealing.
Q6. What is the output?
print("yes" if [] else "no")
Select one answer before revealing.
Q7. What is the output?
def f(): pass print(f())
Select one answer before revealing.
Q8. What is the output?
print(" hi ".strip())
Select one answer before revealing.
Q9. What is the output?
print([1, 2, 3] + [4, 5])
Select one answer before revealing.
Q10. What is the output?
print([0] * 3)
Select one answer before revealing.
Important Concepts
Study chapter-wise concepts before you practice.