"} else {document.forms[0].elements[item+3].value = "Your answer,

"+ANS+"

"+SHOW+" "} document.forms[0].elements[item+3].value = QuestionText0%QUESTION.NUMBER%+Equation0%QUESTION.NUMBER%+QuestionText1%QUESTION.NUMBER%+Equation1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%+ document.forms[0].elements[item+3].value } function question%QUESTION.NUMBER%() { myBArray = displayarray( 1, -3, 6, 1); b = myBArray[0]; b1=b+1; myCArray = displayarray( 1, 6, 13, 1); c = myCArray[0]; c1=c-1; ///////////////// U set n = displayarray( 1, 5, 7, 1); myUArray = displayarray( n, -4, 15, 1); u_set = ""; for(ip=0; ip

"; QuestionText1%QUESTION.NUMBER% = "

input the following set explicitly with elements in numerical order:

"; QuestionText2%QUESTION.NUMBER% = "

__Important:__ input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.

If you think the set has an infinite number of elements, input

- 5 consecutive elements at the start e.g. {7,8,9,10,11...},
- or 5 consecutive elements at the end e.g. {...-1,0,1,2,3},
- or 5 consecutive elements centred around 0 e.g.{...-4,-2,0,2,4...} or 6 consecutive elements centred around 0 e.g.{...-9,-3,-1,1,3,9...}.

If you think the set is empty, input

"; QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%; aset%QUESTION.NUMBER% = ""; for(ib = b; ib < c; ib++){ aset%QUESTION.NUMBER% += ib+","} aset%QUESTION.NUMBER% += (c)+""; intersection = set_intersection(aset%QUESTION.NUMBER%,universal_string); if(intersection == ""){Correct%QUESTION.NUMBER% = "{}"}else{Correct%QUESTION.NUMBER% = "{"+intersection+"}"}; //document.write(Correct%QUESTION.NUMBER%+"

"); Feedback1%QUESTION.NUMBER%="

The universal set is a set containing all elements of a problem under consideration. In the question, the universal set is given by U = {"+universal+"}.

Set A has to be determined as a selection of elements from the set U such that x is greater than or equal to "+b+" and less than or equal to "+c+".

Therefore, the correct answer should be "+Correct%QUESTION.NUMBER%+" "; Feedback2%QUESTION.NUMBER%="

The universal set is a set containing all elements of a problem under consideration. In the question, the universal set is given by U = {"+universal+"}.

Set A has to be determined as a selection of elements from the set U such that x is greater than or equal to "+b+" and less than or equal to "+c+".

Since the universal set does not contain any numbers between "+b+" and "+c+" (both inclusive) set A is empty and so the correct answer should be "+Correct%QUESTION.NUMBER%+""; feedback = ""; if(Correct%QUESTION.NUMBER% == "{}"){feedback = Feedback2%QUESTION.NUMBER%;} else {feedback = Feedback1%QUESTION.NUMBER%;} Feedback%QUESTION.NUMBER% = feedback; document.write(QuestionText0%QUESTION.NUMBER%+Equation0%QUESTION.NUMBER%+QuestionText1%QUESTION.NUMBER%+Equation1%QUESTION.NUMBER%); document.write("

*A* = ")
document.write(QuestionText2%QUESTION.NUMBER%);
document.write("")
}
if (document.forms[0].name=="FEEDBACK")
{}
else
{question%QUESTION.NUMBER%()}
]]>

"+""+"

") } ]]>

"} else {document.forms[0].elements[item+3].value = "Your answer,

"+ANS+"

"+SHOW+" "} document.forms[0].elements[item+3].value = QuestionText0%QUESTION.NUMBER%+Equation0%QUESTION.NUMBER%+QuestionText1%QUESTION.NUMBER%+Equation1%QUESTION.NUMBER%+ QuestionText2%QUESTION.NUMBER%+document.forms[0].elements[item+3].value } function question%QUESTION.NUMBER%() { myBArray = displayarray( 1, -3, 6, 1); b = myBArray[0]; b1=b+1; myCArray = displayarray( 1, 7, 13, 1); c = myCArray[0]; c1=c-1; ///////////////// U set n = displayarray( 1, 5, 7, 1); myUArray = displayarray( n, -4, 15, 1); u_set = ""; for(ip=0; ip

"; QuestionText1%QUESTION.NUMBER% = "

input the following set explicitly with elements in numerical order:

"; QuestionText2%QUESTION.NUMBER% = "

__Important:__ input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.

If you think the set has an infinite number of elements, input

- 5 consecutive elements at the start e.g. {7,8,9,10,11...},
- or 5 consecutive elements at the end e.g. {...-1,0,1,2,3},
- or 5 consecutive elements centred around 0 e.g.{...-4,-2,0,2,4...} or 6 consecutive elements centred around 0 e.g.{...-9,-3,-1,1,3,9...}.

If you think the set is empty, input

"; QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%; if(b == 6 && c==7){aset%QUESTION.NUMBER% = "{}"} else{ aset%QUESTION.NUMBER% = ""; for(ib = b+1; ib < c-1; ib++){ aset%QUESTION.NUMBER% += ib+","} aset%QUESTION.NUMBER% += (c-1)+""; } intersection = set_intersection(aset%QUESTION.NUMBER%,universal_string); Correct%QUESTION.NUMBER%=""; if(intersection == ""){Correct%QUESTION.NUMBER% = "{}"}else{Correct%QUESTION.NUMBER% = "{"+intersection+"}"}; //document.write(Correct%QUESTION.NUMBER%+"

"); Feedback1%QUESTION.NUMBER%="

The universal set is a set containing all elements of a problem under consideration. In the question, the universal set is given by U = {"+universal+"}. Set A has to be determined as a selection of elements from the set U such that x is greater than "+b+" and less than "+c+". Therefore, the correct answer should be "+Correct%QUESTION.NUMBER%+" "; Feedback2%QUESTION.NUMBER%="

The universal set is a set containing all elements of a problem under consideration. In the question, the universal set is given by U = {"+universal+"}. Set A has to be determined as a selection of elements from the set U such that x is greater than "+b+" and less than "+c+". Since the universal set does not contain any numbers between "+b+" and "+c+" (both exclusive) set A is empty and so the correct answer should be "+Correct%QUESTION.NUMBER%+""; feedback = ""; if(Correct%QUESTION.NUMBER% == "{}"){feedback = Feedback2%QUESTION.NUMBER%;} else {feedback = Feedback1%QUESTION.NUMBER%;} Feedback%QUESTION.NUMBER% = feedback; document.write(QuestionText0%QUESTION.NUMBER%+Equation0%QUESTION.NUMBER%+QuestionText1%QUESTION.NUMBER%+Equation1%QUESTION.NUMBER%); document.write("

*A* = ")
document.write(QuestionText2%QUESTION.NUMBER%);
document.write("")
}
if (document.forms[0].name=="FEEDBACK")
{}
else
{question%QUESTION.NUMBER%()}
]]>

"+""+"

") } ]]>

"} else {document.forms[0].elements[item+3].value = "Your answer,

"+ANS+"

