nerdexam
CompTIA

DA0-001 · Question #84

Which of the following is an example of a discrete data type?

The correct answer is B. 5 kids. A discrete data type represents values that are countable and can only take on specific, distinct values, often whole numbers, within a given range.

Data Concepts and Environments

Question

Which of the following is an example of a discrete data type?

Options

  • A8in (20cm)
  • B5 kids
  • C2.5mi (4km)
  • D10.7lbs (4.9kg)

How the community answered

(35 responses)
  • A
    6% (2)
  • B
    91% (32)
  • D
    3% (1)

Why each option

A discrete data type represents values that are countable and can only take on specific, distinct values, often whole numbers, within a given range.

A8in (20cm)

'8in (20cm)' represents a measurement of length, which is a continuous data type as it can take on any value within a range.

B5 kidsCorrect

'5 kids' is an example of a discrete data type because the number of children can only be expressed in whole, countable integers and cannot take on fractional values.

C2.5mi (4km)

'2.5mi (4km)' represents a measurement of distance, which is a continuous data type as it can take on any value within a range.

D10.7lbs (4.9kg)

'10.7lbs (4.9kg)' represents a measurement of weight, which is a continuous data type as it can take on any value within a range.

Concept tested: Discrete vs. continuous data types

Topics

#Discrete data#Data types#Data classification#Quantitative data

Community Discussion

No community discussion yet for this question.

Full DA0-001 Practice