'; OutString += '
'; OutString += NavBar; if (Feedback.length>0){ OutString += '' } OutString += '
'; OutString += ''; OutString += Feedback; OutString += '
'; //Write it to the frame TopFrame.document.clear(); TopFrame.document.open(); TopFrame.document.write(OutString); TopFrame.document.close(); } function StartUp(){ //Reduce array if required if (QsToShow < I.length){ ReduceItems(); } //Shuffle stuff if required if (ShuffleQs == true){ I = Shuffle(I); } if (ShuffleAs == true){ for (var i=0; i'; I[11][1] = new Array(); I[11][1][0] = new Array(); I[11][1][0][0]='$5,400'; I[11][1][0][1]=''; I[11][1][0][2] = 0; I[11][1][1] = new Array(); I[11][1][1][0]='$4,900'; I[11][1][1][1]=''; I[11][1][1][2] = 0; I[11][1][2] = new Array(); I[11][1][2][0]='$3,900'; I[11][1][2][1]=''; I[11][1][2][2] = 1; I[11][1][3] = new Array(); I[11][1][3][0]='$4,400'; I[11][1][3][1]=''; I[11][1][3][2] = 0; I[11][2] = 0; I[12] = new Array(); I[12][0]='What is the usual source document for entering a transaction into a Returns Inwards Journal?'; I[12][1] = new Array(); I[12][1][0] = new Array(); I[12][1][0][0]='Credit note'; I[12][1][0][1]=''; I[12][1][0][2] = 0; I[12][1][1] = new Array(); I[12][1][1][0]='Carbon copy of the credit note'; I[12][1][1][1]=''; I[12][1][1][2] = 1; I[12][1][2] = new Array(); I[12][1][2][0]='Debit note'; I[12][1][2][1]=''; I[12][1][2][2] = 0; I[12][1][3] = new Array(); I[12][1][3][0]='Carbon copy of the debit note'; I[12][1][3][1]=''; I[12][1][3][2] = 0; I[12][2] = 0; I[13] = new Array(); I[13][0]='At the end of the month Selvathi, a retailer, found that she had sent and received the following:

misc-11.gif

What is Selvathi\'s total amount of sales returns for that month?'; I[13][1] = new Array(); I[13][1][0] = new Array(); I[13][1][0][0]='$300'; I[13][1][0][1]=''; I[13][1][0][2] = 1; I[13][1][1] = new Array(); I[13][1][1][0]='$500'; I[13][1][1][1]=''; I[13][1][1][2] = 0; I[13][1][2] = new Array(); I[13][1][2][0]='$400'; I[13][1][2][1]=''; I[13][1][2][2] = 0; I[13][1][3] = new Array(); I[13][1][3][0]='$200'; I[13][1][3][1]=''; I[13][1][3][2] = 0; I[13][2] = 0; I[14] = new Array(); I[14][0]='Y, who buys stationery for resale, gives the following information:

>> Invoice received from X for furniture
>> Debit Note received from X because of errors in previous invoice

