#Easa part 66 B1,B2 MODULES EXAM MCQs QUESTION BANK : Module 3 Chapter 16 Quiz 1

Module 3 Chapter 16 Quiz 1

}, { "question": " When the voltage tends to fall, the capacitor converts this stored energy back to", "choices": ["Stored energy", "Voltage", "Capcitor"], "correct": "Voltage" }, { "question": " Capacitors and inductors combined are referred to collectively as", "choices": ["AC filters", "DC filters", "LC filters"], "correct": "LC filters" }, { "question": " The total basic categories of filters are", "choices": ["Three", "Four", "Five"], "correct": "Four" }, { "question": " This filter is basically a combination of a high-pass and a low-pass", "choices": ["Band stop filter", "High pass filter", "Band pass filter"], "correct": "Band pass filter" }, { "question": " Four basic categories of filters are collectively known as", "choices": ["Active filters", "Passive filters", "Direct filters"], "correct": "PMG" }, { "question": " A filter in which the signal passes through an inductor is considered a", "choices": ["Low pass filter", "No pass filter", "High pass filter"], "correct": "Low pass filter" }, { "question": " A filter in which the signal passes through an capacitor is considered a", "choices": ["Low pass filter", "No pass filter", "High pass filter"], "correct": "High pass filter" }, { "question": " Filter that passes low frequencies well, but attenuates (reduces) higher frequencies", "choices": ["Low pass filter", "No pass filter", "High pass filter"], "correct": "Low pass filter" }, { "question": " Filter that passes high frequencies well, but attenuates (reduces) frequencies lower than the cutoff frequency", "choices": ["Low pass filter", "No pass filter", "High pass filter"], "correct": "High pass filter" }]; // define elements var content = $("content"), questionContainer = $("question"), choicesContainer = $("choices"), scoreContainer = $("score"), submitBtn = $("submit"); // init vars var cQarr = []; for (var i=0; i" + "
"; } questionContainer.textContent = (currentQuestion + 1) + ". " + quiz[cQarr[currentQuestion]].question; choicesContainer.innerHTML = choicesHtml; if (currentQuestion === 0) { submitBtn.textContent = "Submit Answer"; } } function checkAnswer() { if (askingQuestion) { submitBtn.textContent = "Next Question"; askingQuestion = false; var userpick, correctIndex, radios = document.getElementsByName("quiz" + currentQuestion); for (var i = 0; i < radios.length; i++) { if (radios[i].checked) { userpick = radios[i].value; } if (radios[i].value == quiz[cQarr[currentQuestion]].correct) { correctIndex = i; } } var labelStyle = document.getElementsByTagName("label")[correctIndex].style; labelStyle.fontWeight = "bold"; if (userpick == quiz[cQarr[currentQuestion]].correct) { score++; labelStyle.color = "green"; } else { labelStyle.color = "red"; } } else { askingQuestion = true; submitBtn.textContent = "Submit Answer"; if (currentQuestion < quiz.length - 1) { currentQuestion++; askQuestion(); } else { showFinalResults(); } } } function showFinalResults() { content.innerHTML = "

Result: " + Math.round(score / quiz.length * 100) + "%

" + score + " out of " + quiz.length + "   " + "

"; } window.addEventListener("load", askQuestion, false); submitBtn.addEventListener("click", checkAnswer, false);

No comments:

Post a Comment

Friends if you have any query or you need any help, let me know at mortalmortal789@gmail.com

RMS Voltage Tutorial

What is RMS Voltage ? The RMS or effective value of a sinusoidal waveform gives the same heating effect of an equivalent DC supply In ou...