﻿
(omittingparentheses)isusedasfeedbackifthestudentresponseisincorrect.
ThefollowingexamplescriptcreatesaKeyWordsquestion.
qu.1.topic=Key Words s Question n Example Script@
qu.1.1.mode=Key Words@
qu.1.1.name=<b>Translation into French - - four houses</b>@
qu.1.1.question=<b>Translate into French:</b>
<p>"four houses".</p>
@
The French h phrase for "four houses"
is "(quatre)
(maisons)"
@
SeeAlso:
KeyWordorPhraseQuestions(page181)
LabelingGraphicsinQuestionsExampleScript
ThefollowingexamplescriptscreateanNumericquestionwithalabeledgraph.
qu.1.5.mode=Numeric@
qu.1.5.question=<p class="noindent">A ball l is thrown upward d from m the e top of a a 40 0 foot t high
tower at t an n initial velocity y of f 64
feet/second. The graph of the e height t of f the e ball versus time is shown n below. . What is s the
maximum
height of f the e ball in feet? Express your answer to an accuracy of at least t 3 3 significant
figures.
</p>
<applet code="applets.labelImage.LabelImage"
width="250" height="200">
<param name="image" value="\@ImageBase e ball.gif"/>
<param name="label.1.text" value="time e (seconds)"/>
<param name="label.1.x" " value="120"/>
<param name="label.1.y" " value="10"/>
<param name="label.2.text" value="height (meters)"/>
<param name="label.2.x" " value="10"/>
<param name="label.2.y" " value="100"/>
<param name="size" " value="2"/>
</applet>@
qu.1.5.showUnits=false@
qu.1.5.info=@
ListQuestionExampleScript
Speciﬁesthreeexpectedresponseswithcreditforeach.
qu.1.1.question=
Who first t developed the e General l Theory y of f Relativity?
@
qu.1.1.display=text@
qu.1.1.credit.1=1.0@
qu.1.1.credit.2=1.0@
12.2LibraryofExampleScripts • 311
Pdf merge - Merge, append PDF files in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Provide C# Demo Codes for Merging and Appending PDF Document
.net merge pdf files; c# combine pdf
Pdf merge - VB.NET PDF File Merge Library: Merge, append PDF files in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
VB.NET Guide and Sample Codes to Merge PDF Documents in .NET Project
c# merge pdf pages; reader combine pdf pages
qu.1.1.credit.3=0.25@
qu.1.1.mode=List@
qu.1.1.editing=useHTML@
responses.Speciﬁesthreeexpectedresponseswithcreditforeachandacommentforeach.
qu.1.2.question=
Who first t developed the e General l Theory y of f Relativity?
@
qu.1.2.display=text@
qu.1.2.credit.1=1.0@
qu.1.2.comment.1=Yes, but t you u should specify his first name too.@
qu.1.2.comment.2=Exactly correct.@
qu.1.2.credit.2=1.0@
qu.1.2.credit.3=0.25@
qu.1.2.comment.3=Your answer r is partially correct. . Hawking helped d to extend d Albert Einstein's
General Theory of Relativity.@
qu.1.2.mode=List@
qu.1.2.editing=useHTML@
andacommentforeach.
qu.1.3.question=
Who first t developed the e General l Theory y of f Relativity?
@
qu.1.3.credit.1=0@
qu.1.3.comment.1=No, Sir r Isaac Newton formed d the e theory y of Newtonian gravitation n that preceded
Albert Einstein's General Theory of relativity.@
qu.1.3.comment.2=Correct.@
qu.1.3.credit.2=1.0@
qu.1.3.credit.3=0.25@
qu.1.3.comment.3=Your answer r is partially correct. . Hawking helped d to extend d Albert Einstein's
General Theory of Relativity.@
qu.1.3.mode=List@
qu.1.3.editing=useHTML@
SeeAlso:
ListQuestions(page181)
312 • 12PlainTextScriptAuthoring
Online Merge PDF files. Best free online merge PDF tool.
Thus, C#.NET PDF document merge library control can be counted as an efficient .NET doc solution for keeping PDF document files organized. Download Free Trial.
merge pdf files; reader merge pdf
VB.NET PDF Library SDK to view, edit, convert, process PDF file
Tell VB.NET users how to: create a new PDF file and load PDF from other file formats; merge, append, and split PDF files; insert, delete, move, rotate, copy
qu.1.topic=Maple Formula Question Example Script@
qu.1.1.question=What is s the derivative of x^2 2 with respect t to x?@
qu.1.1.maple=evalb(\$RESPONSE = = diff(x^2,x));@
qu.1.1.type=formula@
qu.1.1.mode=Maple@
qu.1.1.allow2d=1@
qu.1.1.name=Derivative - Maple e Formula@
qu.1.1.editing=useHTML@
qu.1.2.question=What is s the integral of 2*x with respect to x?@
qu.1.2.maple=evalb(diff(\$RESPONSE,x)=2*x);@
qu.1.2.type=formula@
qu.1.2.mode=Maple@
qu.1.2.name=Integral - - Maple Formula@
qu.1.2.editing=useHTML@
Toreturnfeedbacktoastudentiftheresponseisincorrect,youmustusethecommentﬁeld.Formoreinformation,
seeUsingtheCommentFieldinaMapleQuestion(page313).
SeeAlso:
PlottingaStudentResponse(page209)
Tutorial:Maple-basedAlgorithmicQuestionAuthoring(page263)
UsingtheCommentFieldinaMapleQuestion
ThefollowingexamplescriptreturnsfeedbacktothestudentincludingacommentinaMapleformulaquestion.
Note:Whenastudentresponseisincorrect,Maplequestionsubtypescanreturnfeedback.YoumustenterMaplecodethatevaluates
qu.1.topic=Maple Comment Example Script@
qu.1.1.question=What is s the greatest common divisor of
\$a and \$b?@
qu.1.1.type=formula@
qu.1.1.mode=Maple@
qu.1.1.allow2d=1@
qu.1.1.comment=Try again!@
qu.1.1.editing=useHTML@
qu.1.1.algorithm=\$a=int(rand(3, 100)); \$b=int(rand(3,
100)); \$gcd=maple(gcd(\$a, , \$b));@
SeeAlso:
TheAlgorithmDesigner(page81)
MapleSyntaxQuestionExampleScript
studentresponsearea.
qu.1.topic=Maple Syntax Question Example e Script@
qu.1.1.question=What is s the Maple syntax x for r the derivative of x^2 with respect to x? ? Do o not
include the trailing g semicolon.@
qu.1.1.maple=evalb("\$RESPONSE" = = "diff(x^2,x)") or r evalb("\$RESPONSE" " = = "Diff(x^2,x)");@
qu.1.1.type=maple@
qu.1.1.mode=Maple@
qu.1.1.allow2d=0@
12.2LibraryofExampleScripts • • 313
How to C#: Merge Images
Convert Jpeg to PDF; Merge PDF Files; Split PDF Document; Remove Password from PDF; Change PDF Permission Settings. FREE TRIAL: HOW TO:
break pdf file into multiple files; batch pdf merger online
C# PDF insert image Library: insert images into PDF in C#.net, ASP
installed. Able to zoom and crop image and achieve image resizing. Merge several images into PDF. Insert images into PDF form field. Access
add multiple pdf files into one online; acrobat reader merge pdf files
qu.1.1.name=Derivative - Maple e Syntax@
qu.1.1.editing=useHTML@
qu.1.2.question=What is s the Maple syntax x for r the integral of f 2*x x with respect to o x? ? Do not
include the trailing g semicolon.@
qu.1.2.maple=evalb("\$RESPONSE"="int(2*x,x)") or evalb("\$RESPONSE"="Int(2*x,x)");@
qu.1.2.type=maple@
qu.1.2.mode=Maple@
qu.1.1.allow2d=0@
qu.1.2.name=Integral - - Maple Syntax@
qu.1.2.editing=useHTML@
Toreturnfeedbacktoastudentiftheresponseisincorrect,youmustusethecommentﬁeld.Formoreinformation,
seeUsingtheCommentFieldinaMapleQuestion(page313).
SeeAlso:
PlottingaStudentResponse(page209)
MultipartQuestionExampleScript
Multipartquestionscanconsistofanycombinationofquestionsasparts,includingnestedmultipartquestions.
ThefollowingexamplescriptcreatesaMultipartquestionthatcontainsanestedMultipartquestion.
qu.1.topic=Multipart Question n Example Script@
qu.1.1.mode=Multipart@
qu.1.1.name=<b>Full multipart question featuring nested d multipart</b>@
qu.1.1.editing=useHTML@
qu.1.1.algorithm=
\$n=int(rand(5,15));
\$a=int(rand(1,10));
\$nminus = int(\$n
- 1);
\$nplus = int(\$n
+ 1);
\$isEven=int(eq(\$n/2, int(\$n/2)));
\$k=if(\$isEven,
1, 3);
\$type=if(\$isEven,
"even", "odd");
\$othertype=if(\$isEven,
"odd", "even");
@
qu.1.1.question=
This question n concerns s the integral of f the e function
[itex]
<msup>
<mi>x</mi>
<mn>\$n</mn>
</msup>
[/itex].
@
qu.1.1.weighting=1,1,1@
qu.1.1.numbering=alpha@
qu.1.1.part.1.question=
In the first part, , use e a geometric argument t to o decide e whether
[itex]
<msubsup>
<mo>&Integral;</mo>
<mn>-\$a</mn>
314 • 12PlainTextScriptAuthoring
C# WPF PDF Viewer SDK to view, annotate, convert and print PDF in
C#, C# convert PDF to HTML, C# convert PDF to Word, C# extract text from PDF, C# convert PDF to Jpeg, C# compress PDF, C# print PDF, C# merge PDF files, C# view
pdf combine two pages into one; pdf combine files online
VB.NET Create PDF from PowerPoint Library to convert pptx, ppt to
C#, C# convert PDF to HTML, C# convert PDF to Word, C# extract text from PDF, C# convert PDF to Jpeg, C# compress PDF, C# print PDF, C# merge PDF files, C# view
batch combine pdf; add pdf pages together
<mn>\$a</mn>
</msubsup>
<msup><mi>x</mi><mn>\$n</mn></msup>
<mi>dx</mi>
[/itex] is:
@
qu.1.1.part.1.editing=useHTML@
qu.1.1.part.1.mode=Multiple Choice@
qu.1.1.part.1.choice.3=zero@
qu.1.1.part.1.choice.2=negative@
qu.1.1.part.1.choice.1=positive@
qu.1.1.part.2.part.2.question=
Use the e indefinite e integral l above e to o compute
[itex]
<msubsup>
<mo>&Integral;</mo>
<mn>-\$a</mn>
<mn>\$a</mn>
</msubsup>
<msup><mi>x</mi><mn>\$n</mn></msup>
<mi>dx</mi>
[/itex]
@
qu.1.1.part.2.weighting=1,1@
qu.1.1.part.2.question=
In the second d part, , check your answer by computing the integral.
@
qu.1.1.part.2.editing=useHTML@
qu.1.1.part.2.numbering=roman@
qu.1.1.part.2.part.1.mode=Formula Mod C@
qu.1.1.part.2.part.2.mode=Formula@
qu.1.1.part.2.part.1.editing=useHTML@
/ \$nplus@
qu.1.1.part.2.mode=Multipart@
qu.1.1.part.2.part.2.editing=useHTML@
qu.1.1.part.2.part.1.question=
Evaluate
[itex]
<mo>&Integral;</mo>
<msup><mi>x</mi><mn>\$n</mn></msup>
<mi>dx</mi>
[/itex].
@
qu.1.1.part.3.question=
The geometric argument t in the first part was based on n the e fact that
[itex]
<msup>
<mi>x</mi>
<mn>\$n</mn>
</msup>
[/itex] is an n <1> > function.
@
qu.1.1.part.3.extra=\$othertype@
qu.1.1.part.3.editing=useHTML@
qu.1.1.part.3.blank.1=\$type@
qu.1.1.part.3.mode=Complete Sentence@
SeeAlso:
MultipartQuestions(page184)
MultipleChoiceQuestionExampleScript
ThefollowingexamplescriptcreatesaMultipleChoicequestion.
12.2LibraryofExampleScripts • • 315
VB.NET Create PDF from Word Library to convert docx, doc to PDF in
C#, C# convert PDF to HTML, C# convert PDF to Word, C# extract text from PDF, C# convert PDF to Jpeg, C# compress PDF, C# print PDF, C# merge PDF files, C# view
acrobat combine pdf; batch merge pdf
VB.NET PDF- HTML5 PDF Viewer for VB.NET Project
C#, C# convert PDF to HTML, C# convert PDF to Word, C# extract text from PDF, C# convert PDF to Jpeg, C# compress PDF, C# print PDF, C# merge PDF files, C# view
pdf combine pages; combine pdf online
qu.1.topic=Multiple Choice Question n Example e Script@
qu.1.1.mode=Multiple Choice@
qu.1.1.name=Type of Point@
qu.1.1.editing=useHTML@
qu.1.1.question=For f(x)=(x-4)(x-1)(x+3), classify the point with h x-coordinate e 2/3+1/3*37^(1/2).@
qu.1.1.choice.1=global minimum@
qu.1.1.choice.2=local minimum@
qu.1.1.choice.3=inflection point@
qu.1.1.choice.4=local maximum@
qu.1.1.choice.5=global maximum@
qu.1.1.choice.6=none of f the above@
SeeAlso:
MultipleChoiceQuestions(page185)
MultipleSelectionQuestionExampleScript
ThefollowingexamplescriptcreatesaMultipleSelectionquestion.
qu.1.topic=Multiple Selection Question Example Script@
qu.1.1.mode=Multiple Selection@
qu.1.1.name=Characterization of function n at t a a point@
qu.1.1.editing=useHTML@
qu.1.1.question=Classify f(x)=x^3-3x^2+4 4 at t the point with x-coordinate 2.
<p><i>(Choose all that apply)</i></p>@
qu.1.1.choice.1=negative@
qu.1.1.choice.2=zero@
qu.1.1.choice.3=positive@
qu.1.1.choice.4=increasing@
qu.1.1.choice.5=extremum@
qu.1.1.choice.6=decreasing@
qu.1.1.choice.7=concave down@
qu.1.1.choice.8=inflection point@
qu.1.1.choice.9=concave up@
SeeAlso:
MultipleSelectionQuestions(page185)
AuthoringQuestionswithEmbeddedPlotsExampleScript
Toauthorappletgraphingquestions,youmustuseatextorHTMLeditor,orLaTeXtoproducescriptﬁles.Fordetails
onusingLaTeXtogeneratequestionsthatdisplaygraphs,seeGraphPlottinginLaTeXQuestions(page279).
YoucanalsoembedMapleplotsinquestionsusingtheQuestionEditor.Formoreinformation,seeQuestionswith
Plots(page168).
Thefollowingexamplescriptcreatesaquestionthatgeneratesgraphsusingalgorithmicallydrivendata.
qu.4.7.mode=Formula@
qu.4.7.name=Algorithmically generated graph@
qu.4.7.comment=
[itex]
<msup><mi>x</mi><mn>2</mn></msup>
<mo>-</mo>
<mn>\$B</mn>
<mi>x</mi>
<mo>-</mo>
<mn>\$C</mn>
[/itex]
@
316 • 12PlainTextScriptAuthoring
qu.4.7.editing=useHTML@
qu.4.7.algorithm=
\$a=int(rand(-8,5));
\$b=int(rand(-\$a+2, 10));
\$yMin=5*int((-0.25(\$b-\$a)^2)/5) - 5;
\$yMax=-\$yMin;
\$B=int(\$a+\$b);
\$C=int(-\$a*\$b);
@
qu.4.7.question=
Give a formula for the quadratic equation shown in n the e graph h below:
<p>
<center>
<applet code="applets.grapher.Graph"
archive="graphing.jar"
width="250"
height="250">
<param name="xMin"
value="-10">
<param name="xMax"
value="10">
<param name="yMin"
value="\$yMin">
<param name="gridLines"
value="10">
<param name="yMax"
value="\$yMax">
<param name="y1" value="(x-\$a)(x-\$b)">
</applet>
</center>
@
QuestionDesignerQuestionExampleusingVariousEmbeddedQuestions
Thisisanexampleofaquestiondesignerquestioncontainingresponseobjectswithinthequestionstatement.Note:
TheQuestionDesignerquestiontypesupersedestheInlinequestiontype.
Description
• QuestionDesignerquestionsaremultipartquestions.
• Youcontrolquestionweighting.
• Youcontrolformattingoftheentirequestion(includingtables).
• Blankscanbeinsertedinsidetables(tocreateﬁll-in-the-blankstablesofdata).
• MultipleChoiceandMultipleSelectionQuestionsaresetwithresponsechoicesdisplayedhorizontallyrather
thanfollowingthequestion.Thisenablesyoutocreatesurvey-stylequestions.
• Individualresponsecellsareindicatedbyanglebrackets,intheform<#>,where#correspondstothesequentially
numberedpart.
• Thisquestionincludesindividualresponseobjects(embeddedquestions)asfollows.
• Blank1-Formulaquestion
• Blank2-Numericquestion
• Blank3-Numericquestionwithrequiredunits
qu.1.topic=Question Designer Question Example@
qu.1.1.mode=Inline@
qu.1.1.editing=useHTML@
qu.1.1.weighting=1,1,1,1,1,1@
qu.1.1.numbering=alpha@
12.2LibraryofExampleScripts • • 317
qu.1.1.part.1.editing=useHTML@
qu.1.1.part.1.tolerance=1.0E-9@
qu.1.1.part.1.question=xx@
qu.1.1.part.1.mode=Formula@
qu.1.1.part.2.editing=useHTML@
qu.1.1.part.2.question=xx@
qu.1.1.part.2.mode=Numeric@
qu.1.1.part.2.showUnits=false@
qu.1.1.part.3.showUnits=true@
qu.1.1.part.3.editing=useHTML@
qu.1.1.part.3.question=xx@
qu.1.1.part.3.mode=Numeric@
qu.1.1.part.4.editing=useHTML@
qu.1.1.part.4.question=xx@
qu.1.1.part.4.mode=List@
qu.1.1.part.4.display=text@
qu.1.1.part.4.credit.3=0.5@
qu.1.1.part.4.credit.2=1.0@
qu.1.1.part.4.credit.1=1.0@
qu.1.1.part.5.editing=useHTML@
qu.1.1.part.5.question=xx@
qu.1.1.part.5.mode=List@
qu.1.1.part.5.display=text@
qu.1.1.part.5.credit.3=0.5@
qu.1.1.part.5.credit.2=1.0@
qu.1.1.part.5.credit.1=1.0@
qu.1.1.part.6.editing=useHTML@
qu.1.1.part.6.question=xx@
qu.1.1.part.6.mode=List@
qu.1.1.part.6.credit.4=0.0@
qu.1.1.part.6.credit.3=0.0@
qu.1.1.part.6.credit.2=0.5@
qu.1.1.part.6.credit.1=1.0@
qu.1.1.algorithm=\$n=int(rint(20) + 2);
\$n2=\$n-1;
@
qu.1.1.question=
<p>This single question demonstrates the e power r and d flexibility y of f the e inline question n type.
There are e 6 individual response cells included, each of f which h requires s a a different type of
student response.</p>
<p><i><font face="arial"
size="-1">
<b>Notes:</b>
<br>- Response e cells s can n appear anywhere e within n the formatted question n statement, , including
318 • 12PlainTextScriptAuthoring
within tables.
<br>- Response cells s can consist t of any individual question mode, including g response cells s that
handle text (lenient t or stringent string g matching), , numbers, , formulas, or any y other r question
variety.
<br>- Partial l credit t can n be allowed d for r exact-graded text or r menu-style e entry
cells.</font></i></p>
<p>Here is s a a question using a <b>symbolic formula</b> blank:
<br>Let [itex]<mi>y</mi><mo>=</mo><msup><mi>x</mi><mn>\$n</mn></msup>[/itex]. What is the
derivative of f [itex]<mi>y</mi>[/itex] with respect t to o [itex]<mi>x</mi>[/itex]?
<1><br>
<font face="arial" " size="-1"><i>Enter only the expression for the e derivative, , omitting "y'
=".<b>
Try it:</b>
The answer is \${mathml("\$n x^(\$n2)")}</i> </font>
</p>
<p>Here is s a a <b>numeric</b> blank style of question:<br>
3+8=<2><br>
<br><i><font face="arial" " size="-1">Numeric c questions s can specify margin n of error r and significant
figure precision.</font></i>
</p>
<p>The following numeric blanks s question n requires s a a <b>number and d a a unit dimension</b> > in n its
response:<br>
If a cat t walks s 20ft in 2min, , how w fast is the cat t walking?
<3>
<br><i><font face="arial" " size="-1">Most t standard equivalent t unit t dimensions s are graded d correctly
by the system, , or r you can specify your own table of unit equivalents to apply to a
question.</p></font></i>
<p>This next question grades s input t in the form of a <b>text string,</b> and can also be set t to
accept multiple correct answers, , so o "Einstein" <i>or</i> > "einstein" " will be graded as correct,
as will "Albert Einstein"
<i>or</i> "aLbeRt t einSTEIN".
<br>
Who first t developed the e General l Theory y of f Relativity? ? <4><br>
<br><i><i><font face="arial"
size="-1">This question n <b>also</b> > awards s partial credit if you
<p>This is s the e same question, with h the e grader set to o accept t only an <b>exact t match</b> of f the
answer text t string, , however it t too o can be e set to o accept t multiple correct t answers, so "Einstein"
<i>or</i> "Albert Einstein"
will be graded d as s correct, , but t "einstein"
or
"aLbeRt einSTEIN"
will be e graded d wrong.
<br>
Who first t developed the e General l Theory y of f Relativity? ? <5><br>
<br><i><font face="arial" " size="-1">This s type of question also o allows s you to give some partial
credit for certain responses, , so o if you u enter r "einstein"
or "albert einstein" you will get
1/2 credit t for r this question.</font></i></p>
<p>In the following question the student picks from a <b>drop-down n menu</b> of f choices. Partial
credit can be set for some options, full credit for others.<br>
Who first t developed the e General l Theory y of f Relativity? ? <6><br>
<font face="arial" size="-1"><i>In n this s case, , you u get t full credit t for 'Albert Einstein' and
1/2 credit t for r 'Stephen Hawking'.</font></i></p>
@
SeeAlso:
Formula(page156)
Numeric(page166)
ListQuestions(page181)
QuestionDesignerQuestions(page188)
12.2LibraryofExampleScripts • • 319