nerdexam
CompTIA

FC0-U71 · Question #44

Which of the following could be a letter, number, or symbol?

The correct answer is C. Char. A Char (character) data type stores a single character, which can be a letter (a–z, A–Z), a digit (0–9), or a symbol (!@#$, etc.). A String is a sequence of multiple characters. A Boolean holds only true or false values. An Integer holds whole numbers only, with no support for le

Software Development Concepts

Question

Which of the following could be a letter, number, or symbol?

Options

  • AString
  • BBoolean
  • CChar
  • DInteger

How the community answered

(21 responses)
  • B
    5% (1)
  • C
    90% (19)
  • D
    5% (1)

Explanation

A Char (character) data type stores a single character, which can be a letter (a–z, A–Z), a digit (0–9), or a symbol (!@#$, etc.). A String is a sequence of multiple characters. A Boolean holds only true or false values. An Integer holds whole numbers only, with no support for letters or symbols. Char is the only data type that explicitly represents a single letter, number, or symbol.

Topics

#Data Types#Character#Programming Fundamentals

Community Discussion

No community discussion yet for this question.

Full FC0-U71 Practice