"+SHOW+" "} document.forms[0].elements[item+3].value = QuestionText0%QUESTION.NUMBER%+Equation0%QUESTION.NUMBER%+QuestionText1%QUESTION.NUMBER%+Equation1%QUESTION.NUMBER%+ QuestionText2%QUESTION.NUMBER%+document.forms[0].elements[item+3].value } function question%QUESTION.NUMBER%() { myBArray = displayarray( 1, -5, 9, 1); b = myBArray[0]; myCArray = displayarray( 1, b, 9, 1); c = myCArray[0]; nwidth=getFontSize()/16*200 nheight=getFontSize()/16*60 m1="" Equation1%QUESTION.NUMBER% = m1+m2+m3+e1; e0=""; Equation0%QUESTION.NUMBER% = m1+m2+m3+e0; QuestionText0%QUESTION.NUMBER% = "With the set of natural numbers is defined as

"; QuestionText1%QUESTION.NUMBER% = "

input the following set explicitly with elements in numerical order:

"; QuestionText2%QUESTION.NUMBER% = "

__Important:__ input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.

If you think the set has an infinite number of elements, input

- 5 consecutive elements at the start e.g. {7,8,9,10,11...},
- or 5 consecutive elements at the end e.g. {...-1,0,1,2,3},
- or 5 consecutive elements centred around 0 e.g.{...-4,-2,0,2,4...} or 6 consecutive elements centred around 0 e.g.{...-9,-3,-1,1,3,9...}.

If you think the set is empty, input

"; QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%; if(c <= 0){Correct%QUESTION.NUMBER% = "{}"} else if(b<=0 && c>0){ Correct%QUESTION.NUMBER% = "{"; for(ib = 1; ib < c; ib++){ Correct%QUESTION.NUMBER% += ib+","} Correct%QUESTION.NUMBER% += (c)+"}"; } else{ Correct%QUESTION.NUMBER% = "{"; for(ib = b; ib < c; ib++){ Correct%QUESTION.NUMBER% += ib+","} Correct%QUESTION.NUMBER% += (c)+"}"; } //document.write(Correct%QUESTION.NUMBER%+"

"); Feedback1%QUESTION.NUMBER%="

You have to be able to read given set as 'x is a natural number greater than or equal to "+b+" and less than or equal to "+c+"'.

Then, you have to recognise "+b+" and "+c+" are NOT natural numbers.

Therefore, the given set is empty and so the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback2%QUESTION.NUMBER%="

You have to be able to read given set as 'x is a natural number greater than or equal to "+b+" and less than or equal to "+c+"'.

Then, you have to recognise "+b+" is NOT a natural number.

Therefore, the given set is empty and so the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback3%QUESTION.NUMBER%="

You have to be able to read given set as 'x is a natural number greater than or equal to "+b+" and less than or equal to "+c+"'.

Then, you have to recognise "+b+" is NOT a natural number and "+c+" is a natural number.

Since 1 is the smallest natural number the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback4%QUESTION.NUMBER%="

Then, you have to recognise "+b+" and "+c+" are natural numbers.

Therefore, the given set contains all natural numbers between "+b+" and "+c+" (inclusive) and so the correct answer should be "+Correct%QUESTION.NUMBER%+" "; Feedback5%QUESTION.NUMBER%="

Then, you have to recognise "+b+" is a natural number and the only possible element of the given set.

Hence, the correct answer should be "+Correct%QUESTION.NUMBER%+""; feedback = ""; if (c<=0 && b!=c){feedback = Feedback1%QUESTION.NUMBER%;} else if (b<=0 && b==c){feedback = Feedback2%QUESTION.NUMBER%;} else if (b<=0 && c>0){feedback = Feedback3%QUESTION.NUMBER%;} else if (b>0 && b==c){feedback = Feedback5%QUESTION.NUMBER%;} else {feedback = Feedback4%QUESTION.NUMBER%;} Feedback%QUESTION.NUMBER% = feedback; document.write(QuestionText0%QUESTION.NUMBER%+Equation0%QUESTION.NUMBER%+QuestionText1%QUESTION.NUMBER%+Equation1%QUESTION.NUMBER%); document.write("

*A* = ")
document.write(QuestionText2%QUESTION.NUMBER%);
document.write("")
}
if (document.forms[0].name=="FEEDBACK")
{}
else
{question%QUESTION.NUMBER%()}
]]>

"+""+"

") } ]]>

"} else {document.forms[0].elements[item+3].value = "Your answer,

"+ANS+"

"+SHOW+" "} document.forms[0].elements[item+3].value = QuestionText0%QUESTION.NUMBER%+Equation0%QUESTION.NUMBER%+QuestionText1%QUESTION.NUMBER%+Equation1%QUESTION.NUMBER%+ QuestionText2%QUESTION.NUMBER%+document.forms[0].elements[item+3].value } function question%QUESTION.NUMBER%() { myBArray = displayarray( 1, -5, 9, 1); b = myBArray[0]; b1=b+1; myCArray = displayarray( 1, b, 9, 1); c = myCArray[0]; c1=c-1; nwidth=getFontSize()/16*200 nheight=getFontSize()/16*60 m1="" Equation1%QUESTION.NUMBER% = m1+m2+m3+e1; e0=""; Equation0%QUESTION.NUMBER% = m1+m2+m3+e0; QuestionText0%QUESTION.NUMBER% = "With the set of natural numbers is defined as

"; QuestionText1%QUESTION.NUMBER% = "

input the following set explicitly with elements in numerical order:

"; QuestionText2%QUESTION.NUMBER% = "

__Important:__ input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.

If you think the set has an infinite number of elements, input

- 5 consecutive elements at the start e.g. {7,8,9,10,11...},
- or 5 consecutive elements at the end e.g. {...-1,0,1,2,3},

If you think the set is empty, input

"; QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%; if(c <= 1 || b==c){Correct%QUESTION.NUMBER% = "{}"} else if(b<=0 && c>1){ Correct%QUESTION.NUMBER% = "{"; for(ib = 1; ib < c-1; ib++){ Correct%QUESTION.NUMBER% += ib+","} Correct%QUESTION.NUMBER% += (c-1)+"}"; } else{ Correct%QUESTION.NUMBER% = "{"; for(ib = b; ib < c-1; ib++){ Correct%QUESTION.NUMBER% += ib+","} Correct%QUESTION.NUMBER% += (c-1)+"}"; } //document.write(Correct%QUESTION.NUMBER%+"

"); Feedback1%QUESTION.NUMBER%="

You have to be able to read given set as 'x is a natural number greater than or equal to "+b+" and less than "+c+"', where the set of natural numbers is the set of positive integers {1, 2, 3, ...}.

Then, you have to recognise "+b+" and "+c1+" are NOT natural numbers.

Therefore, the given set is empty and so the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback2%QUESTION.NUMBER%="

You have to be able to read given set as 'x is a natural number greater than or equal to "+b+" and less than "+c+"', where the set of natural numbers is the set of positive integers {1, 2, 3, ...}.

Then, you have to recognise "+b+" is NOT a natural number.

Therefore, the given set is empty and so the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback3%QUESTION.NUMBER%="

You have to be able to read given set as 'x is a natural number greater than or equal to "+b+" and less than "+c+"', where the set of natural numbers is the set of positive integers {1, 2, 3, ...}.

Then, you have to recognise "+b+" is NOT a natural number and "+c1+" is a natural number.

Since 1 is the smallest natural number the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback4%QUESTION.NUMBER%="

Then, you have to recognise "+b+" and "+c1+" are natural numbers.

Therefore, the given set contains all natural numbers between "+b+" (inclusive) and "+c+" (exclusive) and so the correct answer should be "+Correct%QUESTION.NUMBER%+" "; Feedback5%QUESTION.NUMBER%="

