I'm scratching my head wondering how to construct a selection algorithm in order that a correct logical connective is selected from an array given a random selection of a statement. I'm wondering if anybody may have already considered this.
Given the statements P,Q and logical connectives =>,<= arranged (for example, but not exclusively) in an array as the elements
and if, P => Q. How might one select the correct logical connective given a random selection of either P or Q.
The basic idea is that i first want to randomly select a statement P or Q followed by an answer box and the other statement Q or P so that the correct logical connective is selected for comparison with the answer that the student gives.
P => Q or Q <= P
Any suggestions are welcome,