{"id":219,"date":"2025-08-04T07:44:32","date_gmt":"2025-08-04T02:14:32","guid":{"rendered":"https:\/\/myschoolnow.in\/?p=219"},"modified":"2025-08-04T07:49:59","modified_gmt":"2025-08-04T02:19:59","slug":"quiz-1","status":"publish","type":"post","link":"https:\/\/myschoolnow.in\/?p=219","title":{"rendered":"Quiz &#8211; 1"},"content":{"rendered":"\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n  <meta charset=\"UTF-8\">\n  <title>Grammar Multiple Choice Quiz<\/title>\n  <style>\n    body {\n      background-color: #fff;\n      color: #111;\n      font-family: Arial, sans-serif;\n      margin: 0;\n      padding: 40px;\n    }\n    .container {\n      max-width: 700px;\n      background: #f5f5f5;\n      margin: auto;\n      border-radius: 8px;\n      padding: 32px 28px 24px 28px;\n      box-shadow: 0px 2px 8px rgba(30,30,30,0.08);\n    }\n    h1 {\n      text-align: center;\n      color: #222;\n      margin-bottom: 30px;\n      letter-spacing: 1px;\n    }\n    .question {\n      margin-bottom: 30px;\n      padding: 18px;\n      background: #fff;\n      border-radius: 6px;\n      border: 1px solid #e0e0e0;\n      box-shadow: 0px 1px 4px rgba(60,60,60,0.05);\n      position: relative;\n    }\n    .question-text {\n      font-size: 1.08em;\n      font-weight: bold;\n      color: #222;\n      margin-bottom: 14px;\n    }\n    .options {\n      margin-bottom: 12px;\n      margin-left: 4px;\n    }\n    .option label {\n      color: #333;\n      margin-left: 8px;\n      font-size: 1em;\n      cursor: pointer;\n    }\n    .option input[type=\"radio\"] {\n      accent-color: #888;\n    }\n    .answer-highlight {\n      color: #fff;\n      font-size: .97em;\n      margin-top: 8px;\n      background: #444;\n      padding: 7px 12px;\n      border-radius: 4px;\n      display: inline-block;\n      border: none;\n      display: none;\n    }\n    #result {\n      color: #1a1a1a;\n      font-size: 1.2em;\n      font-weight: bold;\n      margin-top: 30px;\n      text-align: center;\n      padding: 15px;\n      border-radius: 6px;\n      background: #eaeaea;\n      border: 1px solid #bbb;\n      display: none;\n    }\n    #submitBtn {\n      background-color: #222;\n      color: #fff;\n      border: none;\n      padding: 12px 36px;\n      border-radius: 6px;\n      font-size: 1.1em;\n      margin: 30px auto 0 auto;\n      display: block;\n      cursor: pointer;\n      transition: 0.2s background;\n    }\n    #submitBtn:hover {\n      background: #444;\n    }\n  <\/style>\n<\/head>\n<body>\n  <div class=\"container\">\n    <h1>Grammar Multiple Choice Quiz<\/h1>\n    <form id=\"quizForm\">\n      <!-- Q1 -->\n      <div class=\"question\">\n        <div class=\"question-text\">1. Which sentence is correct?<\/div>\n        <div class=\"options\">\n          <div class=\"option\"><input type=\"radio\" name=\"q1\" value=\"a\" id=\"q1a\"><label for=\"q1a\">a) She don&#8217;t like apples.<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q1\" value=\"b\" id=\"q1b\"><label for=\"q1b\">b) She doesn&#8217;t likes apples.<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q1\" value=\"c\" id=\"q1c\"><label for=\"q1c\">c) She doesn&#8217;t like apples.<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q1\" value=\"d\" id=\"q1d\"><label for=\"q1d\">d) She don&#8217;t likes apples.<\/label><\/div>\n        <\/div>\n        <div class=\"answer-highlight\" id=\"a1\">Correct answer: c) She doesn&#8217;t like apples.<\/div>\n      <\/div>\n      <!-- Q2 -->\n      <div class=\"question\">\n        <div class=\"question-text\">2. Choose the correct form:<br>Neither of the boys ____ finished their homework.<\/div>\n        <div class=\"options\">\n          <div class=\"option\"><input type=\"radio\" name=\"q2\" value=\"a\" id=\"q2a\"><label for=\"q2a\">a) have<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q2\" value=\"b\" id=\"q2b\"><label for=\"q2b\">b) has<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q2\" value=\"c\" id=\"q2c\"><label for=\"q2c\">c) is<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q2\" value=\"d\" id=\"q2d\"><label for=\"q2d\">d) are<\/label><\/div>\n        <\/div>\n        <div class=\"answer-highlight\" id=\"a2\">Correct answer: b) has<\/div>\n      <\/div>\n      <!-- Q3 -->\n      <div class=\"question\">\n        <div class=\"question-text\">3. Identify the correct sentence:<\/div>\n        <div class=\"options\">\n          <div class=\"option\"><input type=\"radio\" name=\"q3\" value=\"a\" id=\"q3a\"><label for=\"q3a\">a) I have seen him yesterday.<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q3\" value=\"b\" id=\"q3b\"><label for=\"q3b\">b) I saw him yesterday.<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q3\" value=\"c\" id=\"q3c\"><label for=\"q3c\">c) I seen him yesterday.<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q3\" value=\"d\" id=\"q3d\"><label for=\"q3d\">d) I sees him yesterday.<\/label><\/div>\n        <\/div>\n        <div class=\"answer-highlight\" id=\"a3\">Correct answer: b) I saw him yesterday.<\/div>\n      <\/div>\n      <!-- Q4 -->\n      <div class=\"question\">\n        <div class=\"question-text\">4. Fill in the blank:<br>If it ____ tomorrow, we&#8217;ll stay at home.<\/div>\n        <div class=\"options\">\n          <div class=\"option\"><input type=\"radio\" name=\"q4\" value=\"a\" id=\"q4a\"><label for=\"q4a\">a) rain<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q4\" value=\"b\" id=\"q4b\"><label for=\"q4b\">b) raining<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q4\" value=\"c\" id=\"q4c\"><label for=\"q4c\">c) rains<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q4\" value=\"d\" id=\"q4d\"><label for=\"q4d\">d) will rain<\/label><\/div>\n        <\/div>\n        <div class=\"answer-highlight\" id=\"a4\">Correct answer: c) rains<\/div>\n      <\/div>\n      <!-- Q5 -->\n      <div class=\"question\">\n        <div class=\"question-text\">5. Which sentence uses the correct article?<\/div>\n        <div class=\"options\">\n          <div class=\"option\"><input type=\"radio\" name=\"q5\" value=\"a\" id=\"q5a\"><label for=\"q5a\">a) She is a honest woman.<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q5\" value=\"b\" id=\"q5b\"><label for=\"q5b\">b) She is an honest woman.<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q5\" value=\"c\" id=\"q5c\"><label for=\"q5c\">c) She is an honest women.<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q5\" value=\"d\" id=\"q5d\"><label for=\"q5d\">d) She is the honest woman.<\/label><\/div>\n        <\/div>\n        <div class=\"answer-highlight\" id=\"a5\">Correct answer: b) She is an honest woman.<\/div>\n      <\/div>\n      <!-- Q6 -->\n      <div class=\"question\">\n        <div class=\"question-text\">6. Choose the correct preposition:<br>He is good ____ tennis.<\/div>\n        <div class=\"options\">\n          <div class=\"option\"><input type=\"radio\" name=\"q6\" value=\"a\" id=\"q6a\"><label for=\"q6a\">a) in<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q6\" value=\"b\" id=\"q6b\"><label for=\"q6b\">b) with<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q6\" value=\"c\" id=\"q6c\"><label for=\"q6c\">c) at<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q6\" value=\"d\" id=\"q6d\"><label for=\"q6d\">d) on<\/label><\/div>\n        <\/div>\n        <div class=\"answer-highlight\" id=\"a6\">Correct answer: c) at<\/div>\n      <\/div>\n      <!-- Q7 -->\n      <div class=\"question\">\n        <div class=\"question-text\">7. Choose the correct pronoun:<br>____ of these books do you prefer?<\/div>\n        <div class=\"options\">\n          <div class=\"option\"><input type=\"radio\" name=\"q7\" value=\"a\" id=\"q7a\"><label for=\"q7a\">a) Which<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q7\" value=\"b\" id=\"q7b\"><label for=\"q7b\">b) Whom<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q7\" value=\"c\" id=\"q7c\"><label for=\"q7c\">c) What<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q7\" value=\"d\" id=\"q7d\"><label for=\"q7d\">d) Who<\/label><\/div>\n        <\/div>\n        <div class=\"answer-highlight\" id=\"a7\">Correct answer: a) Which<\/div>\n      <\/div>\n      <!-- Q8 -->\n      <div class=\"question\">\n        <div class=\"question-text\">8. Select the correct sentence:<\/div>\n        <div class=\"options\">\n          <div class=\"option\"><input type=\"radio\" name=\"q8\" value=\"a\" id=\"q8a\"><label for=\"q8a\">a) The childrens are playing outside.<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q8\" value=\"b\" id=\"q8b\"><label for=\"q8b\">b) The children is playing outside.<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q8\" value=\"c\" id=\"q8c\"><label for=\"q8c\">c) The children are playing outside.<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q8\" value=\"d\" id=\"q8d\"><label for=\"q8d\">d) The childs are playing outside.<\/label><\/div>\n        <\/div>\n        <div class=\"answer-highlight\" id=\"a8\">Correct answer: c) The children are playing outside.<\/div>\n      <\/div>\n      <!-- Q9 -->\n      <div class=\"question\">\n        <div class=\"question-text\">9. Complete the sentence:<br>She ____ to the store before it closed.<\/div>\n        <div class=\"options\">\n          <div class=\"option\"><input type=\"radio\" name=\"q9\" value=\"a\" id=\"q9a\"><label for=\"q9a\">a) go<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q9\" value=\"b\" id=\"q9b\"><label for=\"q9b\">b) went<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q9\" value=\"c\" id=\"q9c\"><label for=\"q9c\">c) going<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q9\" value=\"d\" id=\"q9d\"><label for=\"q9d\">d) gone<\/label><\/div>\n        <\/div>\n        <div class=\"answer-highlight\" id=\"a9\">Correct answer: b) went<\/div>\n      <\/div>\n      <!-- Q10 -->\n      <div class=\"question\">\n        <div class=\"question-text\">10. Choose the correct option:<br>The dog wagged ____ tail.<\/div>\n        <div class=\"options\">\n          <div class=\"option\"><input type=\"radio\" name=\"q10\" value=\"a\" id=\"q10a\"><label for=\"q10a\">a) it&#8217;s<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q10\" value=\"b\" id=\"q10b\"><label for=\"q10b\">b) its<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q10\" value=\"c\" id=\"q10c\"><label for=\"q10c\">c) his<\/label><\/div>\n          <div class=\"option\"><input type=\"radio\" name=\"q10\" value=\"d\" id=\"q10d\"><label for=\"q10d\">d) their<\/label><\/div>\n        <\/div>\n        <div class=\"answer-highlight\" id=\"a10\">Correct answer: b) its<\/div>\n      <\/div>\n      <!-- Submit Button -->\n      <button type=\"button\" id=\"submitBtn\">Submit<\/button>\n    <\/form>\n    <div id=\"result\"><\/div>\n  <\/div>\n\n  <script>\n    const answers = {\n      q1: \"c\",\n      q2: \"b\",\n      q3: \"b\",\n      q4: \"c\",\n      q5: \"b\",\n      q6: \"c\",\n      q7: \"a\",\n      q8: \"c\",\n      q9: \"b\",\n      q10: \"b\"\n    };\n\n    document.getElementById(\"submitBtn\").onclick = function() {\n      let form = document.getElementById(\"quizForm\");\n      let score = 0;\n      let total = Object.keys(answers).length;\n      let unanswered = [];\n      \/\/ Hide all answer highlights first\n      for (let i = 1; i <= total; i++) {\n        document.getElementById('a'+i).style.display = \"none\";\n      }\n      \/\/ Check answers and track unanswered\n      for (let key in answers) {\n        let checked = false;\n        if (form.elements[key].length) {\n          for (let opt of form.elements[key])\n            if (opt.checked) {\n              checked = true;\n              if (opt.value === answers[key]) score++;\n            }\n        } else {\n          if (form.elements[key].checked) {\n            checked = true;\n            if (form.elements[key].value === answers[key]) score++;\n          }\n        }\n        if (!checked) unanswered.push(key);\n      }\n      let resultDiv = document.getElementById(\"result\");\n      if (unanswered.length > 0) {\n        resultDiv.style.display = \"block\";\n        resultDiv.style.background = \"#eee\";\n        resultDiv.style.color = \"#b00\";\n        resultDiv.innerHTML = \"Please answer all questions before submitting.\";\n        return;\n      }\n      \/\/ Show all correct answers\n      for (let i = 1; i <= total; i++) {\n        document.getElementById('a'+i).style.display = \"block\";\n      }\n      resultDiv.style.display = \"block\";\n      resultDiv.style.background = \"#eaeaea\";\n      resultDiv.style.color = \"#1a1a1a\";\n      resultDiv.innerHTML = \"Your Score: \" + score + \" out of \" + total;\n    };\n  <\/script>\n<\/body>\n<\/html>\n\n","protected":false},"excerpt":{"rendered":"<p>Grammar Multiple Choice Quiz Grammar Multiple Choice Quiz 1. Which sentence is correct? a) She don&#8217;t like apples. b) She doesn&#8217;t likes apples. c) She doesn&#8217;t like apples. d) She don&#8217;t likes apples. Correct answer: c) She doesn&#8217;t like apples. 2. Choose the correct form:Neither of the boys ____ finished their homework. a) have b) [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-219","post","type-post","status-publish","format-standard","hentry","category-quiz"],"_links":{"self":[{"href":"https:\/\/myschoolnow.in\/index.php?rest_route=\/wp\/v2\/posts\/219","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myschoolnow.in\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myschoolnow.in\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myschoolnow.in\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myschoolnow.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=219"}],"version-history":[{"count":3,"href":"https:\/\/myschoolnow.in\/index.php?rest_route=\/wp\/v2\/posts\/219\/revisions"}],"predecessor-version":[{"id":222,"href":"https:\/\/myschoolnow.in\/index.php?rest_route=\/wp\/v2\/posts\/219\/revisions\/222"}],"wp:attachment":[{"href":"https:\/\/myschoolnow.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=219"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myschoolnow.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=219"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myschoolnow.in\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}