Wrote up a short apex programming exercise for developer candidates, designed to not take too long to complete, and allow me to assess familiarity with some Salesforce platform features (Batch Apex and Dynamic Apex) as well as general good development practices like writing automated tests.
Worked around apparent bug in Remote Objects by escaping apostrophes in query criteria.