{"id":5362,"date":"2026-11-02T14:27:16","date_gmt":"2026-11-02T14:27:16","guid":{"rendered":"https:\/\/apicalclasses.com\/?p=5362"},"modified":"2026-11-02T14:27:17","modified_gmt":"2026-11-02T14:27:17","slug":"class-8th-subject-sciencech2-6","status":"publish","type":"post","link":"https:\/\/apicalclasses.com\/?p=5362","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>Microorganisms Quiz<\/title>\n<style>\n  body {\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    box-sizing: border-box;\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  h2 { 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    line-height: 1.5;\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: 12px;\n    margin-top: 10px;\n    margin-bottom: 15px;\n    border-left: 5px solid #2a5298;\n    border-radius: 4px;\n    display: none;\n    line-height: 1.6;\n  }\n  .controls { text-align: center; margin-top: 15px; }\n  button {\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  }\n  button:hover { background-color: #1e3c72; }\n  input[type=\"text\"] {\n    padding: 10px;\n    width: 65%;\n    max-width: 300px;\n    border: 1px solid #ccc;\n    border-radius: 6px;\n  }\n  #scoreboard {\n    margin-top: 25px;\n    background: #eef3f7;\n    padding: 15px;\n    border-radius: 8px;\n  }\n  #scoreboard h3 { text-align: center; }\n  ol { padding-left: 20px; }\n  hr { border: 0; border-top: 1px solid #ddd; margin: 20px 0; }\n\n  @media(max-width:600px) {\n    body { padding: 12px; }\n    .quiz-container { width: 100%; padding: 16px; }\n  }\n<\/style>\n<\/head>\n\n<body>\n<div class=\"quiz-container\">\n\n  <h2>\ud83e\udde0 Microorganisms Quiz<\/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    <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  <\/div>\n<\/div>\n\n<script>\nconst questions = [\n  {\n    question: \"1. Microorganisms kise kehte hain?\",\n    options: [\n      \"A. Sirf bade animals ko\",\n      \"B. Aise living organisms jo naked eye se nahi dikhte\",\n      \"C. Sirf green plants ko\",\n      \"D. Sirf non-living objects ko\"\n    ],\n    correct: 1,\n    explanation: \"Microorganisms bahut chhote living organisms hote hain, jinhe usually naked eye se nahi dekha ja sakta. Unhe observe karne ke liye microscope ki zaroorat hoti hai.<br><br><strong>Example:<\/strong> Bacteria ko dekhne ke liye generally microscope ka use kiya jaata hai.\"\n  },\n  {\n    question: \"2. Unicellular microorganism ka kya meaning hai?\",\n    options: [\n      \"A. Jo sirf ek cell se bana ho\",\n      \"B. Jo bahut saare organs se bana ho\",\n      \"C. Jo sirf tissues se bana ho\",\n      \"D. Jo hamesha multicellular ho\"\n    ],\n    correct: 0,\n    explanation: \"Unicellular organisms mein sirf ek cell hoti hai, jo life ke necessary functions perform karti hai.<br><br><strong>Example:<\/strong> Bacteria aur Amoeba unicellular organisms hain.\"\n  },\n  {\n    question: \"3. Inmein se kaunsa unicellular organism hai?\",\n    options: [\n      \"A. Human\",\n      \"B. Mango plant\",\n      \"C. Amoeba\",\n      \"D. Dog\"\n    ],\n    correct: 2,\n    explanation: \"Amoeba ek single cell se bana organism hai. Iski single cell movement, feeding aur other life processes perform karti hai.<br><br><strong>Example:<\/strong> Pond ke water sample mein Amoeba mil sakta hai, jise microscope se observe kiya ja sakta hai.\"\n  },\n  {\n    question: \"4. Multicellular microorganism kaun-sa ho sakta hai?\",\n    options: [\n      \"A. Har type ka bacteria\",\n      \"B. Human being\",\n      \"C. Dog\",\n      \"D. Kuch fungi aur algae\"\n    ],\n    correct: 3,\n    explanation: \"Sabhi microorganisms unicellular nahi hote. Kuch fungi aur algae many cells se bane hote hain.<br><br><strong>Example:<\/strong> Bread par grow hone wala bread mould ek multicellular fungus hai.\"\n  },\n  {\n    question: \"5. Microorganisms kahan paaye ja sakte hain?\",\n    options: [\n      \"A. Sirf forests mein\",\n      \"B. Water, soil, air aur living bodies mein\",\n      \"C. Sirf deserts mein\",\n      \"D. Sirf laboratories mein\"\n    ],\n    correct: 1,\n    explanation: \"Microorganisms different environments mein paaye jaate hain. Kuch freely environment mein live karte hain, jabki kuch plants aur animals ke bodies mein bhi rehte hain.<br><br><strong>Example:<\/strong> Soil mein bacteria aur fungi dead organic matter ko decompose karne mein help karte hain.\"\n  },\n  {\n    question: \"6. Microorganisms ko observe karne ke liye microscope kyun use kiya jaata hai?\",\n    options: [\n      \"A. Kyunki microscope unhe bada karke details dekhne mein help karta hai\",\n      \"B. Kyunki microscope microorganisms ko plants mein badal deta hai\",\n      \"C. Kyunki microscope unka colour hamesha green kar deta hai\",\n      \"D. Kyunki microscope unhe destroy kar deta hai\"\n    ],\n    correct: 0,\n    explanation: \"Microscope chhoti objects aur cells ko magnify karta hai, jisse unki structure aur details observe karna possible hota hai.<br><br><strong>Example:<\/strong> Microscope ki help se scientists bacteria aur Amoeba jaise microorganisms ko study kar sakte hain.\"\n  },\n  {\n    question: \"7. Foldable paper microscope ka main advantage kya hai?\",\n    options: [\n      \"A. Yeh har laboratory microscope se zyada powerful hota hai\",\n      \"B. Ismein kisi bhi sample ki zaroorat nahi hoti\",\n      \"C. Yeh low-cost aur portable hota hai\",\n      \"D. Yeh microorganisms ko naked eye se visible bana deta hai\"\n    ],\n    correct: 2,\n    explanation: \"Foldable paper microscope affordable aur easily carry kiya ja sakta hai. Isse microscopic world ko un logon tak bhi pahunchaya ja sakta hai jinke paas expensive laboratory equipment nahi hai.<br><br><strong>Example:<\/strong> School ke students paper microscope se kuch chhote samples ko observe kar sakte hain.\"\n  },\n  {\n    question: \"8. Kya foldable paper microscope high-powered laboratory microscope jitni details dikhata hai?\",\n    options: [\n      \"A. Haan, har situation mein\",\n      \"B. Haan, bina magnification ke\",\n      \"C. Nahi, yeh koi bhi microscopic object nahi dikha sakta\",\n      \"D. Zaroori nahi; iski details dikhane ki ability limited ho sakti hai\"\n    ],\n    correct: 3,\n    explanation: \"Paper microscope low-cost aur useful tool hai, lekin har situation mein high-powered laboratory microscope jitni detail provide nahi karta.<br><br><strong>Example:<\/strong> Ek advanced laboratory microscope kisi sample ki finer cellular details dikhane mein paper microscope se better ho sakta hai.\"\n  },\n  {\n    question: \"9. Bacteria aur Amoeba ke baare mein kaunsa statement correct hai?\",\n    options: [\n      \"A. Dono hamesha multicellular hote hain\",\n      \"B. Dono unicellular organisms ke examples hain\",\n      \"C. Dono non-living objects hain\",\n      \"D. Dono sirf plants mein paaye jaate hain\"\n    ],\n    correct: 1,\n    explanation: \"Bacteria aur Amoeba dono single-celled organisms hain. Lekin unki cell structure aur biological organisation ek-doosre se different hoti hai.<br><br><strong>Example:<\/strong> Amoeba ek eukaryotic cell hai, jisme nucleus hota hai, jabki bacteria prokaryotic hote hain aur unmein membrane-bound nucleus nahi hota.\"\n  },\n  {\n    question: \"10. Microorganisms ke study se humein kya samajhne mein help milti hai?\",\n    options: [\n      \"A. Sirf large animals ki body\",\n      \"B. Sirf planets ki movement\",\n      \"C. Bahut chhote living organisms ki diversity aur structure\",\n      \"D. Sirf non-living materials ki properties\"\n    ],\n    correct: 2,\n    explanation: \"Microorganisms ki study se hum unki different types, cell structures aur environment mein unke roles ko samajh sakte hain.<br><br><strong>Example:<\/strong> Scientists useful bacteria ka use curd banane mein karte hain, aur kuch microorganisms dead matter ko decompose karte hain.\"\n  }\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = [];\nlet userName = \"\";\nlet submitted = false;\n\nfunction startQuiz() {\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  const q = questions[currentQuestion];\n  const container = document.getElementById(\"questionContainer\");\n\n  container.innerHTML = `\n    <p><strong>Question ${currentQuestion + 1} of ${questions.length}<\/strong><\/p>\n    <div class=\"question\">${q.question}<\/div>\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\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  const selected = document.querySelector('input[name=\"option\"]:checked');\n  userAnswers[currentQuestion] = selected ? parseInt(selected.value) : null;\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 submitQuiz() {\n  if (submitted) return;\n\n  saveAnswer();\n  score = 0;\n\n  questions.forEach((q, index) => {\n    if (userAnswers[index] === q.correct) {\n      score++;\n    }\n  });\n\n  submitted = true;\n  showResults();\n  saveScore(userName, score);\n  loadScoreboard();\n}\n\nfunction showResults() {\n  const container = document.getElementById(\"questionContainer\");\n  container.innerHTML = \"\";\n\n  questions.forEach((q, index) => {\n    const selected = userAnswers[index];\n    const correct = q.correct;\n\n    const 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}\n\nfunction saveScore(name, score) {\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  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<\/script>\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>!DOCTYPE html> Microorganisms Quiz \ud83e\udde0 Microorganisms Quiz 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-5362","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/posts\/5362","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=5362"}],"version-history":[{"count":1,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/posts\/5362\/revisions"}],"predecessor-version":[{"id":5363,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/posts\/5362\/revisions\/5363"}],"wp:attachment":[{"href":"https:\/\/apicalclasses.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5362"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5362"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}