Which of the following is not an example of a continuous variable?

Family size
Intelligence
Height
Attitude

The correct answer is D. Attitude.

A continuous variable is a variable that can take on any value within a given range. For example, height is a continuous variable because a person can be any height between 0 and 8 feet tall. Family size is also a continuous variable because a family can have any number of children. Intelligence is a continuous variable because a person can have any level of intelligence.

Attitude is not a continuous variable because it is a categorical variable. A categorical variable is a variable that can take on only a limited number of values. For example, a person’s attitude towards a certain issue can be positive, negative, or neutral.