Ashok - Your answer to the car pool question is right.
For the question that you had asked "In how many ways can 4 black balls that are identical and 4 white balls that are identical be arranged such that black and white balls alternate?"
The answer is 2 ways.
The arrangement can either start with a white ball and have white balls in the first, third, fifth and seventh place. And black balls at the even numbered positions.
Or have the white balls in the first, third, fifth and seventh place. And white balls at the even numbered positions.
=======
TopGRE Weekend GRE Classes @ Chennai start November 3rd