Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lab/exp1/results.htm
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
</script>

<input type="button" value="Take the quiz again" name="B1"
onClick="history.go(-1)" onmouseover="" style="cursor: pointer;"> <input type="button" value="View solution" name="B2"
onClick="history.go(-1)" onmouseover="" style="cursor: pointer;"><input type="button" value="View solution" name="B2"
onClick="showsolution()" onmouseover="" style="cursor: pointer;"></p>
</center></div>
</form>
Expand Down
2 changes: 1 addition & 1 deletion src/lab/exp7/quizconfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ for (q=1;q<=totalquestions;q++){
actualchoices[q]=thequestion[c].value
}

if (actualchoices[q]!=correctchoices[q]){ //process an incorrect choice
if (actualchoices[q]==correctchoices[q]){ //process an incorrect choice
if (incorrect==null)
incorrect=q
else
Expand Down
6 changes: 3 additions & 3 deletions src/lab/exp7/results.htm
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<td height="25"><p><input type="text" name="p" size="24"></td>
</tr>
<tr>
<td height="17" bgcolor="#D3FFA8"><strong><font face="Arial">The questions you got wrong:</font></strong></td>
<td height="17" bgcolor="#D3FFA8"><strong><font face="Arial">The questions you got correct:</font></strong></td>
<td height="17"><p><textarea name="T2" rows="3" cols="24" wrap="virtual"></textarea></td>
</tr>
<tr>
Expand Down Expand Up @@ -55,8 +55,8 @@
incorrect=incorrect[1].split("/")
if (incorrect[incorrect.length-1]=='b')
incorrect=""
document.result[0].value=totalquestions-incorrect.length+" out of "+totalquestions
document.result[2].value=(totalquestions-incorrect.length)/totalquestions*100+"%"
document.result[0].value=incorrect.length+" out of "+totalquestions
document.result[2].value=(incorrect.length)/totalquestions*100+"%"
for (temp=0;temp<incorrect.length;temp++)
document.result[1].value+=incorrect[temp]+", "

Expand Down