{"id":240,"date":"2024-10-15T06:45:58","date_gmt":"2024-10-15T06:45:58","guid":{"rendered":"https:\/\/sunflower-math.com\/?p=240"},"modified":"2024-10-25T10:07:43","modified_gmt":"2024-10-25T03:07:43","slug":"ggg","status":"publish","type":"post","link":"https:\/\/sunflower-math.com\/?p=240","title":{"rendered":"dung-sai"},"content":{"rendered":"\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    \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    <script id=\"MathJax-script\" async defer src=\"https:\/\/cdn.jsdelivr.net\/npm\/mathjax@3\/es5\/tex-mml-chtml.js\"><\/script>\n    <style>\n        body {\n            font-family: Palatyno;\n            line-height: 1.6;\n        }\n        h1 {\n            font-size: 1em;\n            color: #333;\n        }\n        h2 {font-weight: normal;\n            font-size: 5 px;\n            \n            ;\n            margin-bottom: 5px; \/* Gi\u1ea3m kho\u1ea3ng c\u00e1ch d\u01b0\u1edbi c\u1ee7a h2 *\/\n        }\n        .question {\n            margin-bottom: 10px;\n        }\n        .options {\n            margin-top: 0; \/* Kh\u00f4ng c\u00f3 kho\u1ea3ng c\u00e1ch tr\u00ean cho ph\u1ea7n \u0111\u00e1p \u00e1n *\/\n        }\n        .options label {\n            display: block;\n            margin: 5px 0;\n        }\n        \n        .column-1 .options {\n            display: block; \/* Hi\u1ec3n th\u1ecb m\u1ed9t c\u1ed9t *\/\n        }\n        \n        .column-2 .options {\n            column-count: 2; \/* Hi\u1ec3n th\u1ecb 2 c\u1ed9t *\/\n            column-gap: 20px; \/* Kho\u1ea3ng c\u00e1ch gi\u1eefa c\u00e1c c\u1ed9t *\/\n        }\n        \n        .column-4 .options {\n            column-count: 4; \/* Hi\u1ec3n th\u1ecb 4 c\u1ed9t *\/\n            column-gap: 20px; \/* Kho\u1ea3ng c\u00e1ch gi\u1eefa c\u00e1c c\u1ed9t *\/\n        }\n        \n        label {\n            break-inside: avoid; \/* \u0110\u1ea3m b\u1ea3o kh\u00f4ng ng\u1eaft gi\u1eefa c\u00e1c l\u1ef1a ch\u1ecdn *\/\n            padding: 5px;\n        }\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 <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sunflower-math.com\/wp-content\/ql-cache\/quicklatex.com-266ff6e7da58e54c2d309c992d9de3d2_l3.svg\" class=\"ql-img-inline-formula \" alt=\"&#92;&#115;&#105;&#110;&#32;&#120;&#61;&#92;&#100;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#50;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"39\" width=\"74\" style=\"vertical-align: -13px;\"\/>  c\u00f3 nghi\u1ec7m:<\/h2>                                                               \n            <div class=\"options\">\n                <label><input type=\"checkbox\" data-value=\"true\"> \u00dd A: <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sunflower-math.com\/wp-content\/ql-cache\/quicklatex.com-fb5f23b19bee0818ee424b4d9e36a48a_l3.svg\" class=\"ql-img-inline-formula \" alt=\"&#92;&#108;&#101;&#102;&#116;&#91;&#32;&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#97;&#114;&#114;&#97;&#121;&#125;&#123;&#108;&#125;&#32;&#120;&#61;&#92;&#100;&#102;&#114;&#97;&#99;&#123;&#92;&#112;&#105;&#125;&#123;&#51;&#125;&#43;&#107;&#50;&#92;&#112;&#105;&#92;&#92;&#32;&#120;&#61;&#92;&#100;&#102;&#114;&#97;&#99;&#123;&#45;&#92;&#112;&#105;&#125;&#123;&#51;&#125;&#43;&#107;&#50;&#92;&#112;&#105;&#32;&#92;&#101;&#110;&#100;&#123;&#97;&#114;&#114;&#97;&#121;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#46;\" title=\"Rendered by QuickLaTeX.com\" height=\"70\" width=\"134\" style=\"vertical-align: -30px;\"\/> (\u0110\u00fang)<\/label>\n                <label><input type=\"checkbox\" data-value=\"false\"> \u00dd B: <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sunflower-math.com\/wp-content\/ql-cache\/quicklatex.com-210cb2ccf6834c0597f5b9b5ce805ab7_l3.svg\" class=\"ql-img-inline-formula \" alt=\"&#92;&#108;&#101;&#102;&#116;&#91;&#32;&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#97;&#114;&#114;&#97;&#121;&#125;&#123;&#108;&#125;&#32;&#120;&#61;&#92;&#100;&#102;&#114;&#97;&#99;&#123;&#92;&#112;&#105;&#125;&#123;&#54;&#125;&#43;&#107;&#50;&#92;&#112;&#105;&#92;&#92;&#32;&#120;&#61;&#92;&#100;&#102;&#114;&#97;&#99;&#123;&#45;&#92;&#112;&#105;&#125;&#123;&#54;&#125;&#43;&#107;&#50;&#92;&#112;&#105;&#32;&#92;&#101;&#110;&#100;&#123;&#97;&#114;&#114;&#97;&#121;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#46;\" title=\"Rendered by QuickLaTeX.com\" height=\"70\" width=\"134\" style=\"vertical-align: -30px;\"\/> (Sai)<\/label>\n                <label><input type=\"checkbox\" data-value=\"true\"> \u00dd C: <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sunflower-math.com\/wp-content\/ql-cache\/quicklatex.com-35f27b39fe865ff15910c4a0d6eee895_l3.svg\" class=\"ql-img-inline-formula \" alt=\"&#92;&#108;&#101;&#102;&#116;&#91;&#32;&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#97;&#114;&#114;&#97;&#121;&#125;&#123;&#108;&#125;&#32;&#120;&#61;&#92;&#100;&#102;&#114;&#97;&#99;&#123;&#92;&#112;&#105;&#125;&#123;&#51;&#125;&#43;&#107;&#50;&#92;&#112;&#105;&#92;&#92;&#32;&#120;&#61;&#92;&#100;&#102;&#114;&#97;&#99;&#123;&#50;&#92;&#112;&#105;&#125;&#123;&#51;&#125;&#43;&#107;&#50;&#92;&#112;&#105;&#32;&#92;&#101;&#110;&#100;&#123;&#97;&#114;&#114;&#97;&#121;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#46;\" title=\"Rendered by QuickLaTeX.com\" height=\"71\" width=\"129\" style=\"vertical-align: -31px;\"\/> (\u0110\u00fang)<\/label>\n                <label><input type=\"checkbox\" data-value=\"true\"> \u00dd D: <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sunflower-math.com\/wp-content\/ql-cache\/quicklatex.com-331d11a69ab319bc9d93bab957856f70_l3.svg\" class=\"ql-img-inline-formula \" alt=\"&#92;&#108;&#101;&#102;&#116;&#91;&#32;&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#97;&#114;&#114;&#97;&#121;&#125;&#123;&#108;&#125;&#32;&#120;&#61;&#92;&#100;&#102;&#114;&#97;&#99;&#123;&#92;&#112;&#105;&#125;&#123;&#54;&#125;&#43;&#107;&#50;&#92;&#112;&#105;&#92;&#92;&#32;&#120;&#61;&#92;&#100;&#102;&#114;&#97;&#99;&#123;&#53;&#92;&#112;&#105;&#125;&#123;&#54;&#125;&#43;&#107;&#50;&#92;&#112;&#105;&#32;&#92;&#101;&#110;&#100;&#123;&#97;&#114;&#114;&#97;&#121;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#46;\" title=\"Rendered by QuickLaTeX.com\" height=\"71\" width=\"129\" style=\"vertical-align: -31px;\"\/> (\u0110\u00fang)<\/label>\n            <\/div>\n        <\/div>\n        \n        <div class=\"question question-2 column-1\">\n            <h2>C\u00e2u 2: Ch\u1ecdn c\u00e1c \u00fd \u0111\u00fang v\u1ec1 h\u1ec7 m\u1eb7t tr\u1eddi:<\/h2>\n            <div style=\"width: 300px; margin: 20px auto;\">\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-c3116db312753929edde768c01e8a08e_l3.svg\" height=\"99\" width=\"99\" 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>C\u00e2u 3: 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        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)} \/ ${questions.length}`;\n            MathJax.typeset(); \/\/ C\u1eadp nh\u1eadt MathJax \u0111\u1ec3 hi\u1ec3n th\u1ecb c\u00f4ng th\u1ee9c\n        }\n\n        function calculatePoints(reasonableCount) {\n            switch (reasonableCount) {\n                case 1: return 0.1;\n                case 2: return 0.25;\n                case 3: return 0.5;\n                case 4: return 1;\n                default: return 0;\n            }\n        }\n\n        \/\/ Th\u00eam s\u1ed1 th\u1ee9 t\u1ef1 cho t\u1eebng c\u00e2u h\u1ecfi\n        window.onload = () => {\n            const questions = document.querySelectorAll('.question');\n            questions.forEach((question, index) => {\n                const h2 = question.querySelector('h2');\n                h2.innerHTML = `<strong>C\u00e2u ${index + 1}.<\/strong> ${h2.textContent}`;\n});\n            MathJax.typeset(); \/\/ C\u1eadp nh\u1eadt MathJax khi trang t\u1ea3i\n            TikzJax.render(); \/\/ X\u1eed l\u00fd TikZ\n        };\n    <\/script>\n<\/body>\n<\/html>\n\n","protected":false},"excerpt":{"rendered":"<p>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 c\u00f3 nghi\u1ec7m: \u00dd A: (\u0110\u00fang) \u00dd B: (Sai) \u00dd C: (\u0110\u00fang) \u00dd D: (\u0110\u00fang) C\u00e2u 2: Ch\u1ecdn c\u00e1c \u00fd \u0111\u00fang v\u1ec1 h\u1ec7 m\u1eb7t tr\u1eddi: \u00dd A: Tr\u00e1i \u0111\u1ea5t l\u00e0 h\u00e0nh tinh duy nh\u1ea5t c\u00f3 s\u1ef1 s\u1ed1ng (Sai) \u00dd B: M\u1eb7t [&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-240","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/sunflower-math.com\/index.php?rest_route=\/wp\/v2\/posts\/240","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=240"}],"version-history":[{"count":60,"href":"https:\/\/sunflower-math.com\/index.php?rest_route=\/wp\/v2\/posts\/240\/revisions"}],"predecessor-version":[{"id":446,"href":"https:\/\/sunflower-math.com\/index.php?rest_route=\/wp\/v2\/posts\/240\/revisions\/446"}],"wp:attachment":[{"href":"https:\/\/sunflower-math.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=240"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sunflower-math.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=240"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sunflower-math.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}