nerdexam
CompTIACompTIA

DA0-001 · Question #16

DA0-001 Question #16: Real Exam Question with Answer & Explanation

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

Data Concepts and Environments

Question

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

Options

  • ABoolean
  • BString
  • CInteger
  • DFloat

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 PracticeBrowse All DA0-001 Questions