EasyFoundation function process%QUESTION.NUMBER%(QNo) { if ( document.forms.name != "FEEDBACK" ) { QT = QuestionText%QUESTION.NUMBER% ET = EquationText%QUESTION.NUMBER% COR = Correct%QUESTION.NUMBER% nwidth=getFontSize()/16*370 nheight=getFontSize()/16*70 a1="" a2="" a3="" ANS= "" SHOW = "Certainly if a or b is zero then the equation is true ... but what about if both of them are zero? This depends on the precise mathematical meaning of the word or.

In ordinary English, the word or sometimes means that a and b cannot be zero at the same time, i.e. it is the exclusive or.
However, here a could equal b and they could both be zero.
The mathematical definition of or includes this case, i.e. it is the inclusive or."; for ( var i=5; iNone of these!" ) {document.forms.elements[item+3].value = "Your answer "+document.forms.elements[item].value+ " was correct. The actual answer is "+Answer%QUESTION.NUMBER%+".
"} else {document.forms.elements[item+3].value = "Your answer "+document.forms.elements[item].value+" was correct.
"} } else { if (document.forms.elements[item].value==Distractor1%QUESTION.NUMBER%) {document.forms.elements[item+3].value= "1). Your answer "+document.forms.elements[item].value+" should have been "+COR+".
"+ANS+"
"+SHOW+"
" } else { if (document.forms.elements[item].value==Distractor2%QUESTION.NUMBER%) {document.forms.elements[item+3].value= "2). Your answer "+document.forms.elements[item].value+" should have been "+COR+".
"+ANS+"
"+SHOW+"
" } else { if (document.forms.elements[item].value==Distractor3%QUESTION.NUMBER%) {document.forms.elements[item+3].value= "3). Your answer "+document.forms.elements[item].value+" should have been "+COR+".
"+ANS+"
"+SHOW+"
" } else { if (document.forms.elements[item].value==Distractor4%QUESTION.NUMBER%) {document.forms.elements[item+3].value= "4). Your answer "+document.forms.elements[item].value+" should have been "+COR+".
"+ANS+"
"+SHOW+"
" } else { if (document.forms.elements[item].value=="None of these!") {document.forms.elements[item+3].value= "5). Your answer "+document.forms.elements[item].value+" should have been "+COR+".
"+ANS+"
"+SHOW+"
" } else { if (document.forms.elements[item].value=="I don't know!") {document.forms.elements[item+3].value= "6). You did not know! The answer should have been "+COR+".
"+ANS+"
"+SHOW+"
" } } } } } } } } } } document.forms.elements[item+3].value = QT + ET + document.forms.elements[item+3].value } Choice%QUESTION.NUMBER% = new Array(4) function question%QUESTION.NUMBER%() { QuestionText%QUESTION.NUMBER% = "Given the following equation, which statement is always true?
"; myNumArray = displayarray( 2, 2, 10, 0); m = myNumArray; n = myNumArray; nwidth=getFontSize()/16*200 nheight=getFontSize()/16*60 m1="" m2="" m3="" e1="" Correct%QUESTION.NUMBER% = "a or b is zero" ; Distractor1%QUESTION.NUMBER% = "a is zero" ; Distractor2%QUESTION.NUMBER% = "b is zero" ; Distractor3%QUESTION.NUMBER% = "a and b are zero" ; Distractor4%QUESTION.NUMBER% = "a and b have opposite signs"; EquationText%QUESTION.NUMBER% = m1 + m2 + m3 + e1 + "

