QUESTION IMAGE
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
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.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
E. Boolean