Four students arrived at the party driving colorful cars. The students were Alan, Betty, Charlie, and Denise.

From the following statements, of which all are true, can you tell the order of arrival and the color of each student's car?
The colors of the cars are blue, gold, purple, and white.

1. The four students were Charlie, the student who arrived second, the student with a white car, and Alan.
2. Charlie did not arrive first, and Denise was not the student who arrived just before him.
3. Denise's car was not white.
4. Betty arrived just before the student whose car was blue, who was not Charlie.
5. Alan's car was not purple.

Post your solution with explanation here!