Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

corrected the quiz page #205

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
238 changes: 93 additions & 145 deletions src/lab/exp1/Quizzes.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,166 +99,114 @@ <h2 class="text-h2-lightblue" style=" margin-bottom: 20px; margin-top: 10px; "><

<!--edit -->
<h1 class="text-h2-lightblue">Principles of Electron Paramagnetic Resonance Spectroscopy</h1><div class="content" id="experiment-article-section-6-content">
<p>
<div class="success"><h2 style="color:green;text-align:center">right answer!</h2></div>
<div class="failure"><h2 style="color:red;text-align:center">oops, wrong answer!</h2></div>
</p>
<script src="../js/jquery-1.4.2.min.js" type="text/javascript"></script>
<script src="../js/modernizr-1.5.min.js" type="text/javascript">
</script>
<script src="../js/modernizr-1.5.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){

$(".q2").hide();
$(".q3").hide();
$(".q4").hide();
$(".q5").hide();
$(".q6").hide();
$(".q7").hide();
$(".q8").hide();
$(".q9").hide();
$(".q10").hide();
$(".success").hide();
$(".failure").hide();
});
var count=0;
function checkAnswer1(value,t)
function eval()
{
var t1=t+1;
if(value==10){
$(".failure").hide();
$(".success").show();
$(".q"+t).hide();
$(".success").hide(1000);
$(".q"+t1).show(2000);
count+=1;
}
else{
$(".success").hide();
$(".failure").show();
$(".q"+t).hide();
$(".failure").hide(1000);
$(".q"+t1).show(2000);
}
if(t1==10)
{
$(".success").hide();
$(".failure").hide();
setTimeout("alert('You secured '+ count +' out of 9')",2000);
}
var form = document.forms["quiz"];

var ans = ["3", "1", "1", "2", "0", "3", "3", "3", "3"];

var q1,q2,q3,q4,q5,length;
var q = new Array(10);


for(i=0; i<4; i++){
if(form["q1"][i].checked)
q[0] = form["q1"][i].value;

if(form["q2"][i].checked)
q[1] = form["q2"][i].value;

if(form["q3"][i].checked)
q[2] = form["q3"][i].value;

if(form["q4"][i].checked)
q[3] = form["q4"][i].value;

if(form["q5"][i].checked)
q[4] = form["q5"][i].value;

if(form["q6"][i].checked)
q[5] = form["q6"][i].value;

if(form["q7"][i].checked)
q[6] = form["q7"][i].value;

if(form["q8"][i].checked)
q[7] = form["q8"][i].value;

if(form["q9"][i].checked)
q[8] = form["q9"][i].value;
}
var score = 0;
for(i=0;i<9;i++)
{
if(q[i] == ans[i])
score++;
}

var output = "Your score is " + score + "\n";
document.getElementById("score").innerHTML = output
document.getElementById("ans").innerHTML = "COREECT ANSWERS <br> 1>D <br> 2>B <br> 3>B <br> 4>C <br> 5>A <br> 6>D <br> 7>D <br> 8>D <br> 9>D <br>"
}
</script>
<form class="q1" name="q1">
<form method ="post" name = "quiz">
<p><b>1. What is the wavelength range of the radiation used in EPR spectroscopy?</b><br>
<input id="q1" name="q1" onclick="checkAnswer1(this.value,1)" type="radio" value="0">X-Ray<br>
<input id="q1" name="q1" onclick="checkAnswer1(this.value,1)" type="radio" value="1">Ultraviolet<br>
<input id="q1" name="q1" onclick="checkAnswer1(this.value,1)" type="radio" value="2">Infrared<br>
<input id="q1" name="q1" onclick="checkAnswer1(this.value,1)" type="radio" value="10">Microwave<br><br>
</br></br></input></br></input></br></input></br></input></br></p></form>
<form class="q2">
<input id="q1" name="q1" type="radio" value="0">X-Ray<br>
<input id="q1" name="q1" type="radio" value="1">Ultraviolet<br>
<input id="q1" name="q1" type="radio" value="2">Infrared<br>
<input id="q1" name="q1" type="radio" value="3">Microwave<br><br>
</input></input></input></input></br></p>

