Rev 13705 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 13705 | Rev 15178 | ||
---|---|---|---|
Line 22... | Line 22... | ||
22 | <span class="wims_code_words">Embraced random items</span>\ |
22 | <span class="wims_code_words">Embraced random items</span>\ |
23 | on <span class="tt">$wims_name_no</span>.</p> |
23 | on <span class="tt">$wims_name_no</span>.</p> |
24 | 24 | ||
25 | !set name_random=Some examples of random generation of parameter:<ul>\ |
25 | !set name_random=Some examples of random generation of parameter:<ul>\ |
26 | <li>For an integer between 10 and 100 (inclusive):\ |
26 | <li>For an integer between 10 and 100 (inclusive):\ |
27 |
|
27 | <span class="tt wims_code_words">randint(10..100)</span>\ |
28 | <li>For an integer multiple of 10 between 10 and 1000 (inclusive):\ |
28 | <li>For an integer multiple of 10 between 10 and 1000 (inclusive):\ |
29 |
|
29 | <span class="tt wims_code_words">randint(1..100)*10</span>\ |
30 | <li>For a decimal number between 0 and 2:\ |
30 | <li>For a decimal number between 0 and 2:\ |
31 |
|
31 | <span class="tt wims_code_words">random(0..2)</span>\ |
32 | </li><li>For a random item within a list:\ |
32 | </li><li>For a random item within a list:\ |
33 |
|
33 | <span class="tt wims_code_words">randitem(a,b,c,10,100,word,a phrase)</span>\ |
34 | </ul> |
34 | </ul> |
35 | 35 | ||
36 | !set name_detail_parm=More details on the computation of parameters. |
36 | !set name_detail_parm=More details on the computation of parameters. |
37 | 37 | ||
38 | !set image_help=< |
38 | !set image_help=<h4>Inserting images</h4>\ |
39 | To insert images in your exercise, you must first load the images\ |
39 | To insert images in your exercise, you must first load the images\ |
40 | in the exercise module of your class and secondly put the html code that displays the image.\ |
40 | in the exercise module of your class and secondly put the html code that displays the image.\ |
41 | The insertion code is\ |
41 | The insertion code is\ |
42 | <pre><img src="\imagedir/nom_image"/></pre>,\ |
42 | <pre><img src="\imagedir/nom_image"/></pre>,\ |
43 | where <span class="tt">nom_image</span> is the name of the image (including the <span class="tt">.jpg</span>, <span class="tt">.png</span>,\ |
43 | where <span class="tt">nom_image</span> is the name of the image (including the <span class="tt">.jpg</span>, <span class="tt">.png</span>,\ |
Line 48... | Line 48... | ||
48 | <span class="tt">Upload a file</span> in the exercise</tt> or <span class="tt">$wims_name_downloadbinary</span>\ |
48 | <span class="tt">Upload a file</span> in the exercise</tt> or <span class="tt">$wims_name_downloadbinary</span>\ |
49 | and upload all the images you need. Test, then adjust the image sizes.\ |
49 | and upload all the images you need. Test, then adjust the image sizes.\ |
50 | It is recommended that you do not take images that are too large,\ |
50 | It is recommended that you do not take images that are too large,\ |
51 | because they take longer to load while performing the exercise\ |
51 | because they take longer to load while performing the exercise\ |
52 | and reduce them before putting them in the classroom module.\ |
52 | and reduce them before putting them in the classroom module.\ |
53 | </div> |
- | |
54 | 53 | ||
55 | !set math_help= < |
54 | !set math_help= <h4>Inserting mathematical formulas</h4>\ |
56 | To enter mathematical formulas, enclose the tex code by \ |
55 | To enter mathematical formulas, enclose the tex code by \ |
57 | <span class="tt wims_code_variable">\(</span>\ |
56 | <span class="tt wims_code_variable">\(</span>\ |
58 | and\ |
57 | and\ |
59 | <span class="tt wims_code_variable">\)</span>.\ |
58 | <span class="tt wims_code_variable">\)</span>.\ |
60 | For example,\ |
59 | For example,\ |
61 | <pre>\( x^2+\frac{3}{2} \)</pre> |
60 | <pre>\( x^2+\frac{3}{2} \)</pre> |
62 | 61 | ||
63 | !set oef_help= <div class="wims_smallremark">< |
62 | !set oef_help= <div class="wims_smallremark"><h4>For the most advanced</h4>\ |
64 | it is possible in the definition of the parameters\ |
63 | it is possible in the definition of the parameters\ |
65 | to use most of the functions of the OEF exercises.\ |
64 | to use most of the functions of the OEF exercises.\ |
66 | </div> |
65 | </div> |
67 | 66 | ||
- | 67 | !set credits_help=<h4>References</h4>\ |
|
68 |
|
68 | You may use the field <span class="tt wims_code_words">$wims_name_credits</span> to give\ |
69 | short references, for example for the images inserted in the exercise. |
69 | short references, for example for the images inserted in the exercise. |