Apart from standard question-answer items, you can also create a variety of other tests such as:
* multiple choice tests
* spelling tests
* pronunciation tests
* drag&match tests
* point&click tests, and more
To create a multiple choice test do as follows:
1. Create text components: question, correct answer and a couple of wrong answers
2. On the pop-up menu of the correct answer component choose Non-test and check the submenu item Correct
3. On the pop-up menu of wrong answer components choose Non-test : Wrong
4. Test the item by trying to click particular components. The correct response should be highlighted green, and you should get the correct or wrong response feedback (e.g. with custom sounds, etc.)
To create a spelling test, simply place a Spell component in the element window and fill it out with the correct spelling (or with spelling variants separated by a slash). Press Esc to move to the presentation mode, and test the spelling by typing in the text in the spelling field and pressing Enter. Remember that SuperMemo tries to match the first string among correct answers separated by the slash; therefore you should remember to keep the appropriate sequence of correct answers.
To create a pronunciation test, place a Sound component in the element window and check the Recorder option on the component pop-up menu. Link the correct pronunciation WAV file by using Import file or Link registry member on the same pop-up menu. Your pronunciation test is ready. The user can now record himself by pressing the microphone button and play his own or the correct pronunciation by using blue and green play buttons respectively. Finally, he can erase his recording by pressing the crossed-out button. All user recording are kept in TEMP subdirectory of the knowledge system directory and can only be deleted with the recorder crossed-out button. To clean all recordings, go to the TEMP directory and delete all WAV files.
Creating Drag&Match and Point&Click exercises is more difficult and requires using scripts and the hit-area editor.
An element used for the Point&Click test must contain an image component. The user is supposed to click the right place in the picture. This test may be used, for example, to click the described organ on an anatomical cross-section image. Another example is pointing to the recognized picture in a word recognition test. Here, the question can be a recording of the recognized word, and the test will require clicking the pictorial representation of the word.
To create Point&Click test, place a script component in the element (make sure it is the first playable component, e.g. by placing the script before placing all other components).
To make sure that the script is run as you enter the element, check Autoplay on element pop-up . The script must contain the HITTEST command that will evoke Point&Click test, and all other components of the test if necessary (e.g. playing the question).
In the example below, the script plays the component with the question (component no 3) and calls the HITTEST command to execute the test. HITTEST says that the image component used in the test has the number 4, and that the coordinates of the correct selection area are [(387,10)(444,237)(546,229)(536,4)]
Note that these coordinates can be determined by means of Edit Hit-Area on the image component pop-up menu (see below).
It is worth to remember that the numbers of components on a page can be displayed with the 148 button on the Edit tab in the element window. Alternatively, Component order on element pop-up menu can be chosen for the same purpose.
Here is the script:
HITTEST 4 [(387,10)(444,237)(546,229)(536,4)]
Commands WAITGRADE and GOTO 2 make sure that after the test (i.e. after the grade is given to the user), the script goes back to line 2 and makes it possible to resume the Point&Click test.
This is a test for matching text components with hot spots in a single image components. The user is supposed to drag the text components and drop them at appropriate places in the image component. Single Drag&Match is implemented with a DRAGMATCH script command.
Let us imagine an exercise in which the users is to drag text components numbered 5, 6, 7 and 8 to appropriate hot spots on the image component number 2. Let us now assume that the hotspot for dragging the text number 5 is delimited by a rectangle having the following coordinates: (123,315,264,357). By analogy, components 6, 7 and 8 have also their own hot spot rectangle coordinates. The following script might do what is needed in this exercise:
DRAGMATCH 2 [5,6,7,8] [(123,315,264,357)(34,37,64,77)(43,37,58,177)(21,25,53,37)]
In the above script, DRAGTEXTMODE makes sure that texts are transparently displayed on the image upon dropping. The SHOW commands will redisplay all text components after executing GOTO 2 (dragging will make the components invisible). DRAGMATCH will define the appropriate relationships between text components and hot spot rectangles in the image component number 2. WAITGRADE will suspend the execution of the script until all texts are dragged into appropriate places or until the first mistake is made by the user. Finally, GOTO 2 will allow repeated execution of the exercise until satisfactory performance.
To simplify determining the correct rectangle coordinates, you can use the command Edit Hit-Area on the image component pop-up menu. This command is described below.
This is a test for matching text components with a number of image components. The users is supposed to drag the text components to appropriate image components. Multiple Drag&Match is also implemented with a DRAGMATCH script command. This time its syntax differs slightly. There is no image argument. Instead, a list of images is used to match a list of text components.
Let us imagine an exercise in which the user is supposed to drag text components numbered 2, 3, 4 and 5 to image components numbered 6, 8, 7, and 9. Those two lists of components will form the two arguments of the multiple DRAGMATCH script command. Again DRAGTEXTMODE determines if the texts erase the background or are displayed transparently:
DRAGMATCH [2,3,4,5] [6,8,7,9]
The behavior of the above script is analogous to the behavior of the script described in the previous section devoted to single DRAGMATCH command.
Hit area editor is used to easily determine the coordinates of image hot spots for HITTEST script command and for single DRAGMATCH script command.
To use Hit Area Editor follow the steps listed below:
1. Close the Script Editor if you are in the middle of writing a script
2. Right click the image whose hot spots you want to edit
3. Chose Edit Hit Area on the pop-up menu
4. At the bottom of the Hit Area Editor choose the command for which editing is to be used: HitTest or DragMatch
5. For DragMatch exercise, click in turn top-left and bottom-right corners of rectangles describing the hot spots (you can create up to ten rectangles)
6. For HitTest exercise, click in turn all corners of the hot spot area (the area cannot be more than pentagonal, i.e. you should click no more than five points)
7. If you make a mistake, you can clean the editing area by choosing Clear
8. After you are done with editing, click Copy to move the edited coordinates to clipboard
9. Now you can close Hit Area Editor and return to Script Editor
10. Place the cursor in the appropriate place of the DRAGMATCH or HITTEST command and paste the coordinates from the clipboard (e.g. with Shift+Ins or Ctrl+V)