<p><b>2. EPR is the resonant absorption of microwave radiation by paramagnetic systems in the presence of</b><br>
<input id="q2" name="q2" onclick="checkAnswer1(this.value,2)" type="radio" value="0">Electric Field<br>
<input id="q2" name="q2" onclick="checkAnswer1(this.value,2)" type="radio" value="10">Magnetic Field<br>
<input id="q2" name="q2" onclick="checkAnswer1(this.value,2)" type="radio" value="2">Both a and b<br>
<input id="q2" name="q2" onclick="checkAnswer1(this.value,2)" type="radio" value="3">None of the above<br><br/></br></input></br></input></br></input></br></input></br></p>
</form>
<form class="q3">
<input id="q2" name="q2" type="radio" value="0">Electric Field<br>
<input id="q2" name="q2" type="radio" value="1">Magnetic Field<br>
<input id="q2" name="q2" type="radio" value="2">Both a and b<br>
<input id="q2" name="q2" type="radio" value="3">None of the above<br><br/></br></input></input></input></input></p>

<p> <b>3. What causes the splitting of energy levels in a magnetic field?</b><br>
<input id="q3" name="q3" onclick="checkAnswer1(this.value,3)" type="radio" value="0">Hund’s Rule<br>
<input id="q3" name="q3" onclick="checkAnswer1(this.value,3)" type="radio" value="10">Zeeman Effect<br>
<input id="q3" name="q3" onclick="checkAnswer1(this.value,3)" type="radio" value="2">van der Waals interactions<br>
<input id="q3" name="q3" onclick="checkAnswer1(this.value,3)" type="radio" value="3">Aufbau Principle<br><br/></br></input></br></input></br></input></br></input></br></p>
</form>
<form class="q4">
<input id="q3" name="q3" type="radio" value="0">Hund’s Rule<br>
<input id="q3" name="q3" type="radio" value="1">Zeeman Effect<br>
<input id="q3" name="q3" type="radio" value="2">van der Waals interactions<br>
<input id="q3" name="q3" type="radio" value="3">Aufbau Principle<br><br/></br></input></input></input></input></p>
<p> <b>4. EPR spectroscopy is a direct and definitive technique for detection and quantification of the following</b><br>
<input id="q4" name="q4" onclick="checkAnswer1(this.value,4)" type="radio" value="0">Free radicals<br>
<input id="q4" name="q4" onclick="checkAnswer1(this.value,4)" type="radio" value="1">Paramagnetic species<br>
<input id="q4" name="q4" onclick="checkAnswer1(this.value,4)" type="radio" value="10">Both a and b<br>
<input id="q4" name="q4" onclick="checkAnswer1(this.value,4)" type="radio" value="3">None of the above.<br><br/></br></input></br></input></br></input></br></input></br></p>
</form>
<form class="q5">
<input id="q4" name="q4" type="radio" value="0">Free radicals<br>
<input id="q4" name="q4" type="radio" value="1">Paramagnetic species<br>
<input id="q4" name="q4" type="radio" value="2">Both a and b<br>
<input id="q4" name="q4" type="radio" value="3">None of the above.<br><br/></br></input></input></input></input></p>
<p> <b>5. What factor of a nucleus is directly related to the spectral line spacing and, in the simplest cases, is essentially the spacing itself.</b><br>
<input id="q5" name="q5" onclick="checkAnswer1(this.value,5)" type="radio" value="10">Hyperfine splitting constant<br>
<input id="q5" name="q5" onclick="checkAnswer1(this.value,5)" type="radio" value="1">Atom<br>
<input id="q5" name="q5" onclick="checkAnswer1(this.value,5)" type="radio" value="2">Magnetic moment<br>
<input id="q5" name="q5" onclick="checkAnswer1(this.value,5)" type="radio" value="3">Electron paramagnetic Resonance<br><br/></br></input></br></input></br></input></br></input></br></p>
</form>
<form class="q6">
<input id="q5" name="q5" type="radio" value="0">Hyperfine splitting constant<br>
<input id="q5" name="q5" type="radio" value="1">Atom<br>
<input id="q5" name="q5" type="radio" value="2">Magnetic moment<br>
<input id="q5" name="q5" type="radio" value="3">Electron paramagnetic Resonance<br></input></input></input></input></p><br><br>
<p> <b>6. The basic physical concepts of EPR are analogous to this measurement study but it is electron spins that are excited instead of spins of atomic nuclei.</b><br>
<input id="q6" name="q6" onclick="checkAnswer1(this.value,6)" type="radio" value="0">Magnetic Moment<br>
<input id="q6" name="q6" onclick="checkAnswer1(this.value,6)" type="radio" value="1">NMR spectroscopy<br>
<input id="q6" name="q6" onclick="checkAnswer1(this.value,6)" type="radio" value="2">Stable Nuclide<br>
<input id="q6" name="q6" onclick="checkAnswer1(this.value,6)" type="radio" value="10">Nuclear Magnetic resonance<br><br/></br></input></br></input></br></input></br></input></br></p>
</form>
<form class="q7">
<input id="q6" name="q6" type="radio" value="0">Magnetic Moment<br>
<input id="q6" name="q6" type="radio" value="1">NMR spectroscopy<br>
<input id="q6" name="q6" type="radio" value="2">Stable Nuclide<br>
<input id="q6" name="q6" type="radio" value="3">Nuclear Magnetic resonance<br/></input></input></input></input></p><br><br>
<p><b>7. Which of the following is not true for an unpaired electron interacting only with a magnetic field?</b><br>
<input id="q7" name="q7" onclick="checkAnswer1(this.value,7)" type="radio" value="0">The energy difference between the two spin states increases linearly with increasing magnetic field strength<br>
<input id="q7" name="q7" onclick="checkAnswer1(this.value,7)" type="radio" value="1">The energy levels are labeled by the projection of the electron spin on the direction of the magnetic field<br>
<input id="q7" name="q7" onclick="checkAnswer1(this.value,7)" type="radio" value="2">The energy of the two spin states is equal when there is no applied magnetic field<br>
<input id="q7" name="q7" onclick="checkAnswer1(this.value,7)" type="radio" value="10">The lower energy state occurs with the magnetic moment of the electron is aligned against the magnetic field<br><br/></br></input></br></input></br></input></br></input></br></p>
</form>
<form class="q8">
<input id="q7" name="q7" type="radio" value="0">The energy difference between the two spin states increases linearly with increasing magnetic field strength<br>
<input id="q7" name="q7" type="radio" value="1">The energy levels are labeled by the projection of the electron spin on the direction of the magnetic field<br>
<input id="q7" name="q7" type="radio" value="2">The energy of the two spin states is equal when there is no applied magnetic field<br>
<input id="q7" name="q7" type="radio" value="3">The lower energy state occurs with the magnetic moment of the electron is aligned against the magnetic field<br></input></input></input></input></p><br><br>
<p> <b>8. Which of the following molecules can not be studied by EPR?</b><br>
<input id="q8" name="q8" onclick="checkAnswer1(this.value,8)" type="radio" value="0">Free radicals in the solid, liquid or gaseous phases<br>
<input id="q8" name="q8" onclick="checkAnswer1(this.value,8)" type="radio" value="1"> Paramagnetic transition metal complexes<br>
<input id="q8" name="q8" onclick="checkAnswer1(this.value,8)" type="radio" value="2"> Systems with more than one unpaired electron<br>
<input id="q8" name="q8" onclick="checkAnswer1(this.value,8)" type="radio" value="10">All of the above can be studied by EPR<br><br/></br></input></br></input></br></input></br></input></br></p>
</form>
<form class="q9">
<input id="q8" name="q8" type="radio" value="0">Free radicals in the solid, liquid or gaseous phases<br>
<input id="q8" name="q8" type="radio" value="1"> Paramagnetic transition metal complexes<br>
<input id="q8" name="q8" type="radio" value="2"> Systems with more than one unpaired electron<br>
<input id="q8" name="q8" type="radio" value="3">All of the above can be studied by EPR<br></input></input></input></input></p><br><br>
<p> <b>9. EPR spectroscopy can be carried out by</b><br>
<input id="q9" name="q9" onclick="checkAnswer1(this.value,9)" type="radio" value="0">Varying the magnetic field and holding the frequency constant<br>
<input id="q9" name="q9" onclick="checkAnswer1(this.value,9)" type="radio" value="1">varying the frequency and holding the magnetic field constant<br>
<input id="q9" name="q9" onclick="checkAnswer1(this.value,9)" type="radio" value="2">None of the above.<br>
<input id="q9" name="q9" onclick="checkAnswer1(this.value,9)" type="radio" value="10">Both of the above<br><br/></br></input></br></input></br></input></br></input></br></p>
<input id="q9" name="q9" type="radio" value="0">Varying the magnetic field and holding the frequency constant<br>
<input id="q9" name="q9" type="radio" value="1">varying the frequency and holding the magnetic field constant<br>
<input id="q9" name="q9" type="radio" value="2">None of the above.<br>
<input id="q9" name="q9" type="radio" value="3">Both of the above<br><br/></br></input></input></input></input></p>
<input class= "button" onclick = "eval();" type = "button" value="Evaluate"/>
<input class="button" onclick="document.quiz.reset();" type="button" value="Reset"/>

