nerdexam
CompTIA

DA0-001 · Question #78

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

The correct answer is D. The number of people in an office. A discrete variable is one that can only take on a finite or countable number of distinct values, often whole numbers resulting from counting.

Data Concepts and Environments

Question

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

Options

  • AThe temperature of a hot tub
  • BThe height of a horse
  • CThe time to complete a task
  • DThe number of people in an office

How the community answered

(27 responses)
  • A
    4% (1)
  • B
    7% (2)
  • D
    89% (24)

Why each option

A discrete variable is one that can only take on a finite or countable number of distinct values, often whole numbers resulting from counting.

AThe temperature of a hot tub

The temperature of a hot tub is a continuous variable, as it can take on any value within a range, including decimals and fractions.

BThe height of a horse

The height of a horse is a continuous variable, as it can be measured to any degree of precision and can take on any value within a range.

CThe time to complete a task

The time to complete a task is a continuous variable, as it can be measured to any level of precision, including fractions of seconds.

DThe number of people in an officeCorrect

The number of people in an office is a discrete variable because it can only be represented by whole, countable numbers (e.g., 1, 2, 3) and cannot take on fractional or continuous values.

Concept tested: Discrete vs. continuous variables

Topics

#Discrete variables#Continuous variables#Data types#Variables

Community Discussion

No community discussion yet for this question.

Full DA0-001 Practice