{"id":447,"date":"2024-10-25T10:15:02","date_gmt":"2024-10-25T03:15:02","guid":{"rendered":"https:\/\/sunflower-math.com\/?p=447"},"modified":"2024-10-27T17:20:47","modified_gmt":"2024-10-27T10:20:47","slug":"dung-sai-moi","status":"publish","type":"post","link":"https:\/\/sunflower-math.com\/?p=447","title":{"rendered":"dung-sai moi"},"content":{"rendered":"\n<p><br><br>B\u00e0i Test Tr\u1eafc Nghi\u1ec7m<br><\/p>\n\n\n\n<!DOCTYPE html>\n<html lang=\"vi\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <title>B\u00e0i Test Tr\u1eafc Nghi\u1ec7m<\/title>\n    <link rel=\"stylesheet\" type=\"text\/css\" href=\"https:\/\/tikzjax.com\/v1\/fonts.css\">\n    <script src=\"https:\/\/tikzjax.com\/v1\/tikzjax.js\"><\/script>\n    <link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/KaTeX\/0.13.18\/katex.min.css\">\n    <script defer src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/KaTeX\/0.13.18\/katex.min.js\"><\/script>\n    <script defer src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/KaTeX\/0.13.18\/contrib\/auto-render.min.js\"\n            onload=\"renderMathInElement(document.body, {\n            delimiters: [\n                {left: '<p class=\"ql-center-displayed-equation\" style=\"line-height: 20px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sunflower-math.com\/wp-content\/ql-cache\/quicklatex.com-77baa04537073105b02318b995c7964b_l3.svg\" height=\"20\" width=\"70\" class=\"ql-img-displayed-equation \" alt=\"&#92;&#91;&#39;&#44;&#32;&#114;&#105;&#103;&#104;&#116;&#58;&#32;&#39;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>', display: true},\n                {left: '$', right: '$', display: false}\n                        ]\n                    });\"><\/script>\n            <script>\n                document.addEventListener(\"DOMContentLoaded\", function() {\n                    \/\/ Render TikZ diagrams\n                    tikzjax.render(document.body);\n                });\n            <\/script>\n\t<style>     \n\t\tbody {\n            font-family: Palatyno;\n            line-height: 1.6;\n            font-size: 20px;\n        }\n        h1 {\n            font-size: 1em;\n            color: #333;\n        }\n        .question {\n            margin-bottom: 10px;\n            counter-increment: question; \/* T\u0103ng b\u1ed9 \u0111\u1ebfm cho m\u1ed7i c\u00e2u h\u1ecfi *\/\n        }\n        \/* Kh\u1edfi t\u1ea1o b\u1ed9 \u0111\u1ebfm cho c\u00e1c c\u00e2u h\u1ecfi *\/\n        .question-counter {\n            counter-reset: question; \/* \u0110\u1eb7t l\u1ea1i b\u1ed9 \u0111\u1ebfm c\u00e2u h\u1ecfi *\/\n        }\n        \/* \u0110\u00e1nh s\u1ed1 t\u1ef1 \u0111\u1ed9ng cho c\u00e1c c\u00e2u h\u1ecfi v\u00e0 \u0111\u1eb7t n\u00f3 li\u1ec1n m\u1ea1ch v\u1edbi \u0111\u1ec1 b\u00e0i *\/\n        .question::before {\n            content: \"C\u00e2u \" counter(question) \". \"; \/* N\u1ed9i dung cho nh\u00e3n c\u00e2u h\u1ecfi *\/\n            font-weight: bold;\n            display: inline; \/* \u0110\u1ea3m b\u1ea3o nh\u00e3n n\u1eb1m tr\u00ean c\u00f9ng d\u00f2ng *\/\n        }\n        h2 {\n            font-size: 20px;\n            font-weight: normal;\n            margin-bottom: 0; \/* Kh\u00f4ng c\u00f3 kho\u1ea3ng c\u00e1ch gi\u1eefa ti\u00eau \u0111\u1ec1 v\u00e0 c\u00e2u h\u1ecfi *\/\n            display: inline; \/* \u0110\u1ea3m b\u1ea3o ti\u00eau \u0111\u1ec1 kh\u00f4ng xu\u1ed1ng d\u00f2ng *\/\n        }\n        .options {\n            margin-top: 0;\n        }\n        .options label {\n            display: block;\n            margin: 5px 0;\n        }\n        input[type=\"checkbox\"] {\n            appearance: none;\n            width: 20px;\n            height: 20px;\n            border: 2px solid #333;\n           \/\/ border-radius: 50%;\n            background-color: white;\n            cursor: pointer;\n            outline: none;\n        }\n        input[type=\"checkbox\"]:checked {\n            background-color: #99ce34;\n        }\n        .column-1 .options {\n            display: block;\n        }\n        .column-2 .options {\n            column-count: 2;\n            column-gap: 20px;\n        }\n        .column-4 .options {\n            column-count: 4;\n            column-gap: 20px;\n        }\n        label {\n            break-inside: avoid;\n            padding: 5px;\n        }\n        #result {\n            margin-top: 20px;\n            font-weight: bold;\n        }\n    <\/style>\n<\/head>\n<body>\n\n    <h1>\u0110\u1ec0 KI\u1ec2M TRA TR\u1eaeC NHI\u1ec6M NHI\u1ec0U L\u1ef0A CH\u1eccN \u0110\u00daNG<\/h1>\n\n    <form id=\"quiz-form\">\n        <div class=\"question question-1 column-2\">\n            <h2> Ph\u01b0\u01a1ng tr\u00ecnh $\\sin x=\\dfrac{1}{2}$  c\u00f3 nghi\u1ec7m:<\/h2>                                                               \n            <div class=\"options\">\n                <label><input type=\"checkbox\" data-value=\"true\"> \u00dd A: $\\left[ \\begin{array}{l} x=\\dfrac{\\pi}{3}+k2\\pi\\\\ x=\\dfrac{-\\pi}{3}+k2\\pi \\end{array} \\right.$ (\u0110\u00fang)<\/label>\n                <label><input type=\"checkbox\" data-value=\"false\"> \u00dd B: $ \\left[ \\begin{array}{l} x=\\dfrac{\\pi}{6}+k2\\pi\\\\ x=\\dfrac{-\\pi}{6}+k2\\pi \\end{array} \\right.$ (Sai)<\/label>\n                <label><input type=\"checkbox\" data-value=\"true\"> \u00dd C: $\\left[ \\begin{array}{l} x=\\dfrac{\\pi}{3}+k2\\pi\\\\ x=\\dfrac{2\\pi}{3}+k2\\pi \\end{array} \\right.$ (\u0110\u00fang)<\/label>\n                <label><input type=\"checkbox\" data-value=\"true\"> \u00dd D: $ \\left[ \\begin{array}{l} x=\\dfrac{\\pi}{6}+k2\\pi\\\\ x=\\dfrac{5\\pi}{6}+k2\\pi \\end{array} \\right.$ (\u0110\u00fang)<\/label>\n            <\/div>\n        <\/div>\n        \n        <div class=\"question question-2 column-1\">\n            <h2>Ch\u1ecdn c\u00e1c \u00fd \u0111\u00fang v\u1ec1 h\u1ec7 m\u1eb7t tr\u1eddi:<\/h2>\n            <div class=\"tikz-container\"   style=\"display: flex; justify-content: center; margin: 20px 0;\">\n                <script type=\"text\/tikz\">\n                    <p class=\"ql-center-picture\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sunflower-math.com\/wp-content\/ql-cache\/quicklatex.com-a4909370676bb7130975c0a9952523f7_l3.svg\" height=\"201\" width=\"401\" class=\"ql-img-picture \" alt=\"Rendered by QuickLaTeX.com\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n                <\/script>\n            <\/div>               \n            <div class=\"options\">\n                <label><input type=\"checkbox\" data-value=\"false\"> \u00dd A: Tr\u00e1i \u0111\u1ea5t l\u00e0 h\u00e0nh tinh duy nh\u1ea5t c\u00f3 s\u1ef1 s\u1ed1ng (Sai)<\/label>\n                <label><input type=\"checkbox\" data-value=\"true\"> \u00dd B: M\u1eb7t tr\u1eddi l\u00e0 m\u1ed9t ng\u00f4i sao (\u0110\u00fang)<\/label>\n                <label><input type=\"checkbox\" data-value=\"false\"> \u00dd C: Sao H\u1ecfa l\u00e0 h\u00e0nh tinh xanh (Sai)<\/label>\n                <label><input type=\"checkbox\" data-value=\"true\"> \u00dd D: H\u1ec7 m\u1eb7t tr\u1eddi c\u00f3 8 h\u00e0nh tinh (\u0110\u00fang)<\/label>\n            <\/div>\n        <\/div>\n        \n        <div class=\"question question-3 column-4\">\n            <h2>Ch\u1ecdn c\u00e1c \u00fd \u0111\u00fang v\u1ec1 m\u00e1y t\u00ednh:<\/h2>\n            <div class=\"options\">\n                <label><input type=\"checkbox\" data-value=\"true\"> \u00dd A: M\u00e1y t\u00ednh c\u00f3 th\u1ec3 l\u01b0u tr\u1eef th\u00f4ng tin (\u0110\u00fang)<\/label>\n                <label><input type=\"checkbox\" data-value=\"false\"> \u00dd B: M\u00e1y t\u00ednh kh\u00f4ng th\u1ec3 x\u1eed l\u00fd d\u1eef li\u1ec7u (Sai)<\/label>\n                <label><input type=\"checkbox\" data-value=\"true\"> \u00dd C: M\u00e1y t\u00ednh c\u00f3 th\u1ec3 k\u1ebft n\u1ed1i internet (\u0110\u00fang)<\/label>\n                <label><input type=\"checkbox\" data-value=\"true\"> \u00dd D: M\u00e1y t\u00ednh c\u00f3 th\u1ec3 l\u1eadp tr\u00ecnh \u0111\u1ec3 th\u1ef1c hi\u1ec7n nhi\u1ec1u nhi\u1ec7m v\u1ee5 (\u0110\u00fang)<\/label>\n            <\/div>\n        <\/div>\n        \n        <button type=\"button\" id=\"submit-button\">N\u1ed9p b\u00e0i<\/button>\n    <\/form>\n\n    <div id=\"result\"><\/div>\n\n    <script>\n        document.getElementById('submit-button').addEventListener('click', calculateScore);\n        \n        TikzJax.render(); \/\/ X\u1eed l\u00fd TikZ\n        function calculateScore() {\n            const questions = document.querySelectorAll('.question');\n            let totalScore = 0; \/\/ T\u1ed5ng \u0111i\u1ec3m c\u1ee7a b\u00e0i\n\n            questions.forEach(question => {\n                const checkboxes = question.querySelectorAll('input[type=\"checkbox\"]');\n                let reasonableCount = 0; \/\/ \u0110\u1ebfm s\u1ed1 \u00fd h\u1ee3p l\u00fd\n\n                checkboxes.forEach(checkbox => {\n                    const isChecked = checkbox.checked;\n                    const isTrueValue = checkbox.dataset.value === \"true\";\n                    \n                    \/\/ Ki\u1ec3m tra n\u1ebfu kh\u00f4ng ch\u1ecdn \u0111\u00e1p \u00e1n sai\n                    if (!isChecked && !isTrueValue) {\n                        reasonableCount++; \/\/ \u00dd kh\u00f4ng ch\u1ecdn m\u00e0 l\u00e0 sai \u0111\u01b0\u1ee3c coi l\u00e0 h\u1ee3p l\u00fd\n                    } else if (isChecked && isTrueValue) {\n                        reasonableCount++; \/\/ \u00dd \u0111\u01b0\u1ee3c ch\u1ecdn m\u00e0 l\u00e0 \u0111\u00fang c\u0169ng coi l\u00e0 h\u1ee3p l\u00fd\n                    }\n                });\n\n                \/\/ T\u00ednh \u0111i\u1ec3m cho c\u00e2u h\u1ecfi n\u00e0y\n                const questionScore = calculatePoints(reasonableCount);\n                totalScore += questionScore;\n            });\n\n            document.getElementById('result').innerText = `T\u1ed5ng \u0111i\u1ec3m: ${totalScore.toFixed(2)} \/ ${4*questions.length}`;\n            \n        }\n\n        function calculatePoints(reasonableCount) {\n            switch (reasonableCount) {\n                case 1: return 0.4;\n                case 2: return 1;\n                case 3: return 2;\n                case 4: return 4;\n                default: return 0;\n            }\n        }\n\n       window.onload = () => {\n             tikzjax.render()\n        };\n    <\/script>\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>B\u00e0i Test Tr\u1eafc Nghi\u1ec7m B\u00e0i Test Tr\u1eafc Nghi\u1ec7m \u0110\u1ec0 KI\u1ec2M TRA TR\u1eaeC NHI\u1ec6M NHI\u1ec0U L\u1ef0A CH\u1eccN \u0110\u00daNG Ph\u01b0\u01a1ng tr\u00ecnh $\\sin x=\\dfrac{1}{2}$ c\u00f3 nghi\u1ec7m: \u00dd A: $\\left[ \\begin{array}{l} x=\\dfrac{\\pi}{3}+k2\\pi\\\\ x=\\dfrac{-\\pi}{3}+k2\\pi \\end{array} \\right.$ (\u0110\u00fang) \u00dd B: $ \\left[ \\begin{array}{l} x=\\dfrac{\\pi}{6}+k2\\pi\\\\ x=\\dfrac{-\\pi}{6}+k2\\pi \\end{array} \\right.$ (Sai) \u00dd C: $\\left[ \\begin{array}{l} x=\\dfrac{\\pi}{3}+k2\\pi\\\\ x=\\dfrac{2\\pi}{3}+k2\\pi \\end{array} \\right.$ (\u0110\u00fang) \u00dd D: $ \\left[ [&hellip;]<\/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-447","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/sunflower-math.com\/index.php?rest_route=\/wp\/v2\/posts\/447","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sunflower-math.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sunflower-math.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sunflower-math.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sunflower-math.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=447"}],"version-history":[{"count":24,"href":"https:\/\/sunflower-math.com\/index.php?rest_route=\/wp\/v2\/posts\/447\/revisions"}],"predecessor-version":[{"id":552,"href":"https:\/\/sunflower-math.com\/index.php?rest_route=\/wp\/v2\/posts\/447\/revisions\/552"}],"wp:attachment":[{"href":"https:\/\/sunflower-math.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=447"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sunflower-math.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=447"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sunflower-math.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}