Uncategorized

mpsc exam online test

Mpsc Online test of 10 question with answer

MPSC Preliminary Exam Quiz

MPSC Preliminary Exam

Paper 1 - November 2025 | General Studies

Test your knowledge with these 10 MCQs. 2-minute timer. Good luck!

MPSC Quiz
02:00
Question: 1 / 10

Quiz Completed!

0/10

${questionData.marathi ? `
${questionData.marathi}
` : ''}
${questionData.question}
`; // Add options const optionLetters = ['अ', 'ब', 'क', 'ड']; questionData.options.forEach((option, index) => { let optionClass = "option"; if (userAnswers[currentQuestion] === index) { optionClass += " selected"; } questionHTML += `
${optionLetters[index]}
${option}
`; }); questionHTML += `
`; // If the question has been answered, show explanation if (userAnswers[currentQuestion] !== null) { const isCorrect = userAnswers[currentQuestion] === questionData.correct; questionHTML += `
${isCorrect ? '✓ Correct!' : '✗ Incorrect!'} ${questionData.explanation}
`; } questionContainer.innerHTML = questionHTML; // Add event listeners to options document.querySelectorAll('.option').forEach(option => { option.addEventListener('click', selectOption); }); } // Select an option function selectOption(e) { if (quizCompleted) return; const selectedIndex = parseInt(e.currentTarget.getAttribute('data-index')); userAnswers[currentQuestion] = selectedIndex; // Update UI document.querySelectorAll('.option').forEach(option => { option.classList.remove('selected'); }); e.currentTarget.classList.add('selected'); // If it's the last question, change button to Submit if (currentQuestion === quizData.length - 1) { nextBtn.innerHTML = `Submit `; nextBtn.classList.remove('btn-next'); nextBtn.classList.add('btn-submit'); } // Automatically move to next question after a delay if not last if (currentQuestion < quizData.length - 1) { setTimeout(() => { nextQuestion(); }, 800); } } // Go to next question function nextQuestion() { if (currentQuestion < quizData.length - 1) { currentQuestion++; loadQuestion(); updateNavigationButtons(); updateProgressBar(); } else { // If on last question and it's answered, submit quiz if (userAnswers[currentQuestion] !== null) { submitQuiz(); } } } // Go to previous question function prevQuestion() { if (currentQuestion > 0) { currentQuestion--; loadQuestion(); updateNavigationButtons(); updateProgressBar(); } } // Update navigation buttons state function updateNavigationButtons() { prevBtn.disabled = currentQuestion === 0; if (currentQuestion === quizData.length - 1) { nextBtn.innerHTML = `Submit `; nextBtn.classList.remove('btn-next'); nextBtn.classList.add('btn-submit'); } else { nextBtn.innerHTML = `Next `; nextBtn.classList.remove('btn-submit'); nextBtn.classList.add('btn-next'); } } // Update progress bar function updateProgressBar() { const progressPercent = ((currentQuestion + 1) / quizData.length) * 100; progressBar.style.width = `${progressPercent}%`; } // Start the timer function startTimer() { updateTimerDisplay(); timerInterval = setInterval(() => { timeLeft--; updateTimerDisplay(); if (timeLeft <= 0) { clearInterval(timerInterval); submitQuiz(); } }, 1000); } // Update timer display function updateTimerDisplay() { const minutes = Math.floor(timeLeft / 60); const seconds = timeLeft % 60; timerElement.textContent = `${minutes.toString().padStart(2, '0')}:${seconds.toString().padStart(2, '0')}`; // Add warning class when time is running low if (timeLeft <= 30) { timerElement.classList.add('warning'); } } // Submit the quiz function submitQuiz() { clearInterval(timerInterval); quizCompleted = true; // Calculate score score = 0; userAnswers.forEach((answer, index) => { if (answer === quizData[index].correct) { score++; } }); // Show result quizContainer.style.display = 'none'; resultContainer.style.display = 'block'; scoreDisplay.textContent = `${score}/${quizData.length}`; // Set score text based on performance let performanceText = ""; if (score === quizData.length) { performanceText = "Excellent! Perfect score! 🎉"; } else if (score >= quizData.length * 0.7) { performanceText = "Great job! Good MPSC knowledge."; } else if (score >= quizData.length * 0.5) { performanceText = "Good effort! Keep studying."; } else { performanceText = "Keep practicing! You'll improve."; } scoreText.textContent = performanceText; } // Restart the quiz function restartQuiz() { currentQuestion = 0; userAnswers = Array(quizData.length).fill(null); score = 0; timeLeft = 120; quizCompleted = false; // Reset UI resultContainer.style.display = 'none'; quizContainer.style.display = 'block'; timerElement.classList.remove('warning'); nextBtn.innerHTML = `Next `; nextBtn.classList.remove('btn-submit'); nextBtn.classList.add('btn-next'); // Reinitialize initQuiz(); } // Event listeners prevBtn.addEventListener('click', prevQuestion); nextBtn.addEventListener('click', nextQuestion); restartBtn.addEventListener('click', restartQuiz); // Initialize the quiz when page loads window.addEventListener('DOMContentLoaded', initQuiz);
Vijay

Recent Posts

Maharashtra Police Bharti

🚨 महाराष्ट्र पोलीस भरती २०२५: परीक्षेची तारीख, अभ्यासक्रम आणि निवड प्रक्रिया (१५,६३१ जागा) महाराष्ट्र पोलीस…

1 month ago

महाराष्ट्र सरकारचे कंत्राटी धोरण 2023

महाराष्ट्र सरकारने आता खाजगी कंत्राटदारांमार्फत आवश्यक नोकर वर्ग उपलब्ध करून घेण्याचा नवा फंडा काढून स्वतःचे…

2 years ago

MPSC Book list 2023 in Marathi

MPSC Book list 2023 in Marathi महाराष्ट्र MPSC परीक्षा: यशस्वी होण्याची क्षमता एमपीएससी (MPSC) ही…

2 years ago

10 Best Authentic MPSC History Books Every One should have

MPSC History BOOKS Best History Books For MPSC Ancient History Books Ancient History Of India…

5 years ago

Marathi Grammar Books: स्पर्धा परीक्षा वर्गासाठी Top 3 Basic पुस्तके

मराठी व्याकरणावरील स्पर्धा परीक्षेसाठी अतिशय उपयुक्त अशी 3 पुस्तके Get Started mpsc विद्यार्थीसाठी उपयुक्त हे…

6 years ago

Arihant Csat Book! wow, Top 3 The Best Ever!

Arihant Csat Book Arihant Csat Book! wow, Top 3 The Best Ever! -Arihant Is a…

6 years ago