How can I make VPL evaluations interactive with guessed wrong answers?
Here is a minimal example to explain what I mean:
- The students are supposed to write the ubiquitous helloworld.
- The expected output string is "Hello, World!"
- They are allowed to evaluate the answer any number of times.
- During the evaluation I want to catch typical wrong outputs like "Hello World!", "Hello, world!", etc. and give them corresponding feedback, "Comma missing", "'World' should be written in uppercase", etc.
How can I achieve that? My first thought was the vpl_evaluate.cases file, but it is a list of correct cases, I found out.
First time user. Apologies if this is a FAQ. I did a forum search though, they are bewildering for a beginner. ;(
Edit: Is the VPL Question type the answer? That would be a vertical learning curve, since I want to put this to test the coming week!