Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

select the correct answer. in an employee database, which data type wou…

Question

select the correct answer.
in an employee database, which data type would you use to categorize an employee as male or female?
a. number
b. binary
c. autonumber
d. text
e. boolean

Explanation:

Brief Explanations
  • Boolean: A Boolean data type can represent two distinct states (e.g., true/false, yes/no, male/female).
  • Number: A number data type is used for numerical values (e.g., \(5\), \(3.14\)), not for categorical gender data.
  • Binary: Binary data is used for storing non - textual data like images or executables, not for simple categorical labels.
  • AutoNumber: AutoNumber is used for generating unique sequential numbers (e.g., for record IDs), not for gender categorization.
  • Text: While text could be used (e.g., storing "male" or "female" as strings), Boolean is a more efficient and semantically appropriate choice for two - state categorization.

Answer:

E. Boolean