Then, you have to recognise "+b+" is a natural number and the only possible element of the given set.

Hence, the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback6%QUESTION.NUMBER%="

Then, you have to recognise "+b+" and "+c1+" are natural numbers. However, there is no such number that can be greater than or equal to "+b+", and less than "+c+" at the same time.

Therefore, the given set is empty and so the correct answer should be "+Correct%QUESTION.NUMBER%+""; feedback = ""; if (c<=1 && b!=c-1){feedback = Feedback1%QUESTION.NUMBER%;} else if (b<=0 && b==c-1){feedback = Feedback2%QUESTION.NUMBER%;} else if (b<=0 && c>1){feedback = Feedback3%QUESTION.NUMBER%;} else if (b>0 && b==c1){feedback = Feedback5%QUESTION.NUMBER%;} else if (b>0 && b==c){feedback = Feedback6%QUESTION.NUMBER%;} else {feedback = Feedback4%QUESTION.NUMBER%;} Feedback%QUESTION.NUMBER% = feedback; document.write(QuestionText0%QUESTION.NUMBER%+Equation0%QUESTION.NUMBER%+QuestionText1%QUESTION.NUMBER%+Equation1%QUESTION.NUMBER%); document.write("

*A* = ")
document.write(QuestionText2%QUESTION.NUMBER%);
document.write("")
}
if (document.forms[0].name=="FEEDBACK")
{}
else
{question%QUESTION.NUMBER%()}
]]>

"+""+"

") } ]]>

"} else {document.forms[0].elements[item+3].value = "Your answer,

"+ANS+"

"+SHOW+" "} document.forms[0].elements[item+3].value = QuestionText0%QUESTION.NUMBER%+Equation0%QUESTION.NUMBER%+QuestionText1%QUESTION.NUMBER%+Equation1%QUESTION.NUMBER%+ QuestionText2%QUESTION.NUMBER%+document.forms[0].elements[item+3].value } function question%QUESTION.NUMBER%() { myBArray = displayarray( 1, -5, 9, 1); b = myBArray[0]; b1=b+1; myCArray = displayarray( 1, b, 9, 1); c = myCArray[0]; c1=c-1; nwidth=getFontSize()/16*200 nheight=getFontSize()/16*60 m1="" Equation1%QUESTION.NUMBER% = m1+m2+m3+e1; e0=""; Equation0%QUESTION.NUMBER% = m1+m2+m3+e0; QuestionText0%QUESTION.NUMBER% = "With the set of natural numbers is defined as

"; QuestionText1%QUESTION.NUMBER% = "

input the following set explicitly with elements in numerical order:

"; QuestionText2%QUESTION.NUMBER% = "

__Important:__ input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.

If you think the set has an infinite number of elements, input

- 5 consecutive elements at the start e.g. {7,8,9,10,11...},
- or 5 consecutive elements at the end e.g. {...-1,0,1,2,3},

If you think the set is empty, input

"; QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%; if(c <= 0 || b==c){Correct%QUESTION.NUMBER% = "{}"} else if(b<=0 && c>0){ Correct%QUESTION.NUMBER% = "{"; for(ib = 1; ib < c; ib++){ Correct%QUESTION.NUMBER% += ib+","} Correct%QUESTION.NUMBER% += (c)+"}"; } else{ Correct%QUESTION.NUMBER% = "{"; for(ib = b+1; ib < c; ib++){ Correct%QUESTION.NUMBER% += ib+","} Correct%QUESTION.NUMBER% += (c)+"}"; } //document.write(Correct%QUESTION.NUMBER%+"

"); Feedback1%QUESTION.NUMBER%="

You have to be able to read given set as 'x is a natural number greater than "+b+" and less than or equal to "+c+"', where the set of natural numbers is the set of positive integers {1, 2, 3, ...}.

Then, you have to recognise "+b1+" and "+c+" are NOT natural numbers.

Therefore, the given set is empty and so the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback2%QUESTION.NUMBER%="

You have to be able to read given set as 'x is a natural number greater than "+b+" and less than or equal to "+c+"', where the set of natural numbers is the set of positive integers {1, 2, 3, ...}.

Then, you have to recognise "+b1+" is NOT a natural number.

Therefore, the given set is empty and so the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback3%QUESTION.NUMBER%="

You have to be able to read given set as 'x is a natural number greater than "+b+" and less than or equal to "+c+"', where the set of natural numbers is the set of positive integers {1, 2, 3, ...}.

Then, you have to recognise "+b1+" is a natural number and "+c+" is NOT a natural number. However, there is no such number that can be greater than "+b+", and less than or equal to "+c+" at the same time.

Therefore, the given set is empty and so the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback4%QUESTION.NUMBER%="

Then, you have to recognise "+b1+" is NOT a natural number and "+c+" is a natural number.

Since 1 is the smallest natural number the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback5%QUESTION.NUMBER%="

Then, you have to recognise "+b1+" and "+c+" are natural numbers.

Therefore, the given set contains all natural numbers between "+b+" (exclusive) and "+c+" (inclusive) and so the correct answer should be "+Correct%QUESTION.NUMBER%+" "; Feedback6%QUESTION.NUMBER%="

Then, you have to recognise "+b1+" is a natural number and the only possible element of the given set.

Hence, the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback7%QUESTION.NUMBER%="

Then, you have to recognise "+b1+" and "+c+" are natural numbers. However, there is no such number that can be greater than "+b+", and less than or equal to "+c+" at the same time.

Therefore, the given set is empty and so the correct answer should be "+Correct%QUESTION.NUMBER%+""; feedback = ""; if (c<=0 && b<0 && b+1!=c){feedback = Feedback1%QUESTION.NUMBER%;} else if (b<0 && b+1==c){feedback = Feedback2%QUESTION.NUMBER%;} else if (b==0 && c==0){feedback = Feedback3%QUESTION.NUMBER%;} else if (b<0 && c>=1){feedback = Feedback4%QUESTION.NUMBER%;} else if (b>=0 && b+1==c){feedback = Feedback6%QUESTION.NUMBER%;} else if (b>0 && b==c){feedback = Feedback7%QUESTION.NUMBER%;} else {feedback = Feedback5%QUESTION.NUMBER%;} Feedback%QUESTION.NUMBER% = feedback; document.write(QuestionText0%QUESTION.NUMBER%+Equation0%QUESTION.NUMBER%+QuestionText1%QUESTION.NUMBER%+Equation1%QUESTION.NUMBER%); document.write("

*A* = ")
document.write(QuestionText2%QUESTION.NUMBER%);
document.write("")
}
if (document.forms[0].name=="FEEDBACK")
{}
else
{question%QUESTION.NUMBER%()}
]]>

"+""+"

") } ]]>

"} else {document.forms[0].elements[item+3].value = "Your answer,

"+ANS+"

"+SHOW+" "} document.forms[0].elements[item+3].value = QuestionText0%QUESTION.NUMBER%+Equation0%QUESTION.NUMBER%+QuestionText1%QUESTION.NUMBER%+Equation1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%+ document.forms[0].elements[item+3].value } function question%QUESTION.NUMBER%() { myBArray = displayarray( 1, -5, 9, 1); b = myBArray[0]; b1=b+1; myCArray = displayarray( 1, b, 9, 1); c = myCArray[0]; c1=c-1; nwidth=getFontSize()/16*200 nheight=getFontSize()/16*60 m1="" Equation1%QUESTION.NUMBER% = m1+m2+m3+e1; e0=""; Equation0%QUESTION.NUMBER% = m1+m2+m3+e0; QuestionText0%QUESTION.NUMBER% = "With the set of natural numbers is defined as

