Check out this!
The program MS-DOS Exam is a programmable and flexibe quiz program that saves tester's results. It uses a special programming language that works in plaintext, so writing your own quiz is easy. The format details are included in the ZIP file you'll download. You can use multiple-answer questions, single-answer questions or even let the program load a 1-bit BMP file and display it in case it has useful information for the user. The user will see the image and press ENTER key once he saw it, and next questions should ask stuff regarding the image.