diff --git a/src/lab/exp7/quizconfig.js b/src/lab/exp7/quizconfig.js
index c2ce470..9938b2c 100644
--- a/src/lab/exp7/quizconfig.js
+++ b/src/lab/exp7/quizconfig.js
@@ -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
diff --git a/src/lab/exp7/results.htm b/src/lab/exp7/results.htm
index 095bcfe..4d04470 100644
--- a/src/lab/exp7/results.htm
+++ b/src/lab/exp7/results.htm
@@ -22,7 +22,7 @@
-
The questions you got wrong:
+
The questions you got correct:
@@ -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