{"id":519,"date":"2025-11-25T04:32:27","date_gmt":"2025-11-25T04:32:27","guid":{"rendered":"https:\/\/learndeeplytw.com\/?p=519"},"modified":"2025-12-29T03:42:25","modified_gmt":"2025-12-29T03:42:25","slug":"parity-error-correction-2","status":"publish","type":"post","link":"https:\/\/learndeeplytw.com\/en\/parity-error-correction-2\/","title":{"rendered":"Mastering Computer Self-Repair with \"Mind Reading\" (Parity Error Correction)"},"content":{"rendered":"<figure class=\"wp-embed-aspect-4-3 wp-has-aspect-ratio wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Unplugged: The show. Part 11: Parity - Error detection\" width=\"1290\" height=\"968\" src=\"https:\/\/www.youtube.com\/embed\/gBPZOpT4DPU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"\">When computers transmit data, it\u2019s a lot like passing notes in class. Sometimes the ink smudges, or the paper tears (Data Corruption). But magically, computers have a mechanism to \"automatically spot the mistake\" and even \"automatically fix it.\"<\/p>\n\n\n\n<p class=\"\">This sounds abstract, but through this \"Card Mind Reading\" magic trick, children won't just learn the principle (Parity Error Correction); they will experience the thrill of being a magician.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Phase 1: The Magic Show (Shock Education)<\/h3>\n\n\n\n<p class=\" translation-block\"><strong>Perform first<\/strong> before explaining any rules. This triggers immense curiosity.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li class=\" translation-block\"><strong>Preparation<\/strong>: Ask the child to arrange a random 5x5 grid of cards (black and white sides).<\/li>\n\n\n\n<li class=\" translation-block\"><strong>The Setup (Crucial Action)<\/strong>: Tell the child: \"I'm going to tidy up this messy pile of cards a bit.\"\nThe Secret: Quickly add a 6th row and a 6th column (these are the Parity Bits). Ensure that every row and every column has an <strong>Even<\/strong> number of black cards.<\/li>\n\n\n\n<li class=\"\"><strong>The Performance<\/strong>Guiding Reflection:\n<ul class=\"wp-block-list\">\n<li class=\"\">Teacher: \"I\u2019m going to turn around and close my eyes. Please choose one card from these 36 cards and flip it over (white to black, or black to white).\"<\/li>\n\n\n\n<li class=\"\">(The child flips a card.)<\/li>\n\n\n\n<li class=\"\">Teacher: (Turns back, pretends to scan the room, then points sharply at the flipped card.) \"It\u2019s this one, isn't it?\"<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<p class=\" translation-block\">Child's Reaction: \"How did you know? Do you have a mirror? Is the card warm?\"\n<br>(This is the Golden Moment of Constructivist teaching. Don't rush to give the answer. Listen to their wild guesses.)<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"706\" src=\"https:\/\/learndeeplytw.com\/wp-content\/uploads\/2025\/11\/parityerror-1024x706.webp\" alt=\"\" class=\"wp-image-471\" style=\"width:455px;height:auto\" srcset=\"https:\/\/learndeeplytw.com\/wp-content\/uploads\/2025\/11\/parityerror-1024x706.webp 1024w, https:\/\/learndeeplytw.com\/wp-content\/uploads\/2025\/11\/parityerror-300x207.webp 300w, https:\/\/learndeeplytw.com\/wp-content\/uploads\/2025\/11\/parityerror-768x530.webp 768w, https:\/\/learndeeplytw.com\/wp-content\/uploads\/2025\/11\/parityerror-18x12.webp 18w, https:\/\/learndeeplytw.com\/wp-content\/uploads\/2025\/11\/parityerror.webp 1290w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Phase 2: The Investigation (De-mystification)<\/h3>\n\n\n\n<p class=\"\">Invite the child to be the detective and crack your magic code.<\/p>\n\n\n\n<p style=\"font-size:clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.156), 16px);\" class=\" translation-block\">\u2705 Constructivist Scaffolding (Finding the Pattern):<\/strong><br><strong>The Scenario<\/strong>: \"I don't memorize what every card looks like, but I remember a specific 'Pattern Rule'. When you flipped the card, you broke that rule.\"<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li style=\"font-size:clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.156), 16px);\" class=\"\"><strong>Guided Observation<\/strong>: Point to the rows that haven't been messed up.\n<ul class=\"wp-block-list\">\n<li class=\"\">Teacher: \"Let's count. How many black cards are in the first row?\"<\/li>\n\n\n\n<li class=\"\">Child: \"2.\"<\/li>\n\n\n\n<li class=\"\">Teacher: \"The second row?\"<\/li>\n\n\n\n<li class=\"\">Child: \"4.\"<\/li>\n\n\n\n<li class=\"\">Teacher: \"The third?\"<\/li>\n\n\n\n<li class=\"\">Child: \"0.\"<\/li>\n\n\n\n<li class=\"\">Teacher: \"What do you notice? What do these numbers (2, 4, 0) have in common?\"<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li style=\"font-size:clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.156), 16px);\" class=\" translation-block\"><strong>The Aha! Moment<\/strong>: The child exclaims: \"They are all Even numbers!\"<\/li>\n\n\n\n<li style=\"font-size:clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.156), 16px);\" class=\"\"><strong>Verifying the Hypothesis:<\/strong>Guiding Reflection:\n<ul class=\"wp-block-list\">\n<li class=\"\">Teacher: \"Okay, now look at the row where you flipped the card. How many black cards are there now?\"<\/li>\n\n\n\n<li class=\"\">Child: \"3... Ah! It became an Odd number!\"<\/li>\n\n\n\n<li class=\"\">Teacher: \"Exactly! My eyes work like a scanner. I just look for 'Where did it become Odd?', and I know exactly where the problem is.\"<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Phase 3: Student as the Computer (Handing Over Control)<\/h3>\n\n\n\n<p style=\"font-size:clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.156), 16px);\" class=\"\">Let the child be the magician. This consolidates their understanding of the algorithm.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li style=\"font-size:clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.156), 16px);\" class=\"\"><strong>The Setup Challenge<\/strong>Give the child a random 5x5 layout and ask them to add the \"6th row\" and \"6th column.\"\n<ul class=\"wp-block-list\">\n<li class=\" translation-block\"><strong>Inquiry<\/strong>: \"If this row already has 3 black cards (Odd), should your 6th card be black or white to make the total Even?\"<\/li>\n\n\n\n<li class=\"\"><em>(This is teaching them how to calculate the Parity Bit.)<\/em><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li style=\"font-size:clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.156), 16px);\" class=\"\"><strong>Execution<\/strong>: The teacher intentionally flips a card and challenges the child to find it.\n<ul class=\"wp-block-list\">\n<li class=\"\">The child has to scan every row and column. This simulates the computer's CPU performing an error check cycle.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Phase 4: Connecting to Reality (Why do we need this?)<\/h3>\n\n\n\n<p class=\"\">Connect the magic trick to Computer Science concepts.<\/p>\n\n\n\n<p class=\"\"><strong>\u2705 Constructivist Dialogue:<\/strong><br><strong>Teacher<\/strong>: \"Do you think this game has anything to do with computers? Do computers do magic tricks?\"<br><strong>Child<\/strong>: \"I don't know.\"<br><strong>Teacher<\/strong>: \"Imagine you are sending a photo to a friend on your phone. The signal flies through the sky like these cards. But sometimes, lightning interferes, or a part of the hard drive is broken\u2014just like a naughty ghost sneaking in and flipping one card.\"<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"\"><strong>Teacher<\/strong>: \"If the computer didn't know this magic trick, what would happen to the photo?\"\n<ul class=\"wp-block-list\">\n<li class=\"\">(It might have noise, wrong colors, or not open at all.)<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li class=\"\"><strong>Summary<\/strong>: \"But because the computer understands this 'Even Number Magic' (Parity Check), it scans the photo upon arrival. If it sees a row that has become Odd, it says: 'Aha! Error found here!' and flips it back. That is why your photos usually arrive perfectly.\"<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Teaching Observation &amp; Questioning Guide<\/h3>\n\n\n\n<p class=\"\">To assist parents\/teachers in the dialogue, use this checklist:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>Scenario<\/td><td>Less Effective Reaction<\/td><td>More Effective Scaffolding<\/td><\/tr><tr><td><strong>When the child sets up the board wrong (a row is still Odd)<\/strong><\/td><td>\"Wrong. This row has 3 black cards, so you need to add a black one.\" (Direct Correction)<\/td><td>\"Wait, let me check if your 'Shield' (Setup) is built correctly... Hmm, this row looks suspicious. Do you think this row is safe (Even) yet?\"<\/td><\/tr><tr><td><strong>When the child can't find the flipped card<\/strong><\/td><td>\"Look, it's the card where the 3rd row and 4th column meet.\"<\/td><td>\"Which rows look weird to you? (Row 3). Okay, keep your finger on Row 3. Now, what about the columns? Where do these two lines cross?\"<\/td><\/tr><tr><td><strong>Exploring Limitations<\/strong><\/td><td>\"If you flip two cards, I can't find it.\"<\/td><td>\"If you flip two cards at once, can you trick my eyes? Try it. Why can't I find the exact spot when you flip two?\" (Guiding them to discover that errors can cancel each other out).<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Key Concepts Summary (The Takeaway)<\/h3>\n\n\n\n<p class=\"\">Through this activity, the child learns more than just a trick; they learn:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li class=\"\"><strong>Redundancy<\/strong>: Why add that extra row\/column? It's the \"extra cost\" we pay to protect the data.<\/li>\n\n\n\n<li class=\"\"><strong>Algorithm<\/strong>: The process of checking \"Is every row even?\" is a step-by-step algorithm for error detection.<\/li>\n\n\n\n<li class=\"\"><strong>Error Correction<\/strong>: Not only knowing that there is an error, but using Coordinates (intersection of row and column) to precisely fix it.<\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/learndeeplytw.com\/game\/parityerrorcorrection\" target=\"_blank\" rel=\"noreferrer noopener\">Let's play<\/a><\/div>\n<\/div>\n\n\n\n<p class=\"\">Reference :<a href=\"https:\/\/www.csunplugged.org\/en\/topics\/error-detection-and-correction\/\" target=\"_blank\" rel=\"noopener\">csunplugged error-detection-and-correction<\/a><\/p>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>\u96fb\u8166\u5728\u50b3\u8f38\u8cc7\u6599\u6642\uff0c\u5c31\u50cf\u6211\u5011\u50b3\u7d19\u689d\u4e00\u6a23\uff0c\u6709\u6642\u5019\u5b57\u8de1\u6703\u6a21\u7cca\u3001\u7d19\u5f35\u6703\u7834\u640d\uff08\u8cc7\u6599\u640d\u6bc0\uff09\u3002\u4f46\u795e\u5947\u7684\u662f\uff0c\u96fb\u8166\u6709\u4e00\u7a2e\u6a5f\u5236\u53ef\u4ee5 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":471,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","footnotes":""},"categories":[9,17],"tags":[27,11,14,24],"class_list":["post-519","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cs-unplugged","category-representing-information","tag-27","tag-11","tag-14","tag-24"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/learndeeplytw.com\/en\/wp-json\/wp\/v2\/posts\/519","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/learndeeplytw.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/learndeeplytw.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/learndeeplytw.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/learndeeplytw.com\/en\/wp-json\/wp\/v2\/comments?post=519"}],"version-history":[{"count":13,"href":"https:\/\/learndeeplytw.com\/en\/wp-json\/wp\/v2\/posts\/519\/revisions"}],"predecessor-version":[{"id":874,"href":"https:\/\/learndeeplytw.com\/en\/wp-json\/wp\/v2\/posts\/519\/revisions\/874"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/learndeeplytw.com\/en\/wp-json\/wp\/v2\/media\/471"}],"wp:attachment":[{"href":"https:\/\/learndeeplytw.com\/en\/wp-json\/wp\/v2\/media?parent=519"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/learndeeplytw.com\/en\/wp-json\/wp\/v2\/categories?post=519"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/learndeeplytw.com\/en\/wp-json\/wp\/v2\/tags?post=519"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}