1.3 Assumptions of Andragogy Self Test

html, body {
height: 100%;
overflow: auto;
}
body {
padding: 0;
margin: 0;
}
#silverlightControlHost {
height: 100%;
}

function onSilverlightError(sender, args) {

var appSource = “”;
if (sender != null && sender != 0) {
appSource = sender.getHost().Source;
}
var errorType = args.ErrorType;
var iErrorCode = args.ErrorCode;

var errMsg = “Unhandled Error in Silverlight 2 Application ” + appSource + “n” ;

errMsg += “Code: “+ iErrorCode + ” n”;
errMsg += “Category: ” + errorType + ” n”;
errMsg += “Message: ” + args.ErrorMessage + ” n”;

if (errorType == “ParserError”)
{
errMsg += “File: ” + args.xamlFile + ” n”;
errMsg += “Line: ” + args.lineNumber + ” n”;
errMsg += “Position: ” + args.charPosition + ” n”;
}
else if (errorType == “RuntimeError”)
{
if (args.lineNumber != 0)
{
errMsg += “Line: ” + args.lineNumber + ” n”;
errMsg += “Position: ” + args.charPosition + ” n”;
}
errMsg += “MethodName: ” + args.methodName + ” n”;
}

throw new Error(errMsg);
}
var size= 9;
var ansBgColor=’FFFFFFFF’;
var ansFontSize= 15;
var ansFontStyle=’Standard’;
var ansFontFamily=’Arial’;
var ansFontColor=’FF000000′;
var qFontFamily=’Arial Unicode MS’;
var qFontStyle=’Standard’;
var qFontColor=”FF000000″;
var continueQuiz=”;
var SilverLightColor=’FFFFFFC4′;
var bgColor=’#FFFFC4′;
var duration=0;
var quizFontSize=16;
var quizTitle=”1.3 Assumptions of Andragogy Self Test”;
var startQuiz=”;
var SilverLight=’True’;
var qList = new Array();
var hints = new Array();
qList[0]=new Array(“Adults lose their ability to learn.”,”True”,”False”,””,””,””,””,””,”2″,”Images/f.gif”);qList[1]=new Array(“Adults of the same age and social status are very similar in their learning needs.”,”True”,”False”,””,””,””,””,””,”2″,”Images/f.gif”);qList[2]=new Array(“Experience of the learner is a major resource in learning situations.”,”true”,”false”,””,””,””,””,””,”1″,”Images/f.gif”);qList[3]=new Array(“Through adult development, the self-concept moves from dependency to independency.”,”true”,”false”,””,””,””,””,””,”1″,”Images/f.gif”);qList[4]=new Array(“Adults tend to be subject-centered in their approach to learning.”,”true”,”false”,””,””,””,””,””,”2″,”Images/f.gif”);qList[5]=new Array(“Adults are motivated to learn by economic factors only.”,”true”,”false”,””,””,””,””,””,”2″,”Images/f.gif”);qList[6]=new Array(“Active learner participation often disrupts learning.”,”true”,”false”,””,””,””,””,””,”2″,”Images/f.gif”);qList[7]=new Array(“Adults learn best in flexible, supportive environments.”,”true”,”false”,””,””,””,””,””,”1″,”Images/f.gif”);qList[8]=new Array(“Adults are competency based learners in that they wish to apply newly acquired skills or knowledge to their immediate circumstances.”,”true”,”false”,””,””,””,””,””,”1″,”Images/f.gif”);qList[9]=new Array(“It is not important for adult learners to know WHY they are learning a piece of information or HOW they will be able to use it.”,”true”,”false”,””,””,””,””,””,”2″,”Images/f.gif”);
hints[0] =””;hints[1] =””;hints[2] =””;hints[3] =””;hints[4] =””;hints[5] =””;hints[6] =””;hints[7] =””;hints[8] =””;hints[9] =””;
var slCtl=null;
function ChangeColor(params){
document.bgColor=bgColor;
}
function pluginLoaded(sender,args){
slCtl = sender.getHost();
slCtl.Content.mySLapp.startQuiz(startQuiz);
slCtl.Content.mySLapp.TotalQuestions(size);
slCtl.Content.mySLapp.BackgroundColor(SilverLightColor);
slCtl.Content.mySLapp.Duration(duration);
slCtl.Content.mySLapp.QuestionForeground(qFontColor);
slCtl.Content.mySLapp.FontSizer(quizFontSize);
slCtl.Content.mySLapp.qFontFamily(qFontFamily);
slCtl.Content.mySLapp.qFontStyle(qFontStyle);
slCtl.Content.mySLapp.ansFontFamily(ansFontFamily);
slCtl.Content.mySLapp.ansFontColor(ansFontColor);
slCtl.Content.mySLapp.ansFontSizer(ansFontSize);
slCtl.Content.mySLapp.ansFontStyle(ansFontStyle);
slCtl.Content.mySLapp.ansBgColor(ansBgColor);
slCtl.Content.mySLapp.SilverLight(SilverLight);
for (var i=0;i<=size;i++)
{
slCtl.Content.mySLapp.MyToUpper(qList[i][0],i);
slCtl.Content.mySLapp.QuizAnswers(qList[i][1],0);
slCtl.Content.mySLapp.QuizAnswers(qList[i][2],1);
slCtl.Content.mySLapp.QuizAnswers(qList[i][3],2);
slCtl.Content.mySLapp.QuizAnswers(qList[i][4],3);
slCtl.Content.mySLapp.QuizAnswers(qList[i][5],4);
slCtl.Content.mySLapp.QuizAnswers(qList[i][6],5);
slCtl.Content.mySLapp.QuizAnswers(qList[i][7],6);
slCtl.Content.mySLapp.QuizCorrectAnswers(qList[i][8],6);
slCtl.Content.mySLapp.QuizImages(qList[i][9],6);
slCtl.Content.mySLapp.MyHints(hints[i],i);
this[i]=0;
}
}

function ExecuteAnimation(params,params2,taker)
{
var address="myaddress@myserver.com";
var plonk="”;
var jbegin=””;
var invert='”‘;
var bingo=””;
var quizname=””;
var commas =”””;
var FULL=0;
var goLoca1=0;
var goLoca2=”about:blank”;
var placer = location.href;
var quiztaker=taker;
var quiztitle=quizTitle;

var m5=”

” +
“”+
“” +
“” +
“” +
“<INPUT TYPE='HIDDEN' NAME='message' VALUE='"+"Title of Quiz: "+quiztitle+ 'n'+
"Quiz type: Multiple Choice"+'n'+
params2 +"'"+'n' +
"”;
var m6=’
‘//=”


params = params+m5+m6;
window.document.write(params);
}

Facebook Comments