Hello,
What I intend to do is display a portion of code such as (this is a very simple example) :
enter b
a = b+3
display a
And then ask open questions about the output according to b :
Q1 : What is the output if we enter 2
Q2 : What is the output if we enter 6
...
If the student answers correctly , he should have 2 points for the question. However, as I want to make sure students answer only if they are sure, if they answer wrong they should be grated -2 points. If they dont answer they have 0 point.
Let me know if you need any more details.
S.