DA0-001 · Question #16
Which of the following is the correct data type for text?
The correct answer is B. String. A string is a data type that represents a sequence of characters, such as letters, numbers, and symbols. Strings are often used to store and manipulate text data, such as names, addresses, and descriptions. The other options (Boolean, integer, and float) are not appropriate…
Question
Which of the following is the correct data type for text?
Options
- ABoolean
- BString
- CInteger
- DFloat
How the community answered
(16 responses)- A6% (1)
- B88% (14)
- C6% (1)
Explanation
A string is a data type that represents a sequence of characters, such as letters, numbers, and symbols. Strings are often used to store and manipulate text data, such as names, addresses, and descriptions. The other options (Boolean, integer, and float) are not appropriate data types for text. A Boolean data type represents a true or false value, and an integer data type represents a whole number. A float data type represents a decimal number.
Topics
Community Discussion
No community discussion yet for this question.