Multiple Choice (TeX)
You can also create a Tex MC question from a blank TeX question type (obtained by following the instructions here) by including the following:
\choice{}{1}{Here is choice one.} \choice{}{2}{You set the text yourself.} \choice{}{3}{Even equations can go in here.}
"ans1 = 1;" indicates that the first choice is the correct answer. Notice that this is different than in free response, where the variable itself is being called. Ex: in multiple choice: ans1 =1 means the first answer choice is the correct answer. In free response ans1=1 means the number 1 is the solution. In free response ans1=@a1 calls a1 as the solution. In multiple choice ans1=@a1 will throw a validation error and will not move the question forward.
Click here for more information about the code portion.
Welcome to the University Wiki Service! Please use your IID (yourEID@eid.utexas.edu) when prompted for your email address during login or click here to enter your EID. If you are experiencing any issues loading content on pages, please try these steps to clear your browser cache.