.
In my response, I will answer part (a), ONLY, because it is really good entertainment problem/question,
while the part (b) is rather technical - so, the two parts differ by their style.
The answer is = = = 60 strings,
because exactly half of all 120 permutations have A appeared before D,
while the other half of the 120 permutations have A appeared after D.
Part (a) is answered.