nerdexam
CompTIA

FC0-U61 · Question #707

Which of the following data types should a database administrator use to store customer postal codes?

The correct answer is B. String. A postal code is a string of alphanumeric characters that identifies a specific location. A string data type is used to store text or character data, such as names, addresses, or postal codes. A float data type is used to store decimal numbers, such as prices or weights. A…

Database Fundamentals

Question

Which of the following data types should a database administrator use to store customer postal codes?

Options

  • AFloat
  • BString
  • CBoolean
  • DInteger

How the community answered

(27 responses)
  • A
    7% (2)
  • B
    89% (24)
  • D
    4% (1)

Explanation

A postal code is a string of alphanumeric characters that identifies a specific location. A string data type is used to store text or character data, such as names, addresses, or postal codes. A float data type is used to store decimal numbers, such as prices or weights. A boolean data type is used to store logical values, such as true or false. An integer data type is used to store whole numbers, such as counts or quantities.

Topics

#data types#postal codes#database design

Community Discussion

No community discussion yet for this question.

Full FC0-U61 Practice