Difficulty -- Hard
Google allowed? -- Yes
The students, entering their history class after the shenanigans, would be confronted, at their desks, by a box -- one each. The box had five rows of four colored dots each, with the fifth row being blank:

On the chalkboard, the following was written:
In these boxes, you will find your most recent essay. The boxes are protected, however, by a secret code, made up of four colors. You will have one guess to solve the code. If you get it right, your grade will go up one entire letter grade. If you get it wrong, it will not.
There were six possible colors in the code -- Red, Green, Blue, Black, Yellow, and Purple. The same color may appear more than once in the solution.
Four guesses have been made, as you can see. The small black dots next to the guess indicates a correct color in the correct position. The small white dots indicate a correct color, but in the wrong position.
You have one guess to discover the correct answer. You have sufficient information.
Good luck
--Sackville


