Python Programming Advanced Quiz 2

Select your answers and check your results. Use Reset to start again.
Practice Pronunciation (Merriam-Webster)
Navigation
Advanced Quiz 2
1. What is a closure in Python?
2. What does the "global" keyword do?
3. How do you catch any exception in Python?
4. What is the output of {x:x**2 for x in range(3)}?
5. Which function returns an iterator that produces items only when needed?
6. What does the "assert" statement do?
7. What is the difference between a shallow copy and a deep copy?
8. Which module is used for working with dates and times?
9. What does the "super()" function do?
10. How do you make a class attribute private?
Previous Next
Other
Timer
00:00

Vocabulary Quiz
Score: 0

Spin the Wheel
Promo's

Explore More