Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

Selecting the TeX Open option on the Create a Question page will bring you to a rather nondescript page which will allow you to create a few different types of questions. Click "Edit" to start editing the body and code portions of the question. Visit this page for more information about TeX/LaTeX and Javascript/C in Quest.

 

 


 

Regardless of the style of TeX Open question you would like to create, there are certain lines that are required for this question type. The body field must contain the designation of where the question body and explanations are as demonstrated below.

 

 

The code field must at least contain a specification of the expected answer, the syntax depends on the type of response you would like from students. For more information about the code portion please see the corresponding page:

 


 

To add additional parts to a TeX Open question, simply add more designations to the body of the question:

/* This is a comment describing the question
%%%%%%%%%%%% quest 1
Here is the text for my first question part. TeX equations, multiple choice options, images, and lists can go here. 
%%%%%%%%%%%% expl 1
Here is the explanation for the first question. 
%%%%%%%%%%%% quest 2
This is the second question part. 
%%%%%%%%%%%% expl 2
And its corresponding explanation. 

 

As well as additional answer variables to the code portion:

/* global double ans1 u={}*/
/* global double ans2 u={}*/


ans1 = 1;
ans2 = 1;

 

For more information about the code portion of TeX Open questions, please visit this page.

 


 

  • No labels