Type Here to Get Search Results !

NEET PHYSICS PYQ QUIZ 31 JULY

RAVI MATHS TUITION CENTER 0

 <!DOCTYPE html><html><head><meta charset='UTF-8'><meta name='viewport' content='width=device-width,initial-scale=1'>

<title>Oscillations and Waves - Theory Test</title>

<style>

body{font-family:Arial;margin:20px;background:#f4f4f4}#box{max-width:700px;margin:auto;background:#fff;padding:20px;border-radius:10px}

button{padding:10px 16px;margin:8px} .hidden{display:none}

</style></head><body><div id='box'><h2>Oscillations & Waves - Theory MCQ Test</h2>

<div id='q'></div><div id='nav'></div><div id='result' class='hidden'></div></div>

<script>

const qs=[('Periodic motion is defined as motion that', ['Occurs once', 'Repeats itself at equal intervals of time', 'Moves with constant speed only', 'Always follows a circular path'], 1, 'Periodic motion repeats its path or phase after equal intervals.'), ('The maximum displacement from the mean position is called', ['Frequency', 'Amplitude', 'Phase', 'Wavelength'], 1, 'Amplitude is the maximum displacement from the mean position.'), ('In simple harmonic motion, the restoring force is', ['Away from mean position', 'Constant', 'Towards the mean position and proportional to displacement', 'Independent of displacement'], 2, 'SHM has restoring force proportional to displacement toward the mean position.'), ('At the extreme position in SHM, the velocity is', ['Maximum', 'Zero', 'Equal to acceleration', 'Constant'], 1, 'Velocity becomes zero at extreme positions.'), ('The period of a wave is', ['Distance of one cycle', 'Time taken to complete one cycle', 'Maximum displacement', 'Number of cycles per second'], 1, 'Period is the time for one complete cycle.'), ('Frequency is measured in', ['Newton', 'Joule', 'Hertz', 'Pascal'], 2, 'Frequency is measured in hertz (Hz).'), ('Two points are in phase when they', ['Move in opposite directions', 'Have different amplitudes', 'Are at the same stage of motion', 'Have different frequencies'], 2, 'In-phase points have the same state of motion.'), ('A simple pendulum performs SHM only for', ['Large angular displacement', 'Small angular displacement', 'Any angle', 'Zero gravity'], 1, 'The small-angle approximation is required.'), ('Electromagnetic waves differ because they', ['Need a solid medium', 'Cannot travel in vacuum', 'Do not require a material medium', 'Travel only in air'], 2, 'EM waves propagate in vacuum.'), ('A transverse wave has particle vibration', ['Parallel to propagation', 'Perpendicular to propagation', 'Circular only', 'Random'], 1, 'Particle motion is perpendicular to wave direction.'), ('A longitudinal wave consists of', ['Nodes only', 'Crests and troughs', 'Compressions and rarefactions', 'Only antinodes'], 2, 'Longitudinal waves have compressions and rarefactions.'), ('Standing waves on a fixed string have', ['Only antinodes at ends', 'Nodes at both ends', 'No nodes', 'Moving ends'], 1, 'Fixed ends are always nodes.'), ('Sound waves audible to humans have frequencies approximately between', ['2 Hz and 200 Hz', '20 Hz and 20 kHz', '200 Hz and 200 kHz', '2 kHz and 20 MHz'], 1, 'Audible range is about 20 Hz to 20 kHz.'), ('In a stationary wave, energy transfer along the medium is', ['Maximum', 'Zero', 'Constantly increasing', 'Equal to wave speed'], 1, 'Stationary waves do not transfer energy along the medium.'), ('Beats are produced due to', ['Reflection', 'Refraction', 'Interference of two waves of slightly different frequencies', 'Polarization'], 2, 'Beats arise from interference of nearly equal frequencies.')];

let i=0,ans=new Array(qs.length).fill(-1);

function render(){

 let q=qs[i];

 let h=`<h3>Q${i+1}. ${q[0]}</h3>`;

 q[1].forEach((o,idx)=>{h+=`<label><input type='radio' name='o' ${ans[i]==idx?'checked':''} onchange='ans[${i}]=${idx}'> ${String.fromCharCode(65+idx)}. ${o}</label><br>`});

 document.getElementById('q').innerHTML=h;

 let n='';

 if(i>0)n+="<button onclick='i--;render()'>Previous</button>";

 if(i<qs.length-1)n+="<button onclick='i++;render()'>Next</button>";

 else n+="<button onclick='submitTest()'>Submit Test</button>";

 document.getElementById('nav').innerHTML=n;

}

function submitTest(){

 let s=0,out=`<h2>Score: `;

 qs.forEach((q,idx)=>{if(ans[idx]==q[2])s++;});

 out+=`${s}/${qs.length}</h2><hr>`;

 qs.forEach((q,idx)=>{

 out+=`<p><b>Q${idx+1}. ${q[0]}</b><br>Your Answer: ${ans[idx]>=0?q[1][ans[idx]]:'Not Answered'}<br>Correct Answer: <b>${q[1][q[2]]}</b><br><i>${q[3]}</i></p><hr>`;

 });

 document.getElementById('q').classList.add('hidden');

 document.getElementById('nav').classList.add('hidden');

 let r=document.getElementById('result');r.classList.remove('hidden');r.innerHTML=out;

}

r

ender();

</script></body></html>

Post a Comment

0 Comments

Top Post Ad

Bottom Post Ad