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\">Longitudinal waves</font>","<font face=\"Times New Roman\" size=\"4\">Shear waves</font>","<font face=\"Times New Roman\" size=\"4\">Surface waves</font>","<font face=\"Times New Roman\" size=\"4\">All of the above</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest001 = new Question(
"Question 1",
0,
"<font face=\"Times New Roman\" size=\"4\">Sound can propagate as:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Surface waves</font>","<font face=\"Times New Roman\" size=\"4\">Pressure waves</font>","<font face=\"Times New Roman\" size=\"4\">Compressional waves</font>","<font face=\"Times New Roman\" size=\"4\">Both B and C are correct</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest002 = new Question(
"Question 2",
0,
"<font face=\"Times New Roman\" size=\"4\">Longitudinal waves are also called:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Move in an elliptical pattern</font>","<font face=\"Times New Roman\" size=\"4\">Oscillate at a right angle to the direction of wave propagation</font>","<font face=\"Times New Roman\" size=\"4\">Oscillate parallel to the direction of wave propagation</font>","<font face=\"Times New Roman\" size=\"4\">Do not actually move</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest003 = new Question(
"Question 3",
0,
"<font face=\"Times New Roman\" size=\"4\">In the transverse or shear wave, the particles:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Solids</font>","<font face=\"Times New Roman\" size=\"4\">Gases</font>","<font face=\"Times New Roman\" size=\"4\">Liquids</font>","<font face=\"Times New Roman\" size=\"4\">Both B and C are correct</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest004 = new Question(
"Question 4",
0,
"<font face=\"Times New Roman\" size=\"4\">Shear waves do not propagate in:</font><br>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">One wavelength</font>","<font face=\"Times New Roman\" size=\"4\">Two wavelengths</font>","<font face=\"Times New Roman\" size=\"4\">Three wavelengths</font>","<font face=\"Times New Roman\" size=\"4\">Infinite wavelengths</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest005 = new Question(
"Question 5",
0,
"<font face=\"Times New Roman\" size=\"4\">Surface or Rayleigh waves travelling along the surface of relative thick solid material, penetrate to a depth of approximately:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">A longitudinal wave</font>","<font face=\"Times New Roman\" size=\"4\">A shear wave</font>","<font face=\"Times New Roman\" size=\"4\">A surface wave</font>","<font face=\"Times New Roman\" size=\"4\">A Lamb wave</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest006 = new Question(
"Question 6",
0,
"<font face=\"Times New Roman\" size=\"4\">Which of the following waves is able to follow a surface around a curve?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">A longitudinal wave</font>","<font face=\"Times New Roman\" size=\"4\">A shear waves</font>","<font face=\"Times New Roman\" size=\"4\">A surface wave</font>","<font face=\"Times New Roman\" size=\"4\">A lamb wave</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest007 = new Question(
"Question 7",
0,
"<font face=\"Times New Roman\" size=\"4\">Which of the following waves is only able to travel through a thin section of material?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">One-half</font>","<font face=\"Times New Roman\" size=\"4\">One</font>","<font face=\"Times New Roman\" size=\"4\">Two</font>","<font face=\"Times New Roman\" size=\"4\">0ne-quarter</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest008 = new Question(
"Question 8",
0,
"<font face=\"Times New Roman\" size=\"4\">In order to have a reasonable chance at detecting a discontinuity, the reflective surface of the discontinuity must have a dimension that is at least as long as ________ wavelength.</font><br>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Sensitivity and penetration</font>","<font face=\"Times New Roman\" size=\"4\">Space and time</font>","<font face=\"Times New Roman\" size=\"4\">Sensitivity and resolution</font>","<font face=\"Times New Roman\" size=\"4\">Frequency and size</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest009 = new Question(
"Question 9",
0,
"<font face=\"Times New Roman\" size=\"4\">The terms used to describe a technique’s ability to locate flaws are:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Resolution</font>","<font face=\"Times New Roman\" size=\"4\">Sensitivity</font>","<font face=\"Times New Roman\" size=\"4\">Wavelength</font>","<font face=\"Times New Roman\" size=\"4\">Frequency</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest010 = new Question(
"Question 10",
0,
"<font face=\"Times New Roman\" size=\"4\">The ability to locate a small discontinuity is called:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Resolution</font>","<font face=\"Times New Roman\" size=\"4\">Sensitivity</font>","<font face=\"Times New Roman\" size=\"4\">Effectiveness</font>","<font face=\"Times New Roman\" size=\"4\">Phase delay</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest011 = new Question(
"Question 11",
0,
"<font face=\"Times New Roman\" size=\"4\">The ability to locate discontinuities that are close together within the material is called:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">With increased depth of a defect</font>","<font face=\"Times New Roman\" size=\"4\">With a decrease in the transducer frequency</font>","<font face=\"Times New Roman\" size=\"4\">When the transducer diameter is reduced</font>","<font face=\"Times New Roman\" size=\"4\">With an increase in transducer frequency</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest012 = new Question(
"Question 12",
0,
"<font face=\"Times New Roman\" size=\"4\">Resolution generally increases:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Become more compressed</font>","<font face=\"Times New Roman\" size=\"4\">Scatter more from large or course grain structure</font>","<font face=\"Times New Roman\" size=\"4\">Convert to a different wave mode</font>","<font face=\"Times New Roman\" size=\"4\">Become more penetrating</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest013 = new Question(
"Question 13",
0,
"<font face=\"Times New Roman\" size=\"4\">As frequency increases, sound tends to:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Its intensity diminishes with distance</font>","<font face=\"Times New Roman\" size=\"4\">It spreads perpendicular to the primary direction of wave travel</font>","<font face=\"Times New Roman\" size=\"4\">Its speed remains constant</font>","<font face=\"Times New Roman\" size=\"4\">All of the above</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest014 = new Question(
"Question 14",
0,
"<font face=\"Times New Roman\" size=\"4\">When sound travels through a medium:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Shear factor</font>","<font face=\"Times New Roman\" size=\"4\">Propagation</font>","<font face=\"Times New Roman\" size=\"4\">Attenuation</font>","<font face=\"Times New Roman\" size=\"4\">Impedance</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest015 = new Question(
"Question 15",
0,
"<font face=\"Times New Roman\" size=\"4\">The combined effect of scattering and absorption is called:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Z</font>","<font face=\"Times New Roman\" size=\"4\">I</font>","<font face=\"Times New Roman\" size=\"4\">V</font>","<font face=\"Times New Roman\" size=\"4\">P</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest016 = new Question(
"Question 16",
0,
"<font face=\"Times New Roman\" size=\"4\">Acoustic impedance is identified by the letter:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Reflected waves</font>","<font face=\"Times New Roman\" size=\"4\">Refracted waves</font>","<font face=\"Times New Roman\" size=\"4\">Interface waves</font>","<font face=\"Times New Roman\" size=\"4\">Both A and B</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest017 = new Question(
"Question 17",
0,
"<font face=\"Times New Roman\" size=\"4\">When an ultrasound wave passes through an interface between two materials at an oblique angle, and the materials have different indices of refraction, it produces:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Attenuation</font>","<font face=\"Times New Roman\" size=\"4\">Refraction</font>","<font face=\"Times New Roman\" size=\"4\">Beam spread</font>","<font face=\"Times New Roman\" size=\"4\">Beam impedance</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest018 = new Question(
"Question 18",
0,
"<font face=\"Times New Roman\" size=\"4\">When a wave encounters an interface at an oblique angle, what takes place at the interface due to the different sound velocities of the two materials?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Acoustic impedance</font>","<font face=\"Times New Roman\" size=\"4\">Signal to noise ratio</font>","<font face=\"Times New Roman\" size=\"4\">Refraction</font>","<font face=\"Times New Roman\" size=\"4\">Reflection</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest019 = new Question(
"Question 19",
0,
"<font face=\"Times New Roman\" size=\"4\">The measure of how a signal from a defect compared to other background reflections is called:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Lithium</font>","<font face=\"Times New Roman\" size=\"4\">Piezoelectric ceramic</font>","<font face=\"Times New Roman\" size=\"4\">Sulfide</font>","<font face=\"Times New Roman\" size=\"4\">Quartz</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest020 = new Question(
"Question 20",
0,
"<font face=\"Times New Roman\" size=\"4\">The active element of most acoustic transducers used today is:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Electrical construction</font>","<font face=\"Times New Roman\" size=\"4\">Material construction</font>","<font face=\"Times New Roman\" size=\"4\">Mechanical construction</font>","<font face=\"Times New Roman\" size=\"4\">All of the above</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest021 = new Question(
"Question 21",
0,
"<font face=\"Times New Roman\" size=\"4\">Which of the following could influence the behavior of a transducer?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">An acoustical impedance </font><font face=\"Times New Roman\" size=\"4\">matching layer</font>","<font face=\"Times New Roman\" size=\"4\">A large angle of refraction</font>","<font face=\"Times New Roman\" size=\"4\">A small angle of refraction</font>","<font face=\"Times New Roman\" size=\"4\">A large angle of reflection</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest022 = new Question(
"Question 22",
0,
"<font face=\"Times New Roman\" size=\"4\">Immersion transducers have:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Composite frequency adjustment</font>","<font face=\"Times New Roman\" size=\"4\">Vibration suppressor</font>","<font face=\"Times New Roman\" size=\"4\">Wear plate</font>","<font face=\"Times New Roman\" size=\"4\">Phase adjustment sensor</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest023 = new Question(
"Question 23",
0,
"<font face=\"Times New Roman\" size=\"4\">Contact transducers often incorporate a:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Resin</font>","<font face=\"Times New Roman\" size=\"4\">Oil</font>","<font face=\"Times New Roman\" size=\"4\">Backing material with a similar the impedance of the transducer</font>","<font face=\"Times New Roman\" size=\"4\">Any of the above will work</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest024 = new Question(
"Question 24",
0,
"<font face=\"Times New Roman\" size=\"4\">What is used to support the active element and dampen the transducers characteristics?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Better transmitters</font>","<font face=\"Times New Roman\" size=\"4\">Better receivers</font>","<font face=\"Times New Roman\" size=\"4\">Used in high temperature applications</font>","<font face=\"Times New Roman\" size=\"4\">All of the above</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest025 = new Question(
"Question 25",
0,
"<font face=\"Times New Roman\" size=\"4\">Some transducers are specifically fabricated to be:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">A slightly damped transducer</font>","<font face=\"Times New Roman\" size=\"4\">A small size and low frequency transducer</font>","<font face=\"Times New Roman\" size=\"4\">A highly damped transducer</font>","<font face=\"Times New Roman\" size=\"4\">All of the above</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 transducer will have better resolution?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">A wide frequency range</font>","<font face=\"Times New Roman\" size=\"4\">A wide resolution range</font>","<font face=\"Times New Roman\" size=\"4\">A shift in frequency range</font>","<font face=\"Times New Roman\" size=\"4\">A narrow frequency range</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest027 = new Question(
"Question 27",
0,
"<font face=\"Times New Roman\" size=\"4\">Less damped transducers will exhibit:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">From a point on the active surface</font>","<font face=\"Times New Roman\" size=\"4\">From most of the active surface</font>","<font face=\"Times New Roman\" size=\"4\">From a small area in the center of the active surface</font>","<font face=\"Times New Roman\" size=\"4\">From the edges of the active surface</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest028 = new Question(
"Question 28",
0,
"<font face=\"Times New Roman\" size=\"4\">The sound that emanates from a piezoelectric transducer originates:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Far field zone</font>","<font face=\"Times New Roman\" size=\"4\">Surface field zone</font>","<font face=\"Times New Roman\" size=\"4\">Near field zone</font>","<font face=\"Times New Roman\" size=\"4\">Phase shift zone</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest029 = new Question(
"Question 29",
0,
"<font face=\"Times New Roman\" size=\"4\">The area in front of a transducer where there are extensive fluctuations in the sound field is called the:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Far field zone</font>","<font face=\"Times New Roman\" size=\"4\">Near field zone</font>","<font face=\"Times New Roman\" size=\"4\">Interface between the transducer and plastic wedge</font>","<font face=\"Times New Roman\" size=\"4\">Band along the central axis</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest030 = new Question(
"Question 30",
0,
"<font face=\"Times New Roman\" size=\"4\">The sound energy or ultrasonic beam is more uniform in the:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">High frequency transducers</font>","<font face=\"Times New Roman\" size=\"4\">Low frequency transducers</font>","<font face=\"Times New Roman\" size=\"4\">Angle beam transducers</font>","<font face=\"Times New Roman\" size=\"4\">Larger diameter transducers</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest031 = new Question(
"Question 31",
0,
"<font face=\"Times New Roman\" size=\"4\">Beam spread is greater when using:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Used with an immersion tank</font>","<font face=\"Times New Roman\" size=\"4\">Used with an automated system</font>","<font face=\"Times New Roman\" size=\"4\">Used on complicated shaped parts</font>","<font face=\"Times New Roman\" size=\"4\">Hand manipulated</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest032 = new Question(
"Question 32",
0,
"<font face=\"Times New Roman\" size=\"4\">Contact transducers are used for direct contact inspections, and are generally:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Contact inspection</font>","<font face=\"Times New Roman\" size=\"4\">Weld inspection</font>","<font face=\"Times New Roman\" size=\"4\">Angle beam inspection</font>","<font face=\"Times New Roman\" size=\"4\">All of the above</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest033 = new Question(
"Question 33",
0,
"<font face=\"Times New Roman\" size=\"4\">Which of the following ultrasonic techniques require the probe to be held firmly against component?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">A spherically focused transducer</font>","<font face=\"Times New Roman\" size=\"4\">A cylindrically focused transducer</font>","<font face=\"Times New Roman\" size=\"4\">A shaped shoe</font>","<font face=\"Times New Roman\" size=\"4\">A large diameter transducer</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest034 = new Question(
"Question 34",
0,
"<font face=\"Times New Roman\" size=\"4\">When performing a contact inspection on a curved surface, what pieced of equipment can be used to improve coupling?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Crystal mosaic transducer</font>","<font face=\"Times New Roman\" size=\"4\">Dual element transducer</font>","<font face=\"Times New Roman\" size=\"4\">Liquid crystal transducer</font>","<font face=\"Times New Roman\" size=\"4\">Bi polar transducer</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest035 = new Question(
"Question 35",
0,
"<font face=\"Times New Roman\" size=\"4\">What type of transducer contains two independently operating elements in a single housing?</font><br>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Can not start receiving reflected signals until the element has stopped ringing from its transmit function</font>","<font face=\"Times New Roman\" size=\"4\">Needs to have a high pulse rate</font>","<font face=\"Times New Roman\" size=\"4\">Should be used in the dual mode</font>","<font face=\"Times New Roman\" size=\"4\">Can only be made with lithium sulfate</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest036 = new Question(
"Question 36",
0,
"<font face=\"Times New Roman\" size=\"4\">When a single element transducer is operating in the pulse echo mode, the element:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Reflected shear wave into the part</font>","<font face=\"Times New Roman\" size=\"4\">Longitudinal wave into the part</font>","<font face=\"Times New Roman\" size=\"4\">Shear wave into the part</font>","<font face=\"Times New Roman\" size=\"4\">Compression wave into the part</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest037 = new Question(
"Question 37",
0,
"<font face=\"Times New Roman\" size=\"4\">Angle beam transducers and wedges are typically used to introduce a:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Mosaic transducer</font>","<font face=\"Times New Roman\" size=\"4\">Single crystal transducer of small diameter</font>","<font face=\"Times New Roman\" size=\"4\">Composite transducer</font>","<font face=\"Times New Roman\" size=\"4\">Paint brush transducer</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest038 = new Question(
"Question 38",
0,
"<font face=\"Times New Roman\" size=\"4\">Which type of transducer can be used to scan wide areas when high sensitivity is not required?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Gel</font>","<font face=\"Times New Roman\" size=\"4\">Goo</font>","<font face=\"Times New Roman\" size=\"4\">Couplant</font>","<font face=\"Times New Roman\" size=\"4\">Contact paste</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest039 = new Question(
"Question 39",
0,
"<font face=\"Times New Roman\" size=\"4\">What is the material called that is used to improve the transmission of ultrasonic sound energy from the transducer into the part?</font><br>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Surface rust</font>","<font face=\"Times New Roman\" size=\"4\">Surface blemishes</font>","<font face=\"Times New Roman\" size=\"4\">Sound energy</font>","<font face=\"Times New Roman\" size=\"4\">Air</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest040 = new Question(
"Question 40",
0,
"<font face=\"Times New Roman\" size=\"4\">Couplant displaces the__________ and makes it possible to get more sound energy into the test specimen.</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Water</font>","<font face=\"Times New Roman\" size=\"4\">Oil</font>","<font face=\"Times New Roman\" size=\"4\">Glycerin</font>","<font face=\"Times New Roman\" size=\"4\">All of the above</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest041 = new Question(
"Question 41",
0,
"<font face=\"Times New Roman\" size=\"4\">Which of the following would make a good couplant?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Pulser</font>","<font face=\"Times New Roman\" size=\"4\">Amplifier</font>","<font face=\"Times New Roman\" size=\"4\">Transducer</font>","<font face=\"Times New Roman\" size=\"4\">Scanner</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest042 = new Question(
"Question 42",
0,
"<font face=\"Times New Roman\" size=\"4\">What part of the ultrasonic machine generates short, large-amplitude pulses of controlled energy?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Attenuation</font>","<font face=\"Times New Roman\" size=\"4\">Impedance</font>","<font face=\"Times New Roman\" size=\"4\">Shielding</font>","<font face=\"Times New Roman\" size=\"4\">Resistance</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest043 = new Question(
"Question 43",
0,
"<font face=\"Times New Roman\" size=\"4\">The total resistance that the cable presents to the electrical current passing through it is called:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">A-scan</font>","<font face=\"Times New Roman\" size=\"4\">B-scan</font>","<font face=\"Times New Roman\" size=\"4\">C-scan</font>","<font face=\"Times New Roman\" size=\"4\">All of the above</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest044 = new Question(
"Question 44",
0,
"<font face=\"Times New Roman\" size=\"4\">Which type of screen presentation displays the amount of received ultrasonic energy as a function of time?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">A-scan</font>","<font face=\"Times New Roman\" size=\"4\">B-scan</font>","<font face=\"Times New Roman\" size=\"4\">C-scan</font>","<font face=\"Times New Roman\" size=\"4\">All of the above</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest045 = new Question(
"Question 45",
0,
"<font face=\"Times New Roman\" size=\"4\">Which type of screen presentation displays a profile or cross-sectional view of the test specimen?</font><br>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">A-scan</font>","<font face=\"Times New Roman\" size=\"4\">B-scan</font>","<font face=\"Times New Roman\" size=\"4\">C-scan</font>","<font face=\"Times New Roman\" size=\"4\">All of the above</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest046 = new Question(
"Question 46",
0,
"<font face=\"Times New Roman\" size=\"4\">Which type of screen presentation displays a plan-type view of the location and size of the test specimen features?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Tip diffraction</font>","<font face=\"Times New Roman\" size=\"4\">Immersion</font>","<font face=\"Times New Roman\" size=\"4\">Surface mode diffraction</font>","<font face=\"Times New Roman\" size=\"4\">Contact testing</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest047 = new Question(
"Question 47",
0,
"<font face=\"Times New Roman\" size=\"4\">In angle-beam testing, when the geometry of the part is relatively uncomplicated and the orientation of a flaw is well known, the length of a crack can be determined by a technique known as:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Standardization</font>","<font face=\"Times New Roman\" size=\"4\">Calibration</font>","<font face=\"Times New Roman\" size=\"4\">Accuracy</font>","<font face=\"Times New Roman\" size=\"4\">Tuning</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest048 = new Question(
"Question 48",
0,
"<font face=\"Times New Roman\" size=\"4\">The act of evaluating and adjusting the precision and accuracy of the measurement equipment is called:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Reference standards</font>","<font face=\"Times New Roman\" size=\"4\">Industry standards</font>","<font face=\"Times New Roman\" size=\"4\">Accuracy standards</font>","<font face=\"Times New Roman\" size=\"4\">Modeling standards</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest049 = new Question(
"Question 49",
0,
"<font face=\"Times New Roman\" size=\"4\">What is used to establish a general level of consistency in measurements, and to help interpret and quantify the information contained in the received signal?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Through transmission</font>","<font face=\"Times New Roman\" size=\"4\">Pitch/catch with two transducers</font>","<font face=\"Times New Roman\" size=\"4\">Pulse echo</font>","<font face=\"Times New Roman\" size=\"4\">Both B 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\">What type of set-up can provide information about both the size of the flaw and distance between the flaw and the transducer?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Can be made from similar material as long as the velocity is the same</font>","<font face=\"Times New Roman\" size=\"4\">Should be the same material being inspected</font>","<font face=\"Times New Roman\" size=\"4\">Must have the same impedance values as the base material</font>","<font face=\"Times New Roman\" size=\"4\">Can only be used once</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest051 = new Question(
"Question 51",
0,
"<font face=\"Times New Roman\" size=\"4\">The material of the reference standard used to setup for a flaw inspection:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Side drilled holes</font>","<font face=\"Times New Roman\" size=\"4\">Flat bottom holes</font>","<font face=\"Times New Roman\" size=\"4\">EDM notches</font>","<font face=\"Times New Roman\" size=\"4\">All of the above</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest052 = new Question(
"Question 52",
0,
"<font face=\"Times New Roman\" size=\"4\">Artificial flaws can be produced by using:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">They are more difficult to detect with NDT methods</font>","<font face=\"Times New Roman\" size=\"4\">They are always the same size and length</font>","<font face=\"Times New Roman\" size=\"4\">It is cost prohibitive to produce them</font>","<font face=\"Times New Roman\" size=\"4\">Both A and C</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest053 = new Question(
"Question 53",
0,
"<font face=\"Times New Roman\" size=\"4\">Why aren't real defects commonly used in calibration and reference standards?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">An IIW block</font>","<font face=\"Times New Roman\" size=\"4\">A DSC block</font>","<font face=\"Times New Roman\" size=\"4\">A rompus block</font>","<font face=\"Times New Roman\" size=\"4\">A shear wave calibration block</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest054 = new Question(
"Question 54",
0,
"<font face=\"Times New Roman\" size=\"4\">A calibration block produced by the International Institute of Welding is called:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">An IIW block</font>","<font face=\"Times New Roman\" size=\"4\">A DSC block</font>","<font face=\"Times New Roman\" size=\"4\">A rompus block</font>","<font face=\"Times New Roman\" size=\"4\">A shear wave calibration block</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest055 = new Question(
"Question 55",
0,
"<font face=\"Times New Roman\" size=\"4\">Which type of calibration block closely resembles the miniature angle-beam block and is used in a similar way?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">An IIW block</font>","<font face=\"Times New Roman\" size=\"4\">A DSC block</font>","<font face=\"Times New Roman\" size=\"4\">A rompus block</font>","<font face=\"Times New Roman\" size=\"4\">An RC block</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest056 = new Question(
"Question 56",
0,
"<font face=\"Times New Roman\" size=\"4\">Which type of calibration block is used to determine the resolution of angle beam transducers per requirements of AWS and AASHTO?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Distance/Sensitivity block</font>","<font face=\"Times New Roman\" size=\"4\">A DSC block</font>","<font face=\"Times New Roman\" size=\"4\">A rompus block</font>","<font face=\"Times New Roman\" size=\"4\">A shear wave calibration block</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest057 = new Question(
"Question 57",
0,
"<font face=\"Times New Roman\" size=\"4\">Which type of test block is used to check horizontal linearity and the dB accuracy per requirements of AWS and AASHTO?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Distance Application Code</font>","<font face=\"Times New Roman\" size=\"4\">Direct Amplitude Code</font>","<font face=\"Times New Roman\" size=\"4\">Distance Amplitude Correction</font>","<font face=\"Times New Roman\" size=\"4\">Divergence Application Couplant</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest058 = new Question(
"Question 58",
0,
"<font face=\"Times New Roman\" size=\"4\">DAC stands for:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Distance Amplitude Correction Curve</font>","<font face=\"Times New Roman\" size=\"4\">Direct Application Correction Curve</font>","<font face=\"Times New Roman\" size=\"4\">Distance Area Correction Calculation</font>","<font face=\"Times New Roman\" size=\"4\">Distance Area Computer Controlled</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest059 = new Question(
"Question 59",
0,
"<font face=\"Times New Roman\" size=\"4\">DACC stands for:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">The center frequency at which the transducer operates</font>","<font face=\"Times New Roman\" size=\"4\">The range of the transducer's operating frequency</font>","<font face=\"Times New Roman\" size=\"4\">The highest fequency produced by the transducer</font>","<font face=\"Times New Roman\" size=\"4\">None of the above</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest060 = new Question(
"Question 60",
0,
"<font face=\"Times New Roman\" size=\"4\">The frequency marked on a transducer indicates:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Direct the sound out of the transducer</font>","<font face=\"Times New Roman\" size=\"4\">Provide impedance matching between the active element and the test component</font>","<font face=\"Times New Roman\" size=\"4\">Control the ringing of the active element</font>","<font face=\"Times New Roman\" size=\"4\">None of the above</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest061 = new Question(
"Question 61",
0,
"<font face=\"Times New Roman\" size=\"4\">The purpose of the backing material in a transducer is to:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Reflection</font>","<font face=\"Times New Roman\" size=\"4\">Refraction</font>","<font face=\"Times New Roman\" size=\"4\">Mode conversion</font>","<font face=\"Times New Roman\" size=\"4\">Reflection and refraction</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest062 = new Question(
"Question 62",
0,
"<font face=\"Times New Roman\" size=\"4\">When a longitudinal wave encounters an interface between two material with different accoustic impedances, what occurs when the angle of incidence is 90 degrees?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Wave speed</font>","<font face=\"Times New Roman\" size=\"4\">Frequency</font>","<font face=\"Times New Roman\" size=\"4\">Hertz</font>","<font face=\"Times New Roman\" size=\"4\">None of the above</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest063 = new Question(
"Question 63",
0,
"<font face=\"Times New Roman\" size=\"4\">The number of cylces per second is the definition of: </font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">20,000 MHz</font>","<font face=\"Times New Roman\" size=\"4\">20,000 Hz</font>","<font face=\"Times New Roman\" size=\"4\">2 MHz</font>","<font face=\"Times New Roman\" size=\"4\">2 Hz</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest064 = new Question(
"Question 64",
0,
"<font face=\"Times New Roman\" size=\"4\">Ultrasound is generally defined as sound at frequency above the threshold of human hearing, which is?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"GreekMathSymbols\" size=\"4\">l</font>","<font face=\"GreekMathSymbols\" size=\"4\">o</font>","<font face=\"GreekMathSymbols\" size=\"4\">g</font>","<font face=\"Times New Roman\" size=\"4\">None of the above</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest065 = new Question(
"Question 65",
0,
"<font face=\"Times New Roman\" size=\"4\">What Greek letter is used to represent wavelength?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<img src=wbans066_1.PNG align=\"middle\" width=\"167\" height=\"44\" border=\"0\" alt=\"graphic\"/>","<img src=wbans166_1.PNG align=\"middle\" width=\"228\" height=\"21\" border=\"0\" alt=\"graphic\"/>","<img src=wbans266_1.PNG align=\"middle\" width=\"167\" height=\"44\" border=\"0\" alt=\"graphic\"/>","<font face=\"Times New Roman\" size=\"4\">None of the above</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest066 = new Question(
"Question 66",
0,
"<font face=\"Times New Roman\" size=\"4\">What is the correct formula for calculating the wavelength when the wave velocity and frequency are known?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Is constant</font>","<font face=\"Times New Roman\" size=\"4\">Decreases with distance from the transducer</font>","<font face=\"Times New Roman\" size=\"4\">Increases with distance from the transducer</font>","<font face=\"Times New Roman\" size=\"4\">None of the above</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest067 = new Question(
"Question 67",
0,
"<font face=\"Times New Roman\" size=\"4\">Within a given material, the speed of sound:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Density and specific gravity</font>","<font face=\"Times New Roman\" size=\"4\">Atomic mass and density</font>","<font face=\"Times New Roman\" size=\"4\">Density and elastic properties</font>","<font face=\"Times New Roman\" size=\"4\">Acoustic impedance and atomic mass</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest068 = new Question(
"Question 68",
0,
"<font face=\"Times New Roman\" size=\"4\">Which material properties affect the speed of sound within a material?</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">A unit of measure used only for sound measurements</font>","<font face=\"Times New Roman\" size=\"4\">A logarithmic unit that describes a ratio of two measurements</font>","<font face=\"Times New Roman\" size=\"4\">A logarithmic unit that describes the product of two measurements</font>","<font face=\"Times New Roman\" size=\"4\">None of the above</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest069 = new Question(
"Question 69",
0,
"<font face=\"Times New Roman\" size=\"4\">A decibel is:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">Six</font>","<font face=\"Times New Roman\" size=\"4\">Two</font>","<font face=\"Times New Roman\" size=\"4\">Twelve</font>","<font face=\"Times New Roman\" size=\"4\">Sixty</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest070 = new Question(
"Question 70",
0,
"<font face=\"Times New Roman\" size=\"4\">A 6dB change in the measured ultrasonic signal strength indicates that the sound intensity changed by a factor of :</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">A high amount of transmitted sound energy</font>","<font face=\"Times New Roman\" size=\"4\">A small degree of refraction</font>","<font face=\"Times New Roman\" size=\"4\">A large critical angle</font>","<font face=\"Times New Roman\" size=\"4\">A high amount of reflected sound energy </font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest071 = new Question(
"Question 71",
0,
"<font face=\"Times New Roman\" size=\"4\">The a large acoustic impedance mismatch at an interface will result in: </font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">The refracted angle of the wave</font>","<font face=\"Times New Roman\" size=\"4\">The reflected angle of the wave</font>","<font face=\"Times New Roman\" size=\"4\">Both A and B</font>","<font face=\"Times New Roman\" size=\"4\">None of the above</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest072 = new Question(
"Question 72",
0,
"<p><font face=\"Times New Roman\" size=\"4\">Snell's Law describes the relationship between the sound velocity and:</font></p>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">The angle of the refracted longitudinal wave is less than 90<sup>o</sup></font>","<font face=\"Times New Roman\" size=\"4\">The angle of the refracted longitudinal wave is exactly 90<sup>o</sup></font>","<font face=\"Times New Roman\" size=\"4\">The angle of the refracted longitudinal wave is greater than 90<sup>o</sup></font>","<font face=\"Times New Roman\" size=\"4\">The angle of the refracted shear wave is exactly 90<sup>o</sup></font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest073 = new Question(
"Question 73",
0,
"<font face=\"Times New Roman\" size=\"4\">The first critical angle describes the condition where the:</font>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Times New Roman\" size=\"4\">One of the two materials is a liquid</font>","<font face=\"Times New Roman\" size=\"4\">The incident angle is greater than the first critical angl</font>e","<font face=\"Times New Roman\" size=\"4\">The incident angle is greater than the second critical angle</font>","<font face=\"Times New Roman\" size=\"4\">The incident angle is not normal to the interface</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest074 = new Question(
"Question 74",
0,
"<p><font face=\"Times New Roman\" size=\"4\">Mode conversion, occurs when a sound wave encounters an interface between materials of different acoustic impedance and: </font></p>",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("3 dB","6 dB","9 dB","12 dB")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest075 = new Question(
"Question 75",
0,
"<font face=\"Times New Roman\" size=\"4\">The bandwidth of a transducer is often determined by evaluating the frequency domain plot of a transduce and determining the frequences that are _______ below the amplitude of the peak  frequency. </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,quest056,quest057,quest058,quest059,quest060,quest061,quest062,quest063,quest064,quest065,quest066,quest067,quest068,quest069,quest070,quest071,quest072,quest073,quest074,quest075)

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>Ultrasound Quiz 1</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);
}

