Debian Codegraph @

texmf-dist/doc/latex/moodle/test/utf8ref/test_verbatim-moodle.ref

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <quiz>
4
5 <question type="category">
6 <category>
7 <text>$course$/top/Verbatim</text>
8 </category>
9 </question>
10
11 <question type="multichoice">
12 <name format="html">
13 <text><![CDATA[LaTeX]]></text>
14 </name>
15 <questiontext format="html">
16 <text><![CDATA[<p><PRE style="border-top: thin solid; border-bottom: thin solid"><CODE>% !TeX encoding = UTF-8<BR/>% !TeX spellcheck = en_US<BR/>% !TEX TS-program = xelatex<BR/>\documentclass{article}<BR/>\usepackage[nostamp]{moodle}<BR/>\newif\iffvextra<BR/>\fvextratrue<BR/>\ifxetex % FOR XELATEX<BR/> \usepackage{fontspec}<BR/>\else %% FOR PDFLATEX<BR/> \usepackage[utf8]{inputenc} % necessary<BR/> \usepackage[T1]{fontenc} % necessary<BR/>\fi<BR/></CODE></PRE> </p>]]></text>
17 </questiontext>
18 <defaultgrade>1.0</defaultgrade>
19 <generalfeedback format="html"><text/></generalfeedback>
20 <penalty>0.10</penalty>
21 <hidden>0</hidden>
22 <single>true</single>
23 <shuffleanswers>1</shuffleanswers>
24 <answernumbering>abc</answernumbering>
25 <answer fraction="100" format="html">
26 <text><![CDATA[<p>test</p>]]></text>
27 </answer>
28 <answer fraction="0" format="html">
29 <text><![CDATA[<p>toast</p>]]></text>
30 </answer>
31 </question>
32 <question type="multichoice">
33 <name format="html">
34 <text><![CDATA[C]]></text>
35 </name>
36 <questiontext format="html">
37 <text><![CDATA[<p><PRE style="border-top: thin solid; border-bottom: thin solid"><CODE>#include &lt;stdio.h&gt;<BR/>int main() {<BR/> char c=&apos;\0&apos;, *pc=&amp;c;<BR/> printf(&quot;Hello world!\n&quot;);<BR/> return *pc;<BR/>}<BR/></CODE></PRE> </p>]]></text>
38 </questiontext>
39 <defaultgrade>1.0</defaultgrade>
40 <generalfeedback format="html"><text/></generalfeedback>
41 <penalty>0.10</penalty>
42 <hidden>0</hidden>
43 <single>true</single>
44 <shuffleanswers>1</shuffleanswers>
45 <answernumbering>abc</answernumbering>
46 <answer fraction="100" format="html">
47 <text><![CDATA[<p>&quot;&test&quot;</p>]]></text>
48 </answer>
49 <answer fraction="0" format="html">
50 <text><![CDATA[<p>&rsquo;toast&rsquo;</p>]]></text>
51 </answer>
52 <answer fraction="0" format="html">
53 <text><![CDATA[<p>&lt;\(&lt;a&gt;\)&gt;</p>]]></text>
54 </answer>
55 </question>
56
57 </quiz>