nerdexam
CompTIA

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…

Data Concepts and Environments

Question

Which of the following is the correct data type for text?

Options

  • ABoolean
  • BString
  • CInteger
  • DFloat

How the community answered

(16 responses)
  • A
    6% (1)
  • B
    88% (14)
  • C
    6% (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

#Data types#String data type#Text representation

Community Discussion

No community discussion yet for this question.

Full DA0-001 Practice