Prepare for the WGU BUS2770 D467 Exploring Data Exam. Dive into interactive quizzes and insightful flashcards, each featuring detailed explanations to optimize your learning experience, and get exam-ready!

Multiple Choice

What data type would you use to encode a binary yes/no decision?

Encoding a binary yes/no decision is best represented by a Boolean. A Boolean captures two possible states—true and false—which maps directly to yes and no. It makes intent clear, supports simple logical operations and conditions, and typically enforces the two-state domain, reducing the chance of invalid values. Using an integer could work numerically (0 or 1) but allows other numbers as possibilities, which can confuse meaning. Text stores words like "Yes" or "No" and takes more space and processing to compare. Real numbers are for continuous values and aren’t appropriate for a simple binary state. In many systems you might see 1/0 stored in an integer field, but the clean, semantically correct choice is Boolean.

Encoding a binary yes/no decision is best represented by a Boolean. A Boolean captures two possible states—true and false—which maps directly to yes and no. It makes intent clear, supports simple logical operations and conditions, and typically enforces the two-state domain, reducing the chance of invalid values. Using an integer could work numerically (0 or 1) but allows other numbers as possibilities, which can confuse meaning. Text stores words like "Yes" or "No" and takes more space and processing to compare. Real numbers are for continuous values and aren’t appropriate for a simple binary state. In many systems you might see 1/0 stored in an integer field, but the clean, semantically correct choice is Boolean.