CompTIA Data+ (DA0-001) — Question 80
Which of the following is an example of a discrete variable?
Answer options
- A. The temperature of a hot tub
- B. The height of a horse
- C. The time to complete a task
- D. The number of people in an office
Correct answer: D
Explanation
The number of people in an office is a discrete variable because it can only take on specific, distinct values (e.g., 1 person, 2 people). In contrast, the temperature of a hot tub, the height of a horse, and the time to complete a task are continuous variables, as they can take on any value within a range.