This reminds me about an undergrad C course I had. One test was about printf formatting. We were given a serie of crazy format strings (using format specifier I've never encountered again since) and had to know what it would output. This was the most stupid test I've ever had.
There was a similar one about pointers. We called it "Star Wars".