</form>
<form class="q10">
<h2>Solutions</h2><br>
<p><b>1. What is the wavelength range of the radiation used in EPR spectroscopy?</b><br>
X-Ray<br>
Ultraviolet<br>
Infrared<br>
<span style="color:green">Microwave</span><br><br>
<b>2. EPR is the resonant absorption of microwave radiation by paramagnetic systems in the presence of</b><br>
Electric Field<br>
<span style="color:green">Magnetic Field</span><br>
Both a and b<br>
None of the above<br><br>
<b>3. What causes the splitting of energy levels in a magnetic field?</b><br>
Hund’s Rule<br>
<span style="color:green">Zeeman Effect</span><br>
van der Waals interactions<br>
Aufbau Principle<br><br>
<b>4. EPR spectroscopy is a direct and definitive technique for detection and quantification of the following</b><br>
Free radicals<br>
Paramagnetic species<br>
<span style="color:green">Both a and b</span><br>
None of the above.<br><br>
<b>5. What factor of a nucleus is directly related to the spectral line spacing and, in the simplest cases, is essentially the spacing itself.</b><br>
<span style="color:green">Hyperfine splitting constant</span><br>
Atom<br>
Magnetic moment<br>
Electron paramagnetic Resonance<br><br>
<b>6. The basic physical concepts of EPR are analogous to this measurement study but it is electron spins that are excited instead of spins of atomic nuclei.</b><br>
Magnetic Moment<br>
NMR spectroscopy<br>
Stable Nuclide<br>
<span style="color:green">Nuclear Magnetic resonance</span><br><br>
<b>7. Which of the following is not true for an unpaired electron interacting only with a magnetic field?</b><br>
The energy difference between the two spin states increases linearly with increasing magnetic field strength<br>
The energy levels are labeled by the projection of the electron spin on the direction of the magnetic field<br>
The energy of the two spin states is equal when there is no applied magnetic field<br>
<span style="color:green">The lower energy state occurs with the magnetic moment of the electron is aligned against the magnetic field</span><br><br>
<b>8. Which of the following molecules can not be studied by EPR?</b><br>
Free radicals in the solid, liquid or gaseous phases<br>
Paramagnetic transition metal complexes<br>
Systems with more than one unpaired electron<br>
<span style="color:green">All of the above can be studied by EPR</span><br><br>
<b>9. EPR spectroscopy can be carried out by</b><br>
Varying the magnetic field and holding the frequency constant<br>
varying the frequency and holding the magnetic field constant<br>
None of the above.<br>
<span style="color:green">Both of the above</span><br><br>
</br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></p></br></form>
<p id = "score"></p>
<p id = "ans"></p>

</div> </div>
</div>
Expand Down