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

Math Test
1. If x + y = 15 and x – y = 5, what is the value of x/y?
2. A car travels 240 km in 3 hours. What is its average speed in m/s?
3. If 2x = 32, what is the value of 3x+1?
4. What is the area of a circle inscribed in a square of side 10 cm?
5. The sum of three consecutive odd numbers is 93. What is the largest number?
6. If log2(x) + log2(x-6) = 4, what is the value of x?
7. A train 150m long passes a pole in 3 seconds. How long will it take to pass a 300m platform?
8. If a:b = 3:4 and b:c = 5:6, what is a:c?
9. What is the smallest number by which 3600 must be multiplied to make it a perfect cube?
10. If 3x – 2y = 12 and x + 4y = 10, what is the value of y?
11. The average of 5 numbers is 24. If one number is excluded, the average becomes 20. What is the excluded number?
12. A shop offers 20% discount on marked price and still makes 10% profit. What is the cost price if marked price is Rs. 550?
13. If the radius of a sphere is doubled, by what factor does its volume increase?
14. What is the probability of getting a sum of 9 when two dice are rolled?
15. If f(x) = 2x² – 5x + 3, what is f(-1)?
16. A man is 24 years older than his son. In 2 years, his age will be twice the age of his son. What is the present age of the son?
17. What is the remainder when 723 is divided by 5?
18. The sum of digits of a two-digit number is 9. If 27 is subtracted from the number, its digits are reversed. What is the number?
19. What is the value of √(0.16) + ∛(0.027)?
20. A right triangle has legs 6cm and 8cm. What is the length of the altitude to the hypotenuse?
Your Score: 0/20
.nts-math-quiz {
max-width: 750px;
margin: 0 auto;
font-family: ‘Segoe UI’, Tahoma, Geneva, Verdana, sans-serif;
padding: 25px;
background: #fff;
border-radius: 10px;
box-shadow: 0 0 25px rgba(0,0,0,0.1);
}
.nts-math-quiz h2 {
text-align: center;
color: #2c3e50;
margin-bottom: 30px;
padding-bottom: 15px;
border-bottom: 2px solid #3498db;
}
.quiz-question {
margin-bottom: 25px;
padding: 20px;
background: #f8f9fa;
border-radius: 8px;
border-left: 4px solid #3498db;
transition: all 0.3s ease;
}
.quiz-question:hover {
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}
.quiz-question p {
font-weight: 600;
margin-bottom: 15px;
color: #2c3e50;
font-size: 16px;
}
.quiz-question label {
display: block;
padding: 12px 15px;
margin: 8px 0;
background: #fff;
border-radius: 6px;
cursor: pointer;
transition: all 0.2s ease;
border: 1px solid #ddd;
font-size: 15px;
}
.quiz-question label:hover {
background: #f1f8ff;
border-color: #3498db;
}
.quiz-question input[type=”radio”] {
margin-right: 12px;
transform: scale(1.1);
}
.quiz-actions {
text-align: center;
margin: 35px 0;
}
.check-answers {
background: #3498db;
color: white;
border: none;
padding: 14px 35px;
font-size: 17px;
border-radius: 50px;
cursor: pointer;
transition: all 0.3s ease;
font-weight: 600;
box-shadow: 0 4px 10px rgba(52, 152, 219, 0.4);
}
.check-answers:hover {
background: #2980b9;
transform: translateY(-3px);
box-shadow: 0 6px 15px rgba(52, 152, 219, 0.5);
}
.check-answers:active {
transform: translateY(0);
}
.quiz-results {
display: none;
margin-top: 35px;
padding: 25px;
background: #f8f9fa;
border-radius: 8px;
border-top: 4px solid #2ecc71;
}
.quiz-results h3 {
color: #2c3e50;
margin-bottom: 20px;
font-size: 20px;
}
.quiz-results .score {
color: #2ecc71;
font-size: 28px;
}
.answer-key {
background: #fff;
padding: 20px;
border-radius: 6px;
border: 1px solid #eee;
}
.answer-key h4 {
color: #2c3e50;
margin-top: 0;
border-bottom: 1px solid #eee;
padding-bottom: 10px;
}
.answer-key p {
padding: 10px 0;
margin: 0;
border-bottom: 1px dashed #eee;
font-size: 15px;
}
.answer-key p:last-child {
border-bottom: none;
}
/* Answer feedback colors */
.correct-answer {
color: #2ecc71;
font-weight: bold;
background-color: #e8f8f0;
}
.wrong-answer {
color: #e74c3c;
background-color: #fdedec;
}
.show-answer {
color: #3498db;
font-weight: bold;
background-color: #ebf5fb;
}
@media (max-width: 600px) {
.nts-math-quiz {
padding: 15px;
}
.quiz-question {
padding: 15px;
}
}
document.addEventListener(‘DOMContentLoaded’, function() {
const correctAnswers = {
q1: {value: “b”, text: “2 (Solution: x=10, y=5)”},
q2: {value: “c”, text: “22.22 m/s (Solution: (240×1000)/(3×3600))”},
q3: {value: “b”, text: “243 (Solution: x=5, 36=729)”},
q4: {value: “a”, text: “25π cm² (Solution: radius=5cm)”},
q5: {value: “c”, text: “33 (Solution: 29+31+33=93)”},
q6: {value: “b”, text: “8 (Solution: x(x-6)=16)”},
q7: {value: “b”, text: “9 sec (Solution: (150+300)/50)”},
q8: {value: “a”, text: “5:8 (Solution: a:b:c=15:20:24)”},
q9: {value: “d”, text: “60 (Solution: 3600×60=216000=603)”},
q10: {value: “a”, text: “1 (Solution: solve simultaneous equations)”},
q11: {value: “c”, text: “40 (Solution: 120-80=40)”},
q12: {value: “a”, text: “Rs. 400 (Solution: 550×0.8/1.1)”},
q13: {value: “d”, text: “8 (Solution: volume ∝ r³)”},
q14: {value: “b”, text: “1/9 (Solution: 4 favorable out of 36)”},
q15: {value: “d”, text: “10 (Solution: 2(-1)²-5(-1)+3)”},
q16: {value: “b”, text: “22 (Solution: x+26=2(x+2))”},
q17: {value: “c”, text: “3 (Solution: pattern 71=2, 72=4, 73=3, 74=1)”},
q18: {value: “c”, text: “63 (Solution: 63-27=36)”},
q19: {value: “c”, text: “0.7 (Solution: 0.4+0.3)”},
q20: {value: “b”, text: “4.8 cm (Solution: h=6×8/10)”}
};
document.querySelector(‘.check-answers’).addEventListener(‘click’, function() {
let score = 0;
let answerKeyHTML = ‘
Answer Key with Solutions:
‘;
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’ });
});
});