" NOT = Math.ceil(8*Math.random()); xxx = Math.ceil(4*Math.random()); if ( NOT==1 ) { Answer%QUESTION.NUMBER% = Correct%QUESTION.NUMBER% Correct%QUESTION.NUMBER% = "None of these!" Choice%QUESTION.NUMBER%[xxx] = Distractor4%QUESTION.NUMBER% } else { Choice%QUESTION.NUMBER%[xxx] = Correct%QUESTION.NUMBER% } Choice%QUESTION.NUMBER%[xxx+1] = Distractor1%QUESTION.NUMBER% Choice%QUESTION.NUMBER%[xxx+2] = Distractor2%QUESTION.NUMBER% Choice%QUESTION.NUMBER%[xxx+3] = Distractor3%QUESTION.NUMBER% for ( var yyy=xxx; yyy<=xxx+3; yyy++ ) { if ( yyy>4 ) { Choice%QUESTION.NUMBER%[yyy-4] = Choice%QUESTION.NUMBER%[yyy] } } if ( NOT==1 ) { Choice%QUESTION.NUMBER% = Correct%QUESTION.NUMBER% Choice%QUESTION.NUMBER% = "I don't know!" } else { Choice%QUESTION.NUMBER% = "None of these!" Choice%QUESTION.NUMBER% = "I don't know!" } radio = "" for ( i=1; i<7; i++ ) { if ( i==1 ) {document.write(QuestionText%QUESTION.NUMBER% + EquationText%QUESTION.NUMBER% + radio + Choice%QUESTION.NUMBER%[i] + "
")} else {document.write(radio + Choice%QUESTION.NUMBER%[i] + "
")} } document.write('') document.write('') } if ( document.forms.name == "FEEDBACK" ) {} else {question%QUESTION.NUMBER%()} ]]> "0" INCLUDES NOCASE "Correct"Your answer is correct.]]> "0" INCLUDES NOCASE "1)."Your answer is incorrect.
The only way to get 0 is if one (or both) of the numbers a, b is (are) zero.
]]>
"0" INCLUDES NOCASE "2)."Your answer is incorrect.
The only way to get 0 is if one (or both) of the numbers a, b is (are) zero.
]]>
"0" INCLUDES NOCASE "3)."Your answer is incorrect.
The only way to get 0 is if one (or both) of the numbers a, b is (are) zero.
]]>
"0" INCLUDES NOCASE "4)."Your answer is incorrect.
The only way to get 0 is if one (or both) of the numbers a, b is (are) zero.
]]>
"0" INCLUDES NOCASE "5)."Your answer "None Of These" was wrong.
The only way to get 0 is if one (or both) of the numbers a, b is (are) zero.]]>
"0" INCLUDES NOCASE "6)."You answered Did Not Know to the question.
The only way to get 0 is if one (or both) of the numbers a, b is (are) zero. ]]>
OTHERYou didn't select any of the options!
The only way to get 0 is if one (or both) of the numbers a, b is (are) zero.
Seek help from a tutor if you are still unsure.]]>
if (document.forms.name=="FEEDBACK") { Count=document.forms.elements.length document.write(document.forms.elements[Count-1].value) var titleofpopup = "Related material"; var help = wheretolook("%QUESTION.TAGS%","%QUESTION.TOPIC%"); document.write("

"+""+"
") } ]]> EasyFoundation function process%QUESTION.NUMBER%(QNo) { if ( document.forms.name != "FEEDBACK" ) { QT = QuestionText%QUESTION.NUMBER% ET = EquationText%QUESTION.NUMBER% COR = Correct%QUESTION.NUMBER% nwidth=getFontSize()/16*370 nheight=getFontSize()/16*70 a1="" a2="" a3="" ANS= "" SHOW = "Certainly if a = 0, then b = 0 as well if the equation is to hold. Similarly if b = 0, then a = 0 as well if the equation is to hold.

However, the equation can still hold if neither are zero and the terms cancel each other (one positive, one negative). Explicitly we have a = -"+n+" b / "+m+" or b = -"+m+" a / "+n+". Either way, a and b have opposite signs.

Note in ordinary English, the word or sometimes means that a and b cannot be zero at the same time, i.e. it is the exclusive or.

However, here a could equal 0, so then b would be zero too (and vice versa).
The mathematical definition of or includes this case, i.e. it is the inclusive or."; for ( var i=5; iNone of these!" ) {document.forms.elements[item+3].value = "Your answer "+document.forms.elements[item].value+ " was correct. The actual answer is "+Answer%QUESTION.NUMBER%+".
"} else {document.forms.elements[item+3].value = "Your answer "+document.forms.elements[item].value+" was correct.
"} } else { if (document.forms.elements[item].value==Distractor1%QUESTION.NUMBER%) {document.forms.elements[item+3].value= "1). Your answer "+document.forms.elements[item].value+" should have been "+COR+".
"+ANS+"
"+SHOW+"
" } else { if (document.forms.elements[item].value==Distractor2%QUESTION.NUMBER%) {document.forms.elements[item+3].value= "2). Your answer "+document.forms.elements[item].value+" should have been "+COR+".
"+ANS+"
"+SHOW+"
" } else { if (document.forms.elements[item].value==Distractor3%QUESTION.NUMBER%) {document.forms.elements[item+3].value= "3). Your answer "+document.forms.elements[item].value+" should have been "+COR+".
"+ANS+"
"+SHOW+"
" } else { if (document.forms.elements[item].value==Distractor4%QUESTION.NUMBER%) {document.forms.elements[item+3].value= "4). Your answer "+document.forms.elements[item].value+" should have been "+COR+".
"+ANS+"
"+SHOW+"
" } else { if (document.forms.elements[item].value=="None of these!") {document.forms.elements[item+3].value= "5). Your answer "+document.forms.elements[item].value+" should have been "+COR+".
"+ANS+"
"+SHOW+"
" } else { if (document.forms.elements[item].value=="I don't know!") {document.forms.elements[item+3].value= "6). You did not know! The answer should have been "+COR+".
"+ANS+"
"+SHOW+"
" } } } } } } } } } } document.forms.elements[item+3].value = QT + ET + document.forms.elements[item+3].value } Choice%QUESTION.NUMBER% = new Array(4) function question%QUESTION.NUMBER%() { QuestionText%QUESTION.NUMBER% = "Given the following equation, which statement is always true?
"; myNumArray = displayarray( 2, 2, 10, 0); m = myNumArray; n = myNumArray; nwidth=getFontSize()/16*200 nheight=getFontSize()/16*60 m1="" m2="" m3="" e1="" Correct%QUESTION.NUMBER% = "a or b is zero or a and b have opposite signs" ; Distractor1%QUESTION.NUMBER% = "a or b is zero" ; Distractor2%QUESTION.NUMBER% = "a or b is zero or a and b have the same signs" ; Distractor3%QUESTION.NUMBER% = "a and b are zero" ; Distractor4%QUESTION.NUMBER% = "a and b have opposite signs"; EquationText%QUESTION.NUMBER% = m1 + m2 + m3 + e1 + "

