{"id":5378,"date":"2026-11-03T13:48:30","date_gmt":"2026-11-03T13:48:30","guid":{"rendered":"https:\/\/apicalclasses.com\/?p=5378"},"modified":"2026-11-03T13:48:31","modified_gmt":"2026-11-03T13:48:31","slug":"class-8th-subject-sciencech2-13","status":"publish","type":"post","link":"https:\/\/apicalclasses.com\/?p=5378","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>\ud83e\udde0 Science Quiz \u2013 Yeast and Fermentation<\/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}\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}\nh2 { text-align: center; color: #1e3c72; }\n.question { font-weight: bold; margin: 10px 0; line-height: 1.6; }\n.options label {\n    display: block;\n    margin: 8px 0;\n    padding: 10px;\n    border-radius: 6px;\n    border: 1px solid #ccc;\n    cursor: pointer;\n    transition: 0.3s;\n}\n.options label:hover { background: #f0f0f0; }\n.correct {\n    background-color: #c8f7c5 !important;\n    border-color: #28a745 !important;\n}\n.wrong {\n    background-color: #f8d7da !important;\n    border-color: #dc3545 !important;\n}\n.explanation {\n    background: #e9ecef;\n    padding: 10px;\n    margin-top: 10px;\n    border-left: 5px solid #2a5298;\n    display: none;\n    line-height: 1.6;\n}\n.controls { text-align: center; margin-top: 15px; }\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}\nbutton:hover { background-color: #1e3c72; }\n#scoreboard {\n    margin-top: 25px;\n    background: #eef3f7;\n    padding: 15px;\n    border-radius: 8px;\n}\n#scoreboard h3 { text-align: center; }\nol { padding-left: 20px; }\n#userName {\n    padding: 10px;\n    width: 70%;\n    border: 1px solid #ccc;\n    border-radius: 6px;\n}\n<\/style>\n<\/head>\n\n<body>\n<div class=\"quiz-container\">\n\n<h2>\ud83e\udde0 Science Quiz \u2013 Yeast and Fermentation<\/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    <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\" style=\"text-align:center; margin-top:20px;\"><\/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. Yeast kis group ke microorganisms se belong karta hai?\",\noptions: [\n\"A. Bacteria\",\n\"B. Protozoa\",\n\"C. Fungi\",\n\"D. Algae\"\n],\ncorrect: 2,\nexplanation: \"Yeast ek microorganism hai jo fungi group se belong karta hai. Iska use bread aur cakes banane mein kiya jata hai.<br><br><b>Example:<\/b> Bread banane ke liye atta ya maida mein yeast add kiya ja sakta hai.\"\n},\n\n{\nquestion: \"2. Flour mein yeast add karne ke baad dough fluffy kyon ho jata hai?\",\noptions: [\n\"A. Yeast carbon dioxide gas release karta hai\",\n\"B. Yeast flour ko freeze kar deta hai\",\n\"C. Yeast saara water absorb kar leta hai\",\n\"D. Yeast flour ko plastic mein badal deta hai\"\n],\ncorrect: 0,\nexplanation: \"Yeast food ko break down karke energy release karta hai. Is process mein carbon dioxide gas banti hai, jo dough mein bubbles create karti hai. Isse dough rise karke soft aur fluffy ho jata hai.<br><br><b>Example:<\/b> Bread ke andar chhote-chhote holes carbon dioxide ke bubbles ki wajah se ban sakte hain.\"\n},\n\n{\nquestion: \"3. Dough banate waqt yeast ko warm place mein kyon rakha jata hai?\",\noptions: [\n\"A. Taaki dough freeze ho jaye\",\n\"B. Taaki yeast suitable warm conditions mein grow aur active ho sake\",\n\"C. Taaki flour ka colour blue ho jaye\",\n\"D. Taaki dough mein koi gas na bane\"\n],\ncorrect: 1,\nexplanation: \"Yeast warm conditions mein achchhi tarah grow aur active ho sakta hai. Bahut zyada heat yeast ko damage kar sakti hai.<br><br><b>Example:<\/b> Bread dough ko suitable warm jagah par rakhne se woh kuch time baad rise kar sakta hai.\"\n},\n\n{\nquestion: \"4. Dough mein sugar add karne ka main purpose kya hai?\",\noptions: [\n\"A. Dough ko hard banana\",\n\"B. Yeast ko completely destroy karna\",\n\"C. Dough ko dry banana\",\n\"D. Yeast ko food provide karna\"\n],\ncorrect: 3,\nexplanation: \"Sugar yeast ke liye available food source provide karti hai. Yeast sugar ko process karke energy release karta hai aur carbon dioxide produce kar sakta hai.<br><br><b>Example:<\/b> Yeast wale dough mein thodi sugar add karne se fermentation process support hota hai.\"\n},\n\n{\nquestion: \"5. Activity mein bowl B mein yeast kyon nahi add kiya gaya?\",\noptions: [\n\"A. Dono bowls ka colour same karne ke liye\",\n\"B. Flour ko remove karne ke liye\",\n\"C. Yeast wale aur yeast ke bina dough ka comparison karne ke liye\",\n\"D. Sugar ko freeze karne ke liye\"\n],\ncorrect: 2,\nexplanation: \"Bowl B comparison ke liye control hai. Dono bowls mein flour aur sugar rakhe jaate hain, lekin yeast sirf bowl A mein add kiya jata hai.<br><br><b>Example:<\/b> Agar bowl A ka dough zyada rise kare aur bowl B ka kam, toh yeast ke role ko samajhne mein help milti hai.\"\n},\n\n{\nquestion: \"6. Yeast ki activity ke dauraan carbon dioxide ke alawa aur kya produce ho sakta hai?\",\noptions: [\n\"A. Thodi quantity mein alcohol\",\n\"B. Iron\",\n\"C. Plastic\",\n\"D. Sand\"\n],\ncorrect: 0,\nexplanation: \"Yeast fermentation ke dauraan carbon dioxide ke saath thodi quantity mein alcohol bhi produce kar sakta hai. Dough mein alcohol ki wajah se smell mein change aa sakta hai.<br><br><b>Example:<\/b> Fermentation ke baad dough ki smell fresh flour ke smell se different ho sakti hai.\"\n},\n\n{\nquestion: \"7. Bread aur cakes banane mein yeast ka use kis property ke kaaran hota hai?\",\noptions: [\n\"A. Yeast dough ko metal bana deta hai\",\n\"B. Yeast carbon dioxide produce karke dough ko rise karne mein help karta hai\",\n\"C. Yeast dough ko hamesha cold rakhta hai\",\n\"D. Yeast flour ka saara water remove kar deta hai\"\n],\ncorrect: 1,\nexplanation: \"Carbon dioxide dough mein bubbles banati hai. Isse dough ka volume increase hota hai aur baked bread ya cake soft aur airy ho sakta hai.<br><br><b>Example:<\/b> Yeast se bana bread aam taur par zyada fluffy hota hai.\"\n},\n\n{\nquestion: \"8. Idli aur dosa ke batter ki fermentation mein kaunsa bacterium help karta hai?\",\noptions: [\n\"A. Amoeba\",\n\"B. Bread mould\",\n\"C. Paramecium\",\n\"D. Lactobacillus\"\n],\ncorrect: 3,\nexplanation: \"Lactobacillus ek type ka bacterium hai. Kuch bacteria batter ki fermentation mein help karte hain, jisse uski properties aur texture change hote hain.<br><br><b>Example:<\/b> Idli aur dosa ka batter ferment hone par uska volume badh sakta hai.\"\n},\n\n{\nquestion: \"9. Yeast add karne ke baad dough mein bubbles kis gas ke kaaran bante hain?\",\noptions: [\n\"A. Carbon dioxide\",\n\"B. Helium\",\n\"C. Neon\",\n\"D. Argon\"\n],\ncorrect: 0,\nexplanation: \"Yeast ke process se release hone wali carbon dioxide dough ke andar trap ho sakti hai. Ye bubbles dough ko rise karne mein help karte hain.<br><br><b>Example:<\/b> Dough ko cut karne par baked bread ke andar small air pockets dikh sakte hain.\"\n},\n\n{\nquestion: \"10. Idli, dosa aur bhatura ke preparation mein microorganisms ka kya role ho sakta hai?\",\noptions: [\n\"A. Food ko plastic mein convert karna\",\n\"B. Food ke saare nutrients destroy karna\",\n\"C. Fermentation mein help karna\",\n\"D. Food ko stone mein badalna\"\n],\ncorrect: 2,\nexplanation: \"Yeast aur kuch bacteria food fermentation mein help karte hain. Fermentation se batter ya dough ki smell, texture aur volume mein changes aa sakte hain.<br><br><b>Example:<\/b> Idli batter ko ferment karne par woh rise ho sakta hai aur idli soft banane mein help milti hai.\"\n}\n\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = [];\nlet userName = \"\";\n\nfunction startQuiz() {\n    userName = document.getElementById(\"userName\").value.trim();\n\n    if (!userName) return alert(\"Please enter your name.\");\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    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\" name=\"option\" 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 nextQuestion() {\n    saveAnswer();\n\n    if (currentQuestion < questions.length - 1) {\n        currentQuestion++;\n        showQuestion();\n    }\n}\n\nfunction prevQuestion() {\n    saveAnswer();\n\n    if (currentQuestion > 0) {\n        currentQuestion--;\n        showQuestion();\n    }\n}\n\nfunction saveAnswer() {\n    const selected = document.querySelector('input[name=\"option\"]:checked');\n\n    userAnswers[currentQuestion] =\n        selected ? parseInt(selected.value) : null;\n}\n\nfunction submitQuiz() {\n    saveAnswer();\n\n    score = 0;\n\n    questions.forEach((q, index) => {\n        if (userAnswers[index] === q.correct) score++;\n    });\n\n    showResults();\n    saveScore(userName, score);\n    loadScoreboard();\n}\n\nfunction showResults() {\n    const container = document.getElementById(\"questionContainer\");\n\n    container.innerHTML = \"\";\n\n    questions.forEach((q, index) => {\n        const selected = userAnswers[index];\n        const correct = q.correct;\n\n        let optsHTML = q.options.map((opt, i) => {\n            let cls = \"\";\n\n            if (i === correct) cls = \"correct\";\n            if (selected === i && selected !== correct) cls = \"wrong\";\n\n            return `<label class=\"${cls}\">${opt}<\/label>`;\n        }).join(\"\");\n\n        container.innerHTML += `\n            <div class=\"question\">${q.question}<\/div>\n            <div class=\"options\">${optsHTML}<\/div>\n            <div class=\"explanation\" style=\"display:block;\">\n                ${q.explanation}\n            <\/div>\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        <h3>Percentage: ${(score \/ questions.length) * 100}%<\/h3>\n    `;\n}\n\nfunction saveScore(name, score) {\n    let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || [];\n\n    scores.push({\n        name,\n        score,\n        date: new Date().toLocaleString()\n    });\n\n    localStorage.setItem(\"quizScores\", JSON.stringify(scores));\n}\n\nfunction loadScoreboard() {\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<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>\ud83e\udde0 Science Quiz \u2013 Yeast and Fermentation \ud83e\udde0 Science Quiz \u2013 Yeast and Fermentation 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-5378","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/posts\/5378","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=5378"}],"version-history":[{"count":1,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/posts\/5378\/revisions"}],"predecessor-version":[{"id":5379,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/posts\/5378\/revisions\/5379"}],"wp:attachment":[{"href":"https:\/\/apicalclasses.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5378"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}