"; QuestionText1%QUESTION.NUMBER% = "

input the following set explicitly with elements in numerical order:

"; QuestionText2%QUESTION.NUMBER% = "

__Important:__ input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.

If you think the set has an infinite number of elements, input

- 5 consecutive elements at the start e.g. {7,8,9,10,11...},
- or 5 consecutive elements at the end e.g. {...-1,0,1,2,3},

If you think the set is empty, input

"; QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%; if(c <= 1 || b==c || b==c-1){Correct%QUESTION.NUMBER% = "{}"} else if(b<=0 && c>1){ Correct%QUESTION.NUMBER% = "{"; for(ib = 1; ib < c-1; ib++){ Correct%QUESTION.NUMBER% += ib+","} Correct%QUESTION.NUMBER% += (c-1)+"}"; } else{ Correct%QUESTION.NUMBER% = "{"; for(ib = b+1; ib < c-1; ib++){ Correct%QUESTION.NUMBER% += ib+","} Correct%QUESTION.NUMBER% += (c-1)+"}"; } //document.write(Correct%QUESTION.NUMBER%+"

"); Feedback1%QUESTION.NUMBER%="

You have to be able to read given set as 'x is a natural number greater than "+b+" and less than "+c+"', where the set of natural numbers is the set of positive integers {1, 2, 3, ...}.

Then, you have to recognise "+b1+" and "+c1+" are NOT natural numbers.

You have to be able to read given set as 'x is a natural number greater than "+b+" and less than "+c+"', where the set of natural numbers is the set of positive integers {1, 2, 3, ...}.

Then, you have to recognise "+b1+" is NOT a natural number.

You have to be able to read given set as 'x is a natural number greater than "+b+" and less than "+c+"', where the set of natural numbers is the set of positive integers {1, 2, 3, ...}.

Then, you have to recognise "+b1+" is NOT a natural number and "+c1+" is a natural number.

Since 1 is the smallest natural number the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback4%QUESTION.NUMBER%="

Then, you have to recognise "+b1+" and "+c1+" are natural numbers.

Therefore, the given set contains all natural numbers between "+b+" (exclusive) and "+c+" (exclusive) and so the correct answer should be "+Correct%QUESTION.NUMBER%+" "; Feedback5%QUESTION.NUMBER%="

Then, you have to recognise "+b1+" is a natural number and the only possible element of the given set.

Hence, the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback6%QUESTION.NUMBER%="

Then, you have to recognise "+b1+" is a natural number and "+c1+" is NOT a natural number. However, there is no such number that can be greater than "+b+", and less than "+c+" at the same time.

Therefore, the given set is empty and so the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback7%QUESTION.NUMBER%="

Then, you have to recognise "+b1+" and "+c1+" are natural numbers. However, there is no such number that can be greater than "+b+", and less than "+c+" at the same time.

Therefore, the given set is empty and so the correct answer should be "+Correct%QUESTION.NUMBER%+"";
feedback = "";
if (c<=1 && b+1==c-1 && b<0){feedback = Feedback2%QUESTION.NUMBER%;}
else if (b==0 && c<=1){feedback = Feedback6%QUESTION.NUMBER%;}
else if (c<=1){feedback = Feedback1%QUESTION.NUMBER%;}
else if (b<0 && c>1){feedback = Feedback3%QUESTION.NUMBER%;}
else if (b>=0 && b+1

*A* = ")
document.write(QuestionText2%QUESTION.NUMBER%);
document.write("")
}
if (document.forms[0].name=="FEEDBACK")
{}
else
{question%QUESTION.NUMBER%()}
]]>

"+""+"

") } ]]>

"} else {document.forms[0].elements[item+3].value = "Your answer,

"+ANS+"

"+SHOW+" "} document.forms[0].elements[item+3].value = QuestionText0%QUESTION.NUMBER%+Equation0%QUESTION.NUMBER%+QuestionText1%QUESTION.NUMBER%+Equation1%QUESTION.NUMBER%+ QuestionText2%QUESTION.NUMBER%+document.forms[0].elements[item+3].value } function question%QUESTION.NUMBER%() { b = Math.ceil(12*Math.random())-6; nwidth=getFontSize()/16*200; nheight=getFontSize()/16*60; m1=""; Equation1%QUESTION.NUMBER% = m1+m2+m3+e1; e0=""; Equation0%QUESTION.NUMBER% = m1+m2+m3+e0; QuestionText0%QUESTION.NUMBER% = "With the set of natural numbers is defined as

"; QuestionText1%QUESTION.NUMBER% = "

input the following set explicitly with elements in numerical order:

"; QuestionText2%QUESTION.NUMBER% = "

__Important:__ input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.

If you think the set has an infinite number of elements, input

- 5 consecutive elements at the start e.g. {7,8,9,10,11...},
- or 5 consecutive elements at the end e.g. {...-1,0,1,2,3},

If you think the set is empty, input

"; QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%; if(b <= 0){b_floor = 1}else{b_floor = b} Correct%QUESTION.NUMBER% = "{"; for(ib = 0; ib <= 3; ib++){ Correct%QUESTION.NUMBER% += b_floor+ib+","} Correct%QUESTION.NUMBER% += (b_floor+4)+"...}"; //document.write(Correct%QUESTION.NUMBER%+"

"); Feedback1%QUESTION.NUMBER%="

You have to be able to read given set as 'x is a natural number which absolute value is greater than or equal to "+b+"'.

Then, you have to recognise "+b+" is a natural number, its absolute value is equal to itself and hence is the smallest element of the required set.

Hence, the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback2%QUESTION.NUMBER%="

You have to be able to read given set as 'x is a natural number which absolute value is greater than or equal to "+b+"'.

Then, you should remember that absolute value of *x* (natural numbers in this case) is always positive, and so always greater than negative numbers or zero.

Hence, the correct answer is the set of all the natural numbers that should be written in the form of "+Correct%QUESTION.NUMBER%+""; feedback = ""; if (b>0){feedback = Feedback1%QUESTION.NUMBER%;} else {feedback = Feedback2%QUESTION.NUMBER%;} Feedback%QUESTION.NUMBER% = feedback; document.write(QuestionText0%QUESTION.NUMBER%+Equation0%QUESTION.NUMBER%+QuestionText1%QUESTION.NUMBER%+Equation1%QUESTION.NUMBER%); document.write("

*A* = ")
document.write(QuestionText2%QUESTION.NUMBER%);
document.write("")
}
if (document.forms[0].name=="FEEDBACK")
{}
else
{question%QUESTION.NUMBER%()}
]]>

"+""+"

") } ]]>

"} else {document.forms[0].elements[item+3].value = "Your answer,

"+ANS+"

"+SHOW+" "} document.forms[0].elements[item+3].value = QuestionText0%QUESTION.NUMBER%+Equation0%QUESTION.NUMBER%+QuestionText1%QUESTION.NUMBER%+Equation1%QUESTION.NUMBER%+ QuestionText2%QUESTION.NUMBER%+document.forms[0].elements[item+3].value } function question%QUESTION.NUMBER%() { b = Math.ceil(9*Math.random())-3; b1 = b-1; nwidth=getFontSize()/16*200 nheight=getFontSize()/16*60 m1="" Equation1%QUESTION.NUMBER% = m1+m2+m3+e1; e0=""; Equation0%QUESTION.NUMBER% = m1+m2+m3+e0; QuestionText0%QUESTION.NUMBER% = "With the set of natural numbers is defined as

