-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
=
committed
Nov 15, 2015
1 parent
9d3bec7
commit 98b23ce
Showing
3 changed files
with
70 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
test/samples/custom/runtime/exits/exitsectionfromendofsection.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<assessmentTest xmlns="http://www.imsglobal.org/xsd/imsqti_v2p1" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p1 http://www.taotesting.com/xsd/qticompact_v1p0.xsd" | ||
identifier="exitsectionfromendofsection" title="Exit Section End of Test"> | ||
<!-- In this example, If Q01 is correctly responded, the candidate is redirected to the | ||
to the end of the section via EXIT_SECTION. --> | ||
<testPart identifier="P01" navigationMode="linear" submissionMode="individual"> | ||
<assessmentSection identifier="S01" title="Section1" visible="true"> | ||
<assessmentItemRef identifier="Q01" href="./Q01.xml" timeDependent="false"> | ||
<branchRule target="EXIT_SECTION"> | ||
<gt> | ||
<max> | ||
<testVariables sectionIdentifier="S01" variableIdentifier="SCORE"/> | ||
</max> | ||
<baseValue baseType="float">0</baseValue> | ||
</gt> | ||
</branchRule> | ||
<responseDeclaration identifier="RESPONSE" cardinality="single" baseType="identifier"> | ||
<correctResponse> | ||
<value>ChoiceA</value> | ||
</correctResponse> | ||
</responseDeclaration> | ||
<outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float"> | ||
<defaultValue> | ||
<value>0</value> | ||
</defaultValue> | ||
</outcomeDeclaration> | ||
<responseProcessing template="http://www.imsglobal.org/question/qti_v2p1/rptemplates/match_correct"/> | ||
</assessmentItemRef> | ||
</assessmentSection> | ||
|
||
<assessmentSection identifier="S02" title="Section2" visible="true"> | ||
<assessmentItemRef identifier="Q02" href="./Q02.xml" timeDependent="false"> | ||
<responseDeclaration identifier="RESPONSE" cardinality="single" baseType="identifier"> | ||
<correctResponse> | ||
<value>ChoiceB</value> | ||
</correctResponse> | ||
</responseDeclaration> | ||
<outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float"> | ||
<defaultValue> | ||
<value>0</value> | ||
</defaultValue> | ||
</outcomeDeclaration> | ||
<responseProcessing template="http://www.imsglobal.org/question/qti_v2p1/rptemplates/match_correct"/> | ||
</assessmentItemRef> | ||
</assessmentSection> | ||
</testPart> | ||
</assessmentTest> |