{"id":5342,"date":"2026-11-02T13:57:35","date_gmt":"2026-11-02T13:57:35","guid":{"rendered":"https:\/\/apicalclasses.com\/?p=5342"},"modified":"2026-11-02T13:57:36","modified_gmt":"2026-11-02T13:57:36","slug":"class-8th-subject-science-ch2","status":"publish","type":"post","link":"https:\/\/apicalclasses.com\/?p=5342","title":{"rendered":"class 8th, subject science, ch2"},"content":{"rendered":"\n<!--nextpage-->\n\n\n\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<title>Science Quiz \u2013 Human Eye, Lens and Microscope<\/title>\n\n<style>\nbody {\n    font-family: Arial, sans-serif;\n    background: linear-gradient(135deg, #a1c4fd, #c2e9fb);\n    display: flex;\n    justify-content: center;\n    align-items: flex-start;\n    padding: 30px;\n    min-height: 100vh;\n    margin: 0;\n}\n\n.quiz-container {\n    background: #fff;\n    padding: 25px;\n    border-radius: 12px;\n    box-shadow: 0 4px 10px rgba(0,0,0,0.2);\n    width: 90%;\n    max-width: 800px;\n}\n\nh2 {\n    text-align: center;\n    color: #1e3c72;\n}\n\n.question {\n    font-weight: bold;\n    margin: 15px 0;\n    line-height: 1.6;\n}\n\n.options label {\n    display: block;\n    margin: 8px 0;\n    padding: 12px;\n    border-radius: 6px;\n    border: 1px solid #ccc;\n    cursor: pointer;\n    transition: 0.3s;\n}\n\n.options label:hover {\n    background: #f0f0f0;\n}\n\n.options input {\n    margin-right: 8px;\n}\n\n.correct {\n    background-color: #c8f7c5 !important;\n    border-color: #28a745 !important;\n}\n\n.wrong {\n    background-color: #f8d7da !important;\n    border-color: #dc3545 !important;\n}\n\n.explanation {\n    background: #e9ecef;\n    padding: 12px;\n    margin-top: 10px;\n    margin-bottom: 15px;\n    border-left: 5px solid #2a5298;\n    border-radius: 5px;\n    line-height: 1.6;\n    display: none;\n}\n\n.controls {\n    text-align: center;\n    margin-top: 20px;\n}\n\nbutton {\n    background-color: #2a5298;\n    color: white;\n    border: none;\n    padding: 10px 20px;\n    border-radius: 6px;\n    cursor: pointer;\n    margin: 5px;\n    font-size: 15px;\n}\n\nbutton:hover {\n    background-color: #1e3c72;\n}\n\n#userName {\n    padding: 10px;\n    width: 90%;\n    max-width: 350px;\n    border: 1px solid #ccc;\n    border-radius: 6px;\n    margin-bottom: 10px;\n}\n\n#scoreboard {\n    margin-top: 25px;\n    background: #eef3f7;\n    padding: 15px;\n    border-radius: 8px;\n}\n\n#scoreboard h3 {\n    text-align: center;\n}\n\n#result {\n    text-align: center;\n    margin-top: 20px;\n    color: #1e3c72;\n}\n\n@media(max-width:600px) {\n    body {\n        padding: 10px;\n    }\n\n    .quiz-container {\n        width: 100%;\n        padding: 15px;\n    }\n}\n<\/style>\n<\/head>\n\n<body>\n\n<div class=\"quiz-container\">\n\n<h2>\ud83e\udde0 Science Quiz \u2013 Human Eye, Lens and Microscope<\/h2>\n\n<div id=\"nameSection\">\n    <p><strong>Enter your name to start:<\/strong><\/p>\n    <input type=\"text\" id=\"userName\" placeholder=\"Your Name\">\n    <br>\n    <button onclick=\"startQuiz()\">Start Quiz<\/button>\n<\/div>\n\n<div id=\"quizSection\" style=\"display:none;\">\n\n    <div id=\"questionContainer\"><\/div>\n\n    <div class=\"controls\">\n        <button onclick=\"prevQuestion()\" id=\"prevBtn\">Previous<\/button>\n        <button onclick=\"nextQuestion()\" id=\"nextBtn\">Next<\/button>\n        <button onclick=\"submitQuiz()\" id=\"submitBtn\" style=\"display:none;\">Submit<\/button>\n    <\/div>\n\n    <div id=\"result\"><\/div>\n\n    <div id=\"scoreboard\">\n        <h3>\ud83c\udfc6 Scoreboard<\/h3>\n        <ol id=\"scoreList\"><\/ol>\n    <\/div>\n\n<\/div>\n<\/div>\n\n<script>\n\nconst questions = [\n\n{\nquestion: \"1. Human eye bahut chhoti objects ko dekhne mein kyun limited hoti hai?\",\noptions: [\n\"A. Kyunki eyes sirf colourful objects dekhti hain\",\n\"B. Kyunki eyes ko dekhne ke liye object ka ek minimum size hona chahiye\",\n\"C. Kyunki eyes sirf living things dekhti hain\",\n\"D. Kyunki eyes sirf raat mein kaam karti hain\"\n],\ncorrect: 1,\nexplanation: \"Human eye har tiny object ko clearly nahi dekh sakti. Bahut chhoti cheezon ko dekhne ke liye magnifying glass ya microscope jaise instruments ki help li ja sakti hai.<br><br><strong>Example:<\/strong> Hum apni naked eyes se ek tiny bacterium ko clearly nahi dekh sakte, lekin microscope ki help se dekh sakte hain.\"\n},\n\n{\nquestion: \"2. Purane samay mein chhoti objects ko bada dekhne ke liye kis cheez ka use kiya gaya tha?\",\noptions: [\n\"A. Curved glass\",\n\"B. Wooden stick\",\n\"C. Iron sheet\",\n\"D. Cotton cloth\"\n],\ncorrect: 0,\nexplanation: \"Curved glass ki help se small objects ko bigger dikhaya ja sakta hai. Isi principle par magnifying glasses kaam karte hain.<br><br><strong>Example:<\/strong> Magnifying glass se chhote letters ya kisi leaf ki fine details ko bada karke dekha ja sakta hai.\"\n},\n\n{\nquestion: \"3. Lens ko lentil seed se milta-julta naam kyun diya gaya?\",\noptions: [\n\"A. Kyunki lens ka colour hamesha green hota hai\",\n\"B. Kyunki lens paani mein grow karta hai\",\n\"C. Kyunki lens ek living organism hai\",\n\"D. Kyunki lens ki shape lentil seed jaisi ho sakti hai\"\n],\ncorrect: 3,\nexplanation: \"Textbook ke according, lens beech mein thick aur edges par thin hota hai. Iski shape lentil seed se milti-julti hone ke kaaran ise lens kaha gaya.<br><br><strong>Example:<\/strong> Ek convex lens centre mein thick aur edges par thin hota hai.\"\n},\n\n{\nquestion: \"4. Microscope ka main purpose kya hai?\",\noptions: [\n\"A. Distant planets ko dekhna\",\n\"B. Objects ka weight measure karna\",\n\"C. Bahut chhoti objects aur living things ko magnify karke dekhna\",\n\"D. Temperature measure karna\"\n],\ncorrect: 2,\nexplanation: \"Microscope ek scientific instrument hai jo tiny objects ko magnified form mein dikhata hai. Isse hum un details ko observe kar sakte hain jo naked eye se visible nahi hoti.<br><br><strong>Example:<\/strong> Microscope ki help se pond water mein present kuch microscopic organisms ko observe kiya ja sakta hai.\"\n},\n\n{\nquestion: \"5. Microscope ki invention se humans ko kya benefit hua?\",\noptions: [\n\"A. Hidden microscopic world ko explore karne ka mauka mila\",\n\"B. Sabhi organisms ka size badh gaya\",\n\"C. Living things ki variety khatam ho gayi\",\n\"D. Human eyes ki zaroorat khatam ho gayi\"\n],\ncorrect: 0,\nexplanation: \"Microscope ki invention se humans tiny living creatures aur objects ko observe kar paaye, jo pehle naked eyes se visible nahi the.<br><br><strong>Example:<\/strong> Scientists microscope se microorganisms ko study kar sakte hain.\"\n},\n\n{\nquestion: \"6. Plants aur animals jaise living beings ko collectively kya kaha jaata hai?\",\noptions: [\n\"A. Minerals\",\n\"B. Organisms\",\n\"C. Machines\",\n\"D. Lenses\"\n],\ncorrect: 1,\nexplanation: \"Sabhi living beings, chahe woh plants hon ya animals, organisms kehlate hain. Organisms different shapes, sizes aur colours ke ho sakte hain.<br><br><strong>Example:<\/strong> Mango tree, dog, butterfly aur human beings sabhi organisms hain.\"\n},\n\n{\nquestion: \"7. Organisms ek-doosre se kin features mein differ kar sakte hain?\",\noptions: [\n\"A. Sirf colour mein\",\n\"B. Sirf size mein\",\n\"C. Sirf shape mein\",\n\"D. Structure, shape, size, colour aur doosre features mein\"\n],\ncorrect: 3,\nexplanation: \"Living organisms mein bahut variety hoti hai. Unka size, body structure, shape aur colour alag-alag ho sakta hai.<br><br><strong>Example:<\/strong> Ek elephant bahut bada animal hai, jabki ek ant bahut chhoti hoti hai. Dono organisms hain, lekin unka size aur structure different hai.\"\n},\n\n{\nquestion: \"8. Naked eye ka kya meaning hai?\",\noptions: [\n\"A. Microscope se dekhna\",\n\"B. Telescope se dekhna\",\n\"C. Bina kisi optical instrument ke apni aankhon se dekhna\",\n\"D. Camera se dekhna\"\n],\ncorrect: 2,\nexplanation: \"Naked eye ka matlab hai bina magnifying glass ya microscope ki help ke dekhna. Naked eye se hum large aur kuch small objects dekh sakte hain, lekin microscopic objects clearly nahi dekh sakte.<br><br><strong>Example:<\/strong> Hum ek ant ko naked eye se dekh sakte hain, lekin ek bacterium ko generally clearly nahi dekh sakte.\"\n},\n\n{\nquestion: \"9. Reading glasses ka use kis liye kiya jaata hai?\",\noptions: [\n\"A. Kuch logon ko paas ki writing clearly dekhne mein help karne ke liye\",\n\"B. Objects ka weight badhane ke liye\",\n\"C. Har object ko microscope jitna magnify karne ke liye\",\n\"D. Objects ka temperature check karne ke liye\"\n],\ncorrect: 0,\nexplanation: \"Reading glasses suitable lenses ka use karke un logon ko paas ki writing padhne mein help kar sakte hain jinko close objects dekhne mein difficulty hoti hai. Har person ko same type ke glasses ki zaroorat nahi hoti.<br><br><strong>Example:<\/strong> Agar kisi person ko book ke small letters padhne mein difficulty hoti hai, toh eye specialist ke prescribed reading glasses help kar sakte hain.\"\n},\n\n{\nquestion: \"10. Magnifying glass use karne par chhoti object generally kaisi dikhti hai?\",\noptions: [\n\"A. Hamesha smaller\",\n\"B. Badi\",\n\"C. Invisible\",\n\"D. Bilkul same size ki har situation mein\"\n],\ncorrect: 1,\nexplanation: \"Magnifying glass ek lens ka use karke suitable position par rakhi chhoti object ki magnified image dikha sakta hai. Isse object ki details observe karna easier hota hai.<br><br><strong>Example:<\/strong> Magnifying glass se leaf ki veins ya printed letters ko bada karke dekha ja sakta hai.\"\n}\n\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = [];\nlet userName = \"\";\nlet submitted = false;\n\nfunction startQuiz() {\n\n    userName = document.getElementById(\"userName\").value.trim();\n\n    if (!userName) {\n        alert(\"Please enter your name.\");\n        return;\n    }\n\n    document.getElementById(\"nameSection\").style.display = \"none\";\n    document.getElementById(\"quizSection\").style.display = \"block\";\n\n    showQuestion();\n    loadScoreboard();\n}\n\nfunction showQuestion() {\n\n    const q = questions[currentQuestion];\n    const container = document.getElementById(\"questionContainer\");\n\n    container.innerHTML = `\n        <div class=\"question\">${q.question}<\/div>\n\n        <div class=\"options\">\n            ${q.options.map((opt, i) => `\n                <label>\n                    <input type=\"radio\"\n                    name=\"option\"\n                    value=\"${i}\"\n                    ${userAnswers[currentQuestion] == i ? \"checked\" : \"\"}>\n                    ${opt}\n                <\/label>\n            `).join(\"\")}\n        <\/div>\n\n        <div class=\"explanation\" id=\"explain${currentQuestion}\">\n            ${q.explanation}\n        <\/div>\n    `;\n\n    document.getElementById(\"prevBtn\").style.display =\n        currentQuestion === 0 ? \"none\" : \"inline-block\";\n\n    document.getElementById(\"nextBtn\").style.display =\n        currentQuestion === questions.length - 1 ? \"none\" : \"inline-block\";\n\n    document.getElementById(\"submitBtn\").style.display =\n        currentQuestion === questions.length - 1 ? \"inline-block\" : \"none\";\n}\n\nfunction saveAnswer() {\n\n    const selected = document.querySelector('input[name=\"option\"]:checked');\n\n    userAnswers[currentQuestion] =\n        selected ? parseInt(selected.value) : null;\n}\n\nfunction nextQuestion() {\n\n    saveAnswer();\n\n    if (currentQuestion < questions.length - 1) {\n        currentQuestion++;\n        showQuestion();\n    }\n}\n\nfunction prevQuestion() {\n\n    saveAnswer();\n\n    if (currentQuestion > 0) {\n        currentQuestion--;\n        showQuestion();\n    }\n}\n\nfunction submitQuiz() {\n\n    if (submitted) return;\n\n    saveAnswer();\n\n    score = 0;\n\n    questions.forEach((q, index) => {\n        if (userAnswers[index] === q.correct) {\n            score++;\n        }\n    });\n\n    submitted = true;\n\n    showResults();\n    saveScore(userName, score);\n    loadScoreboard();\n}\n\nfunction showResults() {\n\n    const container = document.getElementById(\"questionContainer\");\n\n    container.innerHTML = \"\";\n\n    questions.forEach((q, index) => {\n\n        const selected = userAnswers[index];\n        const correct = q.correct;\n\n        let optsHTML = q.options.map((opt, i) => {\n\n            let cls = \"\";\n\n            if (i === correct) {\n                cls = \"correct\";\n            }\n\n            if (selected === i && selected !== correct) {\n                cls = \"wrong\";\n            }\n\n            return `<label class=\"${cls}\">${opt}<\/label>`;\n\n        }).join(\"\");\n\n        container.innerHTML += `\n            <div class=\"question\">${q.question}<\/div>\n\n            <div class=\"options\">\n                ${optsHTML}\n            <\/div>\n\n            <div class=\"explanation\" style=\"display:block;\">\n                ${q.explanation}\n            <\/div>\n\n            <hr>\n        `;\n    });\n\n    document.querySelector(\".controls\").style.display = \"none\";\n\n    document.getElementById(\"result\").innerHTML = `\n        <h3>Your Score: ${score} \/ ${questions.length}<\/h3>\n        <h4>${score >= 8 ? \"Excellent Performance! \ud83c\udf89\" :\n        score >= 5 ? \"Good Work! Keep Practicing! \ud83d\udc4d\" :\n        \"Keep Learning and Try Again! \ud83d\udcaa\"}<\/h4>\n    `;\n}\n\nfunction saveScore(name, score) {\n\n    let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || [];\n\n    scores.push({\n        name: name,\n        score: score,\n        date: new Date().toLocaleString()\n    });\n\n    localStorage.setItem(\"quizScores\", JSON.stringify(scores));\n}\n\nfunction loadScoreboard() {\n\n    let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || [];\n\n    scores.sort((a, b) => b.score - a.score);\n\n    document.getElementById(\"scoreList\").innerHTML =\n        scores.map(s =>\n            `<li>${s.name} - ${s.score}\/10 (${s.date})<\/li>`\n        ).join(\"\");\n}\n\n<\/script>\n\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>Science Quiz \u2013 Human Eye, Lens and Microscope \ud83e\udde0 Science Quiz \u2013 Human Eye, Lens and Microscope Enter your name to start: Start Quiz Previous Next Submit \ud83c\udfc6 Scoreboard<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5342","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/posts\/5342","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5342"}],"version-history":[{"count":1,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/posts\/5342\/revisions"}],"predecessor-version":[{"id":5343,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/posts\/5342\/revisions\/5343"}],"wp:attachment":[{"href":"https:\/\/apicalclasses.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5342"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5342"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}