help logoLON-CAPA Help

To create a String Response problem, create a new resource (described in Help. This is a "problem" resource so the URL must end in ".problem".

  1. In the drop-down option box as seen in the figure Help, select String Response Problem, and click the New Problem button.

  2. Click the Edit button above the sample problem to enter edit mode.

    Figure 1: String Response Editor

    You should see the String Response editor page open up, which should look something like what you see in the figure Help.

  3. Clear the text from the Text Block at the top of the problem, and type in your problem.

  4. In the Answer Box, type the correct answer.

  5. Select the answer condition from the drop-down. There are three cases to choose from:

    1. cs: This means "Case Sensitive". For example, this is useful in chemistry, where HO and Ho are completely different answers. The student must match the case of the answer.

    2. ci: This means "Case Insensitive". The system does not use the case of the letters to determine the correctness of the answer. If the correct answer is "car", the system will accept "car", "CAR", "Car", "caR", etc.

    3. mc: This means "Multiple Choice". The student's answers must contain the same letters as the question author's, but order is unimportant. This is usually used to give a multiple choice question in the question's Text Block, which may have several correct parts. If the author sets the correct answer as "bcg", the system will accept "bcg", "cbg", "gcb", etc., but not "bc" or "abcg".

    It is conventional to inform the students if the problem is case sensitive, or that the order of the answers doesn't matter.

  6. Optionally, locate the Single Line Text Entry Area block and set a length in the Size box. This will only affect the size of the box on the screen; if you set the box size to 2, the student can still enter 3 or more letters in their answer.

  7. Scroll down to the Hint element, and type some text that will help students when they answer incorrectly, or delete the hint by setting the Delete field to Yes.

  8. Click the Submit Changes button.