H13-311_V3.5 · Question #340
What are the Python language data types? (Multiple Choice)
The correct answer is A. numbers B. string C. list D. tuple E. dictionary. All five options are correct because Python's built-in data types include numbers (integers, floats, complex), strings (immutable text sequences), lists (mutable ordered collections), tuples (immutable ordered collections), and dictionaries (key-value mappings) - these are…
Question
What are the Python language data types? (Multiple Choice)
Options
- Anumbers
- Bstring
- Clist
- Dtuple
- Edictionary
How the community answered
(43 responses)- A100% (43)
Explanation
All five options are correct because Python's built-in data types include numbers (integers, floats, complex), strings (immutable text sequences), lists (mutable ordered collections), tuples (immutable ordered collections), and dictionaries (key-value mappings) - these are among the most fundamental types in the language. There are no distractors here; every choice is a genuine Python built-in data type, which is the trick of this question. Notably, Python also has additional types not listed (e.g., set, bool, bytes), so the question is testing whether you recognize all five as valid rather than narrowing down to one.
Memory tip: Use the acronym NSLDT - Numbers, Strings, Lists, Dictionaries, Tuples - or think of them as two categories: scalars (numbers, strings) and collections (list, tuple, dictionary).
Topics
Community Discussion
No community discussion yet for this question.