How many 3-digit numbers can be formed from the four

integers 0, 1, 2, 3, if;
a) no digit is repeated,
b) Repetition is allowed,
c) The number is even and repetition is not allowed,
d) The number is odd and repetition is not allowed.