

MCQOPTIONS
Saved Bookmarks
This section includes 6 Mcqs, each offering curated multiple-choice questions to sharpen your Python knowledge and support exam preparation. Choose a topic below to get started.
1. |
What data type is the object below ?$ |
A. | |
B. | list |
C. | dictionary |
Answer» D. | |
2. |
indentation Error$ |
A. | cannot perform mathematical operation on strings |
B. | hello2 |
C. | hello2hello2 |
Answer» D. | |
3. |
What error occurs when you execute? |
A. | |
B. | SyntaxError |
C. | NameError |
Answer» B. SyntaxError | |
4. |
xx) |
A. | x = 13 // 2 |
B. | x = int(13 / 2) |
C. | x = 13 % 2 |
D. | All of the mentioned |
Answer» B. x = int(13 / 2) | |
5. |
he |
A. | lo |
B. | olleh |
C. | hello |
Answer» B. olleh | |
6. |
Which of these in not a core data type? |
A. | Lists |
B. | Dictionary |
C. | Tuples |
D. | Class |
Answer» E. | |