Skip to Content

DA0-001: Understand the Difference between Discrete and Continuous Variables

Learn the key differences between discrete and continuous variables with examples. Discover why the number of people in an office is a discrete variable, while temperature, height, and time are continuous variables.

Table of Contents

Question

Which of the following is an example of a discrete variable?

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

Answer

D. The number of people in an office

Explanation

A discrete variable can only take on specific, distinct values, typically integers or whole numbers. The number of people in an office is a count that can only be a non-negative integer, such as 0, 1, 2, etc.

The other options are examples of continuous variables:
A. The temperature of a hot tub can take on any value within a range, including fractions or decimals.
B. The height of a horse can be measured to any level of precision, resulting in values that are not necessarily whole numbers.
C. The time to complete a task can be any value within a range, including fractions of a second or minute.

CompTIA DA0-001 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the CompTIA DA0-001 exam and earn CompTIA DA0-001 certification.