Drag & Drop Question
September 27, 2006 12:00 AM
You know of course that the drop areas have to be separate. Lectora does not support multiple items being dropped on the same location. If that is what you want, sorry. Let's see if we can get come clarity about what you want. Examples are always vary helpful in the forum. Also what version of Lectora - 2006 is the solution given here.Lectora numbers the drag items and drag locations. The correct answer is pairs of numbers separated by a dash (1-1, 2-2, 3-3, ...) Drag item # first, drop location second. See Tool Kit HTMLLectora Tool Kit Source zipped for details on what all question variables contain.Say we have: Drag items: a, b, c, d, e, f. Drop areas: A, B, CIf you want the correct answer to be: either a or b to A either c or d to B, and e or f to Cthen that is not hard. You have to evaluate it yourself and then set the answer to what Lectora would consider correct. Here are the actions and action groups.1. Set Question_variable = 0 (this is the default a wrong answer)2. If Question_variable contains 1-1 or 2-1, add 1 to question variable.3. if Question_variable contains 3-2 or 4-2, add 1 to question variable.4. if Question_variable contains 5-3 or 6-3, add 1 to question variable.5. if Question_variable = 3, Question_variable = 1-1, 2-2,3-3 (this sets the question variable to the correct answer so it will be scored as correct)If you want the correct answer to be: both a and b to what appears to be a single locationboth c or d to what appears to be a single locationand both e or f to to what appears to be a single locationthen that is not hard. You need to create 6 drag and drop pairs and place 3 of the drop areas on top of 3 others. If your pairs were: a-A, b-B, c-C, c-D, e-E, f-F, place A and B in the same place, D and E in the same place, E and F in the same place.1. Set Question_variable = 0 (this is the default a wrong answer)2. If Question_variable contains 1-1 or 1-2, add 1 to question variable.3. if Question_variable contains 2-1 or 2-2, add 1 to question variable.4. if Question_variable contains 3-3 or 3-4, add 1 to question variable.etc thru 6-68. if Question_variable = 6, Question_variable = 1-1, 2-2,3-3,4-4,5-5,6-6 (this sets the question variable to the correct answer so it will be scored as correct)
Discussions have been disabled for this post