"; QuestionText1%QUESTION.NUMBER% = "

input the following set explicitly with elements in numerical order:

"; QuestionText2%QUESTION.NUMBER% = "

__Important:__ input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.

If you think the set has an infinite number of elements, input

- 5 consecutive elements at the start e.g. {7,8,9,10,11...},
- or 5 consecutive elements at the end e.g. {...-1,0,1,2,3},

If you think the set is empty, input

"; QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%; if(b <= 1){Correct%QUESTION.NUMBER% = "{}"}else{ Correct%QUESTION.NUMBER% = "{"; for(ib = 1; ib < b-1; ib++){ Correct%QUESTION.NUMBER% += ib+","} Correct%QUESTION.NUMBER% += (b-1)+"}"; } //document.write(Correct%QUESTION.NUMBER%+"

"); Feedback1%QUESTION.NUMBER%="

You have to be able to read given set as 'x is a natural number which absolute value is less than "+b+"'.

Then, you have to recognise "+b+" is a natural number and so "+b1+" is the largest element of the required set, and 1 is the smallest element.

Hence, the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback2%QUESTION.NUMBER%="

You have to be able to read given set as 'x is a natural number which absolute value is less than "+b+"'.

Then, you have to recognise "+b+" is a natural number and so "+b1+" is the largest and hence the only element of the required set.

Hence, the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback3%QUESTION.NUMBER%="

You have to be able to read given set as 'x is a natural number which absolute value is less than "+b+"'.

Then, you have to recognise "+b+" is the smallest natural number. However, since "+b+" is not the element of the given set, the required set is empty.

Hence, the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback4%QUESTION.NUMBER%="

Then, you have to recognise "+b+" is NOT a natural number and the given set is empty.

Hence, the correct answer should be "+Correct%QUESTION.NUMBER%+""; feedback = ""; if (b>=3){feedback = Feedback1%QUESTION.NUMBER%;} else if (b>1 && b<3){feedback = Feedback2%QUESTION.NUMBER%;} else if (b>0 && b<2){feedback = Feedback3%QUESTION.NUMBER%;} else {feedback = Feedback4%QUESTION.NUMBER%;} Feedback%QUESTION.NUMBER% = feedback; document.write(QuestionText0%QUESTION.NUMBER%+Equation0%QUESTION.NUMBER%+QuestionText1%QUESTION.NUMBER%+Equation1%QUESTION.NUMBER%); document.write("

*A* = ")
document.write(QuestionText2%QUESTION.NUMBER%);
document.write("")
}
if (document.forms[0].name=="FEEDBACK")
{}
else
{question%QUESTION.NUMBER%()}
]]>

"+""+"

") } ]]>

"} else {document.forms[0].elements[item+3].value = "Your answer,

"+ANS+"

"+SHOW+" "} document.forms[0].elements[item+3].value = QuestionText0%QUESTION.NUMBER%+Equation0%QUESTION.NUMBER%+QuestionText1%QUESTION.NUMBER%+Equation1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%+ document.forms[0].elements[item+3].value } function question%QUESTION.NUMBER%() { b = Math.ceil(12*Math.random())-6; nwidth=getFontSize()/16*200; nheight=getFontSize()/16*60; m1=""; Equation1%QUESTION.NUMBER% = m1+m2+m3+e1; e0=""; Equation0%QUESTION.NUMBER% = m1+m2+m3+e0; QuestionText0%QUESTION.NUMBER% = "With the set of natural numbers is defined as

"; QuestionText1%QUESTION.NUMBER% = "

input the following set explicitly with elements in numerical order:

"; QuestionText2%QUESTION.NUMBER% = "

__Important:__ input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.

If you think the set has an infinite number of elements, input

- 5 consecutive elements at the start e.g. {7,8,9,10,11...},
- or 5 consecutive elements at the end e.g. {...-1,0,1,2,3},

If you think the set is empty, input

"; QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%; if(b <= 0){b_floor = 1}else{b_floor = b} Correct%QUESTION.NUMBER% = "{"; for(ib = 0; ib <= 3; ib++){ Correct%QUESTION.NUMBER% += b_floor+ib+","} Correct%QUESTION.NUMBER% += (b_floor+4)+"...}"; //document.write(Correct%QUESTION.NUMBER%+"

"); Feedback1%QUESTION.NUMBER%="

You have to be able to read given set as 'x is a natural number greater than or equal to "+b+"'.

Then, you have to recognise "+b+" is a natural number and hence is the smallest element of the required set.

Hence, the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback2%QUESTION.NUMBER%="

You have to be able to read given set as 'x is a natural number greater than or equal to "+b+"'.

Then, you have to recognise "+b+" is NOT a natural number and so 1 (rather than "+b+") is the smallest element of the set.

Hence, the correct answer should be "+Correct%QUESTION.NUMBER%+""; feedback = ""; if (b>0){feedback = Feedback1%QUESTION.NUMBER%;} else {feedback = Feedback2%QUESTION.NUMBER%;} Feedback%QUESTION.NUMBER% = feedback; document.write(QuestionText0%QUESTION.NUMBER%+Equation0%QUESTION.NUMBER%+QuestionText1%QUESTION.NUMBER%+Equation1%QUESTION.NUMBER%); document.write("

*A* = ")
document.write(QuestionText2%QUESTION.NUMBER%);
document.write("")
}
if (document.forms[0].name=="FEEDBACK")
{}
else
{question%QUESTION.NUMBER%()}
]]>

"+""+"

") } ]]>

"} else {document.forms[0].elements[item+3].value = "Your answer,

"+ANS+"

"+SHOW+" "} document.forms[0].elements[item+3].value = QuestionText0%QUESTION.NUMBER%+Equation0%QUESTION.NUMBER%+QuestionText1%QUESTION.NUMBER%+Equation1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%+ document.forms[0].elements[item+3].value } function question%QUESTION.NUMBER%() { b = Math.ceil(12*Math.random())-6; b1 = b+1; nwidth=getFontSize()/16*200 nheight=getFontSize()/16*60 m1="" Equation1%QUESTION.NUMBER% = m1+m2+m3+e1; e0=""; Equation0%QUESTION.NUMBER% = m1+m2+m3+e0; QuestionText0%QUESTION.NUMBER% = "With the set of natural numbers is defined as

"; QuestionText1%QUESTION.NUMBER% = "

input the following set explicitly with elements in numerical order:

"; QuestionText2%QUESTION.NUMBER% = "

__Important:__ input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.

If you think the set has an infinite number of elements, input

- 5 consecutive elements at the start e.g. {7,8,9,10,11...},
- or 5 consecutive elements at the end e.g. {...-1,0,1,2,3},

If you think the set is empty, input

"; QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%; if(b <= 0){b_floor = 1}else{b_floor = b+1} Correct%QUESTION.NUMBER% = "{"; for(ib = 0; ib <= 3; ib++){ Correct%QUESTION.NUMBER% += b_floor+ib+","} Correct%QUESTION.NUMBER% += (b_floor+4)+"...}"; // document.write(Correct%QUESTION.NUMBER%+"

"); Feedback1%QUESTION.NUMBER%="

You have to be able to read given set as 'x is a natural number greater than "+b+"'.

