Take Test

Writen Test For job preparation by infinite ilm | Test no 2

 

Online writen test for job, online written test for job in pakistan, online written test for job sample, online written test for job pdf, free online written test for job, online written test for job for freshers, online assessment test for jobs, free aptitude test questions and answers, sample aptitude test questions and answers pdf, online written job, online job test preparation, online test for job in pakistan, online typing test for job, online job type writing, online jobs test, writingjobz test answers, Online writen test for police, online written test for police in pakistan, free online written test for police, police constable test mcqs with answers, police exam questions and answers pdf, online written test for police sindh, police written exam practice test free, police test questions and answers, police written exam questions pdf, Online writen test for asf, online written test for asf pakistan, online written test for asf pdf, online written test for asf free, www asf gov pk online apply, online written test for asf karachi, asf written test slip 2025, join asf, www asf gov pk online apply login password,

Must read: top digital skill for fresh graduate students

Pakistan History MCQ Quiz

1. Who was the first President of Pakistan?



2. In which year did Pakistan gain independence?



3. The Lahore Resolution was passed in which year?



4. Who is known as the “Father of the Nation” in Pakistan?



5. The first Constitution of Pakistan was adopted in:



6. The Indus Valley Civilization flourished around:



7. The Battle of Plassey was fought in:



8. The Mughal Empire was founded by:



9. The capital of the Mauryan Empire was:



10. The first Muslim invader of India was:



11. The Taj Mahal was built by:



12. The Indian National Congress was founded in:



13. The partition of Bengal was annulled in:



14. The All India Muslim League was founded in:



15. The Khilafat Movement started in:



16. The Simon Commission came to India in:



17. The Pakistan Resolution was passed on:



18. The first Governor-General of Pakistan was:



19. The 1965 war between Pakistan and India lasted for:



20. Bangladesh was established in:



Your Score: 0/20

.history-quiz {
max-width: 700px;
margin: 0 auto;
font-family: ‘Segoe UI’, Tahoma, Geneva, Verdana, sans-serif;
padding: 20px;
background: #fff;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.history-quiz h2 {
text-align: center;
color: #2c3e50;
margin-bottom: 30px;
padding-bottom: 15px;
border-bottom: 2px solid #f1f1f1;
}

.quiz-question {
margin-bottom: 20px;
padding: 20px;
background: #f9f9f9;
border-radius: 8px;
border-left: 4px solid #e74c3c;
transition: all 0.3s ease;
}

.quiz-question:hover {
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.quiz-question p {
font-weight: 600;
margin-bottom: 15px;
color: #2c3e50;
}

.quiz-question label {
display: block;
padding: 10px 15px;
margin: 5px 0;
background: #fff;
border-radius: 5px;
cursor: pointer;
transition: all 0.2s ease;
border: 1px solid #eee;
}

.quiz-question label:hover {
background: #f1f1f1;
}

.quiz-question input[type=”radio”] {
margin-right: 10px;
}

.quiz-actions {
text-align: center;
margin: 30px 0;
}

.check-answers {
background: #e74c3c;
color: white;
border: none;
padding: 12px 30px;
font-size: 16px;
border-radius: 50px;
cursor: pointer;
transition: all 0.3s ease;
font-weight: 600;
box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

.check-answers:hover {
background: #c0392b;
transform: translateY(-2px);
box-shadow: 0 6px 12px rgba(231, 76, 60, 0.4);
}

.check-answers:active {
transform: translateY(0);
}

.quiz-results {
display: none;
margin-top: 30px;
padding: 20px;
background: #f9f9f9;
border-radius: 8px;
border-top: 4px solid #2ecc71;
}

.quiz-results h3 {
color: #2c3e50;
margin-bottom: 15px;
}

.quiz-results .score {
color: #2ecc71;
font-size: 24px;
}

.answer-key {
background: #fff;
padding: 15px;
border-radius: 5px;
}

.answer-key p {
padding: 8px 0;
margin: 0;
border-bottom: 1px dashed #eee;
}

.answer-key p:last-child {
border-bottom: none;
}

/* Answer feedback colors */
.correct-answer {
color: #2ecc71;
font-weight: bold;
}

.wrong-answer {
color: #e74c3c;
}

.show-answer {
color: #3498db;
font-weight: bold;
}

document.addEventListener(‘DOMContentLoaded’, function() {
const correctAnswers = {
q1: {value: “b”, text: “Iskander Mirza”},
q2: {value: “b”, text: “1947”},
q3: {value: “b”, text: “1940”},
q4: {value: “b”, text: “Muhammad Ali Jinnah”},
q5: {value: “b”, text: “1956”},
q6: {value: “b”, text: “2500 BCE”},
q7: {value: “a”, text: “1757”},
q8: {value: “b”, text: “Babur”},
q9: {value: “b”, text: “Pataliputra”},
q10: {value: “b”, text: “Muhammad bin Qasim”},
q11: {value: “b”, text: “Shah Jahan”},
q12: {value: “a”, text: “1885”},
q13: {value: “b”, text: “1911”},
q14: {value: “a”, text: “1906”},
q15: {value: “a”, text: “1919”},
q16: {value: “b”, text: “1927”},
q17: {value: “a”, text: “22 March 1940”},
q18: {value: “b”, text: “Muhammad Ali Jinnah”},
q19: {value: “a”, text: “17 days”},
q20: {value: “b”, text: “1971”}
};

document.querySelector(‘.check-answers’).addEventListener(‘click’, function() {
let score = 0;
let answerKeyHTML = ‘

Answer Key:

‘;

for(let i = 1; i {
label.classList.remove(‘correct-answer’, ‘wrong-answer’, ‘show-answer’);
});

if(selectedOption) {
const userAnswer = selectedOption.value;
const correctAnswer = correctAnswers[questionName].value;

if(userAnswer === correctAnswer) {
score++;
selectedOption.parentElement.classList.add(‘correct-answer’);
} else {
selectedOption.parentElement.classList.add(‘wrong-answer’);
}
}

// Highlight correct answer
const correctOption = questionElement.querySelector(`input[value=”${correctAnswers[questionName].value}”]`);
correctOption.parentElement.classList.add(‘show-answer’);

// Add to answer key
answerKeyHTML += `

Q${i}:
(${correctAnswers[questionName].value}) ${correctAnswers[questionName].text}

`;
}

// Show results
document.querySelector(‘.score’).textContent = score;
document.querySelector(‘.answer-key’).innerHTML = answerKeyHTML;
document.querySelector(‘.quiz-results’).style.display = ‘block’;

// Scroll to results
document.querySelector(‘.quiz-results’).scrollIntoView({ behavior: ‘smooth’ });
});
});

Advertisement

Leave a Reply

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

Back to top button