{"id":5354,"date":"2026-11-02T14:15:56","date_gmt":"2026-11-02T14:15:56","guid":{"rendered":"https:\/\/apicalclasses.com\/?p=5354"},"modified":"2026-11-02T14:15:56","modified_gmt":"2026-11-02T14:15:56","slug":"class-8th-subject-sciencech2-2","status":"publish","type":"post","link":"https:\/\/apicalclasses.com\/?p=5354","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 &#8211; Plastids and Vacuoles<\/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  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}\nh2 { text-align: center; color: #1e3c72; }\n.question { font-weight: bold; margin: 15px 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  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: 95%;\n  max-width: 350px;\n  margin-bottom: 10px;\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 Plastids and Vacuoles<\/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  <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>\nconst questions = [\n\n{\nquestion: \"1. Plant cells mein plastids ka main function kya hota hai?\",\noptions: [\n\"A. Sirf waste remove karna\",\n\"B. Photosynthesis aur food ya other substances ke storage mein help karna\",\n\"C. Cell division ko rokna\",\n\"D. Genetic information destroy karna\"\n],\ncorrect: 1,\nexplanation: \"Plastids plant cells mein paaye jaane wale structures hain. Kuch plastids photosynthesis mein help karte hain, jabki kuch non-green parts mein substances store karte hain.<br><strong>Example:<\/strong> Leaf ke chloroplasts photosynthesis karte hain, jabki potato tuber ke amyloplasts starch store karte hain.\"\n},\n\n{\nquestion: \"2. Chloroplasts green colour ke kyun dikhai dete hain?\",\noptions: [\n\"A. Cellulose ke kaaran\",\n\"B. Water ke kaaran\",\n\"C. Chlorophyll ke kaaran\",\n\"D. Cytoplasm ke kaaran\"\n],\ncorrect: 2,\nexplanation: \"Chloroplasts mein chlorophyll naam ka green pigment hota hai. Yeh sunlight absorb karne mein help karta hai, jisse plant photosynthesis kar pata hai.<br><strong>Example:<\/strong> Spinach aur grass ke leaves green dikhte hain kyunki unki cells mein chlorophyll hota hai.\"\n},\n\n{\nquestion: \"3. Photosynthesis mein chloroplasts ka kya role hai?\",\noptions: [\n\"A. Sunlight ki help se food banane mein help karna\",\n\"B. Sirf waste store karna\",\n\"C. Cell ko outer protection dena\",\n\"D. Cell ka nucleus banana\"\n],\ncorrect: 0,\nexplanation: \"Chloroplasts mein photosynthesis hota hai. Is process mein plants light energy ka use karke carbon dioxide aur water se sugars banate hain.<br><strong>Example:<\/strong> Green leaves sunlight ki presence mein photosynthesis karke plant ke liye food banati hain.\"\n},\n\n{\nquestion: \"4. Plant cell mein vacuole ka main function kya hai?\",\noptions: [\n\"A. Chlorophyll banana\",\n\"B. Cell wall ko dissolve karna\",\n\"C. Genetic information control karna\",\n\"D. Water aur other substances store karna aur cell ki shape maintain karne mein help karna\"\n],\ncorrect: 3,\nexplanation: \"Plant cells mein usually ek large central vacuole hota hai. Yeh water, dissolved substances aur waste ko store kar sakta hai. Ismein paani hone se cell firm rehne mein bhi help milti hai.<br><strong>Example:<\/strong> Jab plant ko paani nahi milta, toh leaves murjha sakti hain kyunki cells ka turgor pressure kam ho jata hai.\"\n},\n\n{\nquestion: \"5. Plant cells mein vacuole usually kaisa hota hai?\",\noptions: [\n\"A. Bahut chhota aur absent nucleus jaisa\",\n\"B. Large central space jaisa\",\n\"C. Cell wall ke bahar\",\n\"D. Sirf green pigment se bana hua\"\n],\ncorrect: 1,\nexplanation: \"Most mature plant cells mein ek large central vacuole hota hai, jo cell ke andar ka kaafi space occupy kar sakta hai.<br><strong>Example:<\/strong> Onion ki plant cells mein large vacuole hota hai, jiske aas-paas cytoplasm ki thin layer ho sakti hai.\"\n},\n\n{\nquestion: \"6. Animal cells mein vacuoles ke baare mein kaunsa statement sahi hai?\",\noptions: [\n\"A. Har animal cell mein ek large central vacuole hota hai\",\n\"B. Animal cells mein cell membrane nahi hoti\",\n\"C. Vacuoles usually absent hote hain ya present hone par small hote hain\",\n\"D. Animal cells mein nucleus nahi hota\"\n],\ncorrect: 2,\nexplanation: \"Animal cells mein plant cells jaisa large central vacuole generally nahi hota. Agar vacuoles present hon, toh woh usually small hote hain aur substances store kar sakte hain.<br><strong>Example:<\/strong> Plant cell mein large central vacuole ho sakta hai, jabki animal cell mein small storage vesicles mil sakte hain.\"\n},\n\n{\nquestion: \"7. Plant cell ko firm aur upright rehne mein kaunsa structure help karta hai?\",\noptions: [\n\"A. Vacuole\",\n\"B. Nucleus only\",\n\"C. Chlorophyll only\",\n\"D. Ribosome only\"\n],\ncorrect: 0,\nexplanation: \"Vacuole mein water hone se cell ke andar turgor pressure develop hota hai. Yeh pressure cell ko firm rakhne mein help karta hai. Cell wall bhi support provide karti hai.<br><strong>Example:<\/strong> Well-watered plant ke leaves firm rehte hain, lekin water ki kami hone par woh wilt ya murjha sakte hain.\"\n},\n\n{\nquestion: \"8. Non-green plant parts mein kuch plastids ka kya role hota hai?\",\noptions: [\n\"A. Photosynthesis ko hamesha stop karna\",\n\"B. Nucleus ko remove karna\",\n\"C. Cell membrane banana\",\n\"D. Starch jaise substances store karna\"\n],\ncorrect: 3,\nexplanation: \"Sabhi plastids green nahi hote. Kuch plastids storage ke liye specialised hote hain aur food ko starch jaise forms mein store karte hain.<br><strong>Example:<\/strong> Potato ke tuber mein amyloplasts starch store karte hain.\"\n},\n\n{\nquestion: \"9. Plant aur animal cells mein kaunsa difference sahi hai?\",\noptions: [\n\"A. Dono mein cell wall hoti hai\",\n\"B. Plant cells mein cell wall aur usually large central vacuole hota hai; animal cells mein cell wall nahi hoti\",\n\"C. Animal cells mein cell membrane nahi hoti\",\n\"D. Plant cells mein cytoplasm nahi hota\"\n],\ncorrect: 1,\nexplanation: \"Plant cells mein cell membrane ke bahar cell wall hoti hai aur usually ek large central vacuole hota hai. Animal cells mein cell wall nahi hoti.<br><strong>Example:<\/strong> Onion peel ki cells mein cell wall clearly dikh sakti hai, jabki human cheek cells mein cell wall absent hoti hai.\"\n},\n\n{\nquestion: \"10. Kya different animal cells ki shape aur structure different ho sakti hai?\",\noptions: [\n\"A. Nahi, sabhi animal cells same shape ke hote hain\",\n\"B. Sirf plant cells ki shape different hoti hai\",\n\"C. Haan, different animal cells apne function ke according different shapes ke ho sakte hain\",\n\"D. Sabhi animal cells mein chloroplasts hote hain\"\n],\ncorrect: 2,\nexplanation: \"Animal body mein different cells different functions perform karte hain, isliye unki shape aur structure bhi vary kar sakte hain.<br><strong>Example:<\/strong> Red blood cells oxygen transport karne ke liye disc-shaped hote hain, jabki nerve cells long extensions ke through signals transmit karte hain.\"\n}\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    <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 saveAnswer() {\n  const selected = document.querySelector('input[name=\"option\"]:checked');\n\n  userAnswers[currentQuestion] =\n    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  submitted = true;\n  score = 0;\n\n  questions.forEach((q, index) => {\n    if (userAnswers[index] === q.correct) {\n      score++;\n    }\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: 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\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>Science Quiz &#8211; Plastids and Vacuoles \ud83e\udde0 Science Quiz \u2013 Plastids and Vacuoles 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-5354","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/posts\/5354","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=5354"}],"version-history":[{"count":1,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/posts\/5354\/revisions"}],"predecessor-version":[{"id":5355,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/posts\/5354\/revisions\/5355"}],"wp:attachment":[{"href":"https:\/\/apicalclasses.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5354"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5354"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5354"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}