Then, you have to recognise "+b+" is a natural number and so "+b1+" is the smallest element of the required set.

Hence, the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback2%QUESTION.NUMBER%="

You have to be able to read given set as 'x is a natural number greater than "+b+"'.

Then, you have to recognise "+b+" is NOT a natural number and so 1 (rather than "+b+") is the smallest element of the set.

Hence, the correct answer should be "+Correct%QUESTION.NUMBER%+""; feedback = ""; if (b>0){feedback = Feedback1%QUESTION.NUMBER%;} else {feedback = Feedback2%QUESTION.NUMBER%;} Feedback%QUESTION.NUMBER% = feedback; document.write(QuestionText0%QUESTION.NUMBER%+Equation0%QUESTION.NUMBER%+QuestionText1%QUESTION.NUMBER%+Equation1%QUESTION.NUMBER%); document.write("

*A* = ")
document.write(QuestionText2%QUESTION.NUMBER%);
document.write("")
}
if (document.forms[0].name=="FEEDBACK")
{}
else
{question%QUESTION.NUMBER%()}
]]>

"+""+"

") } ]]>

"} else {document.forms[0].elements[item+3].value = "Your answer,

"+ANS+"

"+SHOW+" "} document.forms[0].elements[item+3].value = QuestionText0%QUESTION.NUMBER%+Equation0%QUESTION.NUMBER%+QuestionText1%QUESTION.NUMBER%+Equation1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%+ document.forms[0].elements[item+3].value } function question%QUESTION.NUMBER%() { b = Math.ceil(9*Math.random())-3; nwidth=getFontSize()/16*200 nheight=getFontSize()/16*60 m1="" Equation1%QUESTION.NUMBER% = m1+m2+m3+e1; e0=""; Equation0%QUESTION.NUMBER% = m1+m2+m3+e0; QuestionText0%QUESTION.NUMBER% = "With the set of natural numbers is defined as

"; QuestionText1%QUESTION.NUMBER% = "

input the following set explicitly with elements in numerical order:

"; QuestionText2%QUESTION.NUMBER% = "

__Important:__ input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.

If you think the set has an infinite number of elements, input

- 5 consecutive elements at the start e.g. {7,8,9,10,11...},
- or 5 consecutive elements at the end e.g. {...-1,0,1,2,3},

If you think the set is empty, input

"; QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%; if(b <= 0){Correct%QUESTION.NUMBER% = "{}"}else{ Correct%QUESTION.NUMBER% = "{"; for(ib = 1; ib < b; ib++){ Correct%QUESTION.NUMBER% += ib+","} Correct%QUESTION.NUMBER% += (b)+"}"; } // document.write(Correct%QUESTION.NUMBER%+"

"); Feedback1%QUESTION.NUMBER%="

You have to be able to read given set as 'x is a natural number less than or equal to "+b+"'.

Then, you have to recognise "+b+" is a natural number and hence is the largest element of the required set, and 1 is the smallest element.

Hence, the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback2%QUESTION.NUMBER%="

You have to be able to read given set as 'x is a natural number less than or equal to "+b+"'.

Then, you have to recognise "+b+" is the smallest natural number and hence is the only element of the required set.

Hence, the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback3%QUESTION.NUMBER%="

You have to be able to read given set as 'x is a natural number less than or equal to "+b+"'.

Then, you have to recognise "+b+" is NOT a natural number and the given set is empty.

Hence, the correct answer should be "+Correct%QUESTION.NUMBER%+""; feedback = ""; if (b>=2){feedback = Feedback1%QUESTION.NUMBER%;} else if (b<2 && b>0){feedback = Feedback2%QUESTION.NUMBER%;} else {feedback = Feedback3%QUESTION.NUMBER%;} Feedback%QUESTION.NUMBER% = feedback; document.write(QuestionText0%QUESTION.NUMBER%+Equation0%QUESTION.NUMBER%+QuestionText1%QUESTION.NUMBER%+Equation1%QUESTION.NUMBER%); document.write("

*A* = ")
document.write(QuestionText2%QUESTION.NUMBER%);
document.write("")
}
if (document.forms[0].name=="FEEDBACK")
{}
else
{question%QUESTION.NUMBER%()}
]]>

"+""+"

") } ]]>

"} else {document.forms[0].elements[item+3].value = "Your answer,

"+ANS+"

"+SHOW+" "} document.forms[0].elements[item+3].value = QuestionText0%QUESTION.NUMBER%+Equation0%QUESTION.NUMBER%+QuestionText1%QUESTION.NUMBER%+Equation1%QUESTION.NUMBER%+ QuestionText2%QUESTION.NUMBER%+document.forms[0].elements[item+3].value } function question%QUESTION.NUMBER%() { b = Math.ceil(9*Math.random())-3; b1 = b-1; nwidth=getFontSize()/16*200 nheight=getFontSize()/16*60 m1="" Equation1%QUESTION.NUMBER% = m1+m2+m3+e1; e0=""; Equation0%QUESTION.NUMBER% = m1+m2+m3+e0; QuestionText0%QUESTION.NUMBER% = "With the set of natural numbers is defined as

"; QuestionText1%QUESTION.NUMBER% = "

input the following set explicitly with elements in numerical order:

"; QuestionText2%QUESTION.NUMBER% = "

__Important:__ input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.

If you think the set has an infinite number of elements, input

- 5 consecutive elements at the start e.g. {7,8,9,10,11...},
- or 5 consecutive elements at the end e.g. {...-1,0,1,2,3},

If you think the set is empty, input

"; QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%; if(b <= 1){Correct%QUESTION.NUMBER% = "{}"}else{ Correct%QUESTION.NUMBER% = "{"; for(ib = 1; ib < b-1; ib++){ Correct%QUESTION.NUMBER% += ib+","} Correct%QUESTION.NUMBER% += (b-1)+"}"; } //document.write(Correct%QUESTION.NUMBER%+"

"); Feedback1%QUESTION.NUMBER%="

You have to be able to read given set as 'x is a natural number less than "+b+"'.

Then, you have to recognise "+b+" is a natural number and so "+b1+" is the largest element of the required set, and 1 is the smallest element.

Hence, the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback2%QUESTION.NUMBER%="

You have to be able to read given set as 'x is a natural number less than "+b+"'.

Then, you have to recognise "+b+" is a natural number and so "+b1+" is the largest and hence the only element of the required set.

Hence, the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback3%QUESTION.NUMBER%="

You have to be able to read given set as 'x is a natural number less than "+b+"'.

Then, you have to recognise "+b+" is the smallest natural number. However, since "+b+" is not the element of the given set, the required set is empty.

Hence, the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback4%QUESTION.NUMBER%="

You have to be able to read given set as 'x is a natural number less than "+b+"'.

Then, you have to recognise "+b+" is NOT a natural number and the given set is empty.

Hence, the correct answer should be "+Correct%QUESTION.NUMBER%+""; feedback = ""; if (b>=3){feedback = Feedback1%QUESTION.NUMBER%;} else if (b>1 && b<3){feedback = Feedback2%QUESTION.NUMBER%;} else if (b>0 && b<2){feedback = Feedback3%QUESTION.NUMBER%;} else {feedback = Feedback4%QUESTION.NUMBER%;} Feedback%QUESTION.NUMBER% = feedback; document.write(QuestionText0%QUESTION.NUMBER%+Equation0%QUESTION.NUMBER%+QuestionText1%QUESTION.NUMBER%+Equation1%QUESTION.NUMBER%); document.write("