Y will record these two documents into his:'; I[14][1] = new Array(); I[14][1][0] = new Array(); I[14][1][0][0]='Sales Journal'; I[14][1][0][1]=''; I[14][1][0][2] = 0; I[14][1][1] = new Array(); I[14][1][1][0]='General Journal and Returns Outwards Journal'; I[14][1][1][1]=''; I[14][1][1][2] = 0; I[14][1][2] = new Array(); I[14][1][2][0]='General Journal'; I[14][1][2][1]=''; I[14][1][2][2] = 1; I[14][1][3] = new Array(); I[14][1][3][0]='Purchases Journal and Returns Outwards Journal'; I[14][1][3][1]=''; I[14][1][3][2] = 0; I[14][2] = 0; I[15] = new Array(); I[15][0]='W sends back $200 of faulty goods to R. In which book of prime entry will R record this transaction?'; I[15][1] = new Array(); I[15][1][0] = new Array(); I[15][1][0][0]='Purchases Returns Journal'; I[15][1][0][1]=''; I[15][1][0][2] = 0; I[15][1][1] = new Array(); I[15][1][1][0]='Sales Journal'; I[15][1][1][1]=''; I[15][1][1][2] = 0; I[15][1][2] = new Array(); I[15][1][2][0]='General Journal'; I[15][1][2][1]=''; I[15][1][2][2] = 0; I[15][1][3] = new Array(); I[15][1][3][0]='Sales Returns Journal'; I[15][1][3][1]=''; I[15][1][3][2] = 1; I[15][2] = 0; I[16] = new Array(); I[16][0]='X sends a debit note to Y as an additional invoice. In which book of original entry will Y record this transaction?'; I[16][1] = new Array(); I[16][1][0] = new Array(); I[16][1][0][0]='Sales Day Book'; I[16][1][0][1]=''; I[16][1][0][2] = 0; I[16][1][1] = new Array(); I[16][1][1][0]='Purchases Day Book'; I[16][1][1][1]=''; I[16][1][1][2] = 1; I[16][1][2] = new Array(); I[16][1][2][0]='Cash Book'; I[16][1][2][1]=''; I[16][1][2][2] = 0; I[16][1][3] = new Array(); I[16][1][3][0]='General Book'; I[16][1][3][1]=''; I[16][1][3][2] = 0; I[16][2] = 0; I[17] = new Array(); I[17][0]='X sends a credit note to Y. Into which book of original entry will Y record this transaction?'; I[17][1] = new Array(); I[17][1][0] = new Array(); I[17][1][0][0]='Sales Returns Journal'; I[17][1][0][1]=''; I[17][1][0][2] = 0; I[17][1][1] = new Array(); I[17][1][1][0]='Purchases Returns Journal'; I[17][1][1][1]=''; I[17][1][1][2] = 1; I[17][1][2] = new Array(); I[17][1][2][0]='Sales Journal'; I[17][1][2][1]=''; I[17][1][2][2] = 0; I[17][1][3] = new Array(); I[17][1][3][0]='Purchases Journal'; I[17][1][3][1]=''; I[17][1][3][2] = 0; I[17][2] = 0; Status = new Array(); function CreateStatusArrays(){ for (var x=0; x-1){ FirstBit = InString.substring(0, i); LastBit = InString.substring(i + Token.length, InString.length); InString = FirstBit + Replacement + LastBit; i = InString.indexOf(Token); } return InString; } function ChangeQ(ChangeBy){ var NewNum = CurrQNum + ChangeBy; if ((NewNum >= 0)&&(NewNum
'; } Output = Output + BuildQuestion(I.length-1); Output = TableOpener + Output + TableCloser; DisplayExercise(Output); } function ShowQuestion(QNum){ //First, create the Q number readout at the top var Readout = (QNum+1) + '/' + I.length; while (Readout.length < 7){ Readout = ' ' + Readout + ' '; } Readout = QButtonsOpener + Readout + QButtonsCloser; var Output = BuildQuestion(QNum); Output = TableOpener + Output + TableCloser; DisplayExercise(Readout + Output); //Mark the answers already done for (i=0; i=0; i--){ //Find any incorrect choices var b = eval('BottomFrame.document.QForm.A_' + QNum + '_' + i); if (b != null){ //if it's wrong, count it if (b.checked == true){ Status[QNum][1][i] = 'C'; } else{ Status[QNum][1][i] = 'U'; } if (((b.checked == true) && (b.value == "0"))||((b.checked == false)&&(b.value == "1"))){ TotWrong++; } } } if (TotWrong == 0){ Output = DefaultRight; } else{ Output = DefaultWrong + '
' + (TotAns-TotWrong) + '/' + TotAns; } //If you haven't tried the question before if (Status[QNum][0] == 0){ if (TotWrong > 0){ Status[QNum][2]++; } if (TotWrong == 0){ Status[QNum][0] = 1; //Calculate the score for this question as a floating-point fraction of 1 Status[QNum][3] = ((Status[QNum][1].length - Status[QNum][2]) - 1) / (Status[QNum][1].length - 1); //If less than zero, set to zero if (Status[QNum][3] < 0){Status[QNum][3] = 0;} } } //Check whether the quiz is finished var Finished = true; for (var i=0; i' + YourScoreIs + ' ' + Score + '%.'; } if (Finished == true){ EraseFeedback = false; var CFT = 0; for (i=0; i 0){ WriteFeedback(Output); } } function CheckAnswer(QNum, ANum){ var Output = I[QNum][1][ANum][1]; if (Output==''){ if (I[QNum][1][ANum][2] == 1){ Output = DefaultRight; } else{ Output = DefaultWrong; } } //If it's not been previously answered correctly if (Status[QNum][0] == 0){ //If it's a correct answer if (I[QNum][1][ANum][2] == 1){ Status[QNum][0] = 1;//Mark the Q as done Status[QNum][1][ANum] = 'R'; MarkAnswer(QNum, ANum, true); //Calculate the score for this question as a floating-point fraction of 1 var PossibleWrongs = 0; for (var i=0; i' + YourScoreIs + ' ' + Score + '%.'; } if (Finished == true){ EraseFeedback = false; var CFT = 0; for (i=0; i 0){ WriteFeedback(Output); } } function MarkAnswer(QNum, ANum, Right){ var Mark = CorrectIndicator; if (Right == false){Mark = IncorrectIndicator;} if (eval('BottomFrame.document.QForm.FB_' + QNum + '_' + ANum) != null){ eval('BottomFrame.document.QForm.FB_' + QNum + '_' + ANum).value = Mark; } } function CheckCheckbox(QNum, ANum){ if (eval('BottomFrame.document.QForm.A_' + QNum + '_' + ANum) != null){ eval('BottomFrame.document.QForm.A_' + QNum + '_' + ANum).checked = true; } } function Blank(){ return '©Half-Baked Software. Loading...'; } //--> //]]>