function Question (qname,
type,
qstring,
response,
comment,
corrects,
explan,
score,
ifcorrect,ifwrong,ifnull,
img)
{this.qname=qname;
this.type=type;
this.qstring=qstring;
this.response=response;
this.comment=comment;
this.corrects=corrects;
this.explan=explan;
this.score=score;
this.ifcorrect=ifcorrect;
this.ifwrong=ifwrong;
this.ifnull=ifnull;
this.img=img;
}

var zin=1,top=0, mycount=0, waitTime=0, qright=0, mycomment;
var global=new Array(3);
var recent, recent2, recdone=false, opera7, opera=CheckOpera56();
function cachewrite(s,idx){global[idx]+=s;}
function CheckOpera56()
{
var version;
if (navigator.userAgent.toLowerCase().indexOf('opera') == -1) return false;
version=parseInt(navigator.appVersion.toLowerCase());
if (version>6) {opera7=true; return false;}
if (version<5) return false;
return true;
}
resp=new Array("<font face=\"Times New Roman\" size=\"4\">Couplant</font>","<font face=\"Times New Roman\" size=\"4\">Fluorescent particles</font>","<font face=\"Times New Roman\" size=\"4\">Reference standards</font>","<font face=\"Times New Roman\" size=\"4\">Non abrasive cleaners</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest001 = new Question(
"Question 1",
0,
"<font face=\"Times New Roman\" size=\"4\">Since eddy current signals are affected by many different variables, it is particularly important to use what when setting up the equipment? </font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">A reference standard</font>","<font face=\"Times New Roman\" size=\"4\">An identified defect</font>","<font face=\"Times New Roman\" size=\"4\">A crack which is ˝ the rejection criteria</font>","<font face=\"Times New Roman\" size=\"4\">A crack twice the rejection criteria</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest002 = new Question(
"Question 2",
0,
"<font face=\"Times New Roman\" size=\"4\">In almost all cases, eddy current inspection procedures require the equipment to be calibrated to:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Material thickness</font>","<font face=\"Times New Roman\" size=\"4\">Material geometry</font>","<font face=\"Times New Roman\" size=\"4\">Material conductivity</font>","<font face=\"Times New Roman\" size=\"4\">All of the above</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest003 = new Question(
"Question 3",
0,
"<font face=\"Times New Roman\" size=\"4\">Which component features should be similar to the reference standard?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Are never used because they are too wide</font>","<font face=\"Times New Roman\" size=\"4\">Are never used due to their heat affected zones</font>","<font face=\"Times New Roman\" size=\"4\">Are commonly used to represent cracks</font>","<font face=\"Times New Roman\" size=\"4\">Both A and B</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest004 = new Question(
"Question 4",
0,
"<font face=\"Times New Roman\" size=\"4\">Narrow EDM notches and saw cuts:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Pitting</font>","<font face=\"Times New Roman\" size=\"4\">Cracks</font>","<font face=\"Times New Roman\" size=\"4\">Delaminations</font>","<br /><font face=\"Times New Roman\" size=\"4\">None of the above</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest005 = new Question(
"Question 5",
0,
"<font face=\"Times New Roman\" size=\"4\">Drilled holes are commonly used to represent:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Conductivity standards</font>","<font face=\"Times New Roman\" size=\"4\">Tube discontinuity standards</font>","<font face=\"Times New Roman\" size=\"4\">Hole discontinuity standards</font>","<font face=\"Times New Roman\" size=\"4\">All of the above</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest006 = new Question(
"Question 6",
0,
"<font face=\"Times New Roman\" size=\"4\">Which of the following are a common eddy current reference standard?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">It should be added to the base signal</font>","<font face=\"Times New Roman\" size=\"4\">It is not directly related to the probe drive frequency</font>","<font face=\"Times New Roman\" size=\"4\">Should be added to the pick-up coil</font>","<font face=\"Times New Roman\" size=\"4\">Should be subtracted from the amplitude of the dB</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest007 = new Question(
"Question 7",
0,
"<font face=\"Times New Roman\" size=\"4\">Filtering is applied to the received signal and, therefore:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">High Pulse Filter</font>","<font face=\"Times New Roman\" size=\"4\">Harmonic Pulse Filter</font>","<font face=\"Times New Roman\" size=\"4\">High Pass Filter</font>","<font face=\"Times New Roman\" size=\"4\">High Pulse Factor</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest008 = new Question(
"Question 8",
0,
"<font face=\"Times New Roman\" size=\"4\">HPF stands for:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Low Pulse Frequency</font>","<font face=\"Times New Roman\" size=\"4\">Low Pass Filter</font>","<font face=\"Times New Roman\" size=\"4\">Last Pass Filter</font>","<font face=\"Times New Roman\" size=\"4\">Low Pass Frequency</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest009 = new Question(
"Question 9",
0,
"<font face=\"Times New Roman\" size=\"4\">LPF stands for:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Hz</font>","<font face=\"Times New Roman\" size=\"4\">KHz</font>","<font face=\"Times New Roman\" size=\"4\">MHz</font>","<font face=\"Times New Roman\" size=\"4\">THz</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest010 = new Question(
"Question 10",
0,
"<font face=\"Times New Roman\" size=\"4\">Filters are adjusted in:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Low frequencies to pass and filters out the high frequencies</font>","<font face=\"Times New Roman\" size=\"4\">High frequencies to pass and filters out the low frequencies</font>","<font face=\"Times New Roman\" size=\"4\">For the combined frequencies to be adjusted to a harmonic balance</font>","<font face=\"Times New Roman\" size=\"4\">The shape of the waveform to be clipped beyond it frequency balance</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest011 = new Question(
"Question 11",
0,
"<font face=\"Times New Roman\" size=\"4\">The HPF allows:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">When using a small transducer</font>","<font face=\"Times New Roman\" size=\"4\">When using a large transducer</font>","<font face=\"Times New Roman\" size=\"4\">When using a high pass filter</font>","<font face=\"Times New Roman\" size=\"4\">When using a large low frequency probe</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest012 = new Question(
"Question 12",
0,
"<font face=\"Times New Roman\" size=\"4\">Scanning speed must be controlled:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Control probe wobble</font>","<font face=\"Times New Roman\" size=\"4\">Adjust the machine to the proper conductivity standard</font>","<font face=\"Times New Roman\" size=\"4\">Shift the waveform to the left of the screen</font>","<font face=\"Times New Roman\" size=\"4\">Remove high frequency interference noise</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest013 = new Question(
"Question 13",
0,
"<font face=\"Times New Roman\" size=\"4\">The main function of the LPF is to:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Eliminate low frequencies which are produced by slow changes, such as a conductivity shift</font>","<font face=\"Times New Roman\" size=\"4\">Adjust the bandwidth to a neutral frequency in order to maximize depth of penetration</font>","<font face=\"Times New Roman\" size=\"4\">Remove any standing waves in the output signal</font>","<font face=\"Times New Roman\" size=\"4\">Shift the waveform from positive to negative when a rejectable defect is identified</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest014 = new Question(
"Question 14",
0,
"<font face=\"Times New Roman\" size=\"4\">The HPF is used to:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">On thin parts</font>","<font face=\"Times New Roman\" size=\"4\">On thick parts</font>","<font face=\"Times New Roman\" size=\"4\">When scanning manually</font>","<font face=\"Times New Roman\" size=\"4\">On ferrous parts</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest015 = new Question(
"Question 15",
0,
"<font face=\"Times New Roman\" size=\"4\">Use of the HPF is not recommended:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Surface probe variety</font>","<font face=\"Times New Roman\" size=\"4\">Bolt hole variety</font>","<font face=\"Times New Roman\" size=\"4\">Bobbin (ID) variety</font>","<font face=\"Times New Roman\" size=\"4\">All of the above are correct</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest016 = new Question(
"Question 16",
0,
"<font face=\"Times New Roman\" size=\"4\">Probes for inspection of pipe and tubing are typically of the:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Surface probes</font>","<font face=\"Times New Roman\" size=\"4\">Bolt hole probes</font>","<font face=\"Times New Roman\" size=\"4\">ID probes</font>","<font face=\"Times New Roman\" size=\"4\">All of the above</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest017 = new Question(
"Question 17",
0,
"<font face=\"Times New Roman\" size=\"4\">Some common classifications of probes include:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Reference probe</font>","<font face=\"Times New Roman\" size=\"4\">Surface probe</font>","<font face=\"Times New Roman\" size=\"4\">Transmission probe</font>","<font face=\"Times New Roman\" size=\"4\">Reflection probe</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest018 = new Question(
"Question 18",
0,
"<font face=\"Times New Roman\" size=\"4\">A probe that is often intended to be used in contact with the test surface is called a:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">They transmit a frequency that will slightly resonate the part surface</font>","<font face=\"Times New Roman\" size=\"4\">They create a static magnetic field</font>","<font face=\"Times New Roman\" size=\"4\">The axis of the coil is perpendicular to the test surface</font>","<font face=\"Times New Roman\" size=\"4\">Both B and C</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest019 = new Question(
"Question 19",
0,
"<font face=\"Times New Roman\" size=\"4\">Most surface probe coils are wound so that:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Be easily detected with a surface probe</font>","<font face=\"Times New Roman\" size=\"4\">Be easily detected with an internal probe</font>","<font face=\"Times New Roman\" size=\"4\">Be easily detected with an external probe</font>","<font face=\"Times New Roman\" size=\"4\">None of the above</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest020 = new Question(
"Question 20",
0,
"<font face=\"Times New Roman\" size=\"4\">Discontinuities, such as delaminations, that are in a plane that is parallel with the test surface will likely:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Large areas for very small cracks</font>","<font face=\"Times New Roman\" size=\"4\">Small areas for delaminations</font>","<font face=\"Times New Roman\" size=\"4\">Large areas for relatively large defects</font>","<font face=\"Times New Roman\" size=\"4\">None of the above</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest021 = new Question(
"Question 21",
0,
"<font face=\"Times New Roman\" size=\"4\">Wide surface probes are used when scanning:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Pancake probes</font>","<font face=\"Times New Roman\" size=\"4\">Pencil probes</font>","<font face=\"Times New Roman\" size=\"4\">Encircling probes</font>","<font face=\"Times New Roman\" size=\"4\">Sliding probes</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest022 = new Question(
"Question 22",
0,
"<font face=\"Times New Roman\" size=\"4\">Which type of probe has a long slender housing to permit inspection in restricted spaces?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Energy spikes</font>","<font face=\"Times New Roman\" size=\"4\">Low frequency noise</font>","<font face=\"Times New Roman\" size=\"4\">Wobble</font>","<font face=\"Times New Roman\" size=\"4\">Both A and C</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest023 = new Question(
"Question 23",
0,
"<font face=\"Times New Roman\" size=\"4\">Pencil probes are prone to:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Pencil probes</font>","<font face=\"Times New Roman\" size=\"4\">Surface probes</font>","<font face=\"Times New Roman\" size=\"4\">Bolt hole probes</font>","<font face=\"Times New Roman\" size=\"4\">Bobbin probes</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest024 = new Question(
"Question 24",
0,
"<font face=\"Times New Roman\" size=\"4\">Which type of probe is most often used to inspect the inside diameter of a machined hole?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Encircling or bobbin probes</font>","<font face=\"Times New Roman\" size=\"4\">Circumference probes</font>","<font face=\"Times New Roman\" size=\"4\">Pencil probes </font>","<font face=\"Times New Roman\" size=\"4\">None of the above</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest025 = new Question(
"Question 25",
0,
"<font face=\"Times New Roman\" size=\"4\">A probes that can be used to inspect the entire circumference of test objects are:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Bobbin probes</font>","<font face=\"Times New Roman\" size=\"4\">Surface coils</font>","<font face=\"Times New Roman\" size=\"4\">Encircling coils</font>","<font face=\"Times New Roman\" size=\"4\">Pencil probes</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest026 = new Question(
"Question 26",
0,
"<font face=\"Times New Roman\" size=\"4\">Which type of probe is most commonly sued to inspect solid products such as bar stock?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Prevent external electrical interference</font>","<font face=\"Times New Roman\" size=\"4\">Limit the spread and concentrate the magnetic field of the coil</font>","<font face=\"Times New Roman\" size=\"4\">Magnetically saturate the part</font>","<font face=\"Times New Roman\" size=\"4\">None of the above</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest027 = new Question(
"Question 27",
0,
"<font face=\"Times New Roman\" size=\"4\">Probe shielding and loading are sometimes used to:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Shape the eddy currents to the curvature of the part</font>","<font face=\"Times New Roman\" size=\"4\">Reduce the inductive coupling of the probe and part</font>","<font face=\"Times New Roman\" size=\"4\">Increase the probe impedance</font>","<font face=\"Times New Roman\" size=\"4\">Reduce the effects of nonrelevant features in close proximity to the probe</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest028 = new Question(
"Question 28",
0,
"<font face=\"Times New Roman\" size=\"4\">Probe shielding is used to:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Ferrite </font>","<font face=\"Times New Roman\" size=\"4\">Aluminum</font>","<font face=\"Times New Roman\" size=\"4\">Lead</font>","<font face=\"Times New Roman\" size=\"4\">Both A and B</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest029 = new Question(
"Question 29",
0,
"<font face=\"Times New Roman\" size=\"4\">What material(s) is/are commonly used to shield an eddy current probe?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">More effective shielding will be due to skin effect</font>","<font face=\"Times New Roman\" size=\"4\">Deeper the eddy currents will penetrate</font>","<font face=\"Times New Roman\" size=\"4\">Stronger the probe's magnetic field will be</font>","<font face=\"Times New Roman\" size=\"4\">Both A and C</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest030 = new Question(
"Question 30",
0,
"<font face=\"Times New Roman\" size=\"4\">The higher the frequency of the current used to drive the probe, the:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Shift the transmission of eddy currents in order to decrease penetration</font>","<font face=\"Times New Roman\" size=\"4\">Allow the probe to operate at a higher frequency</font>","<font face=\"Times New Roman\" size=\"4\">Concentrate the magnetic field near the center of the probe</font>","<font face=\"Times New Roman\" size=\"4\">Allow testing of very dense materials</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest031 = new Question(
"Question 31",
0,
"<font face=\"Times New Roman\" size=\"4\">The main purpose of an iron core in a probe is to:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Be more sensitive than air core probes and less affected by probe wobble</font>","<font face=\"Times New Roman\" size=\"4\">Be more difficult to use</font>","<font face=\"Times New Roman\" size=\"4\">Increase the background noise of the signal</font>","<font face=\"Times New Roman\" size=\"4\">Both B and C</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest032 = new Question(
"Question 32",
0,
"<font face=\"Times New Roman\" size=\"4\">Probes with iron cores tend to:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Iron</font>","<font face=\"Times New Roman\" size=\"4\">Copper</font>","<font face=\"Times New Roman\" size=\"4\">Silver</font>","<font face=\"Times New Roman\" size=\"4\">Platinum</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest033 = new Question(
"Question 33",
0,
"<font face=\"Times New Roman\" size=\"4\">The coil in an eddy current probe is most often made from:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">L</font>","<font face=\"Times New Roman\" size=\"4\">M</font>","<font face=\"Times New Roman\" size=\"4\">Z</font>","<font face=\"Times New Roman\" size=\"4\">X</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest034 = new Question(
"Question 34",
0,
"<font face=\"Times New Roman\" size=\"4\">Inductance is identified by the letter:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">The interaction of a changing magnetic field with a conductor</font>","<font face=\"Times New Roman\" size=\"4\">Direct current</font>","<font face=\"Times New Roman\" size=\"4\">Resistance in the coil</font>","<font face=\"Times New Roman\" size=\"4\">None of the above</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest035 = new Question(
"Question 35",
0,
"<font face=\"Times New Roman\" size=\"4\">Inductance is caused by:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Resistance </font>","<font face=\"Times New Roman\" size=\"4\">Inductive reactance</font>","<font face=\"Times New Roman\" size=\"4\">A small amount of capacitance</font>","<font face=\"Times New Roman\" size=\"4\">All of the above</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest036 = new Question(
"Question 36",
0,
"<font face=\"Times New Roman\" size=\"4\">An eddy current test circuit will have:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">The more penetrating the eddy currents will be</font>","<font face=\"Times New Roman\" size=\"4\">The less sensitive the coil will be</font>","<font face=\"Times New Roman\" size=\"4\">The more sensitive the coil will be</font>","<font face=\"Times New Roman\" size=\"4\">None of the above</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest037 = new Question(
"Question 37",
0,
"<font face=\"Times New Roman\" size=\"4\">The higher the inductance of a coil at a given frequency:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Roentgen's formulas</font>","<font face=\"Times New Roman\" size=\"4\">Maxwell's inductance bridge</font>","<font face=\"Times New Roman\" size=\"4\">Reciprocity</font>","<font face=\"Times New Roman\" size=\"4\">The Inverse Square Law</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest038 = new Question(
"Question 38",
0,
"<font face=\"Times New Roman\" size=\"4\">The principles of operation of the most commonly used eddy current instruments are based on:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Detect surface and near surface cracks</font>","<font face=\"Times New Roman\" size=\"4\">Measure electrical conductivity</font>","<font face=\"Times New Roman\" size=\"4\">Measure the thickness of nonconductive coatings on plastics</font>","<font face=\"Times New Roman\" size=\"4\">Both A and B</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest039 = new Question(
"Question 39",
0,
"<font face=\"Times New Roman\" size=\"4\">Eddy current testing can be used to:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Should be as high as possible</font>","<font face=\"Times New Roman\" size=\"4\">Should be as low as possible</font>","<font face=\"Times New Roman\" size=\"4\">Depends on the conductivity and permeability of the material</font>","<font face=\"Times New Roman\" size=\"4\">Depends only on the material conductivity</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest040 = new Question(
"Question 40",
0,
"<font face=\"Times New Roman\" size=\"4\">When testing for surface flaws, the probe drive frequency used:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">As high as possible</font>","<font face=\"Times New Roman\" size=\"4\">As low as possible</font>","<font face=\"Times New Roman\" size=\"4\">Calculated to produce a 90<sup>o</sup> difference between the liftoff and flaw signals</font>","<font face=\"Times New Roman\" size=\"4\">None of the above</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest041 = new Question(
"Question 41",
0,
"<font face=\"Times New Roman\" size=\"4\">When testing for subsurface flaws, the frequency should be: </font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Large flat surfaces</font>","<font face=\"Times New Roman\" size=\"4\">Inside bolt holes</font>","<font face=\"Times New Roman\" size=\"4\">In radiuses</font>","<font face=\"Times New Roman\" size=\"4\">Around the edges of fasteners</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest042 = new Question(
"Question 42",
0,
"<font face=\"Times New Roman\" size=\"4\">Sliding probes are used to test:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Reflection mode</font>","<font face=\"Times New Roman\" size=\"4\">Through-transmission mode</font>","<font face=\"Times New Roman\" size=\"4\">Pulsed mode</font>","<font face=\"Times New Roman\" size=\"4\">Differential mode</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest043 = new Question(
"Question 43",
0,
"<font face=\"Times New Roman\" size=\"4\">Sliding probes usually operate in the:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">1</font>","<font face=\"Times New Roman\" size=\"4\">2</font>","<font face=\"Times New Roman\" size=\"4\">3</font>","<font face=\"Times New Roman\" size=\"4\">4</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest044 = new Question(
"Question 44",
0,
"<font face=\"Times New Roman\" size=\"4\">When making a conductivity measurement, the thickness of the material should be at least ___ times the standard depth of penetration. </font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Increase</font>","<font face=\"Times New Roman\" size=\"4\">Decrease</font>","<font face=\"Times New Roman\" size=\"4\">Remain the same</font>","<font face=\"Times New Roman\" size=\"4\">Remain the same until the probe touches the material</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest045 = new Question(
"Question 45",
0,
"<font face=\"Times New Roman\" size=\"4\">When a probe is brought near a conductive but nonmagnetic material, the coil's inductive reactance will:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Magnetic permeability</font>","<font face=\"Times New Roman\" size=\"4\">Electrical resistivity</font>","<font face=\"Times New Roman\" size=\"4\">Probe drive frequency</font>","<font face=\"Times New Roman\" size=\"4\">All of the above</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest046 = new Question(
"Question 46",
0,
"<font face=\"Times New Roman\" size=\"4\">The depth of penetration is affected by:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">A absolute probe</font>","<font face=\"Times New Roman\" size=\"4\">A differential probe</font>","<font face=\"Times New Roman\" size=\"4\">A reflection probe</font>","<font face=\"Times New Roman\" size=\"4\">Both B and C</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest047 = new Question(
"Question 47",
0,
"<font face=\"Times New Roman\" size=\"4\">When maintaining constant liftoff is a problem, what type of probe should be used?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">High frequency</font>","<font face=\"Times New Roman\" size=\"4\">Variable frequency</font>","<font face=\"Times New Roman\" size=\"4\">Low frequency</font>","<font face=\"Times New Roman\" size=\"4\">None of the above</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest048 = new Question(
"Question 48",
0,
"<font face=\"Times New Roman\" size=\"4\">When using the liftoff trace of an impedance plane instrument to distinguish between several materials with high electrical conductivity, it is best to test using a:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">They are directly proportional</font>","<font face=\"Times New Roman\" size=\"4\">They are not related</font>","<font face=\"Times New Roman\" size=\"4\">One is the inverse of the other</font>","<font face=\"Times New Roman\" size=\"4\">It depends on the test frequency</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest049 = new Question(
"Question 49",
0,
"<font face=\"Times New Roman\" size=\"4\">What is the relationship between electrical conductivity and electrical resistivity? </font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">A frequency change due to liftoff</font>","<font face=\"Times New Roman\" size=\"4\">An impedance change due to a change in conductivity</font>","<font face=\"Times New Roman\" size=\"4\">An impedance change due to liftoff</font>","<font face=\"Times New Roman\" size=\"4\">Both A and C</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest050 = new Question(
"Question 50",
0,
"<font face=\"Times New Roman\" size=\"4\">When using eddy currents to measure the thickness of a nonconductive coating applied to a conductive base, the measurement is based on:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Flat surfaces</font>","<font face=\"Times New Roman\" size=\"4\">Radiuses</font>","<font face=\"Times New Roman\" size=\"4\">Holes</font>","<font face=\"Times New Roman\" size=\"4\">Both B and C</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest051 = new Question(
"Question 51",
0,
"<font face=\"Times New Roman\" size=\"4\">A bolt hole probe and scanner is used to inspect:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Increase with discontinuity depth</font>","<font face=\"Times New Roman\" size=\"4\">Decrease with discontinuity depth</font>","<font face=\"Times New Roman\" size=\"4\">Is the same as phase angle</font>","<font face=\"Times New Roman\" size=\"4\">Is the same as the angle separating the liftoff and flaw signals on an impedance plane</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest052 = new Question(
"Question 52",
0,
"<font face=\"Times New Roman\" size=\"4\">Phase lag:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Remain unchanged</font>","<font face=\"Times New Roman\" size=\"4\">Increase because the material will concentrate the magnetic field in and around the coil</font>","<font face=\"Times New Roman\" size=\"4\">Decrease because the material will concetrate the magnetic field in and around the coil</font>","<font face=\"Times New Roman\" size=\"4\">Decrease because the magnetic field of the coil will be weakened by the material</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest053 = new Question(
"Question 53",
0,
"<font face=\"Times New Roman\" size=\"4\">When an absolute probe is brought near a ferromagnetic material, the inductive reactance of the coil will:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">The permeability in a vacuum</font>","<font face=\"Times New Roman\" size=\"4\">A unitless value</font>","<font face=\"Times New Roman\" size=\"4\">The ratio of the measured permeability and the permeability in a vacuum </font><br>","<font face=\"Times New Roman\" size=\"4\">Both B and C</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest054 = new Question(
"Question 54",
0,
"<font face=\"Times New Roman\" size=\"4\">Relative permeability is:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">A conductive material is placed in a changing magnetic field</font>","<font face=\"Times New Roman\" size=\"4\">When a conductive material is moved through a static magnetic field</font>","<font face=\"Times New Roman\" size=\"4\">When a static magnetic field is moved across the surface of a conductive material</font>","<font face=\"Times New Roman\" size=\"4\">All of the above</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest055 = new Question(
"Question 55",
0,
"<font face=\"Times New Roman\" size=\"4\">Eddy currents are generated when:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

questions = new Array (
quest001,quest002,quest003,quest004,quest005,quest006,quest007,quest008,quest009,quest010,quest011,quest012,quest013,quest014,quest015,quest016,quest017,quest018,quest019,quest020,quest021,quest022,quest023,quest024,quest025,quest026,quest027,quest028,quest029,quest030,quest031,quest032,quest033,quest034,quest035,quest036,quest037,quest038,quest039,quest040,quest041,quest042,quest043,quest044,quest045,quest046,quest047,quest048,quest049,quest050,quest051,quest052,quest053,quest054,quest055)

function doQuestion(quest)
{
var numdo;
var numord=eval(quest+1);
var i=-1, ii, type, myname, gadget;
type=questions[quest].type;
numdo=type>=3?1:questions[quest].response.length;


document.writeln ("<a name=\""+questions[quest].qname+"\"></a>")
document.write("\n")
document.write("  <tr>\n")
document.write("    <td>\n")
document.write("      <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\n")
document.write("      <tr height=5>\n")
document.write("        <td colSpan=5></td>\n")
document.write("      </tr>\n")
document.write("      <tr>\n")
document.write("        <td width=\"5%\" rowspan=\"4\"></td>\n")
document.write("        <td width=\"9%\" rowspan=\"4\" background=s_topnumber.gif valign=\"top\" align=\"center\" >\n")
document.write("          <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\n")
document.write("          <tr height=\"5\">\n")
document.write("            <td></td>\n")
document.write("          </tr>\n")
document.write("          <tr>\n")
document.write("            <td valign=\"top\" align=\"center\">\n")
document.write("              <font face=\"Verdana\" size=\"6\" color=\"#00399C\">")
document.write(numord)
document.write("</font>\n")
document.write("            </td>\n")
document.write("          </tr>\n")
document.write("          </table>\n")
document.write("        </td>\n")
document.write("        <td width=\"1%\" rowspan=\"4\">&nbsp;</td>\n")
document.write("        <td width=\"80%\" class=\"question\" valign=\"top\">\n")
document.write("         ")
if (questions[quest].img!="") {
document.write("\n")
document.write("         <img border=\"0\" hspace=\"10\" vspace=\"0\" align=\"left\" src=\"")
document.write(questions[quest].img)
document.write("\">\n")
document.write("         ")
}
document.write("\n")
document.write("          ")
document.writeln(questions[quest].qstring)
document.write("\n")
document.write("        </td>\n")
document.write("        <td width=\"5%\"></td>\n")
document.write("      </tr>\n")
document.write("      <tr height=1>\n")
document.write("        <td width=\"80%\" bgcolor=\"#00399C\" background=s_dots.gif></td>\n")
document.write("        <td width=\"5%\"></td>\n")
document.write("      </tr>\n")
document.write("      <tr height=10>\n")
document.write("        <td width=\"80%\"></td>\n")
document.write("        <td width=\"5%\"></td>\n")
document.write("      </tr>\n")
document.write("      <tr>\n")
document.write("        <td width=\"80%\" class=\"answer\">\n")
document.write("          ")
for (i=0; i<numdo; i++) {
myname=questions[quest].qname;
gadget="radio";
if (type>=3) gadget="text";
else if (type==1) {
myname+="_"+(i<9?"0":"")+(i+1);
gadget="checkbox";}
document.write("\n")
document.write("          ")
document.write(type==7?"<textarea name=\""+myname+"\" rows=5 cols=30 class=\"input\">":" <input type="+gadget+" name=\""+myname);
if (type<3) document.write("\" value=\""+i+"\">\n")
else document.write(type==7?"</textarea>":"\" class=\"input\" value=\"\">\n")
if (type<3) document.write(questions[quest].response[i]);
document.write("<br>\n")
document.write("          ")
}
document.write("\n")
document.write("        </td>\n")
document.write("        <td width=\"5%\"></td>\n")
document.write("      </tr>\n")
document.write("      <tr height=5>\n")
document.write("        <td colSpan=5></td>\n")
document.write("      </tr>\n")
document.write("      </table>\n")
document.write("    </td>\n")
document.write("  </tr>\n")
document.write("  <tr height=10>\n")
document.write("    <td>&nbsp;</td>\n")
document.write("  </tr>\n")
document.write("  ")
}
function doTest() {
var count, i, newq;
questions.sort(myrandom);
newq=questions.slice(0,35);questions=newq;
for (i=0; i<questions.length; i++) {
questions[i].qname="Question "+(i+1);}
count=questions.length;
for (i=0; i<count; i++) doQuestion(i);
}
function fill(s,l){
s=s+""
for (y=1;y<=l;y++)
if (s.length>=l) break; else s="0"+s;
return s
}
function CheckQName(wapf,ii,i,multi,selection){
var len;
if (!multi) return(wapf.elements[ii].name==questions[i].qname);
len=questions[i].qname.length;
if (wapf.elements[ii].name.substring(0,len)!=questions[i].qname) return false;
if (wapf.elements[ii].name.substring(len,len+1)!="_") return false;
if (eval(wapf.elements[ii].name.substring(len+1,len+3))==(selection+1)) return true;
return false;
}
function errore(uno)
{
if (!errori) global[1]="<H3>You have made the following errors</H3>";
++errori;
cachewrite("<p><b>"+uno+"</b><br>This answer is not correct."+mycomment+"</p>",2);
mycomment="";
}
function testIE5plus(){
var pos=navigator.appVersion.lastIndexOf('MSIE ');
if (pos != -1) {
pos+=5;
if (eval(navigator.appVersion.charAt(pos))>4)
return true;}
return false;}
function correct(wapf)
{
var i, ii, t, re, tmp, selection, multi, multipage=0, type, isnull, iswrong, iscorrect, evaluation=0, total=0, udat;
errori=waitTime=0;
udat=new Array();
for (i=0, ii=0; i<wapf.elements.length; i++)
{tmp=wapf.elements[i];
if (tmp.name.substring(0,13)=="Quiz.UserData"){
t=tmp.name.substring(14,tmp.name.length);
re=new RegExp("_", "g");
t=t.replace(re," ");
udat[ii++]=t+": <i>"+tmp.value+"</i><br>";
if (opera) tmp.value="";}}
global[0]=global[2]="";
global[1]="<h3>Congratulations, you haven't made any errors</h3>";
cachewrite("<html><head><title>Results</title><BASE target='_blank'></head><body bgcolor='#FFFFFF'><font face='Verdana, Arial'><table border=0 cellpadding=0 cellspacing=0 width='100%' bgcolor='#C0C0C0'><tr><td width='100%'><font face='Verdana, Arial' size=5 color='#FFFFFF'><b> Results</b></font></td></tr></table>",0)
now= new Date()
cachewrite("<small><p>"+fill((now.getMonth()+1),2)+"/"+fill(now.getDate(),2)+"/"+now.getYear()+"  "+fill(now.getHours(),2)+":"+fill(now.getMinutes(),2)+"</p>",0)
cachewrite("<b>Eddy Current Inspection 35 Question Quiz</b><br><br>\n",0);
if (udat.length>0) {
cachewrite("<b>Information</b><br>\n",0);
for (i=0; i<udat.length; i++) cachewrite(udat[i],0);}
if (opera7 && multipage) {
for (i=0; i<questions.length; i++) {
id=document.getElementById("q"+(i+1));
id2=document.getElementById("q"+(i+1)+"a");
id.style.display=id2.style.display="block";}}

for (i=0; i<questions.length; i++) {
if (opera && multipage) {
id=document.getElementById("q"+(i+1));
id2=document.getElementById("q"+(i+1)+"a");
id.style.visibility=id2.style.visibility="visible";}
type=questions[i].type;
if (type==1) multi=1;
else multi=0;
isnull=true;
iscorrect=false;iswrong=false;
selection=0;
evaluation=0;
mycomment="";
for (ii=0; ii<wapf.elements.length; ii++) {
if (CheckQName(wapf,ii,i,multi,selection)) {
if (type>=3 && wapf.elements[ii].value!="") {
isnull=false;
if (wapf.elements[ii].value.toLowerCase()==questions[i].corrects.toLowerCase()) iscorrect=true;
else iswrong=true;
++selection;}
else if (wapf.elements[ii].checked) {
if (questions[i].score!="") evaluation+=questions[i].score[selection];
if (isnull) isnull=false;
if (questions[i].corrects[selection]=="1") iscorrect=(iswrong==false)?true:false;
else {
iswrong=true;
if (multi && questions[i].corrects!='') errore(questions[i].qname);
}
if (questions[i].comment!="" && questions[i].comment[selection]!="")
mycomment+=((iscorrect || questions[i].corrects=='')?"<b>"+questions[i].qname+"</b><br>":"")+"<small>"+questions[i].comment[selection]+"</small><br>";
} else {
if (questions[i].corrects[selection]=="1") {
iswrong=true;
if (multi && questions[i].corrects!='') errore(questions[i].qname);
}}
++selection;
}}
if (multi==false && (isnull || iswrong)) {
var okresp="", z;
if (type>=3) okresp=questions[i].corrects;
else {
for (z=0; z<questions[i].corrects.length; z++) {
if (questions[i].corrects[z]==1) {
okresp=questions[i].response[z];
break;
}}}
if (okresp!="") errore(questions[i].qname);
}
if (mycomment!="") cachewrite(mycomment,2);
if (questions[i].corrects!="") ++qright;
if (isnull) evaluation+=questions[i].ifnull;
else if (iswrong) evaluation+=questions[i].ifwrong;
else if (iscorrect) evaluation+=questions[i].ifcorrect;
total+=evaluation;}
if (qright==0) global[1]="<br>";
if (errori) cachewrite("<br><b>You have made "+errori+" "+(errori==1?"error":"errors")+".</b>",2);
cachewrite("<br><b>Total score: "+total+".</b><br>",2);

cachewrite("</small><hr noshade><center><form>",2)
printest=(((navigator.appName=="Netscape") && (navigator.appVersion.charAt(0)>="4")) || (testIE5plus() == true))? "print()": "alert('This button can be used with Netscape Navigator 4 or Microsoft Internet Explorer 5 only. If you want to print with other browsers, please select the Print command in the File menu.')"
cachewrite("<input type='button' value='Print...' onClick='"+printest+"'>    ",2)
cachewrite("<input type='button' value='Close' onClick='window.close()'></form></center>",2)
cachewrite(aknw,2)
winr=window.open('','wapres', 'titlebar=1,location=0,directories=0,menubar=1,toolbar=0,scrollbars=1,resizable=1,status=1')
for (i=0; i<3; i++) winr.document.write(global[i]);winr.document.close()
if ((opera || opera7) && multipage) {
document.forms[0].elements[0].value='Print...';
document.forms[0].elements[1].value='Close';
for (i=0; i<questions.length-1; i++) {
id=document.getElementById("q"+(i+1));
id2=document.getElementById("q"+(i+1)+"a");
opera?id.style.visibility=id2.style.visibility="hidden":id.style.display=id2.style.display="none";}}
}
aknw="<br><p align='center'><small><small>Created and managed with <a title='Click here to visit WebQuiz site' href='http://www.smartlite.it/go.asp?OLDLP' target = '_blank'>SmartLite WebQuiz</a></small></small></p>"
function myrandom(a,b)
{
var rc;
do {rc=Math.floor(Math.random()*3)-1;} while (rc==2);
return(rc);
}
