Correct option is D
A discrete variable is a variable that can only take specific, distinct integer values, and it cannot take fractional values. For example, the number of people in a room, the number of cars in a parking lot, etc. These variables are counted in whole numbers.
Information Booster:
A discrete variable is also referred to as a counting variable because it is counted in whole numbers.
Examples of discrete variables include number of children, number of books, or score on a test.
A continuous variable, in contrast, can take any value within a given range, including fractions and decimals, such as height or time.
The key difference is that discrete variables are not divisible, while continuous variables can be subdivided infinitely.
Discrete variables are often used when counting something in exact numbers, rather than measuring something in continuous quantities.
Additional Information:
Continuous variable can take any value within a given range and can have fractional values (e.g., height, weight, temperature).
Complex variable typically refers to a variable in the domain of complex numbers, which has both real and imaginary components, not related to this context.
Temporal variable refers to variables that are related to time (e.g., hours, days) but does not inherently refer to the restriction of integer values.