*A* = ")
document.write(QuestionText2%QUESTION.NUMBER%);
document.write("")
}
if (document.forms[0].name=="FEEDBACK")
{}
else
{question%QUESTION.NUMBER%()}
]]>

"+""+"

") } ]]>

"} else {document.forms[0].elements[item+3].value = "Your answer,

"+ANS+"

"+SHOW+" "} document.forms[0].elements[item+3].value = QuestionText1%QUESTION.NUMBER%+Equation1%QUESTION.NUMBER%+ QuestionText2%QUESTION.NUMBER%+document.forms[0].elements[item+3].value } function question%QUESTION.NUMBER%() { b = Math.ceil(12*Math.random())-6; nwidth=getFontSize()/16*200; nheight=getFontSize()/16*60; m1=""; Equation1%QUESTION.NUMBER% = m1+m2+m3+e1; QuestionText1%QUESTION.NUMBER% = "Input the following set explicitly with elements in numerical order:

"; QuestionText2%QUESTION.NUMBER% = "

__Important:__ input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.

If you think the set has an infinite number of elements, input

- 5 consecutive elements at the start e.g. {7,8,9,10,11...},
- or 5 consecutive elements at the end e.g. {...-1,0,1,2,3},

If you think the set is empty, input

"; QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%; b1=-b-2; b2=-b-1; b3=-b; b4=b; b5=b+1; b6=b+2; if(b > 0){ Correct%QUESTION.NUMBER% = "{..."+b1+","+b2+","+b3+","+b4+","+b5+","+b6+"...}" } else{Correct%QUESTION.NUMBER%="{...-2,-1,0,1,2...}"}; //document.write(Correct%QUESTION.NUMBER%+"

"); Feedback1%QUESTION.NUMBER%="

You have to be able to read given set as 'x is an integer which absolute value is greater than or equal to "+b+"'.

Then, you have to recognise given expression to be true for integers greater than or equal to "+b+" but also for these less than or equal to "+b3+" as |"+b3+"|="+b4+", |"+b2+"|="+b5+", etc .

Hence, the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback2%QUESTION.NUMBER%="

You have to be able to read given set as 'x is an integer which absolute value is greater than or equal to "+b+"'.

Then, you should remember that absolute value of *x* (integers in this case) is always either positive or zero (e.g. |-3|=3, |0|=0 and |3|=3).

Hence, the correct answer is the set of all the integers that should be written in the form of "+Correct%QUESTION.NUMBER%+""; feedback = ""; if (b>0){feedback = Feedback1%QUESTION.NUMBER%;} else {feedback = Feedback2%QUESTION.NUMBER%;} Feedback%QUESTION.NUMBER% = feedback; document.write(QuestionText1%QUESTION.NUMBER%+Equation1%QUESTION.NUMBER%); document.write("

*A* = ")
document.write(QuestionText2%QUESTION.NUMBER%);
document.write("")
}
if (document.forms[0].name=="FEEDBACK")
{}
else
{question%QUESTION.NUMBER%()}
]]>

"+""+"

") } ]]>

"} else {document.forms[0].elements[item+3].value = "Your answer,

"+ANS+"

"+SHOW+" "} document.forms[0].elements[item+3].value = QT1 + ET + QT2+ document.forms[0].elements[item+3].value } function question%QUESTION.NUMBER%() { b = Math.ceil(12*Math.random())-7; b1 = b-1; nwidth=getFontSize()/16*200 nheight=getFontSize()/16*60 m1="" EquationText%QUESTION.NUMBER% = m1+m2+m3+e1; QuestionText1%QUESTION.NUMBER% = "Input the following set explicitly with elements in numerical order:

" QuestionText2%QUESTION.NUMBER% = "

__Important:__ input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.

If you think the set has an infinite number of elements, input

- 5 consecutive elements at the start e.g. {7,8,9,10,11...},
- or 5 consecutive elements at the end e.g. {...-1,0,1,2,3},

If you think the set is empty, input

"; //QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%; n=2*b-3; n1=n+1; if (b>0){ b_floor = -b+1; Correct%QUESTION.NUMBER% = "{"; for(ib = 0; ib <= n; ib++){ Correct%QUESTION.NUMBER% += b_floor+ib+","} Correct%QUESTION.NUMBER% += (b_floor+n1)+"}";} else{Correct%QUESTION.NUMBER% ="{}"} //document.write(Correct%QUESTION.NUMBER%+"

"); Feedback1%QUESTION.NUMBER%="

You have to be able to read given set as 'x is an integer which absolute value is less than "+b+"'.

Then, you should remember that absolute value of *x* (integers in this case) is always either positive or zero, e.g. |-3|=|3|=3 and |0|=0.

Hence, the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback2%QUESTION.NUMBER%="

You have to be able to read given set as 'x is an integer which absolute value is less than "+b+"'.

Then, you should remember that absolute value of *x* (integers in this case) is always either positive or zero. The only integer satisfying this condition and expression in a given set is zero.

Hence, the correct answer should be "+Correct%QUESTION.NUMBER%+""; Feedback3%QUESTION.NUMBER%="

You have to be able to read given set as 'x is an integer which absolute value is less than "+b+"'.

Then, you should remember that absolute value of *x* (integers in this case) is always either positive or zero.

Since there is no such integer which absolute value could be less than "+b+" the given set is empty and so the correct answer should be "+Correct%QUESTION.NUMBER%+""; feedback = ""; if (b>1){feedback = Feedback1%QUESTION.NUMBER%;} else if(b==1){feedback = Feedback2%QUESTION.NUMBER%;} else {feedback = Feedback3%QUESTION.NUMBER%;} Feedback%QUESTION.NUMBER% = feedback; //document.write(Feedback%QUESTION.NUMBER%+"

"); document.write(QuestionText1%QUESTION.NUMBER%+EquationText%QUESTION.NUMBER%); document.write("

*A* = ")
document.write(QuestionText2%QUESTION.NUMBER%);
document.write("")
}
if (document.forms[0].name=="FEEDBACK")
{}
else
{question%QUESTION.NUMBER%()}
]]>

"+""+"

") } ]]>

"} else {document.forms[0].elements[item+3].value = "Your answer,

"+ANS+"

"+SHOW+" "} document.forms[0].elements[item+3].value = QT1 + ET + QT2 + document.forms[0].elements[item+3].value } function question%QUESTION.NUMBER%() { b = Math.ceil(12*Math.random())-6; nwidth=getFontSize()/16*200 nheight=getFontSize()/16*60 m1="" EquationText%QUESTION.NUMBER% = m1+m2+m3+e1; QuestionText1%QUESTION.NUMBER% = "Input the following set explicitly with elements in numerical order:

" QuestionText2%QUESTION.NUMBER% = "

__Important:__ input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.

If you think the set has an infinite number of elements, input

- 5 consecutive elements at the start e.g. {7,8,9,10,11...},
- or 5 consecutive elements at the end e.g. {...-1,0,1,2,3},

If you think the set is empty, input

"; //QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%; b_floor = b; Correct%QUESTION.NUMBER% = "{"; for(ib = 0; ib <= 3; ib++){ Correct%QUESTION.NUMBER% += b_floor+ib+","} Correct%QUESTION.NUMBER% += (b_floor+4)+"...}"; //document.write(Correct%QUESTION.NUMBER%+"

