Answer
(a)Categorical variable is a variable of which each observation belongs to one of a set of categories. Quantitative variable is a variable of which observations on it take numerical values that represent different magnitudes of the variables.
(b)Example of categorical variable: the gender (male or female) , race, nationality etc.
Example of quantitative variable: age, number of smartphones, monthly salaries etc.