" NOT = Math.ceil(8*Math.random()); xxx = Math.ceil(4*Math.random()); if ( NOT==1 ) { Answer%QUESTION.NUMBER% = Correct%QUESTION.NUMBER% Correct%QUESTION.NUMBER% = "None of these!" Choice%QUESTION.NUMBER%[xxx] = Distractor4%QUESTION.NUMBER% } else { Choice%QUESTION.NUMBER%[xxx] = Correct%QUESTION.NUMBER% } Choice%QUESTION.NUMBER%[xxx+1] = Distractor1%QUESTION.NUMBER% Choice%QUESTION.NUMBER%[xxx+2] = Distractor2%QUESTION.NUMBER% Choice%QUESTION.NUMBER%[xxx+3] = Distractor3%QUESTION.NUMBER% for ( var yyy=xxx; yyy<=xxx+3; yyy++ ) { if ( yyy>4 ) { Choice%QUESTION.NUMBER%[yyy-4] = Choice%QUESTION.NUMBER%[yyy] } } if ( NOT==1 ) { Choice%QUESTION.NUMBER% = Correct%QUESTION.NUMBER% Choice%QUESTION.NUMBER% = "I don't know!" } else { Choice%QUESTION.NUMBER% = "None of these!" Choice%QUESTION.NUMBER% = "I don't know!" } radio = "" for ( i=1; i<7; i++ ) { if ( i==1 ) {document.write(QuestionText%QUESTION.NUMBER% + EquationText%QUESTION.NUMBER% + radio + Choice%QUESTION.NUMBER%[i] + "
")} else {document.write(radio + Choice%QUESTION.NUMBER%[i] + "
")} } document.write('') document.write('') } if ( document.forms.name == "FEEDBACK" ) {} else {question%QUESTION.NUMBER%()} ]]> "0" INCLUDES NOCASE "Correct"Your answer is correct.]]> "0" INCLUDES NOCASE "1)."Your answer is incorrect.
]]>
"0" INCLUDES NOCASE "2)."Your answer is incorrect.
]]>
"0" INCLUDES NOCASE "3)."Your answer is incorrect.
]]>
"0" INCLUDES NOCASE "4)."Your answer is incorrect.
]]>
"0" INCLUDES NOCASE "5)."Your answer "None Of These" was wrong.
]]>
"0" INCLUDES NOCASE "6)."You answered Did Not Know to the question.
]]>
OTHERYou didn't select any of the options!
Seek help from a tutor if you are still unsure.]]>
if (document.forms.name=="FEEDBACK") { Count=document.forms.elements.length document.write(document.forms.elements[Count-1].value) var titleofpopup = "Related material"; var help = wheretolook("%QUESTION.TAGS%","%QUESTION.TOPIC%"); document.write("

"+""+"
") } ]]>