"); nwidth=getFontSize()/16*20 nheight=getFontSize()/16*30 m1="" Z%QUESTION.NUMBER% = m1+m2+m3+e2; Feedback%QUESTION.NUMBER%="

"+Z%QUESTION.NUMBER%+" is a symbol denoting the set of integers. An integer is a whole number that can be positive, negative, or zero and the set of integers can be written in the form {...-3,-2,-1,0,1,2,3...}.

In the question, you have to be able to read given set as 'x is an integer greater than or equal to "+b+"'. Then, you have to recognise "+b+" is an integer and hence is the smallest element of the required set. Hence, the correct answer should be "+Correct%QUESTION.NUMBER%+""; document.write(QuestionText1%QUESTION.NUMBER%+EquationText%QUESTION.NUMBER%); document.write("

*A* = ")
document.write(QuestionText2%QUESTION.NUMBER%);
document.write("")
}
if (document.forms[0].name=="FEEDBACK")
{}
else
{question%QUESTION.NUMBER%()}
]]>

"+""+"

") } ]]>

"} else {document.forms[0].elements[item+3].value = "Your answer,

"+ANS+"

"+SHOW+" "} document.forms[0].elements[item+3].value = QT1 + ET + QT2+ document.forms[0].elements[item+3].value } function question%QUESTION.NUMBER%() { b = Math.ceil(12*Math.random())-6; b1 = b+1; nwidth=getFontSize()/16*200 nheight=getFontSize()/16*60 m1="" EquationText%QUESTION.NUMBER% = m1+m2+m3+e1; QuestionText1%QUESTION.NUMBER% = "Input the following set explicitly with elements in numerical order:

" QuestionText2%QUESTION.NUMBER% = "

__Important:__ input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.

If you think the set has an infinite number of elements, input

- 5 consecutive elements at the start e.g. {7,8,9,10,11...},
- or 5 consecutive elements at the end e.g. {...-1,0,1,2,3},

If you think the set is empty, input

"; //QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%; b_floor = b1; Correct%QUESTION.NUMBER% = "{"; for(ib = 0; ib <= 3; ib++){ Correct%QUESTION.NUMBER% += b_floor+ib+","} Correct%QUESTION.NUMBER% += (b_floor+4)+"...}"; //document.write(Correct%QUESTION.NUMBER%+"

"); nwidth=getFontSize()/16*20 nheight=getFontSize()/16*30 m1="" Z%QUESTION.NUMBER% = m1+m2+m3+e2; Feedback%QUESTION.NUMBER%="

"+Z%QUESTION.NUMBER%+" is a symbol denoting the set of integers. An integer is a whole number that can be positive, negative, or zero and the set of integers can be written in the form {...-3,-2,-1,0,1,2,3...}.

In the question, you have to be able to read given set as 'x is an integer greater than "+b+"'. Then, you have to recognise "+b+" is an integer and so "+b1+" as the smallest element of the required set. Hence, the correct answer should be "+Correct%QUESTION.NUMBER%+""; document.write(QuestionText1%QUESTION.NUMBER%+EquationText%QUESTION.NUMBER%); document.write("

*A* = ")
document.write(QuestionText2%QUESTION.NUMBER%);
document.write("")
}
if (document.forms[0].name=="FEEDBACK")
{}
else
{question%QUESTION.NUMBER%()}
]]>

"+""+"

") } ]]>

"} else {document.forms[0].elements[item+3].value = "Your answer,

"+ANS+"

"+SHOW+" "} document.forms[0].elements[item+3].value = QT1 + ET + QT2+document.forms[0].elements[item+3].value } function question%QUESTION.NUMBER%() { b = Math.ceil(12*Math.random())-6; nwidth=getFontSize()/16*200 nheight=getFontSize()/16*60 m1="" EquationText%QUESTION.NUMBER% = m1+m2+m3+e1; QuestionText1%QUESTION.NUMBER% = "Input the following set explicitly with elements in numerical order:

" QuestionText2%QUESTION.NUMBER% = "

__Important:__ input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.

If you think the set has an infinite number of elements, input

- 5 consecutive elements at the start e.g. {7,8,9,10,11...},
- or 5 consecutive elements at the end e.g. {...-1,0,1,2,3},

If you think the set is empty, input

"; //QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%; b_floor = b-4; Correct%QUESTION.NUMBER% = "{..."; for(ib = 0; ib <= 3; ib++){ Correct%QUESTION.NUMBER% += b_floor+ib+","} Correct%QUESTION.NUMBER% += (b_floor+4)+"}"; //document.write(Correct%QUESTION.NUMBER%+"

"); nwidth=getFontSize()/16*20 nheight=getFontSize()/16*30 m1="" Z%QUESTION.NUMBER% = m1+m2+m3+e2; Feedback%QUESTION.NUMBER%="

"+Z%QUESTION.NUMBER%+" is a symbol denoting the set of integers. An integer is a whole number that can be positive, negative, or zero and the set of integers can be written in the form {...-3,-2,-1,0,1,2,3...}.

In the question, you have to be able to read given set as 'x is an integer less than or equal to "+b+"'. Then, you have to recognise "+b+" is an integer and hence is the largest element of the required set. Hence, the correct answer should be "+Correct%QUESTION.NUMBER%+""; document.write(QuestionText1%QUESTION.NUMBER%+EquationText%QUESTION.NUMBER%); document.write("

*A* = ")
document.write(QuestionText2%QUESTION.NUMBER%);
document.write("")
}
if (document.forms[0].name=="FEEDBACK")
{}
else
{question%QUESTION.NUMBER%()}
]]>

"+""+"

") } ]]>

"} else {document.forms[0].elements[item+3].value = "Your answer,

"+ANS+"

"+SHOW+" "} document.forms[0].elements[item+3].value = QT1 + ET + QT2 + document.forms[0].elements[item+3].value } function question%QUESTION.NUMBER%() { b = Math.ceil(12*Math.random())-6; b1 = b-1; nwidth=getFontSize()/16*200 nheight=getFontSize()/16*60 m1="" EquationText%QUESTION.NUMBER% = m1+m2+m3+e1; QuestionText1%QUESTION.NUMBER% = "Input the following set explicitly with elements in numerical order:

" QuestionText2%QUESTION.NUMBER% = "

__Important:__ input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.

If you think the set has an infinite number of elements, input

- 5 consecutive elements at the start e.g. {7,8,9,10,11...},
- or 5 consecutive elements at the end e.g. {...-1,0,1,2,3},

If you think the set is empty, input

"; //QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%; b_floor = b1-4; Correct%QUESTION.NUMBER% = "{..."; for(ib = 0; ib <= 3; ib++){ Correct%QUESTION.NUMBER% += b_floor+ib+","} Correct%QUESTION.NUMBER% += (b_floor+4)+"}"; //document.write(Correct%QUESTION.NUMBER%+"

In the question, you have to be able to read given set as 'x is an integer less than "+b+"'. Then, you have to recognise "+b+" is an integer and so "+b1+" as the the largest element of the required set. Hence, the correct answer should be "+Correct%QUESTION.NUMBER%+""; document.write(QuestionText1%QUESTION.NUMBER%+EquationText%QUESTION.NUMBER%); document.write("

*A* = ")
document.write(QuestionText2%QUESTION.NUMBER%);
document.write("")
}
if (document.forms[0].name=="FEEDBACK")
{}
else
{question%QUESTION.NUMBER%()}
]]>

"+""+"

") } ]]>