Which of the following is an example of a discrete data type?
A . 8in (20cm)
B . 5 kids
C . 2.5mi (4km)
D . 10.7lbs (4.9kg)
Answer: B
Explanation:
A discrete data type is a data type that can only take on a finite number of values, such as integers or categories. An example of a discrete data type is the number of kids, as it can only be a whole number. The other options are examples of continuous data types, as they can take on any value within a range. The length in inches or centimeters, the distance in miles or kilometers, and the weight in pounds or kilograms are all continuous data types.
Reference: CompTIA Data+ (DA0-001) Practice Certification Exams | Udemy
Latest DA0-001 Dumps Valid Version with 180 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund