[LON-CAPA-users] Textbox solution turns into a long MC question

Seema Ali sali at vsb.bc.ca
Thu Apr 19 19:41:50 EDT 2012

I don't know what happened but I have MC solutions and I created a problem with a text input box.  The text box shows up in the question editor area, but as a MC question in the student view.

Help, a colleague is using the questions as a test tomorrow.

Also, I seem to be able to create a slot, but I don't know how to assign a section to it.

Just in case you need an example of one of the problems that is doing this here it is:
<script type="loncapa/perl">$drink    = &random(4,8,1);

  $sandwich = &random(7,10,1);

  $dessert = &random(2,7,1);
}while($drink==$dessert|| $sandwich==$drink);

$answer = $drink * $sandwich * $dessert;</script><startouttext />A restaurant offers $drink different soft drink flavours, $sandwich different sandwiches and $dessert different dessert selections.  In how many ways can a person select one item from each category (a drink, a sandwich, and a dessert)?

<br />
<br />
Answer:<endouttext />
<numericalresponse answer="$answer" id="11">

    <textline readonly="no" />
</numericalresponse><startouttext />ways<endouttext />

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.lon-capa.org/pipermail/lon-capa-users/attachments/20120419/ae3398b2/attachment.html>

More information about the LON-CAPA-users mailing list