{"id":5386,"date":"2026-11-03T13:55:25","date_gmt":"2026-11-03T13:55:25","guid":{"rendered":"https:\/\/apicalclasses.com\/?p=5386"},"modified":"2026-11-03T13:55:26","modified_gmt":"2026-11-03T13:55:26","slug":"class-8th-subject-sciencech2-17","status":"publish","type":"post","link":"https:\/\/apicalclasses.com\/?p=5386","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 Microorganisms and Cell Structure<\/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; }\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}\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<\/style>\n<\/head>\n\n<body>\n\n<div class=\"quiz-container\">\n\n  <h2>\ud83e\udde0 Science Quiz \u2013 Microorganisms and Cell Structure<\/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\n<\/div>\n\n<script>\n\nconst questions = [\n\n  {\n    question: \"1. Microorganisms ki cells ke around kaunsi structure hoti hai?\",\n    options: [\n      \"A. Cell wall only\",\n      \"B. Cell membrane\",\n      \"C. Chloroplast\",\n      \"D. Nucleoid only\"\n    ],\n    correct: 1,\n    explanation: \"Animal aur plant cells ki tarah microorganisms ki cells ke around bhi cell membrane hoti hai. Yeh cell ke andar aur bahar substances ke movement ko control karne mein help karti hai.<br><br><strong>Example:<\/strong> Bacteria ki cell ke around bhi cell membrane hoti hai.\"\n  },\n\n  {\n    question: \"2. Fungi ki cells mein cell wall ke saath kaunsi structure nahi hoti?\",\n    options: [\n      \"A. Cell membrane\",\n      \"B. Cytoplasm\",\n      \"C. Chloroplast\",\n      \"D. Cell wall\"\n    ],\n    correct: 2,\n    explanation: \"Fungi mein cell wall hoti hai, lekin chloroplasts nahi hote. Isliye fungi photosynthesis karke apna food nahi bana sakte. Woh doosre sources se nutrients lete hain.<br><br><strong>Example:<\/strong> Bread mould ek fungus hai jo bread se nutrients leta hai.\"\n  },\n\n  {\n    question: \"3. Bacteria ki cells mein well-defined nucleus ki jagah kya hota hai?\",\n    options: [\n      \"A. Chloroplast\",\n      \"B. Nucleoid\",\n      \"C. Large vacuole\",\n      \"D. Cell wall only\"\n    ],\n    correct: 1,\n    explanation: \"Bacteria mein well-defined nucleus aur nuclear membrane nahi hoti. Unka genetic material cell ke ek region mein hota hai, jise nucleoid kehte hain.<br><br><strong>Example:<\/strong> E. coli ek bacterium hai jismein DNA nucleoid region mein hota hai.\"\n  },\n\n  {\n    question: \"4. Bacteria ko yeast, protozoa, algae, fungi, plants aur animals ki cells se kaunsi feature distinguish karti hai?\",\n    options: [\n      \"A. Cell membrane ki presence\",\n      \"B. Cytoplasm ki presence\",\n      \"C. Well-defined nucleus aur nuclear membrane ka absence\",\n      \"D. Genetic material ki presence\"\n    ],\n    correct: 2,\n    explanation: \"Bacteria prokaryotic organisms hain. Inmein well-defined nucleus nahi hota, jabki yeast, protozoa, algae, plants aur animals jaise eukaryotic organisms ki cells mein nucleus hota hai.<br><br><strong>Example:<\/strong> Bacteria mein DNA nucleoid region mein hota hai, jabki yeast mein DNA nucleus ke andar hota hai.\"\n  },\n\n  {\n    question: \"5. Cell ke andar maujood chhote subcellular components ko clearly observe karne ke liye kya chahiye?\",\n    options: [\n      \"A. Telescope\",\n      \"B. Binoculars\",\n      \"C. High-magnification microscope\",\n      \"D. Magnifying glass only\"\n    ],\n    correct: 2,\n    explanation: \"Cell ke andar ke bahut chhote structures ko dekhne ke liye high magnification wale microscopes ki zaroorat hoti hai. Simple microscope se har subcellular component clearly nahi dikh sakta.<br><br><strong>Example:<\/strong> Cell ke andar ke fine structures ko observe karne ke liye electron microscope use kiya ja sakta hai.\"\n  },\n\n  {\n    question: \"6. Textbook ke according, electron microscope cell ko approximately kitni baar magnify kar sakta hai?\",\n    options: [\n      \"A. 100 times\",\n      \"B. 1,000 times\",\n      \"C. 10,000 times\",\n      \"D. 10,00,000 times\"\n    ],\n    correct: 3,\n    explanation: \"Passage ke according, electron microscope cell ko approximately 10,00,000 times magnify kar sakta hai. Isse cell ke bahut fine structures ko observe karna possible hota hai.<br><br><strong>Example:<\/strong> Electron microscope ki help se cell ke andar ke tiny structures ko light microscope ke comparison mein zyada detail mein dekha ja sakta hai.\"\n  },\n\n  {\n    question: \"7. Sabhi living beings ki body kis se bani hoti hai?\",\n    options: [\n      \"A. Sirf tissues se\",\n      \"B. Sirf organs se\",\n      \"C. Ek ya ek se zyada cells se\",\n      \"D. Sirf molecules se\"\n    ],\n    correct: 2,\n    explanation: \"Cell life ki basic structural unit hai. Kuch organisms sirf ek cell se bane hote hain, jabki kuch mein bahut saare cells hote hain.<br><br><strong>Example:<\/strong> Bacteria generally unicellular hote hain, jabki humans multicellular hote hain.\"\n  },\n\n  {\n    question: \"8. Unicellular organism ka correct meaning kya hai?\",\n    options: [\n      \"A. Jismein bahut saare cells hote hain\",\n      \"B. Jo sirf ek cell se bana hota hai\",\n      \"C. Jismein cell membrane nahi hoti\",\n      \"D. Jo apna food hamesha photosynthesis se banata hai\"\n    ],\n    correct: 1,\n    explanation: \"Unicellular organism mein ek hi cell hota hai, aur wahi cell life ke essential functions perform karta hai.<br><br><strong>Example:<\/strong> Amoeba aur bacteria unicellular organisms ke examples hain.\"\n  },\n\n  {\n    question: \"9. Cells ki size, shape aur structure mein differences ko samajhna kyun important hai?\",\n    options: [\n      \"A. Kyunki sabhi cells exactly same kaam karte hain\",\n      \"B. Kyunki cell differences organisms ke functions ko samajhne mein help karte hain\",\n      \"C. Kyunki sabhi cells mein chloroplasts hote hain\",\n      \"D. Kyunki sabhi organisms multicellular hote hain\"\n    ],\n    correct: 1,\n    explanation: \"Different cells apni shape aur structure ke according different functions perform kar sakte hain. Isi wajah se organisms ke functions bhi alag ho sakte hain.<br><br><strong>Example:<\/strong> Nerve cells messages transmit karti hain, jabki muscle cells contraction karke movement mein help karti hain.\"\n  },\n\n  {\n    question: \"10. Microorganisms ke baare mein kaunsa statement correct hai?\",\n    options: [\n      \"A. Sabhi microorganisms beneficial hote hain\",\n      \"B. Sabhi microorganisms diseases cause karte hain\",\n      \"C. Kuch microorganisms beneficial hote hain aur kuch diseases cause kar sakte hain\",\n      \"D. Microorganisms living organisms nahi hote\"\n    ],\n    correct: 2,\n    explanation: \"Kuch microorganisms food banane aur decomposition mein help karte hain, jabki kuch plants, animals aur humans mein diseases cause kar sakte hain.<br><br><strong>Example:<\/strong> Lactobacillus curd banane mein help karta hai, jabki kuch bacteria aur viruses diseases cause kar sakte hain.\"\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] = selected\n    ? parseInt(selected.value)\n    : 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  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}\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\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>\ud83e\udde0 Science Quiz \u2013 Microorganisms and Cell Structure \ud83e\udde0 Science Quiz \u2013 Microorganisms and Cell Structure 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-5386","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/posts\/5386","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=5386"}],"version-history":[{"count":1,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/posts\/5386\/revisions"}],"predecessor-version":[{"id":5387,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/posts\/5386\/revisions\/5387"}],"wp:attachment":[{"href":"https:\/\/apicalclasses.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}