Loading quizzes...
Loading quizzes...
Class 12 • Revision of Python Basics
Other sets in this chapter
Which of these is a tuple?
Are tuples mutable?
How to create a single-item tuple?
Result of (1, 2) + (3,)?
Can we delete an element from a tuple?
What is packing?
What is unpacking?
Which set literal is correct?
Are sets ordered?
How to add an item to a set?
How to add multiple items to a set?
Effect of adding duplicate item to a set?
Difference between discard() and remove()?
Which operator is for set union?
Which operator is for set intersection?
What is {1, 2} - {2, 3}?
What is set('apple')?
How to create an empty set?
Which method removes an arbitrary element from set?
What is symmetric_difference?
Can a set contain a list?
Can a set contain a tuple?
What is frozenset()?
Result of (10) * 2?
Is 'item in set' faster than 'item in list'?
Result of {1, 2}.issubset({1, 2, 3})?
Result of {1, 2, 3}.issuperset({1, 2})?
What does clear() do to a set?
Can we slice a tuple?
Which is more memory efficient?
0 / 30 answered