The number of subsets follows the rule

Where n represents the number of elements inside the set.
The number of proper subsets is defined as

So, the given set has the elements -2, -1, 0, 1, 2, which means n = 5.
Then,

(a) The given set has 32 subsets.(b) The given set has 31 proper subsets.