Unit testing is another simple topic that provides insights into how a person thinks about code.
Exercise: give them a class with empty functions, and some unit tests. Ask them to write the class and add some more tests. Also, one of the tests you provide must be subtly buggy.