MCQOPTIONS
Saved Bookmarks
This section includes 3 Mcqs, each offering curated multiple-choice questions to sharpen your Python knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Set members must not be hashable. |
| A. | True |
| B. | False |
| Answer» C. | |
| 2. |
What is the syntax of the following Python code? |
| A. | {5,6,7} |
| B. | frozenset({5,6,7}) |
| C. | Error, not possible to convert set into frozenset |
| D. | Syntax errorView Answer |
| Answer» C. Error, not possible to convert set into frozenset | |
| 3. |
Which of these about a frozenset is not true? |
| A. | Mutable data type |
| B. | Allows duplicate values |
| C. | Data type with unordered values |
| D. | Immutable data type |
| Answer» B. Allows duplicate values | |