Solution.
a)

This formula is not a contradiction and is not a tautology because it takes different values for all possible values of p,q,r.
b)

This formula is not a contradiction and is not a tautology because it takes different values for all possible values of p,q,r.