demo 7

1. What is the primary function of EHV Substations?

A Handling higher voltage levels
B Local power distribution
C Facilitating street lighting
D Converting AC to DC power

2. What is the purpose of Step-Down Substations?

A Facilitating switching operations
B Reducing voltage for end consumers
C Elevating voltage for transmission
D Handling extremely high voltage levels

3. What do failures in Town Substations result in?

A Grid failure
B Power theft
C Reduced voltage
D Increased efficiency
function displayResults() { const totalQuestions = document.querySelectorAll(“.mcq”).length; const percentage = (correctAnswers / totalQuestions) * 100; let message = ”; let animationClass = ”; // Determine the message and animation based on the percentage if (percentage < 30) { message = 'Need Improvement'; animationClass = 'sad-animation'; } else if (percentage >= 30 && percentage <= 70) { message = 'Good Work'; animationClass = 'smile-animation'; } else { message = 'Great'; animationClass = 'clapping-animation'; } // Show the popup with the appropriate message and animation showPopup(`${message}: You scored ${percentage.toFixed(1)}%`, animationClass); } function showPopup(message, animationClass) { const popup = document.createElement('div'); popup.classList.add('popup', animationClass); popup.textContent = message; document.body.appendChild(popup); // Auto-remove popup after animation setTimeout(() => { popup.remove(); }, 3000); // Adjust timing to match animation duration }

Leave a Reply

Your email address will not be published. Required fields are marked *