Checkout the MarvinJS interface to openbabel I implemented HERE.
Draw a structure on the left, choose a file type and click export.
You can devise short answer questions on your LMS.
For example "Provide the canonical smiles string for (R)-2-butanol?"
Provide instructions sending the student to the above link, they draw the structure, export to canonical smiles and paste into their answer field.
If you have Moodle you could try one of the different Name to structure question type plugins (JME, Chemdoodle or Marvin).
Carl