<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[Teaching CS]]></title><description><![CDATA[Pedagogy and philosophy]]></description><link>https://teachingcs.substack.com</link><image><url>https://substackcdn.com/image/fetch/$s_!Q2-i!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e0b6e9a-d063-46df-b856-a8df6ce0bab3_618x618.png</url><title>Teaching CS</title><link>https://teachingcs.substack.com</link></image><generator>Substack</generator><lastBuildDate>Wed, 22 Jul 2026 20:26:37 GMT</lastBuildDate><atom:link href="https://teachingcs.substack.com/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Kevin Sun]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[teachingcs@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[teachingcs@substack.com]]></itunes:email><itunes:name><![CDATA[Kevin Sun]]></itunes:name></itunes:owner><itunes:author><![CDATA[Kevin Sun]]></itunes:author><googleplay:owner><![CDATA[teachingcs@substack.com]]></googleplay:owner><googleplay:email><![CDATA[teachingcs@substack.com]]></googleplay:email><googleplay:author><![CDATA[Kevin Sun]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[Trust in Higher Education]]></title><description><![CDATA[A report from the Yale Committee]]></description><link>https://teachingcs.substack.com/p/trust-in-higher-education</link><guid isPermaLink="false">https://teachingcs.substack.com/p/trust-in-higher-education</guid><dc:creator><![CDATA[Kevin Sun]]></dc:creator><pubDate>Sat, 18 Apr 2026 17:27:33 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!O9d1!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95082781-a9e6-4806-8408-a119eef3612d_4032x3024.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In April 2025, <a href="https://president.yale.edu/committees-programs/presidents-committees/committee-on-trust-in-higher-education">President McInnis</a> of Yale University formed a Committee on Trust in Higher Education to study the problem of declining public trust in higher education. The committee looked at polls, spoke with hundreds of people (including students, parents, faculty, politicians, and journalists), and organized various events. About a week ago, the committee released <a href="https://president.yale.edu/sites/default/files/2026-04/Report-of-the-Committee-on-Trust-in-Higher-Education.pdf">a report</a> covering a variety of topics, including academic freedom, rising tuition, undergraduate admissions, free speech, and grade inflation. It also contains twenty recommendations on what Yale should do about declining trust.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!O9d1!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95082781-a9e6-4806-8408-a119eef3612d_4032x3024.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!O9d1!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95082781-a9e6-4806-8408-a119eef3612d_4032x3024.jpeg 424w, https://substackcdn.com/image/fetch/$s_!O9d1!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95082781-a9e6-4806-8408-a119eef3612d_4032x3024.jpeg 848w, https://substackcdn.com/image/fetch/$s_!O9d1!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95082781-a9e6-4806-8408-a119eef3612d_4032x3024.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!O9d1!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95082781-a9e6-4806-8408-a119eef3612d_4032x3024.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!O9d1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95082781-a9e6-4806-8408-a119eef3612d_4032x3024.jpeg" width="1456" height="1092" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/95082781-a9e6-4806-8408-a119eef3612d_4032x3024.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1092,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2602654,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://teachingcs.substack.com/i/194573285?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95082781-a9e6-4806-8408-a119eef3612d_4032x3024.jpeg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!O9d1!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95082781-a9e6-4806-8408-a119eef3612d_4032x3024.jpeg 424w, https://substackcdn.com/image/fetch/$s_!O9d1!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95082781-a9e6-4806-8408-a119eef3612d_4032x3024.jpeg 848w, https://substackcdn.com/image/fetch/$s_!O9d1!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95082781-a9e6-4806-8408-a119eef3612d_4032x3024.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!O9d1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95082781-a9e6-4806-8408-a119eef3612d_4032x3024.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Photo by <a href="https://unsplash.com/@rstarg?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Richard Liu</a> on <a href="https://unsplash.com/photos/a-view-of-a-building-from-across-the-lawn-M2GrqHZMc4U?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure></div><p>I&#8217;ll discuss the recommendations that are more specific to pedagogy and teaching, but first, here are some parts of the report that stood out to me:</p><h3>Cost</h3><p>Yale, like many schools, has a &#8220;high tuition-high aid&#8221; model. The report says that this makes Yale &#8220;accessible to a wide array of students, from a range of incomes and backgrounds.&#8221; However, the gap between the tuition sticker price and the actual cost &#8220;has had a disastrous impact on public trust,&#8221; especially since university endowments keep growing.</p><h3>Teaching</h3><p>After discussing some rather thorny issues, including cost, affirmative action, free speech, and the political affiliations of faculty, the report states, &#8220;There is arguably no greater threat to higher education than the devaluing of teaching and learning.&#8221; It then highlights grade inflation as a problem:</p><blockquote><p>Over the past several decades, grading across many institutions has steadily lost its meaning. In 1963, ten percent of grades in Yale College were an A or A-. In 2022&#8211;23, that number was seventy-nine percent. Today, the median student at Yale receives an A. Peer institutions are similar&#8230; Grades, like colleges and universities, no longer seem trustworthy.</p></blockquote><h3>Administration</h3><p>The committee tried to examine &#8220;the growth of non-academic administrative functions across the university&#8221; but &#8220;found that answering even basic questions proved remarkably difficult.&#8221; Instead of giving numbers, the report states, &#8220;The difficulty, however, is itself the finding.&#8221;</p><h3>Admissions</h3><p>Regarding undergraduate admissions, the report emphasizes that the &#8220;top priority&#8221; should be &#8220;academic achievement,&#8221; and preferences for &#8220;special classes of applicants&#8221; should be reduced. This part surprised me: &#8220;We also believe that the admissions system can be made more effective and less onerous for applicants by establishing and making public a minimum standard of academic achievement necessary for consideration.&#8221; This part surprised me even more (emphasis mine):</p><blockquote><p>A floor such as a minimum SAT score or a <strong>Yale-specific entrance exam</strong> would ensure that no student is admitted without the requisite academic preparation and ability. It would also spare a meaningful number of applicants time and emotional investment in an application that will not succeed.</p></blockquote><p>I&#8217;m curious what a &#8220;Yale-specific entrance exam&#8221; would look like, but unfortunately, the report doesn&#8217;t elaborate on it. I know that schools used to have individual processes, and the <a href="https://www.britannica.com/topic/The-College-Board">College Board</a> (which administers the SAT) was founded partly to set standards. Harvard used to have an eight-hour test on Latin, Greek, algebra, geometry, and geography. One student, William Rotch, <a href="https://www.harvardmagazine.com/2025/04/rotch-historical-letters-harvard-undergraduates-1800s">wrote to his friend</a> Henry that he had to study about 45 hours per week. Henry, &#8220;distracted by an overactive social life,&#8221; failed the exam but was later admitted.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://teachingcs.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Teaching CS! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>Every aspect of higher education is somehow related to every other aspect, so even talking about &#8220;the&#8221; problem is difficult. For example, as interesting as it sounds, a Yale-specific entrance exam would likely necessitate more staff, which feeds into the administration difficulties that the committee found. But still, I&#8217;ll now try to focus on the recommendations in the report that are more specific to teaching.</p><h4>Recommendation 8: &#8220;Deliver educational value.&#8221;</h4><p>The report states that students&#8217; future incomes &#8220;have real value as a form of accountability,&#8221; but &#8220;educational value cannot be reduced to a future paycheck.&#8221; In particular, it is also valuable when students become teachers, artists, journalists, nonprofit workers, and so on. So the first part of their recommendation is for Yale to &#8220;ensure that public-serving careers are actively recruited for, well-funded through fellowships and programming, and treated as a source of institutional pride.&#8221;</p><p>The report then discusses the issue of determining what to teach: &#8220;A liberal arts education&#8212;which includes the sciences and social sciences as well as the arts and humanities&#8212;equips students with foundational wisdom and critical skills that will serve them throughout their lives.&#8221; It recommends that Yale &#8220;work actively to help students translate a liberal arts education into successful professional and civic life.&#8221;</p><h4>Recommendation 9: &#8220;Open the gates.&#8221;</h4><p>Yale has arts programs, museums, medical facilities, online courses, and local outreach, but the report recommends that the university &#8220;think more creatively about how to make its research and resources, including its teaching, available to a wider community,&#8221; including potentially a grant program to support people &#8220;who would like to experiment with ways to make Yale&#8217;s educational resources more broadly available.&#8221;</p><h4>Recommendation 10: &#8220;Re-center the classroom.&#8221;</h4><p>The classroom experience should be &#8220;more rigorous and rewarding, with the goal of cultivating sustained attention, intellectual curiosity, and disciplined habits of mind.&#8221; Recommendations 11&#8211;14 all follow up on this idea.</p><h4>Recommendation 11: &#8220;Pay attention.&#8221;</h4><p>Exceptions can be made, but by default, classroom policies should ban phones, laptops, and tablets. The classroom should be a &#8220;place of active interchange and focused learning.&#8221; An earlier part of the report cites <em>The Anxious Generation</em> by Jonathan Haidt.</p><p>I currently don&#8217;t ban devices, but I&#8217;ve heard of instructors who do. I&#8217;ve also heard of student-created rules, where students collectively decide on the policy at the beginning of the semester (e.g., they vote on whether or not laptops should be banned).</p><h4>Recommendation 12: &#8220;Resist self-censorship.&#8221;</h4><p>In my experience&#8212;perhaps I&#8217;m hopelessly oblivious to self-censoring students&#8212;this isn&#8217;t a major issue in computer science (especially theoretical courses, like the ones I teach), so I won&#8217;t dwell on it. I suspect that the committee was primarily thinking about other departments when they wrote this recommendation. But I will say that self-censorship is probably a bigger issue in ethics courses, which have been <a href="https://dl.acm.org/doi/10.1145/3641554.3701824">receiving</a> <a href="https://dl.acm.org/doi/10.1145/3770762.3772637">attention</a> from CS educators.</p><h4>Recommendation 13: &#8220;Grade like we mean it.&#8221;</h4><p>As mentioned earlier, the percentage of A or A- grades rose from 10 in 1963 to 79 in 2022-23, which has &#8220;rendered the college grading system almost meaningless as an academic measure.&#8221; The report recommends &#8220;a 3.0 mean, or some other college-wide standard, so that letter grades can once again be used in a reliable and comparable way.&#8221; It also recommends that the registrar include students&#8217; course percentiles on their transcripts. This would be helpful for determining Latin honors, fellowships, etc.</p><p>The report states that adding percentiles to transcripts &#8220;could be taken immediately.&#8221; Interestingly, at UNC, a similar policy <a href="https://alumni.unc.edu/news/transcripts-will-include-expanded-information/">was approved</a> in 2011, but it has <a href="https://www.charlotteobserver.com/news/local/article9158849.html">not been</a> <a href="https://scatter.wordpress.com/2017/03/27/on-carolina-contextual-transcript-policys-woes/">implemented</a>. According to a <a href="https://www.nytimes.com/2010/12/26/education/26grades.html">2010 NYT article</a> about this policy, Dartmouth transcripts include <a href="https://registrar.dartmouth.edu/transcripts/transcript-information-cost/median-grades-undergraduate-courses">median grades</a>, and Columbia transcripts show the percentage of students in each course who received an A.</p><p>Unfortunately, I&#8217;m quite pessimistic about grades. If you&#8217;re interested, I&#8217;ve written at least <a href="https://teachingcs.substack.com/p/a-history-of-grades">two</a> <a href="https://teachingcs.substack.com/p/off-the-mark-review">posts</a> before about grading, as well as a post on the notorious <a href="https://teachingcs.substack.com/p/grade-deflation-at-princeton">anti-inflation policy</a> at Princeton. Regardless, the report puts it nicely:</p><blockquote><p>The problem persists because no individual faculty member wants to be the strict grader whose students are disadvantaged relative to peers. No institution wants to be the outlier either. The committee heard firsthand accounts from instructors and lecturers who are not on the tenure track about the particular pressures they face, since their renewal depends largely on student enrollments and evaluations. The result is a collective action problem in which nearly everyone inflates and no one can stop.</p></blockquote><h4>Recommendation 14: &#8220;Be human.&#8221;</h4><p>This one&#8217;s related to Recommendation 11: some digital technologies are not only distracting, but they might also be contributing to &#8220;an era characterized by loneliness and the dissolution of collective spaces.&#8221; The report recommends that Yale create a committee of students to &#8220;develop guidelines for social media use&#8221; and &#8220;formulate ideas for encouraging in-person interaction, with the goal of supporting an open, respectful, intellectually vibrant campus culture.&#8221; Colleges are physical gathering spaces, so we might as well take advantage of that.</p><p>This has actually been top of mind for me this semester. I&#8217;ve been teaching a course on introductory algorithmic game theory and related topics (if you&#8217;re curious, one of our textbooks is <a href="https://www.cs.cornell.edu/home/kleinber/networks-book/">here</a>), and I&#8217;ve thought about how we can leverage the fact that we&#8217;re all physically together to serve some pedagogical purpose. After all, there are plenty of great lectures on YouTube (and AI tools can generate amazing text), so in-person classes should offer something that can&#8217;t be achieved by sitting alone at a desk. Groupwork is perhaps the most natural possibility, and I&#8217;d like to continue exploring others.</p>]]></content:encoded></item><item><title><![CDATA[Syntax-First Pedagogy]]></title><description><![CDATA[Memorizers will succeed!]]></description><link>https://teachingcs.substack.com/p/syntax-first-pedagogy</link><guid isPermaLink="false">https://teachingcs.substack.com/p/syntax-first-pedagogy</guid><dc:creator><![CDATA[Kevin Sun]]></dc:creator><pubDate>Wed, 25 Feb 2026 13:15:39 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/60068e56-2415-4c3b-bcf4-c44275a92937_693x446.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>My high school chemistry teacher was known for his catchphrases. The one that I remember most is (somewhat ironically) &#8220;Memorizers will fail!&#8221;</p><p>A paper from ICER 2020, &#8220;<a href="https://dl.acm.org/doi/10.1145/3372782.3406259">Syntax Exercises in CS1</a>&#8221; by John Edwards, Joseph Ditton, Dragan Trninic, Hillary Swanson, Shelsey Sullivan, and Chad Mano, challenges this idea. Most instructors want students to learn how to use some tool to solve some problem. However, when students must simultaneously learn the syntax of that tool, this creates <a href="https://teachingcs.substack.com/p/learning-about-learning">extraneous load</a> on their working memory, which compromises their ability to learn how to solve the problem.</p><p>The authors suggest that one way to mitigate this problem is for students to first become fluent in syntax through exercises, then engage in problem solving:</p><blockquote><p>The present intervention draws on this fundamental idea of reducing students&#8217; unnecessary cognitive burden by automating their production of code syntax, thereby enhancing their learning. We accomplish this by providing students with exercises that develop their fluency with syntax, preparing them for future learning from instruction.</p></blockquote><p>(This paper was published years before the proliferation of generative AI tools, which perhaps reduces the benefits of learning syntax. But I suspect that even if humans manually write a lot less code than they used to, learning syntax separately from problem solving could still be beneficial. If you want to become a great chef, it probably helps to chop a lot of vegetables.)</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://teachingcs.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading <em>Teaching CS</em>! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>Their study took place during weeks 3-7 of a CS1 course (in Python) across two consecutive semesters. The control group refers to students in the first semester, while the test group refers to those in the second. In each of those five weeks, there were three lectures and a programming project (Projects 4-8) due each Friday. Before each lecture, students in the test group were required to complete 20-60 syntax exercises on an online platform. There was an auto-graded midterm exam at the end of week 5 (i.e., the third week of the study).<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a></p><p>The syntax exercises were designed to take 20-40 seconds each, and the set was designed to take at most 10 minutes. (On average, students spent 8 minutes on each set, for a total of 24 minutes per week.) The exercises were quite straightforward: they increased in complexity &#8220;but always in such a way that the student needn&#8217;t design code, nor even think very long about what they need to do.&#8221; The exercises did <em>not</em> teach semantics or applications; those discussions happened in the following lecture.</p><p>The authors report three outcomes: attrition, project and exam scores, and number of keystrokes on the projects.</p><h4>1: Attrition</h4><p>Of the students who attempted Project 4, 94.1% of control students attempted Project 8, while 97.2% of test students attempted Project 8, where &#8220;attempting&#8221; a project is defined as executing at least one event (e.g., keystroke, paste) tracked by the course&#8217;s IDE. (Exercises and projects were all submitted through the course&#8217;s IDE, but pasting was disabled for the exercises.)</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!uSsm!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F452152b3-cc29-47ea-9b9c-78897c1e73d1_693x498.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!uSsm!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F452152b3-cc29-47ea-9b9c-78897c1e73d1_693x498.png 424w, https://substackcdn.com/image/fetch/$s_!uSsm!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F452152b3-cc29-47ea-9b9c-78897c1e73d1_693x498.png 848w, https://substackcdn.com/image/fetch/$s_!uSsm!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F452152b3-cc29-47ea-9b9c-78897c1e73d1_693x498.png 1272w, https://substackcdn.com/image/fetch/$s_!uSsm!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F452152b3-cc29-47ea-9b9c-78897c1e73d1_693x498.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!uSsm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F452152b3-cc29-47ea-9b9c-78897c1e73d1_693x498.png" width="727.9999389648438" height="523.1514712907535" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/452152b3-cc29-47ea-9b9c-78897c1e73d1_693x498.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:498,&quot;width&quot;:693,&quot;resizeWidth&quot;:727.9999389648438,&quot;bytes&quot;:53296,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://teachingcs.substack.com/i/164775845?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F452152b3-cc29-47ea-9b9c-78897c1e73d1_693x498.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!uSsm!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F452152b3-cc29-47ea-9b9c-78897c1e73d1_693x498.png 424w, https://substackcdn.com/image/fetch/$s_!uSsm!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F452152b3-cc29-47ea-9b9c-78897c1e73d1_693x498.png 848w, https://substackcdn.com/image/fetch/$s_!uSsm!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F452152b3-cc29-47ea-9b9c-78897c1e73d1_693x498.png 1272w, https://substackcdn.com/image/fetch/$s_!uSsm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F452152b3-cc29-47ea-9b9c-78897c1e73d1_693x498.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 2 from <a href="https://dl.acm.org/doi/10.1145/3372782.3406259">the paper</a>.</figcaption></figure></div><h4>2: Project and exam scores</h4><p>Surprisingly, project scores were (slightly) <em>lower</em> in the test group than in the control group, but the average on Exam 1 was much higher (78.9 vs. 71.9). The authors acknowledge that this might be explained by the fact that &#8220;the second semester of the study used an identical exam to the first semester for comparison purposes, whereas the exam was changed each semester prior to the study.&#8221; However, on Exam 2, the difference was smaller (63.4 vs. 61.6), which somewhat undermines this explanation, as the authors note.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Ye64!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89a5d6ff-2a99-4e8b-80ad-7ff94f78a3bd_695x344.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Ye64!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89a5d6ff-2a99-4e8b-80ad-7ff94f78a3bd_695x344.png 424w, https://substackcdn.com/image/fetch/$s_!Ye64!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89a5d6ff-2a99-4e8b-80ad-7ff94f78a3bd_695x344.png 848w, https://substackcdn.com/image/fetch/$s_!Ye64!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89a5d6ff-2a99-4e8b-80ad-7ff94f78a3bd_695x344.png 1272w, https://substackcdn.com/image/fetch/$s_!Ye64!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89a5d6ff-2a99-4e8b-80ad-7ff94f78a3bd_695x344.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Ye64!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89a5d6ff-2a99-4e8b-80ad-7ff94f78a3bd_695x344.png" width="695" height="344" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/89a5d6ff-2a99-4e8b-80ad-7ff94f78a3bd_695x344.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:344,&quot;width&quot;:695,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:45429,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://teachingcs.substack.com/i/164775845?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89a5d6ff-2a99-4e8b-80ad-7ff94f78a3bd_695x344.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Ye64!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89a5d6ff-2a99-4e8b-80ad-7ff94f78a3bd_695x344.png 424w, https://substackcdn.com/image/fetch/$s_!Ye64!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89a5d6ff-2a99-4e8b-80ad-7ff94f78a3bd_695x344.png 848w, https://substackcdn.com/image/fetch/$s_!Ye64!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89a5d6ff-2a99-4e8b-80ad-7ff94f78a3bd_695x344.png 1272w, https://substackcdn.com/image/fetch/$s_!Ye64!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89a5d6ff-2a99-4e8b-80ad-7ff94f78a3bd_695x344.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Table 2 from <a href="https://dl.acm.org/doi/10.1145/3372782.3406259">the paper</a>.</figcaption></figure></div><h4>3: Number of keystrokes per project</h4><p>Surprisingly, again, students in the test group used <em>more</em> keystrokes on average than students in the control group. In Project 8, the median number of keystrokes in the control group was 3896, while the corresponding number in the test group was 7207. However, &#8220;the control group had many more projects with large amounts of code pasted into the editor than the test group.&#8221; But even after excluding projects with large amounts of pasted code, the authors still found that students in the test group used more keystrokes.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!r3vk!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8cd4f1c-a1b4-4a16-962f-e654a406bc11_696x486.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!r3vk!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8cd4f1c-a1b4-4a16-962f-e654a406bc11_696x486.png 424w, https://substackcdn.com/image/fetch/$s_!r3vk!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8cd4f1c-a1b4-4a16-962f-e654a406bc11_696x486.png 848w, https://substackcdn.com/image/fetch/$s_!r3vk!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8cd4f1c-a1b4-4a16-962f-e654a406bc11_696x486.png 1272w, https://substackcdn.com/image/fetch/$s_!r3vk!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8cd4f1c-a1b4-4a16-962f-e654a406bc11_696x486.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!r3vk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8cd4f1c-a1b4-4a16-962f-e654a406bc11_696x486.png" width="696" height="486" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c8cd4f1c-a1b4-4a16-962f-e654a406bc11_696x486.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:486,&quot;width&quot;:696,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:49203,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://teachingcs.substack.com/i/164775845?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8cd4f1c-a1b4-4a16-962f-e654a406bc11_696x486.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!r3vk!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8cd4f1c-a1b4-4a16-962f-e654a406bc11_696x486.png 424w, https://substackcdn.com/image/fetch/$s_!r3vk!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8cd4f1c-a1b4-4a16-962f-e654a406bc11_696x486.png 848w, https://substackcdn.com/image/fetch/$s_!r3vk!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8cd4f1c-a1b4-4a16-962f-e654a406bc11_696x486.png 1272w, https://substackcdn.com/image/fetch/$s_!r3vk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8cd4f1c-a1b4-4a16-962f-e654a406bc11_696x486.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 5 from <a href="https://dl.acm.org/doi/10.1145/3372782.3406259">the paper</a>.</figcaption></figure></div><p>One explanation the authors suggest is that the test group students are more likely to &#8220;tinker more&#8221; or &#8220;type everything when refactoring&#8221; (instead of cutting and pasting) because they&#8217;re more accustomed to typing (due to the syntax exercises). Another explanation is that the higher attrition rate in the test group might be attributed to students who normally would have dropped out, and &#8220;those are the very students that we would expect to require more time to complete their projects.&#8221;</p><p>The authors also analyzed typing speed (i.e., time elapsed between two keystrokes) and found that the test group spent less time on code typing.</p><h2>Discussion</h2><p>In Project 8, the percentage of control students with a &#8220;pasted&#8221; project (i.e., the number of pasted characters exceeded the total number of keystrokes by a factor of four) was 24%, and the corresponding percentage for test students was 11%.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!O7TT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feca6e51e-ffc5-4a11-ad21-d8a8bf4dfc9c_745x518.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!O7TT!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feca6e51e-ffc5-4a11-ad21-d8a8bf4dfc9c_745x518.png 424w, https://substackcdn.com/image/fetch/$s_!O7TT!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feca6e51e-ffc5-4a11-ad21-d8a8bf4dfc9c_745x518.png 848w, https://substackcdn.com/image/fetch/$s_!O7TT!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feca6e51e-ffc5-4a11-ad21-d8a8bf4dfc9c_745x518.png 1272w, https://substackcdn.com/image/fetch/$s_!O7TT!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feca6e51e-ffc5-4a11-ad21-d8a8bf4dfc9c_745x518.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!O7TT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feca6e51e-ffc5-4a11-ad21-d8a8bf4dfc9c_745x518.png" width="745" height="518" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/eca6e51e-ffc5-4a11-ad21-d8a8bf4dfc9c_745x518.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:518,&quot;width&quot;:745,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:45276,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://teachingcs.substack.com/i/164775845?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feca6e51e-ffc5-4a11-ad21-d8a8bf4dfc9c_745x518.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!O7TT!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feca6e51e-ffc5-4a11-ad21-d8a8bf4dfc9c_745x518.png 424w, https://substackcdn.com/image/fetch/$s_!O7TT!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feca6e51e-ffc5-4a11-ad21-d8a8bf4dfc9c_745x518.png 848w, https://substackcdn.com/image/fetch/$s_!O7TT!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feca6e51e-ffc5-4a11-ad21-d8a8bf4dfc9c_745x518.png 1272w, https://substackcdn.com/image/fetch/$s_!O7TT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feca6e51e-ffc5-4a11-ad21-d8a8bf4dfc9c_745x518.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 7 from <a href="https://dl.acm.org/doi/10.1145/3372782.3406259">the paper</a>.</figcaption></figure></div><p>The authors give two possible explanations. The first is that doing the syntax exercises made the test students feel more familiar with the course&#8217;s IDE, so they were less likely to work on their projects in a different IDE and paste into the course&#8217;s. The other explanation is a drop in plagiarism, which could explain the decrease in project scores and the increase in exam scores. In fact, the authors note that this could explain all of their results:</p><blockquote><p>The hypothesis that plagiarism is reduced with syntax exercises is consistent with every expected and unexpected result from our study: syntax exercises resulting in lower project scores, higher test scores, lower digraph latencies, and more keystrokes on projects, on average.</p></blockquote><p>Exam scores might have increased due to a decrease in cognitive load from writing syntax. But the authors provide another possible explanation: one of the authors, Dragan Trninic, wrote in <a href="https://link.springer.com/article/10.1007/s11251-017-9443-z">another paper</a> that &#8220;repetitive exercises, sometimes derided as drills, can nonetheless be a fountainhead of insight and discovery.&#8221; In other words, according to the authors of this paper, &#8220;the very act of repetitive practice, when exercises are well-designed, provides opportunities for reflection and deeper learning.&#8221;<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-2" href="#footnote-2" target="_self">2</a></p><p>In conclusion, the students who did syntax exercises had higher exam scores and lower attrition rates. Even though their project scores were lower, and they used a higher number of keystrokes, those results can be explained by a reduction in plagiarism and improved outcomes for students who would have dropped the course. On average, the exercises only took 24 minutes per week and don&#8217;t require other changes to the course, so I think they&#8217;re worth considering. More generally, I suspect that many skills that look like one activity (e.g., programming) can be separated into various components, and it probably helps to sometimes consider them separately.</p><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-1" href="#footnote-anchor-1" class="footnote-number" contenteditable="false" target="_self">1</a><div class="footnote-content"><p>As we&#8217;ll see, the project and exam were identical for the control and test groups. Project graders were different across semesters, and five of the six sections (three per semester) were taught by the same instructor.</p></div></div><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-2" href="#footnote-anchor-2" class="footnote-number" contenteditable="false" target="_self">2</a><div class="footnote-content"><p>I&#8217;m no music expert, but this reminds me of scales and etudes. The physical mechanics are important, but I suspect that the mental processes that occur during automated practicing are just as important. It also reminds me of practicing arithmetic (e.g., long division/multiplication) without really understanding why the process works.</p><p></p></div></div>]]></content:encoded></item><item><title><![CDATA[Recap post - 2025]]></title><description><![CDATA[I plan, for as long as this newsletter lives, to make the last post each year a 100-word (or less) summary of each post published earlier that year, sorted in chronological order.]]></description><link>https://teachingcs.substack.com/p/recap-post-2025</link><guid isPermaLink="false">https://teachingcs.substack.com/p/recap-post-2025</guid><dc:creator><![CDATA[Kevin Sun]]></dc:creator><pubDate>Tue, 30 Dec 2025 21:26:02 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!I747!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff47a343d-4ed8-46fe-b082-b80534c3fb73_540x432.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>I plan, for as long as this newsletter lives, to make the last post each year a 100-word (or less) summary of each post published earlier that year, sorted in chronological order. Thanks for reading, and Happy New Year!</p><h4>1: <a href="https://teachingcs.substack.com/p/genais-impact-on-critical-thinking">GenAI&#8217;s Impact on Critical Thinking</a></h4><p>A <a href="https://www.microsoft.com/en-us/research/publication/the-impact-of-generative-ai-on-critical-thinking-self-reported-reductions-in-cognitive-effort-and-confidence-effects-from-a-survey-of-knowledge-workers/">CHI 2025</a> paper examines the relationship between GenAI usage and critical thinking, finding that &#8220;higher confidence in GenAI is associated with less critical thinking, while higher self-confidence is associated with more critical thinking.&#8221; I think schools should foster intellectual growth without completely shunning AI tools (which is impossible anyway), but that&#8217;s much easier said than done. If AI tools become so powerful that nobody can outthink them (see, e.g., chess), then at that point, we&#8217;ll probably face a vastly different set of problems.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://teachingcs.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><h4>2: <a href="https://teachingcs.substack.com/p/productive-failure">Productive Failure</a></h4><p>A <a href="https://arxiv.org/abs/2411.11227">SIGCSE 2025</a> paper used real-time heart-rate data to infer cognitive load in a comparison between Direct Instruction (DI) and Productive Failure (PF); its findings &#8220;suggest that PF-based approaches may lead to more robust learning.&#8221; In DI, students receive a lesson before attempting a practice task, while this order is reversed in PF. Cognitive load is typically something that instructors <a href="https://cacm.acm.org/research/10-things-software-developers-should-learn-about-learning/#F1">should reduce</a>, but in this case, the authors say that &#8220;appropriately subjecting students to an initially heavy cognitive load may be fruitful for learning.&#8221;</p><h4>3: <a href="https://teachingcs.substack.com/p/perceived-obligations">Perceived Obligations</a></h4><p>Active learning is a <a href="https://www.pnas.org/doi/10.1073/pnas.1319030111">huge deal</a> in STEM education, so why don&#8217;t more instructors incorporate it? A paper published in <em>Educational Studies in Mathematics</em> in January 2025 investigates: the authors worked with three mathematicians and found that they felt obligated to cover a (large) set of topics, which left them with insufficient time for active learning. After some informal experiments with entrance/exit tickets, the researchers and mathematicians converged on a solution that had students answering multiple-choice questions that the instructors had planned on answering in class anyway.</p><h4>4: <a href="https://teachingcs.substack.com/p/rawls-vs-einstein">Rawls vs. Einstein</a></h4><p>According to <a href="https://onlinelibrary.wiley.com/doi/10.1002/he.36919771703">a 1975 survey</a>, 94% of faculty consider themselves &#8220;above-average teachers.&#8221; That sounds implausible, but to me, it&#8217;s not obvious what it even means for one teacher to be &#8220;better&#8221; than another. Sometimes, perhaps the teacher should focus on maximizing the minimum score, but other times, perhaps they should focus on maximizing the maximum score! I think these two approaches, while extreme, illustrate the balancing act of teaching large classes. In the figure below, both sections clearly improved over the baseline, but it&#8217;s hard to say which section&#8217;s outcomes are &#8220;better.&#8221;</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!I747!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff47a343d-4ed8-46fe-b082-b80534c3fb73_540x432.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!I747!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff47a343d-4ed8-46fe-b082-b80534c3fb73_540x432.png 424w, https://substackcdn.com/image/fetch/$s_!I747!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff47a343d-4ed8-46fe-b082-b80534c3fb73_540x432.png 848w, https://substackcdn.com/image/fetch/$s_!I747!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff47a343d-4ed8-46fe-b082-b80534c3fb73_540x432.png 1272w, https://substackcdn.com/image/fetch/$s_!I747!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff47a343d-4ed8-46fe-b082-b80534c3fb73_540x432.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!I747!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff47a343d-4ed8-46fe-b082-b80534c3fb73_540x432.png" width="598" height="478.4" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f47a343d-4ed8-46fe-b082-b80534c3fb73_540x432.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:432,&quot;width&quot;:540,&quot;resizeWidth&quot;:598,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!I747!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff47a343d-4ed8-46fe-b082-b80534c3fb73_540x432.png 424w, https://substackcdn.com/image/fetch/$s_!I747!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff47a343d-4ed8-46fe-b082-b80534c3fb73_540x432.png 848w, https://substackcdn.com/image/fetch/$s_!I747!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff47a343d-4ed8-46fe-b082-b80534c3fb73_540x432.png 1272w, https://substackcdn.com/image/fetch/$s_!I747!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff47a343d-4ed8-46fe-b082-b80534c3fb73_540x432.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Synthetic exam score distributions for two course sections with identical averages but different distributions. (For more, please see the <a href="https://teachingcs.substack.com/p/rawls-vs-einstein">original post</a>.)</figcaption></figure></div><h4>5: <a href="https://teachingcs.substack.com/p/unproductive-failure-and-success">(Un)productive Failure (and Success)</a></h4><p>Another post about productive failure: the topic of this one &#8212; a <a href="https://teachingcs.substack.com/p/unproductive-failure-and-success">2016 article</a> by Manu Kapur published in <em>Educational Psychologist</em> &#8212; was cited by the SIGCSE 2025 paper from earlier. In it, Kapur criticizes unguided problem solving as unproductive failure, highlights the &#8220;problem-solving phase followed by a consolidation (or instruction) phase&#8221; approach as productive failure, discusses problem-based learning as an example of productive success, and speculates that rote memorization is an example of unproductive success. Pedagogical experiments are good, but I think variety, or at least a bit of it, is also good.</p><h4>6: <a href="https://teachingcs.substack.com/p/grade-deflation-at-princeton">Grade Deflation at Princeton</a></h4><p>In 2004, to combat grade inflation, the faculty of Princeton adopted <a href="https://www.dailyprincetonian.com/article/2004/04/proposal-to-curb-grade-inflation">a policy</a> that set an &#8220;expectation&#8221; of 35% A-grades (i.e., A-, A, or A+) across undergraduate courses in each department. The percentage of A-grades at Princeton decreased from 46 in 2003&#8211;04 to about 40 in 2005&#8211;11. After a three-year uptick, the 35% expectation was removed in 2014. In 2024&#8211;25, the percentage of A-grades at Princeton was 66.7, and a committee released <a href="https://drive.google.com/file/d/1zdmbmlH5yD6262vcb6WUKj4wJbmyxJWk/view">a report</a> that focuses on reducing the percentage of A+ grades. As I wrote in the post, maybe there should be a limit for each department&#8230;</p>]]></content:encoded></item><item><title><![CDATA[Grade Deflation at Princeton]]></title><description><![CDATA[An attempt to solve a coordination problem]]></description><link>https://teachingcs.substack.com/p/grade-deflation-at-princeton</link><guid isPermaLink="false">https://teachingcs.substack.com/p/grade-deflation-at-princeton</guid><dc:creator><![CDATA[Kevin Sun]]></dc:creator><pubDate>Wed, 17 Dec 2025 17:57:21 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/5f81bc39-d8a1-4cff-b76f-81597489e52d_848x646.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>There was a lot of <a href="https://www.nytimes.com/2025/10/06/us/harvard-students-absenteeism.html">discussion</a> about <a href="https://www.thecrimson.com/article/2025/10/27/grading-workload-report/">grade inflation</a> this <a href="https://www.insidehighered.com/news/quick-takes/2025/11/12/uc-san-diego-sees-students-math-skills-plummet">semester</a>, which made me think about Princeton&#8217;s grade deflation policy from 2004. But I quickly realized that I didn&#8217;t know any of the details, so I read a few articles; this post summarizes my findings.</p><h2>The proposal</h2><p>In February 1998, the Faculty Committee on Examinations and Standing at Princeton University <a href="https://www.princeton.edu/news/2004/04/07/proposals-presented-curb-grade-inflation">called for faculty</a> to take &#8220;collective responsibility for halting grade inflation and grade compression at Princeton.&#8221; And in April 2004, Dean of the College Nancy Malkiel presented a proposal for a common grading standard across the university: <a href="https://www.dailyprincetonian.com/article/2004/04/proposal-to-curb-grade-inflation">each department</a> should award less than 35% A-range grades (i.e., A-, A, and A+) for undergraduate courses (and less than 55% A-range grades for independent work).<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a> At the time, among the Ivy League, Stanford, MIT, and the University of Chicago, the percentage of A-grades ranged from 44 to 55, with two institutions in the 45-46 range, four (including Princeton) in the 47-48 range, and three in the 49-51 range.</p><p>Dean Malkiel provided <a href="https://www.princeton.edu/news/2004/04/07/proposals-presented-curb-grade-inflation">some motivation</a>:</p><blockquote><p>&#8220;By adopting [these proposals], the faculty will be better able to give students the carefully calibrated assessment they deserve of the quality of their course work and independent work,&#8221; Malkiel wrote in a cover memo. &#8220;The proposed grading standard responds to the desire of the department chairs that all departments be asked to meet common expectations. It responds to the desire of students for evenhandedness in grading across the departments. And it positions Princeton to take national leadership in tackling what has seemed an intractable national problem.&#8221;</p></blockquote><p>The proposal included testimonials from medical schools, law schools, fellowship administrators, and employers. Most were reportedly supportive and claimed that the proposal &#8220;would not compromise the futures of Princeton students and, in some cases, would be looked upon favorably.&#8221;</p><p>Dean Malkiel also wrote, &#8220;Because no single department has any incentive to act unilaterally to address grade inflation, the chairs reasoned, the provision of a University-wide grading standard that all departments must observe will make it possible for all departments to cooperate.&#8221; In other words, if curbing grade inflation is a <a href="https://en.wikipedia.org/wiki/Collective_action_problem">collective action problem</a> among departments, then the policy was Princeton&#8217;s attempt at a solution.</p><p>A few weeks after the proposal was released, the faculty of Princeton <a href="https://www.thecrimson.com/article/2004/4/28/princeton-adopts-grading-limits-by-a/">adopted</a> an amended version that included an &#8220;expectation&#8221; of 35% A&#8217;s, rather than the originally proposed &#8220;limit.&#8221;</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://teachingcs.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://teachingcs.substack.com/subscribe?"><span>Subscribe now</span></a></p><h2>The Good News</h2><p>The <a href="https://www.princeton.edu/news/2005/09/19/committee-issues-message-grading-results-2004-05">good news</a>, for Dean Malkiel and other proponents of the proposal, is that the percentage of A-grades decreased from 46.0 in 2003-04 (and 47.9 in 2002-03) to 40.9 in 2004-05. A breakdown by division is below:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!FYAj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e582b59-6448-4e99-a7e2-391582d24d6d_735x538.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!FYAj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e582b59-6448-4e99-a7e2-391582d24d6d_735x538.png 424w, https://substackcdn.com/image/fetch/$s_!FYAj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e582b59-6448-4e99-a7e2-391582d24d6d_735x538.png 848w, https://substackcdn.com/image/fetch/$s_!FYAj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e582b59-6448-4e99-a7e2-391582d24d6d_735x538.png 1272w, https://substackcdn.com/image/fetch/$s_!FYAj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e582b59-6448-4e99-a7e2-391582d24d6d_735x538.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!FYAj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e582b59-6448-4e99-a7e2-391582d24d6d_735x538.png" width="735" height="538" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6e582b59-6448-4e99-a7e2-391582d24d6d_735x538.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:538,&quot;width&quot;:735,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:248693,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://teachingcs.substack.com/i/177430850?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e582b59-6448-4e99-a7e2-391582d24d6d_735x538.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!FYAj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e582b59-6448-4e99-a7e2-391582d24d6d_735x538.png 424w, https://substackcdn.com/image/fetch/$s_!FYAj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e582b59-6448-4e99-a7e2-391582d24d6d_735x538.png 848w, https://substackcdn.com/image/fetch/$s_!FYAj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e582b59-6448-4e99-a7e2-391582d24d6d_735x538.png 1272w, https://substackcdn.com/image/fetch/$s_!FYAj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e582b59-6448-4e99-a7e2-391582d24d6d_735x538.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure from a <a href="https://www.princeton.edu/news/2005/09/19/committee-issues-message-grading-results-2004-05">Princeton news article</a>.</figcaption></figure></div><p>Dean Malkiel seemed pleased: &#8220;Many departments are at or very close to the desired standards; in others, while there is more work to be done, the progress made in a very short time has been nothing short of remarkable. Culture change is hard to achieve, and we always imagined that it would take several years to implement the new grading expectations. We are clearly on our way.&#8221;</p><p>In <a href="https://www.princeton.edu/news/2009/09/21/princeton-achieves-marked-progress-curbing-grade-inflation">2008-09</a>, the percentage of A-grades fell to 39.7; this was the first time it fell below 40 since the policy was approved. Dean Malkiel still <a href="https://www.princeton.edu/news/2009/09/21/committee-issues-statement-grading-results-2008-09">seemed pleased</a>: &#8220;The Princeton faculty continues to make successful progress in its determined effort to restore educational content and meaning to the letter grades earned by the highest-achieving students in the United States.&#8221;</p><h2>The Bad News</h2><p>Unfortunately (for proponents of the proposal), the percentage of A-grades hovered around 40 for about five years, and between 2009 and 2013, it increased by <a href="https://www.princeton.edu/sites/default/files/documents/2017/05/PU_Grading_Policy_Report_2014_Aug.pdf">3.3 percentage points</a>, according to a report released by a Princeton committee in 2014.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!1kdb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90224a2b-0d2c-41ad-9607-542bc0ac7c00_1380x617.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!1kdb!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90224a2b-0d2c-41ad-9607-542bc0ac7c00_1380x617.png 424w, https://substackcdn.com/image/fetch/$s_!1kdb!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90224a2b-0d2c-41ad-9607-542bc0ac7c00_1380x617.png 848w, https://substackcdn.com/image/fetch/$s_!1kdb!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90224a2b-0d2c-41ad-9607-542bc0ac7c00_1380x617.png 1272w, https://substackcdn.com/image/fetch/$s_!1kdb!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90224a2b-0d2c-41ad-9607-542bc0ac7c00_1380x617.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!1kdb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90224a2b-0d2c-41ad-9607-542bc0ac7c00_1380x617.png" width="1380" height="617" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/90224a2b-0d2c-41ad-9607-542bc0ac7c00_1380x617.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:617,&quot;width&quot;:1380,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:86863,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://teachingcs.substack.com/i/177430850?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90224a2b-0d2c-41ad-9607-542bc0ac7c00_1380x617.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!1kdb!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90224a2b-0d2c-41ad-9607-542bc0ac7c00_1380x617.png 424w, https://substackcdn.com/image/fetch/$s_!1kdb!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90224a2b-0d2c-41ad-9607-542bc0ac7c00_1380x617.png 848w, https://substackcdn.com/image/fetch/$s_!1kdb!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90224a2b-0d2c-41ad-9607-542bc0ac7c00_1380x617.png 1272w, https://substackcdn.com/image/fetch/$s_!1kdb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90224a2b-0d2c-41ad-9607-542bc0ac7c00_1380x617.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 1 from the <a href="https://www.princeton.edu/sites/default/files/documents/2017/05/PU_Grading_Policy_Report_2014_Aug.pdf">2014 report</a>.</figcaption></figure></div><p>The report originates from October 2013, when Princeton University President Christopher L. Eisgruber charged an <a href="https://www.princeton.edu/news/2013/10/07/charge-ad-hoc-committee-review-policies-regarding-assessment-and-grading">ad hoc committee</a> with reviewing the policies on grading. More specifically, he asked the committee to consider evidence for how the policy has affected students (e.g., employment, graduate school admissions) and whether the benefits can be achieved &#8220;with less emphasis on numerical targets.&#8221;</p><p>In August 2014, that committee released <a href="https://www.princeton.edu/sites/default/files/documents/2017/05/PU_Grading_Policy_Report_2014_Aug.pdf">a 35-page report</a> (35 &#8212; what a coincidence!) that recommends removing numerical targets from the grading policy. One reason it gives is that trying &#8220;to maintain &#8216;fair and consistent&#8217; grading standards across academic departments&#8221; is &#8220;not appropriate&#8221; because standards and grades are not the same thing:</p><blockquote><p>Standards are the evaluative rubrics departments and instructors develop to convey to students the specific expectations for their work and against which that work will be graded. Grades measure the extent to which students meet those expectations. &#8220;Consistent standards&#8221; is an admirable goal in the abstract, but in practice it is our judgment that it is difficult if not impossible to compare standards across departments in different fields&#8230; Thus we have come to feel strongly that departments should spend their time developing clear and meaningful evaluative rubrics for work within their disciplines rather than aligning grades to meet specific numeric targets.</p></blockquote><p>In a similar vein, the report criticizes the goal of achieving uniformity in A-grades across departments as &#8220;not a reliable measure of fairness across departments&#8221; because departments that teach large-enrollment, 100-200 level courses can achieve the 35% goal simply by reducing the percentage of A-grades in those courses, while departments without large courses must reduce the percentage of A-grades in their 300-400 level courses.</p><p>The report also points out that average GPA and percentage of A-grades both declined a year <em>before</em> the policy began (see Figure 1 above) and speculates as follows:</p><blockquote><p>A reasonable interpretation is that this decline was due to conversations the dean of the college was having with departments about grade inflation, which resulted in an increase in general awareness of grading policy among the faculty&#8230; We suggest that this sort of continuing conversation is a more effective and positive way of having an appropriate grading policy, and with fewer undesirable side effects, than setting numerical targets&#8230; The emphasis should move away from &#8220;grades,&#8221; and instead focus on &#8220;quality of feedback.&#8221;</p></blockquote><h3>More details from the report</h3><p>In February and March 2014, students were surveyed about the grading policy, and the report summarizes the results by stating that among undergraduates (~45% response rate), &#8220;a majority indicated support for the goals of the grading policy, but expressed strongly negative views on the policy&#8217;s implementation, effectiveness, and influence on their academic experience at Princeton.&#8221; It includes one student&#8217;s response about a professor changing a 91 on an exam to an 88, and another about a professor who announced that only 3 of the 11 students in a class would receive A&#8217;s. Students criticized the policy for incentivizing competition and even sabotage, and they blamed it for negatively impacting their futures with respect to medical school admissions and scholarships.</p><p>Faculty sentiment (~50% response rate) was &#8220;roughly equal on both sides of the question,&#8221; though &#8220;the humanists were more strongly opposed to the policy than were the natural scientists.&#8221; And public sentiment (primarily alumni/parents) was &#8220;strongly in favor of the goals of the grading policy, but there was an almost equally strong belief that it has been ineffective.&#8221;</p><p>Near the end, the report discusses the committee&#8217;s attempts at independently studying the side effects of the 35% policy along four dimensions:</p><ol><li><p><strong>&#8220;Anxiety among the students&#8221;:</strong> The committee &#8220;received no hard evidence with which to substantiate absolutely that student anxiety has increased as a direct result of the grading policy,&#8221; but they &#8220;did receive considerable evidence to support the argument, unsurprisingly, that grades, anxiety about grades, and students&#8217; sense of psychological well-being (or lack thereof) are closely related.&#8221;</p></li><li><p><strong>&#8220;Competitiveness outside Princeton&#8221;:</strong> &#8220;As far as graduate school is concerned, it is not evident that Princeton&#8217;s grading policy has any effect.&#8221; Regarding medical school specifically, the committee was presented with &#8220;evidence that our grading policy does not measurably affect our students&#8217; frankly remarkable success.&#8221; Similarly, the authors of the report did not find compelling evidence to support the idea that the grading policy was meaningfully reducing students&#8217; chances at fellowships or jobs. (One exception was ROTC, which ranks students nationally based on their GPA and other factors.)</p></li><li><p><strong>&#8220;Admissions yield&#8221;:</strong> The authors of the report heard that &#8220;prospective students and their parents see the numerical targets as inflexible&#8221; and &#8220;removing the numerical targets would go a long way towards alleviating these concerns.&#8221; Also, &#8220;[c]oaches find the perception of the grading policy a significant obstacle to recruitment, making it more difficult for them to attract the best student-athletes to Princeton.&#8221;</p></li><li><p><strong>&#8220;Impact on freshmen&#8221;:</strong> The report considers the potential impact of the grading policy on freshmen in particular: &#8220;Arguably, part of the &#8216;culture shock&#8217; in coming to Princeton is that the average GPA for freshmen is 3.24, a value significantly lower than what most students earned in high school.&#8221; The authors considered pass/fail grading for freshmen, but recognized potential complications and concluded &#8220;that the issue was beyond the scope of the committee.&#8221;</p></li></ol><p>On October 6, 2014, <a href="https://www.princeton.edu/news/2014/10/06/princeton-faculty-approves-changes-grading-policy">the faculty removed</a> the target of 35% A-grades.</p><h2>The Situation Today</h2><p>A Princeton <a href="https://drive.google.com/file/d/1zdmbmlH5yD6262vcb6WUKj4wJbmyxJWk/view">report</a> on AY 2024-2025 from <a href="https://www.dailyprincetonian.com/article/2025/12/princeton-news-adpol-dean-michael-gordin-continued-grade-inflation-overuse-of-a-plus-faculty-meeting">earlier this month</a> states the following:</p><blockquote><p>In 2005, 39.3% of course grades were A-range (A- through A+); twenty years later, 66.7% of course grades land within the A-range. Even in introductory 100-200 level classes &#8212; where one might expect to see a broader distribution of grades &#8212; 62.6% of grades last year were A-range; only in Division III (the natural sciences) do fewer than 50% of the grades in introductory courses fall within the A-range. In more specialized 300-400 level classes across all four divisions, the percentage of A-range grades has climbed to 71.7%.</p></blockquote><p>And here&#8217;s a chart with more details:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!pCtg!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb07be8cb-5d67-44fd-a07c-1ac4077af2c9_901x675.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!pCtg!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb07be8cb-5d67-44fd-a07c-1ac4077af2c9_901x675.png 424w, https://substackcdn.com/image/fetch/$s_!pCtg!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb07be8cb-5d67-44fd-a07c-1ac4077af2c9_901x675.png 848w, https://substackcdn.com/image/fetch/$s_!pCtg!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb07be8cb-5d67-44fd-a07c-1ac4077af2c9_901x675.png 1272w, https://substackcdn.com/image/fetch/$s_!pCtg!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb07be8cb-5d67-44fd-a07c-1ac4077af2c9_901x675.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!pCtg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb07be8cb-5d67-44fd-a07c-1ac4077af2c9_901x675.png" width="901" height="675" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b07be8cb-5d67-44fd-a07c-1ac4077af2c9_901x675.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:675,&quot;width&quot;:901,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:216947,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://teachingcs.substack.com/i/177430850?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb07be8cb-5d67-44fd-a07c-1ac4077af2c9_901x675.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!pCtg!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb07be8cb-5d67-44fd-a07c-1ac4077af2c9_901x675.png 424w, https://substackcdn.com/image/fetch/$s_!pCtg!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb07be8cb-5d67-44fd-a07c-1ac4077af2c9_901x675.png 848w, https://substackcdn.com/image/fetch/$s_!pCtg!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb07be8cb-5d67-44fd-a07c-1ac4077af2c9_901x675.png 1272w, https://substackcdn.com/image/fetch/$s_!pCtg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb07be8cb-5d67-44fd-a07c-1ac4077af2c9_901x675.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">A chart from a <a href="https://drive.google.com/file/d/1zdmbmlH5yD6262vcb6WUKj4wJbmyxJWk/view">Princeton report</a> for AY 2024-2025.</figcaption></figure></div><p>The report does not directly express concern about the percentage of A-grades; it mostly focuses on reducing the percentage of A+ grades. For context:</p><blockquote><p>While the GPA and percentage of A-range grades are higher in Division I (the humanities) and Division II (the social sciences), A+ grades are more commonly given in Division III (natural sciences) and Division IV (engineering). This is especially true in upper-level STEM courses: in 300-400 level courses, A+ made up 4.7% of engineering grades and 6.5% of natural sciences grades. Among upper-level humanities courses only 2.9% of grades are A+, compared to 3.5% of upper-level social science course grades.</p></blockquote><p>The report suggests that this difference exists because some faculty &#8220;feel strongly that given the number of A-range grades that are awarded in our current context, the A+ is a necessary tool to differentiate performance.&#8221; It then essentially accuses them of violating the Princeton &#8220;Rules and Procedures of the Faculty,&#8221; which state that the A+ &#8220;should be regarded as an exceptional grade reserved for work of extraordinary merit.&#8221; More specifically, it states (and underlines) the following: &#8220;faculty practice does not currently reflect the stated policy.&#8221;</p><p>In response to what it sees as unacceptably high percentages of A+ grades, the report states that the College has removed A+ from the default grading scale on Canvas, and it implicitly endorses the idea of having department chairs approve A+ grades. If the percentage of A+ grades continues to be a problem, maybe there should be a limit for each department&#8230;</p><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-1" href="#footnote-anchor-1" class="footnote-number" contenteditable="false" target="_self">1</a><div class="footnote-content"><p>I couldn&#8217;t find the original proposal itself; most of the information in this post is taken from other news articles and reports released by Princeton.</p><p></p></div></div>]]></content:encoded></item><item><title><![CDATA[(Un)productive Failure (and Success)]]></title><description><![CDATA[Four ways to teach]]></description><link>https://teachingcs.substack.com/p/unproductive-failure-and-success</link><guid isPermaLink="false">https://teachingcs.substack.com/p/unproductive-failure-and-success</guid><dc:creator><![CDATA[Kevin Sun]]></dc:creator><pubDate>Thu, 02 Oct 2025 13:27:29 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!stkp!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F770de93a-a07f-4bfd-904c-f0dd7568e0f8_4000x3000.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>The conditions that maximize short-term learning are not always the same as those that maximize long-term learning. So, when presenting new information, there are two considerations: productivity (i.e., long-term benefits) and success/failure (i.e., the short-term result). These four combinations are explored in &#8220;Examining Productive Failure, Productive Success, Unproductive Failure, and Unproductive Success in Learning,&#8221;a <a href="https://www.tandfonline.com/doi/full/10.1080/00461520.2016.1155457">2016 article</a> by Manu Kapur published in <em>Educational Psychologist</em>. (This article was cited by a paper from SIGCSE 2025 that I covered in <a href="https://teachingcs.substack.com/p/productive-failure">another post</a> earlier this year.)</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!stkp!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F770de93a-a07f-4bfd-904c-f0dd7568e0f8_4000x3000.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!stkp!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F770de93a-a07f-4bfd-904c-f0dd7568e0f8_4000x3000.jpeg 424w, https://substackcdn.com/image/fetch/$s_!stkp!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F770de93a-a07f-4bfd-904c-f0dd7568e0f8_4000x3000.jpeg 848w, https://substackcdn.com/image/fetch/$s_!stkp!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F770de93a-a07f-4bfd-904c-f0dd7568e0f8_4000x3000.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!stkp!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F770de93a-a07f-4bfd-904c-f0dd7568e0f8_4000x3000.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!stkp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F770de93a-a07f-4bfd-904c-f0dd7568e0f8_4000x3000.jpeg" width="1456" height="1092" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/770de93a-a07f-4bfd-904c-f0dd7568e0f8_4000x3000.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1092,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1355953,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://teachingcs.substack.com/i/174694053?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F770de93a-a07f-4bfd-904c-f0dd7568e0f8_4000x3000.jpeg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!stkp!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F770de93a-a07f-4bfd-904c-f0dd7568e0f8_4000x3000.jpeg 424w, https://substackcdn.com/image/fetch/$s_!stkp!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F770de93a-a07f-4bfd-904c-f0dd7568e0f8_4000x3000.jpeg 848w, https://substackcdn.com/image/fetch/$s_!stkp!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F770de93a-a07f-4bfd-904c-f0dd7568e0f8_4000x3000.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!stkp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F770de93a-a07f-4bfd-904c-f0dd7568e0f8_4000x3000.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Photo by <a href="https://unsplash.com/@tomcrewceramics?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Tom Crew</a> on <a href="https://unsplash.com/photos/white-garlic-on-gray-table-yKmBMyxndsI?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Unsplash</a></figcaption></figure></div><h3>Unproductive Failure</h3><p>Kapur starts by criticizing the &#8220;obvious low-hanging fruit&#8221; of unguided problem solving (or discovery learning) as unproductive failure. Many studies have shown that asking students to solve a new problem without guidance generally results in failure to learn. As Kapur puts it, &#8220;Theoretically and empirically, there is no doubt about the superiority of direct instruction over unguided problem solving.&#8221;</p><p>But he quickly adds that this does not imply that maximal guidance is the most effective way to teach, citing a few articles that demonstrate the effectiveness of guided discovery over direct instruction. Along these lines, Kapur states several times that we should pay more attention to the design space between pure discovery learning and heavily guided direct instruction: &#8220;one does not have to swing from one extreme to the other.&#8221;</p><h3>Productive Failure</h3><p>He then moves on to productive failure, which &#8220;involves two phases: a problem-solving phase followed by a consolidation (or instruction) phase,&#8221; and he lists various studies that show &#8220;generating solutions to novel problems <em>prior</em> to instruction can help students learn better from the instruction.&#8221; Interestingly, in the studies that he describes in more detail, the students who attempted to solve a new problem before receiving instruction did not exhibit better procedural understanding, but they did exhibit better conceptual understanding than those who solved problems after receiving instruction. He provides three interdependent mechanisms that underpin these effects:</p><ol><li><p>When students attempt to solve a new problem, they must draw on their prior knowledge and consider how it is relevant to the problem.</p></li><li><p>This activation of prior knowledge allows students to notice the inconsistencies and limits of their understanding. They can compare and contrast their solutions and the correct solutions, which helps them &#8220;better encode critical features of the new concept.&#8221;</p></li><li><p>Problem solving can increase students&#8217; agency, engagement, and motivation to learn.</p></li></ol><h3>Productive Success</h3><p>Kapur then discusses PBL, or <a href="https://www.tandfonline.com/doi/abs/10.1080/00461520701263368">problem-based learning</a>, as an &#8220;established and well-researched example of productive success.&#8221; In PBL, students attempt to solve new problems as they are guided by teachers who ask questions and provide hints. This approach &#8220;situates student learning in collaborative and authentic problem solving tasks and activities,&#8221; which allows them to &#8220;learn the targeted domain knowledge, as well as collaboration, communication, and reflection skills.&#8221;</p><p>He summarizes the results of multiple studies as follows: &#8220;Compared to traditional direct instruction, PBL may have a null or an even negative effect on the acquisition of basic knowledge but a positive effect on conceptual understanding and transfer.&#8221; (One <a href="https://psycnet.apa.org/record/2003-07005-004">meta-analysis</a> found that direct instruction was more effective than PBL at basic knowledge acquisition, but this effect disappeared over time.)</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://teachingcs.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://teachingcs.substack.com/subscribe?"><span>Subscribe now</span></a></p><h3>So which is more effective?</h3><p>Productive failure (i.e., have students attempt to solve new problems without instruction) and productive success (i.e., guide students as they solve new problems) can both be effective ways to teach, but which is more effective? Kapur couldn&#8217;t find any studies that provided a direct comparison between productive failure and productive success, but he describes <a href="https://link.springer.com/article/10.1007/s11251-010-9144-3">one of his own studies</a> where students were assigned to one of three conditions: productive failure, direct instruction, or guided problem-solving. Unsurprisingly, the students in the third group were more successful at solving the problems than students in the productive failure group. But on the posttest after instruction, the students assigned to productive failure performed the best. (There were no significant differences between the other two groups.)</p><p>He also cites <a href="https://psycnet.apa.org/record/2013-22100-001">Loibl and Rummel</a>, who conducted a similar study and found (according to Kapur) &#8220;no significant difference between the guided and unguided problem-solving conditions on procedural or conceptual understanding.&#8221; Kapur concludes this section by saying that more research is needed.</p><h3>And what about &#8220;unproductive success&#8221;?</h3><p>We&#8217;ve seen unproductive failure, productive failure, and productive success, so one possibility remains: unproductive success. In the article&#8217;s introduction, Kapur states that &#8220;drill-and-practice&#8221; and &#8220;rote memorization&#8221; fall into this category, and adds the following:</p><blockquote><p>A classic example comes from Miller and Gildea&#8217;s (<a href="https://psycnet.apa.org/record/1988-26144-001">1987</a>) work on vocabulary learning. They described how children who learned the meaning and use of words mainly from dictionary definitions are often not able transfer [sic] it appropriately to practice. For example, even though they may be able to state the meaning of the word <em>correlate</em>, how they use the word in practice (e.g., <em>Me and my parents correlate, because without them I wouldn&#8217;t be here</em>) may be completely meaningless.</p></blockquote><p>Later in the article, Kapur is tempted to categorize direct instruction as unproductive success as well, but he thinks it might be too harsh due to its &#8220;consistently superior performance against discovery learning.&#8221; On the other hand, direct instruction generally underperforms when compared productive failure/success as described above, and there is &#8220;further strong experimental evidence suggesting that direct instruction does not fare well over the longer term.&#8221; A final drawback of direct instruction is that it &#8220;may actually constrain search for novel solutions, which is a necessary component of inventiveness and creativity.&#8221; Explicitly telling students what to do &#8220;comes at the expense of limiting exploration and search for new solutions.&#8221;</p><h3>Discussion</h3><p>As mentioned earlier, the article doesn&#8217;t declare a winner between productive failure and productive success. Instead, near the end, Kapur ties the two approaches together by pointing out that scaffolding is necessary for productive success, and constructing effective scaffolding requires instructors to understand students&#8217; limits by observing them fail to solve new problems. Thus, Kapur argues, &#8220;it logically follows that productive success could well be conceived as a design that embodies iterative cycles of productive failure.&#8221; Personally, I think that even if tons of studies find that some method of instruction is more effective than another, perhaps giving students the opportunity to experience a variety of pedagogical approaches is worthwhile anyway.</p>]]></content:encoded></item><item><title><![CDATA[Rawls vs. Einstein]]></title><description><![CDATA[Why some debates never end]]></description><link>https://teachingcs.substack.com/p/rawls-vs-einstein</link><guid isPermaLink="false">https://teachingcs.substack.com/p/rawls-vs-einstein</guid><dc:creator><![CDATA[Kevin Sun]]></dc:creator><pubDate>Tue, 01 Jul 2025 19:41:04 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!I747!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff47a343d-4ed8-46fe-b082-b80534c3fb73_540x432.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In 1975, K. Patricia Cross <a href="https://onlinelibrary.wiley.com/doi/10.1002/he.36919771703">mailed a questionnaire</a> about teaching to faculty members at the University of Nebraska. She reports, &#8220;An amazing 94 percent rate themselves as above-average teachers, and 68 percent rank themselves in the top quarter on teaching performance.&#8221;</p><p>This finding is an amusing example of <a href="https://en.wikipedia.org/wiki/Illusory_superiority">illusory superiority</a>, but it raises the question of what it means for one teacher to be &#8220;better&#8221; than another. Exam scores, student evaluations, and peer observations only capture part of the short-term picture, much less the entire picture. Still, the complexity of approaches and goals doesn&#8217;t imply that nothing can be done; <a href="https://news.gallup.com/poll/649385/americans-view-education-improves-2023-low.aspx">most Americans agree</a> that the United States education system could be better.</p><p>So what does &#8220;better&#8221; really mean? The field of education is full of debates just about pedagogical practices alone, including the <a href="https://journals.sagepub.com/doi/10.1177/1529100618772271">reading wars</a>, <a href="https://en.wikipedia.org/wiki/Math_wars">math wars</a>, and <a href="https://www.chronicle.com/article/which-is-better-active-learning-or-lecture-its-not-so-simple">active learning vs. lecture</a>. In this post, I&#8217;d like to humbly illustrate one potential reason that these debates continue to rage on: different teachers have different goals. A common one is raising the class average on the final exam, but there are many ways to do this, and there are many other goals.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://teachingcs.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://teachingcs.substack.com/subscribe?"><span>Subscribe now</span></a></p><h3>Situation 1: John the Rawlsian</h3><p>John is about to teach a class of 15 second graders. There&#8217;s going to be a standardized test at the end of the year, and John&#8217;s annual raise depends on his students&#8217; scores on said test. In particular, his raise is proportional to the lowest score earned among the 15 students. Thus, he wants to <a href="https://en.wikipedia.org/wiki/Justice_as_Fairness#Difference_principle">maximize that minimum</a> score, whatever value it winds up being.</p><p>Even without the raise, John&#8217;s goal would be the same. He teaches reading, a subject he loves and wants everyone else to love, so he&#8217;s <a href="https://teachingcs.substack.com/p/increasing-intrinsic-motivation">intrinsically motivated</a> to help his students, especially the ones who are experiencing greater difficulties. He believes that no child should be <a href="https://en.wikipedia.org/wiki/No_Child_Left_Behind_Act">left behind</a>.</p><p>On the first day of school, eager to get started, John asks every student to take a practice test. Then, he devotes all of his attention to the lowest-scoring student while everyone else does some activity. After an hour of private tutoring, he&#8217;s pretty sure that this student isn&#8217;t the lowest-scoring student anymore, so he turns his attention to the new lowest-scoring student. After tutoring that student for a while, he switches to someone else (possibly the first student), and so on, for the rest of the year.</p><h3>Situation 2: Albert the Einsteinian</h3><p>While John&#8217;s bouncing from one student to another, Albert is teaching a 1-credit graduate seminar. But his motivation is very different: Albert wants to hire someone to join his fancy physics lab. His research requires deep intuition about dark matter along with extraordinary mathematical brilliance. Albert&#8217;s goal is to get tenure!</p><p>Like John, Albert gives a test on the first day, but his test is completely open-ended, and none of the problems have definitive solutions. In fact, even the problem statements are so unclear that most of the students flounder, but Albert doesn&#8217;t care. He scans their submissions for what he considers signs of a potential superstar. He looks for something like &#8220;creativity,&#8221; and he feels no need to create a rubric (unless it becomes required for tenure).</p><p>After scanning, judging, and conducting a few interviews, Albert picks <a href="https://en.wikipedia.org/wiki/Nathan_Rosen#Work_with_Einstein">Nathan</a> as his prot&#233;g&#233;. They talk about physics for twelve hours a week. During class, Albert and Nathan continue their discussions while the other students aimlessly scroll on their laptops. One student wishes that he had been chosen instead of Nathan, but otherwise, everyone&#8217;s happy with this arrangement.</p><h3>Whose approach is &#8220;better&#8221;?</h3><p>John and Albert each pay attention to one student at a time, but otherwise, their approaches are polar opposites: John&#8217;s maximizes the minimum according to a standardized test, while Albert&#8217;s maximizes the maximum according to his personal judgment. Their goals are so different that I don&#8217;t think it makes sense to say that one approach is &#8220;better&#8221; than the other. Both approaches (perhaps with less neglect of the non-lowest-scoring and non-Nathan students) make sense for their respective situations.</p><p>I am not a John, an Albert, or an education researcher. But based on what I&#8217;ve seen, most papers in education would be more convincing if they explicitly addressed, or at least acknowledged, the fact that different teachers are in different situations. There are too many goals, constraints, and personalities out there for a one-size-fits-all approach to be optimal for everyone.</p><p>Efforts at improvement might be more fruitful if reformists reduced their scope and worked more closely with individual teachers&#8217; situations. My suspicion is that most faculty would be more convinced to try something new if they heard about a positive experience from a close colleague than if they stumbled upon a meta-analysis online.</p><h3>Same averages, different distributions</h3><p>John and Albert represent extreme cases, but even when two teachers set and achieve the same goal, the details can differ in important ways. For example, one way to raise the average exam score is to employ a pedagogical technique with all students. (This, understandably, seems to be the default approach in the education literature.) Another way is John&#8217;s approach of focusing on the lowest-scoring student. A third way, closer to Albert&#8217;s, is helping the high-scoring students achieve perfect scores.</p><p>The details of <em>exactly how</em> a technique raises exam scores are important, especially to a skeptical teacher who is considering adopting the technique but wants to see more data. If their mindset is more like John&#8217;s, but the proposed intervention is more like Albert&#8217;s, they&#8217;d be reluctant to try it out.</p><p>Anyway, I think this is starting to sound too technical&#8212;let&#8217;s just take a look at the figure below. Which is &#8220;better,&#8221; Section 1 (red) or 2 (blue)? Even though their averages are identical, John would prefer Section 1, while Albert would prefer Section 2. Their standard deviations are different, but my point is that reasonable people can disagree on which distribution is &#8220;better.&#8221;</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!I747!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff47a343d-4ed8-46fe-b082-b80534c3fb73_540x432.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!I747!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff47a343d-4ed8-46fe-b082-b80534c3fb73_540x432.png 424w, https://substackcdn.com/image/fetch/$s_!I747!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff47a343d-4ed8-46fe-b082-b80534c3fb73_540x432.png 848w, https://substackcdn.com/image/fetch/$s_!I747!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff47a343d-4ed8-46fe-b082-b80534c3fb73_540x432.png 1272w, https://substackcdn.com/image/fetch/$s_!I747!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff47a343d-4ed8-46fe-b082-b80534c3fb73_540x432.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!I747!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff47a343d-4ed8-46fe-b082-b80534c3fb73_540x432.png" width="724" height="579.2" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f47a343d-4ed8-46fe-b082-b80534c3fb73_540x432.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:432,&quot;width&quot;:540,&quot;resizeWidth&quot;:724,&quot;bytes&quot;:16432,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://teachingcs.substack.com/i/167002388?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff47a343d-4ed8-46fe-b082-b80534c3fb73_540x432.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!I747!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff47a343d-4ed8-46fe-b082-b80534c3fb73_540x432.png 424w, https://substackcdn.com/image/fetch/$s_!I747!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff47a343d-4ed8-46fe-b082-b80534c3fb73_540x432.png 848w, https://substackcdn.com/image/fetch/$s_!I747!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff47a343d-4ed8-46fe-b082-b80534c3fb73_540x432.png 1272w, https://substackcdn.com/image/fetch/$s_!I747!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff47a343d-4ed8-46fe-b082-b80534c3fb73_540x432.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Synthetic exam score distributions for two course sections with identical averages but different distributions.</figcaption></figure></div><p>Since both sections experienced significant improvement from the baseline, the distinction between their distributions might seem unimportant. But every decision made by the teacher nudges the distribution in some direction. For example, many courses have crowded office hours&#8212;should the policy be anything other than &#8220;first-come, first-served&#8221;? In response to this problem, Mark Guzdial, one of the most prominent researchers in computing education, <a href="https://x.com/guzdial/status/1123933823534882816">explicitly suggests</a>, &#8220;Teach to the bottom third of the distribution.&#8221;</p><p>In contrast, I&#8217;m not aware of anyone who explicitly advocates for teaching to the top third of the distribution. But as an undergraduate, I felt that some of my math instructors (implicitly) subscribed to that philosophy. They lectured at their own brisk pace, and everyone else&#8217;s job was to try to keep up. Many (perhaps most, including me) got lost, but maybe the top third (or less) learned a lot from those lectures.</p><h3>Grades aren&#8217;t everything</h3><p>All of this discussion about distributions is based on the assumption that we can capture the effect of a course on a student in a single number. But there are many objectives that, I suspect, a substantial number of people would like to (possibly implicitly) maximize:</p><ul><li><p>Broad coverage of a <a href="https://teachingcs.substack.com/p/perceived-obligations">large number</a> of topics</p></li><li><p>In-depth coverage of a small number of topics</p></li><li><p>Amount of time spent on non-teaching activities</p></li><li><p>Exam scores, difficulty of exams</p></li><li><p>Student and/or peer evaluations</p></li><li><p>Job and/or graduate school placement rate</p></li><li><p>Students&#8217; future incomes</p></li><li><p>Alumni donations to the school</p></li><li><p><a href="https://teachingcs.substack.com/p/delbancos-three-cases-for-college">Civic virtue</a> (as difficult as it is to quantify), the joy of learning and discovery, self-actualization, etc.</p></li></ul><p>These objectives often conflict, so teachers constantly face tradeoffs. For example, a friend once told me about a course they took that included a special project. The instructor had spent a lot of energy designing it, and student feedback was largely positive. Unfortunately, some students found parts of the project unappealing, especially since they were tangential to the core material.</p><p>So is it &#8220;better&#8221; for an instructor to do something if 90% of students love it but 10% of students hate it? It&#8217;s hard to say. The same goes for John the Rawlsian and Albert the Einsteinian&#8212;there&#8217;s no single right approach because there&#8217;s no single best objective. Most teachers might think they&#8217;re &#8220;better&#8221; than most other teachers, but often they&#8217;re simply aiming at different targets.</p>]]></content:encoded></item><item><title><![CDATA[Perceived Obligations]]></title><description><![CDATA[An obstacle to active learning]]></description><link>https://teachingcs.substack.com/p/perceived-obligations</link><guid isPermaLink="false">https://teachingcs.substack.com/p/perceived-obligations</guid><dc:creator><![CDATA[Kevin Sun]]></dc:creator><pubDate>Mon, 02 Jun 2025 17:02:37 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!BWWP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fb3c471-3db2-4458-84e2-b636d331cc23_6000x4000.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>I&#8217;ve been thinking about active learning strategies for teaching algorithms. The course is typically offered by a computer science department, but I think of it as a math course in spirit. So a few weeks ago, I Googled &#8220;active learning proof math&#8221; and found a paper published in <em>Educational Studies in Mathematics</em> earlier this year: &#8220;<a href="https://link.springer.com/article/10.1007/s10649-024-10381-x">Collaborating with mathematicians to use active learning in university mathematics courses: the importance of attending to mathematicians&#8217; obligations</a>&#8221; by Estrella Johnson, Keith Weber, Timothy Patrick Fukawa-Connelly, Hamidreza Mahmoudian, and Lisa Carbone. (Coincidentally, Weber and Carbone work at Rutgers, which I attended as an undergraduate.)</p><p>The paper starts by pointing out a paradox of sorts: Many mathematicians say they believe that active learning is more effective than traditional lecturing while rarely incorporating active learning in their courses. As the authors put it, &#8220;This juxtaposition is curious and raises many possible explanations.&#8221; For example, maybe mathematicians think that they&#8217;re using active learning strategies when they&#8217;re really not, or maybe they don&#8217;t have enough time to modify their teaching strategies.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!BWWP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fb3c471-3db2-4458-84e2-b636d331cc23_6000x4000.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!BWWP!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fb3c471-3db2-4458-84e2-b636d331cc23_6000x4000.jpeg 424w, https://substackcdn.com/image/fetch/$s_!BWWP!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fb3c471-3db2-4458-84e2-b636d331cc23_6000x4000.jpeg 848w, https://substackcdn.com/image/fetch/$s_!BWWP!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fb3c471-3db2-4458-84e2-b636d331cc23_6000x4000.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!BWWP!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fb3c471-3db2-4458-84e2-b636d331cc23_6000x4000.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!BWWP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fb3c471-3db2-4458-84e2-b636d331cc23_6000x4000.jpeg" width="1456" height="971" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6fb3c471-3db2-4458-84e2-b636d331cc23_6000x4000.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:971,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:4227924,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://teachingcs.substack.com/i/164778830?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fb3c471-3db2-4458-84e2-b636d331cc23_6000x4000.jpeg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!BWWP!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fb3c471-3db2-4458-84e2-b636d331cc23_6000x4000.jpeg 424w, https://substackcdn.com/image/fetch/$s_!BWWP!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fb3c471-3db2-4458-84e2-b636d331cc23_6000x4000.jpeg 848w, https://substackcdn.com/image/fetch/$s_!BWWP!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fb3c471-3db2-4458-84e2-b636d331cc23_6000x4000.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!BWWP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fb3c471-3db2-4458-84e2-b636d331cc23_6000x4000.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Photo by <a href="https://unsplash.com/@moritz_photography?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Moritz Kindler</a> on <a href="https://unsplash.com/photos/analog-clock-mGFHA_0TWnA?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Unsplash</a></figcaption></figure></div><p>The authors&#8217; thesis, based on work by <a href="https://ebooks.aera.net/HRTCH17">Chazan et al. (2016)</a>, is that mathematicians&#8217; <em>perceived obligations</em> prevent them from incorporating active learning strategies. More specifically, the authors believe that many mathematicians think there&#8217;s not enough time for active learning because, for various reasons, they feel obligated to cover a certain (large) set of topics:</p><blockquote><p>Content coverage was reflected as an obligation to their institution (e.g., the department chair would be unhappy if different sections of the same course covered different topics), their students (e.g., students would be unprepared for graduate school if relevant content was not covered), and their discipline (e.g., a course that did not cover the Jordan Canonical Form theorems would not be a legitimate linear algebra course)&#8230;<br><br>What we wish to emphasize is how the obligation to cover content limited the active learning strategies that the mathematicians were willing to use. A primary consideration that was continuously raised was how mathematicians felt constrained by time due to the challenge of covering course content&#8230;</p></blockquote><p>To better understand the situation and potential solutions, the authors collaborated with three mathematicians teaching a proof-based linear algebra course at Rutgers.<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a> Their collective goal was to design active learning strategies that met everyone&#8217;s interests and needs.</p><p>In the pre-interviews, all three mathematicians expressed confidence in the potential benefits of active learning; when asked about it, Mathematician A even stated, &#8220;I think the students learn better. I think that&#8217;s been established. I have no doubt about it.&#8221; But they also thought that active learning would take too much time. As Mathematician B stated, &#8220;We want people to think. Thinking will not take a very short time to actually finish. That is the main problem.&#8221;</p><p>In response to their concerns, the authors proposed using &#8220;exit tickets,&#8221; i.e., at the end of class, the mathematicians would ask students to submit a response to a question. The mathematicians, believing that the exit tickets would be more useful if the students had more time to digest the material, instead asked for a response at the beginning of the next class. Even though they thought the activity was beneficial, the experience confirmed their concern that active learning would take too much time. Mathematician C said that providing answers to these &#8220;launch activities&#8221; took over 20 minutes.</p><p>So the education researchers and the mathematicians negotiated and settled on the following guidelines: the question should be in a multiple-choice (or true/false) format, align with the flow of the lecture, be short and easy to understand, and require a response from every student. By asking questions that they had planned to answer anyway, the mathematicians did not need to spend as much time as they did with the exit (or entrance) tickets. Fortunately, they still thought the activity was beneficial, and all three mathematicians said they incorporated, or planned to incorporate, more active learning in their subsequent teaching.</p><p>In the end, the sample size was very small, there wasn&#8217;t even an experiment, and I don&#8217;t think any data was collected, but none of that is the point. Instead, I think the paper nicely captures my general impression of mathematics education: many instructors believe that there are simply too many topics that they need to cover for students to spend time pondering during class. The paper doesn&#8217;t imply that these concerns are illegitimate; in fact, it suggests to education researchers that they &#8220;interact with mathematicians in a respectful manner and consider their goals and needs.&#8221; Balancing breadth (e.g., fast lectures on many topics) and depth (e.g., active learning for fewer topics) is always a challenge, but the paper serves as a reminder that perhaps sometimes, we can improve in one dimension without sacrificing the other.</p><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-1" href="#footnote-anchor-1" class="footnote-number" contenteditable="false" target="_self">1</a><div class="footnote-content"><p>When I took this course, the set of covered topics was actually quite small. The instructor was frustrated by our (i.e., the students&#8217;) proof-writing abilities, so we spent a lot of time on topics that should have been covered in the prerequisite courses.</p></div></div>]]></content:encoded></item><item><title><![CDATA[Productive Failure]]></title><description><![CDATA[HRV and the potential benefits of increased cognitive load]]></description><link>https://teachingcs.substack.com/p/productive-failure</link><guid isPermaLink="false">https://teachingcs.substack.com/p/productive-failure</guid><dc:creator><![CDATA[Kevin Sun]]></dc:creator><pubDate>Wed, 30 Apr 2025 16:25:40 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8353ac1-ffab-4b92-aafb-5e7ce6ecf1e6_735x797.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Productive Failure (PF) &#8220;is an instructional approach where students initially engage with problems targeting concepts they have not yet learned, followed by a phase of consolidation where these concepts are taught,&#8221; as put by Hussel Suriyaarachchi, Paul Denny, and Suranga Nanayakkara in their <a href="https://sigcse2025.sigcse.org/track/sigcse-ts-2025-Papers#event-overview">SIGCSE 2025</a> paper, &#8220;<a href="https://arxiv.org/abs/2411.11227">Investigating the Use of Productive Failure as a Design Paradigm for Learning Introductory Python Programming</a>&#8221; (&#8220;the paper&#8221; in the rest of this post).</p><p>In contrast, under the more traditional approach of Direct Instruction (DI), students are taught a concept <em>before</em> they attempt to solve a problem using that concept. Of course, people debate over which approach is more effective. The paper <a href="https://www.tandfonline.com/doi/abs/10.1080/10508406.2011.591717">cites</a> <a href="https://journals.sagepub.com/doi/10.3102/00346543211019105">some</a> <a href="https://journals.sagepub.com/doi/10.2190/ET.42.3.b">evidence</a> for PF but also notes that &#8220;considering the infancy of PF in computing education and its known potential for robust learning, there is a need for more empirical work to reliably determine its efficacy.&#8221;</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://teachingcs.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://teachingcs.substack.com/subscribe?"><span>Subscribe now</span></a></p><p>The paper itself contains some experimental evidence in favor of PF, but unfortunately, the number of participants was quite small. Basically, there were 16 students taking a CS1 course, and each student was randomly assigned to either the DI group (<em>n = 9</em>) or the PF group (<em>n = 7</em>). In both groups, students did the following (see figure below):</p><ol><li><p>Heart Rate Variability (HRV) baseline (more on that later),</p></li><li><p>a lesson &#8212; for the DI group: a 15-minute instructional unit followed a 30-minute programming task (&#8220;Weather&#8221;); for the PF group: the same thing, but in reverse order,</p></li><li><p>a programming task (&#8220;Heart-rate&#8221;) isomorphic to the one from Step 2,</p></li><li><p>(two weeks later) the same task from Step 3,</p></li><li><p>another lesson, in the format they didn&#8217;t experience in Step 2, and </p></li><li><p>a survey about their experiences with DI and PF.</p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!c0QJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9821b1e-07a3-42f9-b8f3-8aa50130436c_1288x617.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!c0QJ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9821b1e-07a3-42f9-b8f3-8aa50130436c_1288x617.png 424w, https://substackcdn.com/image/fetch/$s_!c0QJ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9821b1e-07a3-42f9-b8f3-8aa50130436c_1288x617.png 848w, https://substackcdn.com/image/fetch/$s_!c0QJ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9821b1e-07a3-42f9-b8f3-8aa50130436c_1288x617.png 1272w, https://substackcdn.com/image/fetch/$s_!c0QJ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9821b1e-07a3-42f9-b8f3-8aa50130436c_1288x617.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!c0QJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9821b1e-07a3-42f9-b8f3-8aa50130436c_1288x617.png" width="1288" height="617" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c9821b1e-07a3-42f9-b8f3-8aa50130436c_1288x617.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:617,&quot;width&quot;:1288,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:97585,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://teachingcs.substack.com/i/162494477?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9821b1e-07a3-42f9-b8f3-8aa50130436c_1288x617.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!c0QJ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9821b1e-07a3-42f9-b8f3-8aa50130436c_1288x617.png 424w, https://substackcdn.com/image/fetch/$s_!c0QJ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9821b1e-07a3-42f9-b8f3-8aa50130436c_1288x617.png 848w, https://substackcdn.com/image/fetch/$s_!c0QJ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9821b1e-07a3-42f9-b8f3-8aa50130436c_1288x617.png 1272w, https://substackcdn.com/image/fetch/$s_!c0QJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9821b1e-07a3-42f9-b8f3-8aa50130436c_1288x617.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 2 from <a href="https://arxiv.org/abs/2411.11227">the paper</a>.</figcaption></figure></div><p>The results are summarized in the table below:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!y_Z7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F05591c7f-aece-4f3c-b506-da7ac564276c_977x292.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!y_Z7!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F05591c7f-aece-4f3c-b506-da7ac564276c_977x292.png 424w, https://substackcdn.com/image/fetch/$s_!y_Z7!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F05591c7f-aece-4f3c-b506-da7ac564276c_977x292.png 848w, https://substackcdn.com/image/fetch/$s_!y_Z7!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F05591c7f-aece-4f3c-b506-da7ac564276c_977x292.png 1272w, https://substackcdn.com/image/fetch/$s_!y_Z7!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F05591c7f-aece-4f3c-b506-da7ac564276c_977x292.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!y_Z7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F05591c7f-aece-4f3c-b506-da7ac564276c_977x292.png" width="977" height="292" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/05591c7f-aece-4f3c-b506-da7ac564276c_977x292.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:292,&quot;width&quot;:977,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:50787,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://teachingcs.substack.com/i/162494477?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F05591c7f-aece-4f3c-b506-da7ac564276c_977x292.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!y_Z7!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F05591c7f-aece-4f3c-b506-da7ac564276c_977x292.png 424w, https://substackcdn.com/image/fetch/$s_!y_Z7!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F05591c7f-aece-4f3c-b506-da7ac564276c_977x292.png 848w, https://substackcdn.com/image/fetch/$s_!y_Z7!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F05591c7f-aece-4f3c-b506-da7ac564276c_977x292.png 1272w, https://substackcdn.com/image/fetch/$s_!y_Z7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F05591c7f-aece-4f3c-b506-da7ac564276c_977x292.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Table 1 from <a href="https://arxiv.org/abs/2411.11227">the paper</a>.</figcaption></figure></div><p>The DI group (again, with the caveat that <em>n</em> is small) performed much better than the PF group on the initial task, which is unsurprising since the former received instruction before doing the task. But two weeks later, the PF group outperformed the DI group, which led the authors to posit, &#8220;By grappling with novel problem-solving tasks before receiving instruction, students may be more likely to internalise concepts and apply them effectively in the future.&#8221;</p><h3>HRV and Cognitive Load</h3><p>The authors also wanted to measure participants&#8217; <a href="https://teachingcs.substack.com/p/learning-about-learning">cognitive load</a> since &#8220;experiencing a reduced cognitive load tends to improve student learning.&#8221; To do this, they asked participants to wear a sensor on their forearm that tracked their Heart Rate Variability (HRV) throughout the experiment.<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a> According to the authors, who cite <a href="https://dl.acm.org/doi/10.1145/1864349.1864395">these</a> <a href="https://academic.oup.com/abm/article-abstract/37/2/141/4565855">two</a> papers, &#8220;HRV is a reliable marker of cognitive load, with a decrease in HRV indicating an increase in cognitive load.&#8221;</p><p>Based on the HRV data, both groups (DI and PF) experienced a reduction in cognitive load when they moved from the practice task to the programming task (see figure below). But, unsurprisingly, the PF group experienced a larger reduction than the DI group because their initial cognitive load (i.e., during the practice test) was higher.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ed8P!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8353ac1-ffab-4b92-aafb-5e7ce6ecf1e6_735x797.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ed8P!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8353ac1-ffab-4b92-aafb-5e7ce6ecf1e6_735x797.png 424w, https://substackcdn.com/image/fetch/$s_!ed8P!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8353ac1-ffab-4b92-aafb-5e7ce6ecf1e6_735x797.png 848w, https://substackcdn.com/image/fetch/$s_!ed8P!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8353ac1-ffab-4b92-aafb-5e7ce6ecf1e6_735x797.png 1272w, https://substackcdn.com/image/fetch/$s_!ed8P!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8353ac1-ffab-4b92-aafb-5e7ce6ecf1e6_735x797.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ed8P!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8353ac1-ffab-4b92-aafb-5e7ce6ecf1e6_735x797.png" width="735" height="797" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e8353ac1-ffab-4b92-aafb-5e7ce6ecf1e6_735x797.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:797,&quot;width&quot;:735,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:101276,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://teachingcs.substack.com/i/162494477?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8353ac1-ffab-4b92-aafb-5e7ce6ecf1e6_735x797.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ed8P!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8353ac1-ffab-4b92-aafb-5e7ce6ecf1e6_735x797.png 424w, https://substackcdn.com/image/fetch/$s_!ed8P!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8353ac1-ffab-4b92-aafb-5e7ce6ecf1e6_735x797.png 848w, https://substackcdn.com/image/fetch/$s_!ed8P!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8353ac1-ffab-4b92-aafb-5e7ce6ecf1e6_735x797.png 1272w, https://substackcdn.com/image/fetch/$s_!ed8P!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8353ac1-ffab-4b92-aafb-5e7ce6ecf1e6_735x797.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 3 from <a href="https://arxiv.org/abs/2411.11227">the paper</a>.</figcaption></figure></div><p>The authors&#8217; discussion of this result is interesting:</p><blockquote><p>The lowered cognitive load induced by DI and PF in the respective tasks after instruction likely contributed to the learning outcomes discussed in Section 5.1.3. Notably, students who received instruction after PF had the highest decline in cognitive load and consequently demonstrated the best overall learning performance. As hypothesised in Kapur et al.&#8217;s theory of Productive Failure, appropriately subjecting students to an initially heavy cognitive load may be fruitful for learning [<a href="https://www.tandfonline.com/doi/full/10.1080/00461520.2016.1155457">12</a>].</p></blockquote><p>When I first heard about cognitive load, my impression was that it should be minimized at all times. But unless I&#8217;m mistaken, the authors are suggesting that <em>increasing</em> students&#8217; (initial) cognitive load could be beneficial because it allows for a larger <em>reduction</em> in cognitive load. Surely, this doesn&#8217;t mean that teachers should introduce every topic by presenting a super complicated example filled with unnecessary details! But as they say, some extra load &#8220;may be fruitful.&#8221;</p><h3>Student Perceptions</h3><p>Finally, what did the students think about PF and DI? The paper states, &#8220;Despite indications supporting more robust learning with PF, sentiment was more or less evenly split between the approaches, with 9 of the 16 students choosing PF as their favoured strategy.&#8221; Some preferred the efficiency of DI (i.e., they could &#8220;reach the objective faster&#8221;) and thought it inspired confidence, while others preferred the effortful nature of PF (&#8220;try and fail was a much more effective method&#8221;) and thought it was more rewarding. Students&#8217; preferences and teaching effectiveness are not always perfectly aligned, and I think finding an appropriate balance is a perpetual challenge.</p><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-1" href="#footnote-anchor-1" class="footnote-number" contenteditable="false" target="_self">1</a><div class="footnote-content"><p>Participants wore a heart-rate sensor while doing a programming task about heart rates. Very meta!</p></div></div>]]></content:encoded></item><item><title><![CDATA[GenAI's Impact on Critical Thinking]]></title><description><![CDATA[And the importance of self-confidence]]></description><link>https://teachingcs.substack.com/p/genais-impact-on-critical-thinking</link><guid isPermaLink="false">https://teachingcs.substack.com/p/genais-impact-on-critical-thinking</guid><dc:creator><![CDATA[Kevin Sun]]></dc:creator><pubDate>Fri, 21 Feb 2025 14:52:30 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!Vzya!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b817696-4ff9-400f-ab8a-95db4c0668df_4000x2649.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>A <a href="https://www.microsoft.com/en-us/research/publication/the-impact-of-generative-ai-on-critical-thinking-self-reported-reductions-in-cognitive-effort-and-confidence-effects-from-a-survey-of-knowledge-workers/">CHI 2025 paper</a> recently <a href="https://www.reddit.com/r/technology/comments/1iphh1f/microsoft_study_finds_relying_on_ai_kills_your/">went</a> <a href="https://www.reddit.com/r/technology/comments/1im8w5j/microsoft_study_finds_ai_makes_human_cognition/">viral</a>; my summary is below:</p><blockquote><p>Researchers asked 319 knowledge workers to describe real tasks that they had completed with a GenAI tool, and how the tool affected their critical thinking. As expected, workers&#8217; confidence in AI doing the task <em>negatively</em> correlated with critical thinking, while workers&#8217; confidence in doing the task themselves and evaluating AI responses <em>positively</em> correlated with critical thinking.</p><p>Based on the workers&#8217; free-text responses, the researchers found that the main motivators for critical thinking were work quality, potential negative outcomes (e.g., getting fired), and skill development. The main inhibitors of critical thinking were workers&#8217; lack of awareness of AI limitations, low motivation, and inability to improve AI-generated output.</p><p>Accordingly, the authors suggest that AI tools should include features that encourage critical thinking, such as &#8220;allow[ing] the user to explicitly request critical thinking assistance,&#8221; &#8220;providing explanations of AI reasoning,&#8221; and &#8220;offering guided critiques.&#8221;</p></blockquote><p>In this post, instead of describing some details from the paper (as I&#8217;ve done in <a href="https://teachingcs.substack.com/p/recap-post-2023">previous</a> <a href="https://teachingcs.substack.com/p/recap-post-2024">posts</a>), I&#8217;ll simply list a few highlights and comment on them.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Vzya!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b817696-4ff9-400f-ab8a-95db4c0668df_4000x2649.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Vzya!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b817696-4ff9-400f-ab8a-95db4c0668df_4000x2649.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Vzya!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b817696-4ff9-400f-ab8a-95db4c0668df_4000x2649.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Vzya!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b817696-4ff9-400f-ab8a-95db4c0668df_4000x2649.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Vzya!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b817696-4ff9-400f-ab8a-95db4c0668df_4000x2649.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Vzya!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b817696-4ff9-400f-ab8a-95db4c0668df_4000x2649.jpeg" width="727.9999389648438" height="481.99995958936086" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3b817696-4ff9-400f-ab8a-95db4c0668df_4000x2649.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:964,&quot;width&quot;:1456,&quot;resizeWidth&quot;:727.9999389648438,&quot;bytes&quot;:1368026,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://teachingcs.substack.com/i/157572351?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b817696-4ff9-400f-ab8a-95db4c0668df_4000x2649.jpeg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Vzya!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b817696-4ff9-400f-ab8a-95db4c0668df_4000x2649.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Vzya!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b817696-4ff9-400f-ab8a-95db4c0668df_4000x2649.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Vzya!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b817696-4ff9-400f-ab8a-95db4c0668df_4000x2649.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Vzya!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b817696-4ff9-400f-ab8a-95db4c0668df_4000x2649.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Photo by <a href="https://unsplash.com/@hudsoncrafted?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Debby Hudson</a> on <a href="https://unsplash.com/photos/pile-of-books-beside-white-printer-paper-and-black-ballpoint-pen-asviIGR3CPE?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Unsplash</a></figcaption></figure></div><h3>The cost of overreliance</h3><blockquote><p>Used improperly, technologies can and do result in the deterioration of cognitive faculties that ought to be preserved. As Bainbridge [7] noted, a key irony of automation is that by mechanising routine tasks and leaving exception-handling to the human user, you deprive the user of the routine opportunities to practice their judgement and strengthen their cognitive musculature, leaving them atrophied and unprepared when the exceptions do arise.</p></blockquote><p>Similarly,</p><blockquote><p>Without regular practice in common and/or low-stakes scenarios, cognitive abilities can deteriorate over time [5], and thus create risks if high-stakes scenarios are the only opportunities available for exercising such abilities.</p></blockquote><p>I think schools are a natural environment for providing students with &#8220;routine opportunities to practice&#8221; (e.g., without AI), &#8220;low-stakes scenarios,&#8221; and constructive feedback that they might not receive outside of school. At the same time, educators need to strike a balance between pedagogical purity and pragmatism &#8212; they cannot pretend that students will always use GenAI exactly as instructed.</p><h3>Potential benefits of AI</h3><p>Speaking of feedback,</p><blockquote><p>Although human feedback has traditionally been necessary for effective self-improvement, the integration of AI into tools like Microsoft Word could democratise access to writing skill development by providing consistent, low-cost feedback [2, 123].</p></blockquote><p>While I&#8217;m sure that AI can help people (including me!) improve their writing, I feel obligated to note that six of the paper&#8217;s seven co-authors work at Microsoft. (The seventh is a PhD student at CMU.) On a similar note,</p><blockquote><p>GenAI tools could incorporate features that facilitate user learning, such as providing explanations of AI reasoning, suggesting areas for user refinement, or offering guided critiques. The tool could help develop specific critical thinking skills, such as analysing arguments [72], or cross-referencing facts against authoritative sources. This would align with the motivation-enhancing approach of positioning AI as a partner in skill development.</p></blockquote><p>A friendly AI teacher sounds nice, but unfortunately, I share <a href="https://news.ycombinator.com/item?id=42115597">many</a> <a href="https://www.edsurge.com/news/2023-10-25-why-i-believed-edtech-could-save-my-school-and-how-it-failed-me">people&#8217;s</a> <a href="https://www.insidehighered.com/blogs/higher-ed-gamma/why-most-ed-tech-fails">skepticism</a> of technological solutions to educational problems.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://teachingcs.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://teachingcs.substack.com/subscribe?"><span>Subscribe now</span></a></p><h3>&#8220;Saving time&#8221;</h3><blockquote><p>For example, participants discussed a <strong>lack of time</strong> (44/319) for critical thinking at work. For instance, a sales development representative (P295) noted that &#8220;<em>[t]he reason I use AI is because in sales, I must reach a certain quota daily or risk losing my job. Ergo, I use AI to save time and don&#8217;t have much room to ponder over the result.</em>&#8221;</p></blockquote><p>Technologies often market themselves as time-savers, and sure, I&#8217;m glad that washing machines exist. But as the quote above suggests, as technologies increase productivity, do people actually save time? Or do expectations simply rise while quality potentially declines?</p><h3>Building confidence</h3><p>The paper&#8217;s main finding is the negative correlation between confidence in GenAI and critical thinking:</p><blockquote><p>High task confidence is associated with users&#8217; ability to delegate tasks effectively, fostering better stewardship while maintaining accountability. Conversely, lower self-confidence may lead users to rely more on AI, potentially diminishing their critical engagement and independent problem-solving skills.</p></blockquote><p>Upon hearing this, I think it&#8217;s natural to ask, &#8220;So how can users build self-confidence?&#8221; I don&#8217;t think the authors explicitly answer this, but they do say the following:</p><blockquote><p>Training programs should emphasise the importance of cross-referencing AI outputs, assessing the relevance and applicability of AI-generated content, and continuously refining and guiding AI processes. Additionally, a focus on maintaining foundational skills in information gathering and problem-solving would help workers avoid becoming overreliant on AI [102].</p></blockquote><p>Perhaps one day, AI will be so reliable that we&#8217;ll all be highly confident in whatever it says, and nobody will worry about overreliance, reduced critical thinking, or anything like that. But until that day arrives, maybe we should keep trying to improve our own capabilities.</p>]]></content:encoded></item><item><title><![CDATA[Recap post - 2024]]></title><description><![CDATA[I plan, for as long as this newsletter lives, to make the last post of every year a 100-word (or less) summary of each post published earlier that year.]]></description><link>https://teachingcs.substack.com/p/recap-post-2024</link><guid isPermaLink="false">https://teachingcs.substack.com/p/recap-post-2024</guid><dc:creator><![CDATA[Kevin Sun]]></dc:creator><pubDate>Fri, 20 Dec 2024 18:58:21 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!WTQs!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f0a890a-09d3-44d8-aabf-4854c1e66536_6016x4000.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>I plan, for as long as this newsletter lives, to make the last post of every year a 100-word (or less) summary of each post published earlier that year. Thanks for reading!</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://teachingcs.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://teachingcs.substack.com/subscribe?"><span>Subscribe now</span></a></p><p>In chronological order:</p><h4>1: <a href="https://teachingcs.substack.com/p/a-history-of-grades">A history of grades</a></h4><p>Jack Schneider and Ethan Hutt <a href="https://ehutt.web.unc.edu/wp-content/uploads/sites/20826/2019/07/Schneider_Hutt_Making-the-Grade.pdf">explain</a> that grading is complicated because grades serve (at least) two functions: internal communication (e.g., from a teacher to a student) and external communication (e.g., from an undergraduate program to a graduate program). As schooling expanded, administrators sought standardization for managerial purposes, but the meaning of letter grades remains unclear today. Traditional grading is also controversial from a pedagogical perspective; many intuitively believe that grades are necessary for motivating students, but others point to their &#8220;<a href="https://www.alfiekohn.org/article/case-grades/">destructive effects</a>&#8221; on learning.</p><h4>2: <a href="https://teachingcs.substack.com/p/off-the-mark-review">Off the Mark (review)</a></h4><p>Schneider and Hutt also wrote a book, <a href="https://www.goodreads.com/book/show/102189674-off-the-mark">Off the Mark</a>, that proposes improvements to grading practices. In this post, I described five: provide grade-less feedback, create digital portfolios, foster intrinsic motivation (more on that in <a href="https://teachingcs.substack.com/p/increasing-intrinsic-motivation">a later post</a>), use common performance tasks, and make grades overwritable. I&#8217;ve experimented with grade-less feedback, but I haven&#8217;t reached any definitive conclusions. The other improvements are generally harder to implement but no less interesting.</p><h4>3: <a href="https://teachingcs.substack.com/p/why-pseudocode">Why pseudocode?</a></h4><p>Algorithms courses often use pseudocode, which might seem weird: its syntax is ambiguous, it doesn&#8217;t actually run, and array indices typically start at 1. So why am I a fan? First, it&#8217;s more widely accessible. For example, anyone with some programming experience understands &#8220;for i = 0, 1, &#8230;, 9&#8221;, but they might not understand the Python equivalent &#8220;for i in range(10)&#8221;. But more importantly, pseudocode can communicate the ideas behind an algorithm without the syntactical clutter that accompanies many programming languages.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WTQs!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f0a890a-09d3-44d8-aabf-4854c1e66536_6016x4000.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WTQs!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f0a890a-09d3-44d8-aabf-4854c1e66536_6016x4000.jpeg 424w, https://substackcdn.com/image/fetch/$s_!WTQs!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f0a890a-09d3-44d8-aabf-4854c1e66536_6016x4000.jpeg 848w, https://substackcdn.com/image/fetch/$s_!WTQs!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f0a890a-09d3-44d8-aabf-4854c1e66536_6016x4000.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!WTQs!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f0a890a-09d3-44d8-aabf-4854c1e66536_6016x4000.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WTQs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f0a890a-09d3-44d8-aabf-4854c1e66536_6016x4000.jpeg" width="1456" height="968" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8f0a890a-09d3-44d8-aabf-4854c1e66536_6016x4000.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:968,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1899699,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!WTQs!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f0a890a-09d3-44d8-aabf-4854c1e66536_6016x4000.jpeg 424w, https://substackcdn.com/image/fetch/$s_!WTQs!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f0a890a-09d3-44d8-aabf-4854c1e66536_6016x4000.jpeg 848w, https://substackcdn.com/image/fetch/$s_!WTQs!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f0a890a-09d3-44d8-aabf-4854c1e66536_6016x4000.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!WTQs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f0a890a-09d3-44d8-aabf-4854c1e66536_6016x4000.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Photo by <a href="https://unsplash.com/@kimberlyfarmer?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Kimberly Farmer</a> on <a href="https://unsplash.com/photos/shallow-focus-photography-of-books-lUaaKCUANVI?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Unsplash</a></figcaption></figure></div><h4>4: <a href="https://teachingcs.substack.com/p/learning-about-learning">Learning about learning</a></h4><p>In a <a href="https://cacm.acm.org/research/10-things-software-developers-should-learn-about-learning/">2024 article</a>, Neil Brown, Felienne Hermans, and Lauren Margulieux explain how humans learn and some implications for education. For example, teachers should reduce &#8220;extraneous load,&#8221; or anything that&#8217;s not inherently necessary to whatever&#8217;s being learned. (I think writing in pseudocode is a good example.) Memorization enables experts to &#8220;free up their cognition,&#8221; and unsurprisingly, cramming is not the best way to study. Improvements in <a href="https://eprints.gla.ac.uk/213969/">spatial skills</a> seem to improve overall cognition, which has &#8220;caused much consternation&#8221; since transfer is so rare. Finally, peers can be better teachers than experts.</p><h4>5: <a href="https://teachingcs.substack.com/p/is-live-coding-worth-it">Is live coding worth it?</a></h4><p>An <a href="https://dl.acm.org/doi/10.1145/3568813.3600122">ICER 2023</a> paper compared two approaches to lecturing in CS1. In particular, the experiment involved two groups: in the &#8220;static-code&#8221; group, the instructor used pre-written code examples, and in the &#8220;live-coding&#8221; group, the instructor wrote code live in an IDE. The outcomes were largely the same (e.g., the groups had similar course performances), except &#8220;students in the live-coding group were more likely to disagree that lectures held attention or facilitated note taking.&#8221; My hunch is that a combination of the two approaches yields the best of both worlds.</p><h4>6: <a href="https://teachingcs.substack.com/p/taking-photos-impairs-memory">Taking photos impairs memory</a></h4><p>As described in <a href="https://teachingcs.substack.com/p/learning-about-learning">a previous post</a>, memorization is helpful for solving new problems. If you&#8217;re trying to memorize the details of a painting, it&#8217;s plausible that the act of taking a photo would help because you&#8217;d have to focus your attention on the painting. However, the &#8220;photo-taking-impairment effect&#8221; states that the opposite is true, i.e., subjects in <a href="https://link.springer.com/article/10.3758/s13423-022-02149-2">this paper</a> who took photos of a painting did worse on a memory test than subjects who only observed the painting. The authors, Julia S. Soares and Benjamin C. Storm, cite &#8220;attentional disengagement&#8221; and &#8220;cognitive offloading&#8221; as the two major theoretical accounts.</p><h4>7: <a href="https://teachingcs.substack.com/p/the-widening-gap">The Widening Gap</a></h4><p>An <a href="https://dl.acm.org/doi/10.1145/3632620.3671116">ICER 2024</a> paper suggests that Generative Artificial Intelligence (GenAI) tools help some students while hindering the progress of others. The immediate problem is that GenAI can give misleading (or even incorrect) suggestions, but other problems are more insidious. One student &#8220;struggled to fix basic errors,&#8221; so even though they produced a correct solution (with substantial help from GenAI), the authors believe that the student was &#8220;conceptually behind in the course material but unaware of it due to a false sense of confidence.&#8221; The authors end by suggesting a few &#8220;novice-friendly&#8221; GenAI tools.</p><h4>8: <a href="https://teachingcs.substack.com/p/increasing-intrinsic-motivation">Increasing intrinsic motivation</a></h4><p>It often feels like we&#8217;d solve many challenges in education by increasing students&#8217; intrinsic motivation; Ayelet Fishbach and Kaitlin Woolley <a href="https://www.annualreviews.org/content/journals/10.1146/annurev-orgpsych-012420-091122">propose a few</a> strategies. First, let students pick an activity that they enjoy (e.g., allow a variety of possible course projects). Second, provide immediate benefits that accompany the activity (e.g., snacks and music in a math class). Finally, direct students&#8217; attention to the immediate, positive experience of an activity (e.g., <a href="https://en.wikipedia.org/wiki/Eureka_effect">aha moments</a>). It&#8217;s corny, but at the end of the day, I think learning should be fun!</p>]]></content:encoded></item><item><title><![CDATA[Increasing intrinsic motivation]]></title><description><![CDATA[Pick carrots that look tastier]]></description><link>https://teachingcs.substack.com/p/increasing-intrinsic-motivation</link><guid isPermaLink="false">https://teachingcs.substack.com/p/increasing-intrinsic-motivation</guid><dc:creator><![CDATA[Kevin Sun]]></dc:creator><pubDate>Fri, 18 Oct 2024 17:52:14 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!u6CR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaf75c2a-7ed4-40e7-a7ac-efaa715d405c_6000x4000.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>The <a href="https://en.wikipedia.org/wiki/Overjustification_effect">overjustification effect</a> occurs when extrinsic motivation &#8220;crowds out&#8221; intrinsic motivation. In <a href="https://teachingcs.substack.com/p/drawing-for-rewards">another post</a>, I summarized a few classical papers that provide evidence for the effect, but I think the dishwashing example (as described in that post) gets the point across:</p><blockquote><p>Imagine you&#8217;re a kid, and you just ate dinner with your family. You&#8217;re in a good mood, so you decide to voluntarily wash the dishes. As you stand up, your mother says, &#8220;If you do the dishes, you can watch a movie before bed!&#8221;</p><p>What a great deal &#8212; you were about to do the dishes anyway! But what does your mother think? You <em>could</em> explain your original intent &#8212; &#8220;Just so you know, I was about to do the dishes anyway&#8221; &#8212; but she might not believe you (or worse, rescind the offer), so you don&#8217;t say anything. As a result, she probably thinks that you&#8217;re only in it for the movie. And interestingly, as you wash the dishes, you notice that you&#8217;re feeling the same way. Tomorrow night, as you finish dinner, you&#8217;re not so eager to voluntarily wash the dishes.</p></blockquote><p>The possibility of watching a movie <em>overjustified</em> washing the dishes, so even though you still did it, you lost some intrinsic motivation to wash the dishes. More generally, I think people don&#8217;t like being told to do something, even &#8212; perhaps especially &#8212; if they were about to do that thing.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://teachingcs.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Teaching CS! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>In the context of education, the overjustification effect is cited as an argument against incentives such as gold stars, pizza parties, or even good grades. But sometimes, students simply don&#8217;t have enough intrinsic motivation to learn something. In that case, from a pedagogical perspective, it is not sufficient to merely avoid the overjustification effect.</p><p>Instead, can educators increase students&#8217; intrinsic motivation? This is certainly a huge topic. In this post, we&#8217;ll focus on &#8220;<a href="https://www.annualreviews.org/content/journals/10.1146/annurev-orgpsych-012420-091122">The Structure of Intrinsic Motivation</a>,&#8221; an article by Ayelet Fishbach and Kaitlin Woolley published in the <em>Annual Review of Organizational Psychology and Organizational Behavior</em> in 2022. In particular, we&#8217;ll explore the three strategies they discuss for increasing intrinsic motivation (IM) and potential implications in the classroom. The article focuses on the context of work (i.e., employers and employees), but I think it&#8217;s interesting to consider what their studies suggest for teachers and students.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!u6CR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaf75c2a-7ed4-40e7-a7ac-efaa715d405c_6000x4000.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!u6CR!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaf75c2a-7ed4-40e7-a7ac-efaa715d405c_6000x4000.jpeg 424w, https://substackcdn.com/image/fetch/$s_!u6CR!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaf75c2a-7ed4-40e7-a7ac-efaa715d405c_6000x4000.jpeg 848w, https://substackcdn.com/image/fetch/$s_!u6CR!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaf75c2a-7ed4-40e7-a7ac-efaa715d405c_6000x4000.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!u6CR!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaf75c2a-7ed4-40e7-a7ac-efaa715d405c_6000x4000.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!u6CR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaf75c2a-7ed4-40e7-a7ac-efaa715d405c_6000x4000.jpeg" width="1456" height="971" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/caf75c2a-7ed4-40e7-a7ac-efaa715d405c_6000x4000.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:971,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:3675428,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!u6CR!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaf75c2a-7ed4-40e7-a7ac-efaa715d405c_6000x4000.jpeg 424w, https://substackcdn.com/image/fetch/$s_!u6CR!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaf75c2a-7ed4-40e7-a7ac-efaa715d405c_6000x4000.jpeg 848w, https://substackcdn.com/image/fetch/$s_!u6CR!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaf75c2a-7ed4-40e7-a7ac-efaa715d405c_6000x4000.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!u6CR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaf75c2a-7ed4-40e7-a7ac-efaa715d405c_6000x4000.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Photo by <a href="https://unsplash.com/@thomasgamstaetter?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Thomas Gamstaetter</a> on <a href="https://unsplash.com/photos/ripe-carrots-inside-white-net-sack-IFGVE61AAno?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Unsplash</a></figcaption></figure></div><h4>1. &#8220;Factoring Intrinsic Motivation into Choice&#8221;</h4><p>In <a href="https://psycnet.apa.org/record/2016-28946-011">one of the authors&#8217; studies</a>, some participants chose a weight-lifting exercise that they most enjoyed, while others chose one that they believed was most effective. Even though the exercises were similarly difficult, the former group persisted longer (approximately 50% more repetitions) than the latter. Similarly, in another study, participants who did a relatively enjoyable task (evaluating photos of cute animals) persisted longer than those who did a relatively boring task (counting letters in a series of words), even though the latter task paid more ($0.40 instead of $0.30 per minute). Both studies suggest that enjoyment increases IM, which the authors track by measuring persistence. (The authors state that all three strategies are meant to &#8220;increase IM and hence persistence.&#8221;)</p><p>For teaching, I believe the studies suggest that students would persist longer if they got to choose an option that they enjoyed. For example, maybe the instructor could allow each student to pick the topic and/or format (e.g., paper, video, talk) of their course project. On the administrative side, teaching assistants might feel more IM if they get to choose the problems they&#8217;ll grade.</p><h4>2. &#8220;Bringing In Immediate Benefits&#8221;</h4><p>As described above, the risk of the overjustification effect makes it tricky to introduce rewards. But the authors claim that immediate incentives &#8220;could make people experience the activity as its own end,&#8221; thus increasing IM. For example, in <a href="https://psycnet.apa.org/record/2016-28946-011">one of their studies</a>, a teacher provided snacks, colored pens, and music to students in a high school math class; those students attempted to solve more problems than students in a classroom without the incentives. This is somewhat surprising because it seems plausible that the incentives would distract the students, causing them to attempt fewer problems &#8212; but that didn&#8217;t happen.</p><p>This strategy is similar to &#8220;temptation bundling&#8221; (e.g., <a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC4381662/">listening to an audiobook while exercising</a>), which other studies have shown to be effective at building habits. In fact, <a href="https://psycnet.apa.org/record/2015-02395-003">one paper</a> suggests that incentives for exercising can work even after the incentives are removed, potentially because the incentives increased IM.</p><p>I&#8217;m not sure I should provide snacks, colored pens, or music to college students. (I do write in multiple colors when I lecture, which at least increases my engagement.) However, possible alternatives might include a fun, in-class poll once in a while, a tangent about a neat application of the course content, or an occasional joke or anecdote.</p><h4>3. &#8220;Attentional Focus on Immediate Benefits or Positive Experience&#8221;</h4><p>Unlike the other two strategies, this one does not involve any changes to the activity. Instead, it&#8217;s based on changing the target of the participants&#8217; attention. In <a href="https://psycnet.apa.org/record/2016-28946-011">one of the authors&#8217; studies</a>, participants had to choose between two bags of carrots. One group was asked to pick the carrots that looked tastier, and another group was asked to pick the carrots that looked healthier. As the authors put it, &#8220;Unbeknownst to participants, the bags were identical.&#8221; The results are similar to the exercise study from the first strategy: the first group ate almost 50% more carrots than the second group. This suggests that asking people to focus on the immediate, positive experience of an activity can boost IM.<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a></p><p>The paper then cites multiple studies, in a variety of domains, that suggest mindfulness (i.e., &#8220;bringing awareness to the immediate subjective experience&#8221;) as an effective way to increase persistence. These domains include <a href="https://psycnet.apa.org/record/2012-13589-002">exercising on a treadmill</a>, <a href="https://psycnet.apa.org/record/2020-83366-006">eating habits</a>, <a href="https://psycnet.apa.org/record/2019-70329-001">taking breaks during work</a>, and a few others. Experiencing &#8220;joint engagement&#8221; with team members can also <a href="https://psycnet.apa.org/record/2014-16096-020">increase IM</a>, but unfortunately, I think group projects have a notoriously bad reputation among college students (see, e.g., <a href="https://www.insidehighered.com/blogs/just-visiting/group-projects-dont-need-be-miserable">here</a> and <a href="https://www.reddit.com/r/college/comments/z2u6w8/anyone_else_hate_group_projects/">here</a>).</p><p>Applying this strategy in a classroom setting seems tough because it&#8217;s hard to ignore the challenging aspects of learning. But I think these studies suggest that rather than focusing on the outcomes of education (e.g., getting good grades, getting a job), perhaps students should consider focusing on the experience of learning. It&#8217;s not always easy, but it might be worthwhile.</p><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-1" href="#footnote-anchor-1" class="footnote-number" contenteditable="false" target="_self">1</a><div class="footnote-content"><p>This strategy only works if an immediate, positive experience is even available. In another study, the authors did something similar with spinach; there, participants who were asked to &#8220;focus on the positive taste of plain spinach leaves&#8221; did not eat more spinach than a control group who did not receive those instructions.</p></div></div>]]></content:encoded></item><item><title><![CDATA[The Widening Gap]]></title><description><![CDATA[GenAI can create an illusion of confidence]]></description><link>https://teachingcs.substack.com/p/the-widening-gap</link><guid isPermaLink="false">https://teachingcs.substack.com/p/the-widening-gap</guid><dc:creator><![CDATA[Kevin Sun]]></dc:creator><pubDate>Wed, 11 Sep 2024 16:00:34 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!oiOu!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb5874dc3-8c25-4b78-a221-d4495ffc85d5_1060x819.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><a href="https://dl.acm.org/doi/10.1145/3626252.3630938">Multiple</a> <a href="https://arxiv.org/abs/2404.17443">studies</a> <a href="https://dl.acm.org/doi/10.5555/2667199.2667209">suggest</a> that students <em>think</em> that Generative Artificial Intelligence (GenAI) tools are helpful, and they do not think that they over-rely on them, but how accurate are these thoughts? &#8220;<a href="https://dl.acm.org/doi/10.1145/3632620.3671116">The Widening Gap: The Benefits and Harms of Generative AI for Novice Programmers</a>,&#8221; an ICER 2024 paper by James Prather, Brent N Reeves, Juho Leinonen, Stephen MacNeil, Arisoa S. Randrianasolo, Brett A. Becker, Bailey Kimmel, Jared Wright, and Ben Briggs, examines this question.</p><p>In short, for some students, GenAI is not only not helpful, but potentially an impediment to their education. Here&#8217;s an excerpt from the abstract:</p><blockquote><p>Some students who did not struggle were able to use GenAI to accelerate, creating code they already intended to make, and were able to ignore unhelpful or incorrect inline code suggestions. But for students who struggled, our findings indicate that previously known metacognitive difficulties persist, and that GenAI unfortunately can compound them and even introduce new metacognitive difficulties.</p></blockquote><p>In other words, when these researchers observed how students actually use GenAI tools, they discovered that GenAI helps some students and hurts others.</p><h4>Experimental setup</h4><p>There were 27 students enrolled in a CS1 course at a small research university in the USA, and 21 of them opted into the study for extra credit. These students were asked to solve a programming problem (see figure below) in 35 minutes, and they were given access to both GitHub Copilot and ChatGPT. As each participant worked on the problem, they verbalized their thoughts, <a href="https://en.wikipedia.org/wiki/Tobii">Tobii</a> tracked their eye movements, and researchers took notes. Afterwards, the researchers asked each participant questions about their perceptions of AI (e.g., how helpful it was during the problem solving), prior programming experience, and a few other things.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!oiOu!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb5874dc3-8c25-4b78-a221-d4495ffc85d5_1060x819.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!oiOu!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb5874dc3-8c25-4b78-a221-d4495ffc85d5_1060x819.png 424w, https://substackcdn.com/image/fetch/$s_!oiOu!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb5874dc3-8c25-4b78-a221-d4495ffc85d5_1060x819.png 848w, https://substackcdn.com/image/fetch/$s_!oiOu!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb5874dc3-8c25-4b78-a221-d4495ffc85d5_1060x819.png 1272w, https://substackcdn.com/image/fetch/$s_!oiOu!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb5874dc3-8c25-4b78-a221-d4495ffc85d5_1060x819.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!oiOu!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb5874dc3-8c25-4b78-a221-d4495ffc85d5_1060x819.png" width="1060" height="819" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b5874dc3-8c25-4b78-a221-d4495ffc85d5_1060x819.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:819,&quot;width&quot;:1060,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:166113,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!oiOu!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb5874dc3-8c25-4b78-a221-d4495ffc85d5_1060x819.png 424w, https://substackcdn.com/image/fetch/$s_!oiOu!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb5874dc3-8c25-4b78-a221-d4495ffc85d5_1060x819.png 848w, https://substackcdn.com/image/fetch/$s_!oiOu!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb5874dc3-8c25-4b78-a221-d4495ffc85d5_1060x819.png 1272w, https://substackcdn.com/image/fetch/$s_!oiOu!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb5874dc3-8c25-4b78-a221-d4495ffc85d5_1060x819.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 1 from <a href="https://dl.acm.org/doi/10.1145/3632620.3671116">the paper</a>.</figcaption></figure></div><p>Every student, except one, completed a working program within the time limit; the average completion time was 17.1 minutes with a standard deviation of 8.1. This sounds like a positive outcome &#8212; the success rate was over 95% &#8212; but the picture isn&#8217;t so clear when we take a closer look.</p><h4>Some students struggled</h4><p>The researchers made a list of eight metacognitive difficulties. These included five from <a href="https://doi.org/10.1145/3230977.3230981">prior work</a> (ICER 2018, before the advent of GenAI), and three new difficulties centered around participants&#8217; use of GenAI. Ten participants exhibited at least one metacognitive difficulty; here are a few examples:</p><ul><li><p>Participant 1&#8217;s code wouldn&#8217;t compile. After struggling and getting interrupted by Copilot for a while, they eventually said, &#8220;Okay, I&#8217;m using ChatGPT now. I love ChatGPT. It&#8217;s so helpful.&#8221; Subsequently, even though ChatGPT&#8217;s suggestions were &#8220;wildly different&#8221; from their own code, they stuck to their solution. This was an example of the <strong>Achievement</strong> metacognitive difficulty (&#8220;Unwillingness to abandon a wrong solution due to a false sense of being nearly done&#8221;).</p></li><li><p>Participant 7 turned to ChatGPT much earlier in the process (&#8220;Woah, interesting. The first thing I&#8217;ll do is pull up ChatGPT&#8221;), and after a few hiccups, they made substantial progress toward a correct solution. But since they &#8220;struggled to fix basic errors&#8221; while working, they exhibited a <strong>Progression</strong> difficulty (&#8220;Being conceptually behind in the course material but unaware of it due to a false sense of confidence&#8221;).</p></li><li><p>Participant 11 accepted a suggestion from Copilot even though the suggested line contained a variable that had not been declared; thus, the participant exhibited a <strong>Mislead</strong> difficulty (&#8220;The tool leads the user down the wrong path&#8221;). Later, incorrect suggestions from ChatGPT further contributed to the participant&#8217;s confusion.</p></li></ul><p>If it were simply the case that some participants struggled while others did not, then that would be business as usual. After all, I believe that the primary purpose of CS education research is to help students in their endeavors.</p><p>But GenAI, with its increasing availability and capabilities, introduces complications. In particular, as the paper puts it, GenAI creates an &#8220;illusion of competence&#8221; and a contradiction between students&#8217; expressed beliefs and their behavior. That is, some students who had struggled claimed that they didn&#8217;t really need help from Copilot/ChatGPT, but as far as the authors could tell, they did.</p><p>A paper from <a href="https://dl.acm.org/doi/10.1145/3230977.3230981">ICER 2018</a> (mentioned earlier) describes the results of a similar experiment. There, 11 out of 31 participants did not solve the programming problem within 35 minutes, so the success rate was less than 65%. However, all 11 participants realized that they could not solve the problem after the allotted time. In contrast, according to the authors of the 2024 paper, participants&#8217; ability to assess their understanding was impeded by GenAI: &#8220;From the evidence presented above, it appears that most of these ten who struggled thought they understood more than they actually did.&#8221; So GenAI might help struggling students in the short run while hampering their metacognitive abilities, which could be detrimental in the long run.</p><p>(Of course, it&#8217;s possible that the students were fully aware of how reliant they were on GenAI and did not want to openly express themselves. But even if that were the case, it&#8217;s probably harder for educators to help struggling students if everyone appears to be doing fine.)</p><h4>Others had more success</h4><p>Eleven of the 21 participants did not exhibit any metacognitive difficulties. Participant 19 finished in just 5 minutes; when they were asked if Copilot had been helpful, they responded, &#8220;Definitely sped it up. It gives you a lot of the scaffolding you need to solve the problem so you don&#8217;t have to worry about some of that.&#8221;</p><p>Importantly, these participants were able to ignore incorrect suggestions. This relates to a <a href="https://dl.acm.org/doi/abs/10.5555/181439.181441">1994 paper</a> by Marvin Minsky cited by the authors, in which he wrote, &#8220;In order to think effectively, we must &#8216;know&#8217; a good deal about what not to think! Otherwise we get bad ideas &#8212; and also, take too long.&#8221; Accordingly, the authors suggest the &#8220;ability to ignore incorrect or unhelpful GenAI suggestions&#8221; as an important skill for novices to develop.</p><h4>Alternative GenAI tools</h4><p>Since ChatGPT and Copilot can hinder students&#8217; learning, and banning GenAI is impractical, the authors point to a few &#8220;novice-friendly tools&#8221; that expose students to GenAI &#8220;in scaffolded ways&#8221; (e.g., <a href="https://dl.acm.org/doi/10.1145/3626252.3630909">Prompt Problems</a>, <a href="https://dl.acm.org/doi/10.1145/3631802.3631830">CodeHelp</a>, <a href="https://dl.acm.org/doi/10.1145/3613904.3642773">CodeAid</a>, <a href="https://dl.acm.org/doi/10.1145/3613904.3642239">Ivie</a>). They also propose explicitly teaching <a href="https://dl.acm.org/doi/10.1145/3649217.3653621">metacognitive</a> <a href="https://dl.acm.org/doi/10.1145/3613904.3642902">behaviors</a> and <a href="https://dl.acm.org/doi/10.1145/3568813.3600127">skills</a>.</p><p>Perhaps someday, it will seem clear that GenAI broadly improves educational outcomes. But as the paper suggests, we should be cognizant of its effects on everyone, including the students who appear to benefit from it.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://teachingcs.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Teaching CS! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[Taking photos impairs memory]]></title><description><![CDATA[Attentional disengagement and cognitive offloading]]></description><link>https://teachingcs.substack.com/p/taking-photos-impairs-memory</link><guid isPermaLink="false">https://teachingcs.substack.com/p/taking-photos-impairs-memory</guid><dc:creator><![CDATA[Kevin Sun]]></dc:creator><pubDate>Mon, 29 Jul 2024 18:59:12 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!uVba!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e77fd80-42f9-4e43-86f7-60bf73a6d46e_4794x3456.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!uVba!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e77fd80-42f9-4e43-86f7-60bf73a6d46e_4794x3456.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!uVba!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e77fd80-42f9-4e43-86f7-60bf73a6d46e_4794x3456.jpeg 424w, https://substackcdn.com/image/fetch/$s_!uVba!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e77fd80-42f9-4e43-86f7-60bf73a6d46e_4794x3456.jpeg 848w, https://substackcdn.com/image/fetch/$s_!uVba!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e77fd80-42f9-4e43-86f7-60bf73a6d46e_4794x3456.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!uVba!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e77fd80-42f9-4e43-86f7-60bf73a6d46e_4794x3456.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!uVba!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e77fd80-42f9-4e43-86f7-60bf73a6d46e_4794x3456.jpeg" width="1456" height="1050" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8e77fd80-42f9-4e43-86f7-60bf73a6d46e_4794x3456.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1050,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:3638822,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!uVba!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e77fd80-42f9-4e43-86f7-60bf73a6d46e_4794x3456.jpeg 424w, https://substackcdn.com/image/fetch/$s_!uVba!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e77fd80-42f9-4e43-86f7-60bf73a6d46e_4794x3456.jpeg 848w, https://substackcdn.com/image/fetch/$s_!uVba!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e77fd80-42f9-4e43-86f7-60bf73a6d46e_4794x3456.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!uVba!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e77fd80-42f9-4e43-86f7-60bf73a6d46e_4794x3456.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Photo by <a href="https://unsplash.com/@david_sarkisov_photography?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">David Sarkisov</a> on <a href="https://unsplash.com/photos/people-holding-smartphones-VUyb7WeQ0QA?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Unsplash</a></figcaption></figure></div><p>Multiple studies have demonstrated the &#8220;photo-taking-impairment effect,&#8221; in which a person&#8217;s memory of objects they photographed was weaker than their memory of objects they didn&#8217;t photograph. <a href="https://journals.sagepub.com/doi/10.1177/0956797613504438">This 2014 article</a> by Linda A. Henkel provides early evidence in the context of a guided tour of an art museum: &#8220;If participants took a photo of each object as a whole, they remembered fewer objects and remembered fewer details about the objects and the objects&#8217; locations in the museum than if they instead only observed the objects and did not photograph them.&#8221;</p><p>Interestingly, in the same study, the photo-taking-impairment effect did not surface when participants zoomed in on a specific part of the object, even for parts of the object they did not zoom in on. This motivated psychologists to develop theories and study the conditions under which the photo-taking-impairment effect occurs.</p><p>In this post, we&#8217;ll look at one of these papers: &#8220;<a href="https://link.springer.com/article/10.3758/s13423-022-02149-2">Does taking multiple photos lead to a photo-taking-impairment effect?</a>&#8221; by Julia S. Soares and Benjamin C. Storm, published in the Psychonomic Bulletin &amp; Review in 2022. As its title suggests, the paper considers whether taking multiple photos leads to a photo-taking-impairment effect. On the surface, it seems that if someone takes multiple photos of an object, especially if those photos are different from each other, then they might remember it better because they&#8217;ve viewed the object in a more prolonged, deliberate manner.</p><p>But the paper shows that this is not the case. In three separate experiments, participants who took one photo of an object scored higher on a memory test than participants who took five photos. Participants who didn&#8217;t take any photos, and only observed the object, scored highest. At the end of this post, we&#8217;ll discuss two potential explanations of the photo-taking-impairment effect.</p><h3>Experiment 1</h3><p>Participants were told that they would view some paintings, photograph some of them, and take a multiple-choice test at the end without access to the photos. There were 30 paintings, and each painting was on the computer screen for 20 seconds. Under each painting, there was one instruction for participants: just observe, take one photo, or take five photos. After viewing each painting, the participants were asked, &#8220;How likely (out of 100%) are you to correctly answer questions about the painting&#8217;s visual details?&#8221; And after viewing all 30 paintings, the participants were directed to play Tetris for five minutes. Finally, they took a 20-minute test containing 60 multiple-choice questions (two questions per painting) on visual details in the paintings (e.g., &#8220;What phase is the moon in <em>Moon River</em> by R. C. Gorman?&#8221;).</p><p>Based on participants&#8217; performance on the multiple-choice questions, there was &#8220;a significant linear trend indicating that when more photos were taken, memory performance decreased&#8221; (see the three leftmost bars in the figure below). (As we&#8217;ll se, and as we can see in the same figure, the results from the other two experiments were consistent with this finding.)</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!BndU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0c360d7-a125-4c7b-a497-68815beca0db_1043x921.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!BndU!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0c360d7-a125-4c7b-a497-68815beca0db_1043x921.png 424w, https://substackcdn.com/image/fetch/$s_!BndU!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0c360d7-a125-4c7b-a497-68815beca0db_1043x921.png 848w, https://substackcdn.com/image/fetch/$s_!BndU!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0c360d7-a125-4c7b-a497-68815beca0db_1043x921.png 1272w, https://substackcdn.com/image/fetch/$s_!BndU!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0c360d7-a125-4c7b-a497-68815beca0db_1043x921.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!BndU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0c360d7-a125-4c7b-a497-68815beca0db_1043x921.png" width="727" height="641.9626078619367" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a0c360d7-a125-4c7b-a497-68815beca0db_1043x921.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:921,&quot;width&quot;:1043,&quot;resizeWidth&quot;:727,&quot;bytes&quot;:138174,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!BndU!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0c360d7-a125-4c7b-a497-68815beca0db_1043x921.png 424w, https://substackcdn.com/image/fetch/$s_!BndU!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0c360d7-a125-4c7b-a497-68815beca0db_1043x921.png 848w, https://substackcdn.com/image/fetch/$s_!BndU!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0c360d7-a125-4c7b-a497-68815beca0db_1043x921.png 1272w, https://substackcdn.com/image/fetch/$s_!BndU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0c360d7-a125-4c7b-a497-68815beca0db_1043x921.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 1 from <a href="https://link.springer.com/article/10.3758/s13423-022-02149-2">the paper</a>.</figcaption></figure></div><h3>Experiment 2</h3><p>This was a between-subjects design version of Experiment 1 (which had a within-subjects design). More specifically, participants were randomly assigned to one of three conditions: just observe every painting, take one photo of each painting, or take five photos of each painting. After viewing the paintings, these participants took the same test as the participants in Experiment 1 did.</p><p>Again, the authors found that &#8220;when more photos were taken, average performance decreased.&#8221;</p><h3>Experiment 3</h3><p>This was similar to Experiment 2, with just one notable change: participants in the &#8220;5-photos&#8221; group were instructed, &#8220;Please take 5 different photos of each painting using the device provided. Try to make each photo different from the others.&#8221; (People who took 5 photos in Experiments 1 and 2 were not told to take different photos; many took five nearly identical photos.)</p><p>For the third time, there was &#8220;a linear trend such that when more photos were taken, average performance decreased.&#8221; The authors also conducted a meta-analysis on the findings in all three experiments, and found a &#8220;significant and moderately large&#8221; effect size for the photo-taking-impairment effect.</p><h3>Discussion</h3><p>As mentioned earlier, it might sound plausible that taking multiple <em>different</em> photos of the same object reduces the photo-taking-impairment effect. But in Experiment 3, the opposite was true: the photo-taking-impairment effect was more pronounced for the &#8220;5-photos&#8221; group than the &#8220;1-photo&#8221; group.</p><p>According to the authors, there are two major theoretical accounts of the photo-taking-impairment effect: attentional disengagement and cognitive offloading.</p><p>Attentional disengagement occurs when photo-takers &#8220;disconnect from the scene, thereby preventing them from fully encoding or attending to photographed objects.&#8221; They focus more on the act of photo-taking, especially if they&#8217;re taking multiple photos, than the object itself. In a lecture, if a student spends too much attention on taking detailed notes, they might not remember the actual content of the lecture.</p><p>Cognitive offloading occurs when &#8220;photo-takers believe that the objects they photograph are saved by the camera, reducing the need to remember those objects internally.&#8221; Taking multiple photos could strengthen this belief, thus amplifying the photo-taking-impairment effect. Since participants were told that they would not have access to the photos during the test, my hunch is that cognitive offloading is largely a subconscious phenomenon. Of course, taking a photo allows us to consult it later, but if we never consult it, we might remember less than if we hadn&#8217;t taken the photo.</p><p>Near the end of the paper, the authors note, &#8220;Future work should examine the effects of other common photo-taking behaviors like using filters, using camera modes like panorama or portrait mode, or making other adjustments to brightness or color balance.&#8221; It&#8217;d be interesting, and amusing, if some convoluted way of taking photos (e.g., decrease brightness, then zoom in and increase brightness) results in improved memory of the object.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://teachingcs.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Teaching CS! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[Is live coding worth it?]]></title><description><![CDATA[More students thought the instructor should slow down]]></description><link>https://teachingcs.substack.com/p/is-live-coding-worth-it</link><guid isPermaLink="false">https://teachingcs.substack.com/p/is-live-coding-worth-it</guid><dc:creator><![CDATA[Kevin Sun]]></dc:creator><pubDate>Fri, 28 Jun 2024 13:03:28 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/1e1d7115-2a05-42c0-98e5-f5feffb66c4e_845x548.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>If we want students to improve at coding, especially at the introductory level, then it makes intuitive sense for the instructor to incorporate live coding into their lectures. This is a popular idea in the CS education literature, and <a href="https://dl.acm.org/doi/10.1145/1047124.1047413">many</a> <a href="https://dl.acm.org/doi/10.1145/1414558.1414585">studies</a> show that students and instructors <em>perceive</em> some pedagogical benefits of live coding.</p><p>But does live coding actually improve student outcomes more effectively than annotating and explaining pre-written code? Anshul Shah, Emma Hogan, Vardhan Agarwal, John Driscoll, Leo Porter, William G. Griswold, and Adalbert Gerald Soosai Raj consider this question in their <a href="https://dl.acm.org/doi/10.1145/3568813.3600122">ICER 2023</a> paper, &#8220;An Empirical Evaluation of Live Coding in CS1.&#8221; In short, they report that the answer is no. In fact, the only statistically significant results in their paper indicate potential drawbacks of live coding.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://teachingcs.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Teaching CS! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><h2>Experimental setup</h2><p>In their experiment, one instructor at UCSD taught two sections of CS1. The sections were identical (e.g., weekly material, activities, assignments, etc.) except for two aspects: the start time (9:30 am or 11 am) and the presentation of code examples (static-code or live-coding) in lectures.</p><p>In the <strong>static-code group</strong> (the 9:30 section), the instructor &#8220;showed students pre-written examples of code when demonstrating an implementation of a concept.&#8221; While presenting the examples, the instructor wrote annotations and visualizations.</p><p>In the <strong>live-coding group</strong> (the 11:00 section), the instructor &#8220;showed code examples by opening a Python file in an IDE and writing code in front of the students.&#8221; While coding, the instructor verbalized their thoughts and demonstrated effective development strategies such as interpreting error messages and using print statements to track variables.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!F3tl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7625f739-b378-4d96-bb9f-569bcc86d25d_678x1103.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!F3tl!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7625f739-b378-4d96-bb9f-569bcc86d25d_678x1103.png 424w, https://substackcdn.com/image/fetch/$s_!F3tl!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7625f739-b378-4d96-bb9f-569bcc86d25d_678x1103.png 848w, https://substackcdn.com/image/fetch/$s_!F3tl!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7625f739-b378-4d96-bb9f-569bcc86d25d_678x1103.png 1272w, https://substackcdn.com/image/fetch/$s_!F3tl!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7625f739-b378-4d96-bb9f-569bcc86d25d_678x1103.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!F3tl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7625f739-b378-4d96-bb9f-569bcc86d25d_678x1103.png" width="678" height="1103" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7625f739-b378-4d96-bb9f-569bcc86d25d_678x1103.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1103,&quot;width&quot;:678,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:209126,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!F3tl!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7625f739-b378-4d96-bb9f-569bcc86d25d_678x1103.png 424w, https://substackcdn.com/image/fetch/$s_!F3tl!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7625f739-b378-4d96-bb9f-569bcc86d25d_678x1103.png 848w, https://substackcdn.com/image/fetch/$s_!F3tl!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7625f739-b378-4d96-bb9f-569bcc86d25d_678x1103.png 1272w, https://substackcdn.com/image/fetch/$s_!F3tl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7625f739-b378-4d96-bb9f-569bcc86d25d_678x1103.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 1 in <a href="https://dl.acm.org/doi/10.1145/3568813.3600122">the paper</a>.</figcaption></figure></div><p>Attendance was consistently near 85-90% in both sections, and the sample size was about 110 students per group. Although students were not randomly assigned to the sections, at the time of registration, they didn&#8217;t know that one lecture would be taught with static code and the other with live coding. There were also no significant differences between the two groups in programming experience, demographics, or average GPA.</p><h2>Questions and results</h2><p>The paper considers three areas that live coding, in theory, could improve: students&#8217; programming processes, course performance, and lecture experience. The main result of the paper is that in the first two areas, there were no significant differences between the two groups. Moreover, with regard to the third area, more students in the live-coding group thought the lectures were &#8220;too fast, did not hold their attention, and did not facilitate note-taking.&#8221; Their exact research questions, and some details on their methods, are described below.</p><h4>Programming processes</h4><blockquote><p>&#8220;How do adherence to effective programming processes and programming productivity differ between students in live coding and static-code pedagogies?&#8221;</p></blockquote><p>The authors examined students&#8217; behavior on various coding challenges held during lectures. More specifically, the authors analyzed snapshots of code obtained whenever a student ran or submitted code to the course&#8217;s online IDE (EdStem). Using those snapshots, they evaluated an assortment of metrics related to programmer productivity (e.g., &#8220;Measure of Incremental Development,&#8221; &#8220;Repeated Error Density,&#8221; time until correct implementation, number of print statements).</p><p>After running statistical tests on those metrics, the authors found no statistically significant differences between the two groups. The live-coding group performed better at a debugging task and had a lower time until correct implementation on the final coding challenge (about 14 minutes compared to 16), but those results were also not statistically significant.</p><h4>Course performance</h4><blockquote><p>&#8220;How does course performance on exams and assignments, specifically on code tracing, code explaining, and code writing questions, differ between students in live-coding and static-code pedagogies?&#8221;</p></blockquote><p>The authors also measured students&#8217; course performance based on programming assignments, worksheets, and two exams. Every question from the worksheets and exams was categorized as &#8220;code explaining,&#8221; &#8220;code writing,&#8221; &#8220;code tracing with loops,&#8221; &#8220;code tracing without loops,&#8221; and &#8220;basic questions.&#8221;</p><p>Again, none of the p-values calculated by the authors indicated statistical significance. This included a p-value for every type of question, grades on the programming assignments, and grades on the exams. For example, on the four &#8220;code writing&#8221; questions on the final exam, correctness differed by just one percentage point between the two groups.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!RNGA!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1945ded8-c5f8-4a3d-8354-59150e033b91_1085x531.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!RNGA!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1945ded8-c5f8-4a3d-8354-59150e033b91_1085x531.png 424w, https://substackcdn.com/image/fetch/$s_!RNGA!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1945ded8-c5f8-4a3d-8354-59150e033b91_1085x531.png 848w, https://substackcdn.com/image/fetch/$s_!RNGA!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1945ded8-c5f8-4a3d-8354-59150e033b91_1085x531.png 1272w, https://substackcdn.com/image/fetch/$s_!RNGA!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1945ded8-c5f8-4a3d-8354-59150e033b91_1085x531.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!RNGA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1945ded8-c5f8-4a3d-8354-59150e033b91_1085x531.png" width="1085" height="531" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1945ded8-c5f8-4a3d-8354-59150e033b91_1085x531.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:531,&quot;width&quot;:1085,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:83401,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!RNGA!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1945ded8-c5f8-4a3d-8354-59150e033b91_1085x531.png 424w, https://substackcdn.com/image/fetch/$s_!RNGA!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1945ded8-c5f8-4a3d-8354-59150e033b91_1085x531.png 848w, https://substackcdn.com/image/fetch/$s_!RNGA!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1945ded8-c5f8-4a3d-8354-59150e033b91_1085x531.png 1272w, https://substackcdn.com/image/fetch/$s_!RNGA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1945ded8-c5f8-4a3d-8354-59150e033b91_1085x531.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 3(b) in <a href="https://dl.acm.org/doi/10.1145/3568813.3600122">the paper</a>. (The exams did not contain any &#8220;Code Explaining&#8221; questions.)</figcaption></figure></div><h4>Lecture experience</h4><blockquote><p>How does the lecture experience, in terms of engagement during lecture and perceptions of code examples, differ between students in live-coding and static-code pedagogies?</p></blockquote><p>Finally, the authors examined how students felt about the lectures themselves based on their responses to a required mid-term survey and the official, anonymized, end-of-term course evaluation.</p><p>In the survey, more students in the static-code group reported benefits related to code comprehension. On the other hand, more students in the live-coding group reported benefits related to programming processes. The latter sounds like a positive effect of live coding, but the authors remind us that &#8220;these differences in perceived benefits did not materialize into discernible differences&#8221; according to the metrics they calculated when answering their other research questions (&#8220;Measure of Incremental Development,&#8221; &#8220;Repeated Error Density,&#8221; etc.).</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!4CCD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F690e0dca-79b0-4caa-851e-32ff6321734c_1570x605.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!4CCD!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F690e0dca-79b0-4caa-851e-32ff6321734c_1570x605.png 424w, https://substackcdn.com/image/fetch/$s_!4CCD!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F690e0dca-79b0-4caa-851e-32ff6321734c_1570x605.png 848w, https://substackcdn.com/image/fetch/$s_!4CCD!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F690e0dca-79b0-4caa-851e-32ff6321734c_1570x605.png 1272w, https://substackcdn.com/image/fetch/$s_!4CCD!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F690e0dca-79b0-4caa-851e-32ff6321734c_1570x605.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!4CCD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F690e0dca-79b0-4caa-851e-32ff6321734c_1570x605.png" width="1456" height="561" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/690e0dca-79b0-4caa-851e-32ff6321734c_1570x605.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:561,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:227756,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!4CCD!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F690e0dca-79b0-4caa-851e-32ff6321734c_1570x605.png 424w, https://substackcdn.com/image/fetch/$s_!4CCD!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F690e0dca-79b0-4caa-851e-32ff6321734c_1570x605.png 848w, https://substackcdn.com/image/fetch/$s_!4CCD!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F690e0dca-79b0-4caa-851e-32ff6321734c_1570x605.png 1272w, https://substackcdn.com/image/fetch/$s_!4CCD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F690e0dca-79b0-4caa-851e-32ff6321734c_1570x605.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">(Part of) Figure 4 in <a href="https://dl.acm.org/doi/10.1145/3568813.3600122">the paper</a>.</figcaption></figure></div><p>Furthermore, in the live-coding group, 18% of responses mentioned that the instructor should slow down, whereas this rate was only 2% in the static-code group. (In both groups, about 1% of responses mentioned that the instructor should speed up.)</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!NEp0!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F520f1594-8ea7-4a9a-a477-ce793836078c_1571x285.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!NEp0!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F520f1594-8ea7-4a9a-a477-ce793836078c_1571x285.png 424w, https://substackcdn.com/image/fetch/$s_!NEp0!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F520f1594-8ea7-4a9a-a477-ce793836078c_1571x285.png 848w, https://substackcdn.com/image/fetch/$s_!NEp0!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F520f1594-8ea7-4a9a-a477-ce793836078c_1571x285.png 1272w, https://substackcdn.com/image/fetch/$s_!NEp0!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F520f1594-8ea7-4a9a-a477-ce793836078c_1571x285.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!NEp0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F520f1594-8ea7-4a9a-a477-ce793836078c_1571x285.png" width="1456" height="264" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/520f1594-8ea7-4a9a-a477-ce793836078c_1571x285.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:264,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:94698,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!NEp0!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F520f1594-8ea7-4a9a-a477-ce793836078c_1571x285.png 424w, https://substackcdn.com/image/fetch/$s_!NEp0!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F520f1594-8ea7-4a9a-a477-ce793836078c_1571x285.png 848w, https://substackcdn.com/image/fetch/$s_!NEp0!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F520f1594-8ea7-4a9a-a477-ce793836078c_1571x285.png 1272w, https://substackcdn.com/image/fetch/$s_!NEp0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F520f1594-8ea7-4a9a-a477-ce793836078c_1571x285.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">(Part of) Figure 5 in <a href="https://dl.acm.org/doi/10.1145/3568813.3600122">the paper</a>.</figcaption></figure></div><p>The only statistically significant results in the paper came from the end-of-term course evaluation. These results showed that students in the live-coding group were less engaged than those in the static-code group.<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a> In particular, as the authors put it, &#8220;students in the live-coding group were more likely to disagree that lectures held attention or facilitated note taking.&#8221;</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!y6_A!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a35b535-77e7-42e8-a4db-ea746d77d10f_1337x959.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!y6_A!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a35b535-77e7-42e8-a4db-ea746d77d10f_1337x959.png 424w, https://substackcdn.com/image/fetch/$s_!y6_A!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a35b535-77e7-42e8-a4db-ea746d77d10f_1337x959.png 848w, https://substackcdn.com/image/fetch/$s_!y6_A!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a35b535-77e7-42e8-a4db-ea746d77d10f_1337x959.png 1272w, https://substackcdn.com/image/fetch/$s_!y6_A!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a35b535-77e7-42e8-a4db-ea746d77d10f_1337x959.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!y6_A!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a35b535-77e7-42e8-a4db-ea746d77d10f_1337x959.png" width="1337" height="959" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8a35b535-77e7-42e8-a4db-ea746d77d10f_1337x959.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:959,&quot;width&quot;:1337,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:200903,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!y6_A!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a35b535-77e7-42e8-a4db-ea746d77d10f_1337x959.png 424w, https://substackcdn.com/image/fetch/$s_!y6_A!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a35b535-77e7-42e8-a4db-ea746d77d10f_1337x959.png 848w, https://substackcdn.com/image/fetch/$s_!y6_A!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a35b535-77e7-42e8-a4db-ea746d77d10f_1337x959.png 1272w, https://substackcdn.com/image/fetch/$s_!y6_A!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a35b535-77e7-42e8-a4db-ea746d77d10f_1337x959.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 6 in <a href="https://dl.acm.org/doi/10.1145/3568813.3600122">the paper</a>.</figcaption></figure></div><h2>Discussion</h2><p>In summary, after running various statistical tests, the authors found that live coding was not more effective at improving students&#8217; performance than presenting static code, and students in the live-coding group were less engaged during lectures. The authors allude to context switching and <a href="https://teachingcs.substack.com/p/learning-about-learning">cognitive load</a> as potential explanations:</p><blockquote><p>Live-coding examples require the instructor to move away from the lecture slides and open a new file in an IDE for each example, which leads to an inherent overhead cost of showing the examples&#8230;<br><br>These results may be due to the instructor simultaneously writing code while also explaining their reasoning and strategies. Students could be unsure whether to write down the code or the instructors&#8217; explanations, potentially resulting in an inability to focus at all&#8230;</p><p>Ultimately, students may not have been able to fully absorb the programming processes demonstrated in the live-coding examples because of the pace and difficulty in focusing.</p></blockquote><p>The authors speculate that &#8220;there may be an additional step between students observing effective programming processes and being able to apply these processes in their own work.&#8221; They then cite methods from <a href="https://www.psy.lmu.de/isls-naples/intro/all-webinars/collins/cognitive-apprenticeship.pdf">Cognitive Apprenticeship</a> beyond modeling (e.g., scaffolding, coaching) as possible ways to supplement traditional lectures.</p><h2>Closing thoughts</h2><p>My hunch is that the most effective CS1 lectures combine live coding with static code, perhaps in the following way: the instructor writes the code while verbalizing their thought process, then (ideally seamlessly, to reduce context switching) annotates and explains the code as if it had been written ahead of time. (Or maybe it&#8217;d be better to flip the order.) It sounds repetitive, but I think it&#8217;s useful to repeat concepts, especially when they are new. Even slight changes in presentation can provide additional insight.</p><p>Results like the ones in this paper highlight the importance of education research. Live coding might have intuitive appeal, but research allows us to check our intuitions.</p><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-1" href="#footnote-anchor-1" class="footnote-number" contenteditable="false" target="_self">1</a><div class="footnote-content"><p>As a reminder, the static-code lecture was at 9:30 am, whereas the live-coding lecture was at 11:00 am, so maybe there was a &#8220;<a href="https://en.wikipedia.org/wiki/Hungry_judge_effect">hungry judge</a>&#8221; effect.</p></div></div>]]></content:encoded></item><item><title><![CDATA[Learning about learning]]></title><description><![CDATA[Memorizing is good, in some sense]]></description><link>https://teachingcs.substack.com/p/learning-about-learning</link><guid isPermaLink="false">https://teachingcs.substack.com/p/learning-about-learning</guid><dc:creator><![CDATA[Kevin Sun]]></dc:creator><pubDate>Fri, 17 May 2024 14:56:00 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!_zKS!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ff77a63-d8dc-429f-aed5-41d6c2bec6ee_1310x525.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>How does learning occur in our brains? Neil Brown, Felienne Hermans, and Lauren Margulieux explore this question in a 2024 article, &#8220;<a href="https://cacm.acm.org/research/10-things-software-developers-should-learn-about-learning/">10 Things Software Developers Should Learn about Learning</a>.&#8221; Their &#8220;Key Insights&#8221; are the following:</p><blockquote><ul><li><p>Learning is vital for programmers, but the human mind works quite differently than a computer.</p></li><li><p>Understanding how humans learn can help you learn more effectively.</p></li><li><p>The Internet and LLMs have not made learning obsolete; learning is essential and takes time.</p></li><li><p>Expertise changes how you think, letting you solve problems more easily but also potentially hindering your ability to teach.</p></li></ul></blockquote><p>Then they list and explain their &#8220;10 Things.&#8221; In this post, I&#8217;ll highlight a few of those things and share some thoughts.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://teachingcs.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Teaching CS! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><h4>Intrinsic vs. extraneous load</h4><p>Learning places demand, also known as <a href="https://en.wikipedia.org/wiki/Cognitive_load">cognitive load</a>, on our working memories. There are two types of cognitive load: <em>intrinsic load</em> is the information inherently necessary to whatever&#8217;s being learned, while <em>extraneous load</em> is everything else. Beginners often cannot distinguish between the two types of load, which makes it harder for them to learn.</p><p>For example, suppose a developer is trying to create a database, and they need to learn the database schema. The schema can be described using a diagram, with rows and columns, or as a paragraph (see the figure below). For most people, the diagram is likely easier to process because both the format of a paragraph (i.e., a block of text) and its non-essential content (e.g., punctuation, capitalization) increase extraneous load.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!_zKS!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ff77a63-d8dc-429f-aed5-41d6c2bec6ee_1310x525.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!_zKS!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ff77a63-d8dc-429f-aed5-41d6c2bec6ee_1310x525.png 424w, https://substackcdn.com/image/fetch/$s_!_zKS!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ff77a63-d8dc-429f-aed5-41d6c2bec6ee_1310x525.png 848w, https://substackcdn.com/image/fetch/$s_!_zKS!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ff77a63-d8dc-429f-aed5-41d6c2bec6ee_1310x525.png 1272w, https://substackcdn.com/image/fetch/$s_!_zKS!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ff77a63-d8dc-429f-aed5-41d6c2bec6ee_1310x525.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!_zKS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ff77a63-d8dc-429f-aed5-41d6c2bec6ee_1310x525.png" width="727" height="291.35496183206106" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4ff77a63-d8dc-429f-aed5-41d6c2bec6ee_1310x525.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:525,&quot;width&quot;:1310,&quot;resizeWidth&quot;:727,&quot;bytes&quot;:248699,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!_zKS!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ff77a63-d8dc-429f-aed5-41d6c2bec6ee_1310x525.png 424w, https://substackcdn.com/image/fetch/$s_!_zKS!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ff77a63-d8dc-429f-aed5-41d6c2bec6ee_1310x525.png 848w, https://substackcdn.com/image/fetch/$s_!_zKS!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ff77a63-d8dc-429f-aed5-41d6c2bec6ee_1310x525.png 1272w, https://substackcdn.com/image/fetch/$s_!_zKS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ff77a63-d8dc-429f-aed5-41d6c2bec6ee_1310x525.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 1 and its caption from <a href="https://cacm.acm.org/research/10-things-software-developers-should-learn-about-learning/#F1">the article</a> by Brown, Hermans, and Margulieux.</figcaption></figure></div><p>This example reminds me of the difference between pseudocode and executable code: conceptually, pseudocode and executable code convey the same ideas, but the latter often contains more visual elements and distracting details. (For more about this, see <a href="https://teachingcs.substack.com/p/why-pseudocode">this post</a>.)</p><h4>Experts recognize</h4><p>Memorization is often viewed as a poor method of learning (e.g., &#8220;Don&#8217;t just memorize &#8212; try to <em>understand</em>!&#8221;), but the authors point out that experts have memorized a lot of things, and this &#8220;frees up their cognition&#8221; when reasoning about new problems. For example, &#8220;[a]n expert may immediately recognize that a particular piece of code is carrying out a sorting algorithm, while a beginner might read line by line to try to understand the workings of the code without recognizing the bigger picture.&#8221; I think this is particularly clear in sports: when most NBA players shoot the ball, I doubt they&#8217;re thinking about &#8220;<a href="https://www.usab.com/news/2014/01/4-steps-to-a-perfect-shot">BEEF</a>&#8221; (balance, elbow in, eyes on target, follow through) &#8212; proper shooting form is deeply stored in their muscle memory.</p><p>Experts typically don&#8217;t sit down and deliberately try to memorize things. Instead, they accumulate knowledge in their long-term memory through experience. For beginners, this points to a way of improving at, say, recognizing code: simply read and understand a lot of it. An analogy here is machine learning: modern algorithms require vast amounts of training data.</p><p>Finally, even though the Internet is huge and AI tools keep improving, the authors argue that memorizing is still important because it allows us to quickly access information while minimizing the cost of context switching. For example, it&#8217;s hard for anyone to write complex software if they constantly need to look up syntax.</p><h4>Spaced practice vs. cramming</h4><p>According to the authors, the spacing effect is &#8220;one of the most predictable and persistent effects in cognitive psychology.&#8221; It states that for long-term learning, cramming is less effective than spacing practice sessions across multiple sessions (ideally over the span of weeks). Whenever a learner solves a problem, they match the problem to a corresponding concept in their long-term memory. By keeping this neural connection active over a longer time horizon, learners improve at selecting the correct concept when solving new problems.</p><p>But, like muscles, our brains require rest &#8212; they need time to develop and consolidate new information. In fact, the authors recommend keeping learning bouts to 90 minutes or less and resting for at least 20 minutes after each bout. They emphasize that &#8220;rest&#8221; means walking or sitting quietly; they don&#8217;t consider chatting, working on other tasks, or browsing the Internet as rest.</p><h4>Spatial skills seem to transfer</h4><p>For the most part, there&#8217;s no generic &#8220;problem-solving&#8221; skill that generalizes across disciplines. For example, when a child receives chess or music instruction, their other cognitive skills <a href="https://pubmed.ncbi.nlm.nih.gov/29276344/">rarely improve</a>. However, spatial skills (e.g., rotating a Tetris shape in one&#8217;s mind) seem to be an exception: according to the authors, &#8220;spatial training improves performance on a range of non-verbal skills regardless of initial ability, age, or type of training task.&#8221; They note that &#8220;[t]his phenomenon is so unusual that it has caused much consternation in cognitive and learning sciences.&#8221; But spatial reasoning is not a magic bullet or perfect predictor of success in programming: the authors claim that &#8220;these weak-to-moderate correlations largely disappear with increased experience for various reasons.&#8221;</p><p>Here&#8217;s <a href="https://eprints.gla.ac.uk/213969/">a 2020 paper</a> by Jack Parkinson and Quintin Cutts that suggests that training spatial skills improves outcomes on computing assessments. It also provides an example of a spatial reasoning problem; see the figure below.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!8P44!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3feebf18-03e9-405b-8b5e-3bc26f95c565_614x438.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!8P44!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3feebf18-03e9-405b-8b5e-3bc26f95c565_614x438.png 424w, https://substackcdn.com/image/fetch/$s_!8P44!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3feebf18-03e9-405b-8b5e-3bc26f95c565_614x438.png 848w, https://substackcdn.com/image/fetch/$s_!8P44!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3feebf18-03e9-405b-8b5e-3bc26f95c565_614x438.png 1272w, https://substackcdn.com/image/fetch/$s_!8P44!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3feebf18-03e9-405b-8b5e-3bc26f95c565_614x438.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!8P44!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3feebf18-03e9-405b-8b5e-3bc26f95c565_614x438.png" width="614" height="438" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3feebf18-03e9-405b-8b5e-3bc26f95c565_614x438.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:438,&quot;width&quot;:614,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:62636,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!8P44!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3feebf18-03e9-405b-8b5e-3bc26f95c565_614x438.png 424w, https://substackcdn.com/image/fetch/$s_!8P44!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3feebf18-03e9-405b-8b5e-3bc26f95c565_614x438.png 848w, https://substackcdn.com/image/fetch/$s_!8P44!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3feebf18-03e9-405b-8b5e-3bc26f95c565_614x438.png 1272w, https://substackcdn.com/image/fetch/$s_!8P44!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3feebf18-03e9-405b-8b5e-3bc26f95c565_614x438.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 1 from <a href="https://eprints.gla.ac.uk/213969/">a paper</a> by Parkinson and Cutts.</figcaption></figure></div><h4>Experts are not necessarily the best teachers</h4><p>Experts sometimes experience a blind-spot problem, in which they fail to see the difficulty of a task because their knowledge has become so automated. Moreover, they might be unable to articulate their reasoning and resort to phrases like, &#8220;I just know.&#8221; To address these situations, the authors suggest that &#8220;a knowledgeable (but still relatively novice) peer&#8221; (e.g., a teaching assistant, perhaps) can help &#8220;bridge the gap between beginners and experts.&#8221;</p><p>I think another remedy for the blind-spot problem is having the teacher recall the feeling of being stumped or confused. Many professors likely encounter this in their research, but perhaps pursuing an unrelated endeavor (e.g., shooting a basketball) would be even more effective since that likely matches the students&#8217; experience more closely. Feeling stumped can be demoralizing, but if the professor can relate, perhaps they can help the student learn more effectively.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://teachingcs.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Teaching CS! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[Why pseudocode?]]></title><description><![CDATA[Let's not miss the forest for the trees]]></description><link>https://teachingcs.substack.com/p/why-pseudocode</link><guid isPermaLink="false">https://teachingcs.substack.com/p/why-pseudocode</guid><dc:creator><![CDATA[Kevin Sun]]></dc:creator><pubDate>Fri, 05 Apr 2024 18:05:00 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/b28b6e14-6c62-429c-8475-72279df5e082_500x365.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>I&#8217;m a fan of pseudocode, and in this post, I&#8217;ll try to illustrate why.<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!tsKp!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04378e05-65e6-4a7a-b749-c1acb15f22f5_5917x3945.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!tsKp!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04378e05-65e6-4a7a-b749-c1acb15f22f5_5917x3945.jpeg 424w, https://substackcdn.com/image/fetch/$s_!tsKp!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04378e05-65e6-4a7a-b749-c1acb15f22f5_5917x3945.jpeg 848w, https://substackcdn.com/image/fetch/$s_!tsKp!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04378e05-65e6-4a7a-b749-c1acb15f22f5_5917x3945.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!tsKp!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04378e05-65e6-4a7a-b749-c1acb15f22f5_5917x3945.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!tsKp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04378e05-65e6-4a7a-b749-c1acb15f22f5_5917x3945.jpeg" width="1456" height="971" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/04378e05-65e6-4a7a-b749-c1acb15f22f5_5917x3945.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:971,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:3055077,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!tsKp!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04378e05-65e6-4a7a-b749-c1acb15f22f5_5917x3945.jpeg 424w, https://substackcdn.com/image/fetch/$s_!tsKp!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04378e05-65e6-4a7a-b749-c1acb15f22f5_5917x3945.jpeg 848w, https://substackcdn.com/image/fetch/$s_!tsKp!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04378e05-65e6-4a7a-b749-c1acb15f22f5_5917x3945.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!tsKp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04378e05-65e6-4a7a-b749-c1acb15f22f5_5917x3945.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Photo by <a href="https://unsplash.com/@pankajpatel?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Pankaj Patel</a> on <a href="https://unsplash.com/photos/monitor-displaying-indexhtml-codes-_SgRNwAVNKw?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Unsplash</a></figcaption></figure></div><h4>Pseudocode is more widely accessible.</h4><p>Let&#8217;s say you&#8217;re trying to solve some programming problem in Java, and you&#8217;d like to implement an algorithm that you found in some research paper. Now suppose the paper uses Python, and you haven&#8217;t seen any Python in a while. In this situation, you&#8217;ll probably need to look up various idiosyncrasies. For example, what exactly does &#8220;for i in range(10):&#8221; mean? Does it include 0? Does it include 10? Resolving questions like these requires that you spend additional time and energy on tasks only tangentially related to the main problem, and this detour would be even costlier if you&#8217;ve never seen any Python in your life. On the other hand, if the paper states, &#8220;for i = 0, 1, &#8230;, 9,&#8221; you can translate that into Java much more easily. (Perhaps ideally, the research paper includes both pseudocode and executable code &#8212; Steven Skiena&#8217;s textbook <a href="https://www.algorist.com/code.html">does this</a>.)</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://teachingcs.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Teaching CS! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>This might sound like a superficial advantage of pseudocode, but I believe there&#8217;s a deeper phenomenon here. Pseudocode is not just a time-saving device; it helps us grasp the essence of an algorithm by eliminating clutter and highlighting its core ideas. In other words:</p><h4>Pseudocode better expresses algorithmic ideas.</h4><p>Here&#8217;s an algorithm, similar to Breadth-First Search, implemented straightforwardly in Python. Note that Python is already more pseudocode-like than most programming languages, yet it still provides an illustrative example:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!V4o_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1517334f-f60e-46e6-94f0-2599e0c67315_1113x576.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!V4o_!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1517334f-f60e-46e6-94f0-2599e0c67315_1113x576.png 424w, https://substackcdn.com/image/fetch/$s_!V4o_!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1517334f-f60e-46e6-94f0-2599e0c67315_1113x576.png 848w, https://substackcdn.com/image/fetch/$s_!V4o_!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1517334f-f60e-46e6-94f0-2599e0c67315_1113x576.png 1272w, https://substackcdn.com/image/fetch/$s_!V4o_!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1517334f-f60e-46e6-94f0-2599e0c67315_1113x576.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!V4o_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1517334f-f60e-46e6-94f0-2599e0c67315_1113x576.png" width="1113" height="576" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1517334f-f60e-46e6-94f0-2599e0c67315_1113x576.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:576,&quot;width&quot;:1113,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:33096,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!V4o_!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1517334f-f60e-46e6-94f0-2599e0c67315_1113x576.png 424w, https://substackcdn.com/image/fetch/$s_!V4o_!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1517334f-f60e-46e6-94f0-2599e0c67315_1113x576.png 848w, https://substackcdn.com/image/fetch/$s_!V4o_!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1517334f-f60e-46e6-94f0-2599e0c67315_1113x576.png 1272w, https://substackcdn.com/image/fetch/$s_!V4o_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1517334f-f60e-46e6-94f0-2599e0c67315_1113x576.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>And here&#8217;s the same algorithm in pseudocode:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!XuVU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3a7572e-1c4c-4292-8f3a-1246d331b78f_1043x269.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!XuVU!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3a7572e-1c4c-4292-8f3a-1246d331b78f_1043x269.png 424w, https://substackcdn.com/image/fetch/$s_!XuVU!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3a7572e-1c4c-4292-8f3a-1246d331b78f_1043x269.png 848w, https://substackcdn.com/image/fetch/$s_!XuVU!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3a7572e-1c4c-4292-8f3a-1246d331b78f_1043x269.png 1272w, https://substackcdn.com/image/fetch/$s_!XuVU!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3a7572e-1c4c-4292-8f3a-1246d331b78f_1043x269.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!XuVU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3a7572e-1c4c-4292-8f3a-1246d331b78f_1043x269.png" width="1043" height="269" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e3a7572e-1c4c-4292-8f3a-1246d331b78f_1043x269.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:269,&quot;width&quot;:1043,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:15792,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!XuVU!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3a7572e-1c4c-4292-8f3a-1246d331b78f_1043x269.png 424w, https://substackcdn.com/image/fetch/$s_!XuVU!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3a7572e-1c4c-4292-8f3a-1246d331b78f_1043x269.png 848w, https://substackcdn.com/image/fetch/$s_!XuVU!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3a7572e-1c4c-4292-8f3a-1246d331b78f_1043x269.png 1272w, https://substackcdn.com/image/fetch/$s_!XuVU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3a7572e-1c4c-4292-8f3a-1246d331b78f_1043x269.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>At a glance, we can see that the Python version (1) is longer and denser, (2) assumes that the graph is given as an adjacency matrix, and (3) requires the reader to know (or look up) Pythonic quirks such as &#8220;len(G)&#8221; and &#8220;[False] * n&#8221;. These mental hurdles obstruct the path toward understanding the algorithm (i.e., what it&#8217;s <em>really</em> doing) by submerging its description in the details of one particular implementation.</p><p>More generally, Python demands conformity to a rigid syntax, while the flexibility of pseudocode allows us to directly express the core ideas. For example, &#8220;for u in range(n): for v in range(n): if G[u][v] == 1&#8221; is a long-winded way of saying &#8220;find an edge (u,v).&#8221; Similarly, &#8220;marked[v] = True&#8221; is dry and technical, while &#8220;mark v&#8221; conjures a vivid image of an action that the reader can visualize themselves doing (e.g., placing a green checkmark on a circle).<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-2" href="#footnote-2" target="_self">2</a> In fact, a picture might sometimes be even better than pseudocode:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!wyoE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F365a3e29-a2c3-404c-9001-30d4e2073699_931x369.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!wyoE!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F365a3e29-a2c3-404c-9001-30d4e2073699_931x369.png 424w, https://substackcdn.com/image/fetch/$s_!wyoE!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F365a3e29-a2c3-404c-9001-30d4e2073699_931x369.png 848w, https://substackcdn.com/image/fetch/$s_!wyoE!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F365a3e29-a2c3-404c-9001-30d4e2073699_931x369.png 1272w, https://substackcdn.com/image/fetch/$s_!wyoE!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F365a3e29-a2c3-404c-9001-30d4e2073699_931x369.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!wyoE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F365a3e29-a2c3-404c-9001-30d4e2073699_931x369.png" width="931" height="369" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/365a3e29-a2c3-404c-9001-30d4e2073699_931x369.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:369,&quot;width&quot;:931,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:27472,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!wyoE!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F365a3e29-a2c3-404c-9001-30d4e2073699_931x369.png 424w, https://substackcdn.com/image/fetch/$s_!wyoE!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F365a3e29-a2c3-404c-9001-30d4e2073699_931x369.png 848w, https://substackcdn.com/image/fetch/$s_!wyoE!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F365a3e29-a2c3-404c-9001-30d4e2073699_931x369.png 1272w, https://substackcdn.com/image/fetch/$s_!wyoE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F365a3e29-a2c3-404c-9001-30d4e2073699_931x369.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Vertex 2 is marked and (2, 3) is an edge, so now we mark vertex 3.</figcaption></figure></div><p>Compressing ideas in this manner (executable code to pseudocode and/or picture) frees up space in our mental &#8220;working memory,&#8221; which is especially helpful when we&#8217;re dealing with new information (see, e.g., <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4207727/">here</a> and <a href="https://acris.aalto.fi/ws/portalfiles/portal/54407944/SCI_Zavgorodniaia_Measuring_the_Cognitive_Load.pdf">here</a>). It&#8217;s like substituting &#8220;sodium chloride&#8221; with &#8220;salt&#8221; &#8212; the former is more appropriate if we&#8217;re concerned about a chemical reaction in a science experiment, but the latter is better for everyday cooking purposes. Similarly, executable code is essential if we want to modify the output of a computer program, but if we&#8217;re reasoning about algorithms at a higher level, pseudocode is generally more fitting.</p><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-1" href="#footnote-anchor-1" class="footnote-number" contenteditable="false" target="_self">1</a><div class="footnote-content"><p>It&#8217;s not just me: to the best of my knowledge, most popular textbooks on algorithms (e.g., [<a href="https://mitpress.mit.edu/9780262046305/introduction-to-algorithms/">CLRS</a>]) primarily or exclusively rely on pseudocode.</p></div></div><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-2" href="#footnote-anchor-2" class="footnote-number" contenteditable="false" target="_self">2</a><div class="footnote-content"><p>The advantage of using &#8220;mark v&#8221; over &#8220;marked[v] = True&#8221; is akin to the advantage of using active voice over passive voice.</p></div></div>]]></content:encoded></item><item><title><![CDATA[Off the Mark (review)]]></title><description><![CDATA[by Jack Schneider and Ethan Hutt]]></description><link>https://teachingcs.substack.com/p/off-the-mark-review</link><guid isPermaLink="false">https://teachingcs.substack.com/p/off-the-mark-review</guid><dc:creator><![CDATA[Kevin Sun]]></dc:creator><pubDate>Thu, 07 Mar 2024 17:45:41 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/a85a7165-35e0-4204-9de7-169a913c0b2b_438x400.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In <a href="https://teachingcs.substack.com/p/a-history-of-grades">my last post</a>, I wrote about <a href="https://ehutt.web.unc.edu/wp-content/uploads/sites/20826/2019/07/Schneider_Hutt_Making-the-Grade.pdf">a paper</a> by Jack Schneider and Ethan Hutt. Since then, I&#8217;ve read their book <a href="https://www.goodreads.com/book/show/102189674-off-the-mark">Off the Mark</a>, and I enjoyed it.<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a> According to them, reforming grades is tricky because people expect grades to serve three purposes:</p><ol><li><p><strong>Communication:</strong> In the short term, grades provide a succinct way for teachers to communicate to students (and potentially their parents) about their progress. In the long term, colleges, graduate schools, and employers rely on grades to make admissions and hiring decisions.</p></li><li><p><strong>Motivation:</strong> Learning isn&#8217;t easy; as the book puts it, &#8220;Learning is an active process that involves invisible work and considerable effort.&#8221; Thus, grades &#8220;have been used as a way of getting students to take school seriously.&#8221;</p></li><li><p><strong>Synchronization:</strong> As a whole, the education system has various moving parts: students change schools, transfer to other districts, apply to colleges around the world, etc. Grades help tie the system together by providing schools with a means of synchronization. For example, transfer students typically receive credit for a course if they took the equivalent at their previous school, even if the two offerings aren&#8217;t perfectly equivalent.</p></li></ol><p>The book proposes some improvements to the standard grading practices that, it argues, simultaneously preserve the purposes listed above while addressing negative aspects of the status quo (e.g., cheating, teaching to the test, avoiding challenges). I&#8217;ll describe some of the proposals below along with my thoughts on how I&#8217;ve considered implementing them in an undergraduate CS course.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!bkak!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc27b478c-16ee-4391-9af2-e548f2fa2d74_264x400.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!bkak!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc27b478c-16ee-4391-9af2-e548f2fa2d74_264x400.jpeg 424w, https://substackcdn.com/image/fetch/$s_!bkak!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc27b478c-16ee-4391-9af2-e548f2fa2d74_264x400.jpeg 848w, https://substackcdn.com/image/fetch/$s_!bkak!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc27b478c-16ee-4391-9af2-e548f2fa2d74_264x400.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!bkak!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc27b478c-16ee-4391-9af2-e548f2fa2d74_264x400.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!bkak!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc27b478c-16ee-4391-9af2-e548f2fa2d74_264x400.jpeg" width="264" height="400" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c27b478c-16ee-4391-9af2-e548f2fa2d74_264x400.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:400,&quot;width&quot;:264,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!bkak!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc27b478c-16ee-4391-9af2-e548f2fa2d74_264x400.jpeg 424w, https://substackcdn.com/image/fetch/$s_!bkak!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc27b478c-16ee-4391-9af2-e548f2fa2d74_264x400.jpeg 848w, https://substackcdn.com/image/fetch/$s_!bkak!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc27b478c-16ee-4391-9af2-e548f2fa2d74_264x400.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!bkak!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc27b478c-16ee-4391-9af2-e548f2fa2d74_264x400.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Image from <a href="https://www.goodreads.com/book/show/102189674-off-the-mark">Goodreads</a></figcaption></figure></div><h4>1: Provide grade-less feedback</h4><p>Teachers should provide narratives, or &#8220;thick descriptions of student abilities,&#8221; in addition to regular grades. Unfortunately (like many alternative grading methods), this sounds nice but seems difficult to scale to hundreds of students, since giving good feedback takes time and experience. It&#8217;s also quite demoralizing when teachers realize that <a href="https://www.facultyfocus.com/articles/educational-assessment/they-dont-read-my-feedback-strategies-to-encourage-reception-and-application-of-course-feedback/">many students</a> ignore it. Of course these days, there are <a href="https://www.thecrimson.com/article/2023/6/21/cs50-artificial-intelligence/">AI tutors</a>, but I&#8217;m not convinced that they can solve the core problems with grading. They&#8217;re still (depending on the context) unreliable, and personally, I&#8217;m less likely to take an AI tutor&#8217;s feedback seriously than an instructor&#8217;s. (Of course, AI has been developing quite rapidly, so it&#8217;s hard to rule out AI-based solutions completely.)</p><p>One thing I&#8217;ve done, which is relatively easy to implement, is assigning homework problems that are worth an extremely small (possibly zero) number of points. My hope is that, because these problems essentially don&#8217;t affect students&#8217; final grades, students can use them as opportunities to test their true abilities and receive feedback. Usually, when every problem matters for their grade, students are more likely to rely on external assistance, which obfuscates the communication of their true abilities to their instructors.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://teachingcs.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Teaching CS! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><h4>2: Create digital portfolios</h4><p>When someone sees a letter grade on a student&#8217;s transcript, it&#8217;s usually hard for them to tell what exactly that letter grade means. To remedy this, the book proposes that the <em>work itself</em>, not just a grade, should be visible to future audiences via a digital portfolio. The book argues that these &#8220;double-clickable&#8221; transcripts should include larger projects, skills, and competencies, which can be &#8220;interpreted through holistic human judgment&#8221; and minimize the negative parts of grading. Teaching to the test might be fine if the &#8220;test&#8221; is actually a series of interesting projects.</p><p>I don&#8217;t know what a digital portfolio looks like in an algorithms course, but I think it&#8217;d be motivating for students to leave the course with something substantial beyond a grade and a bunch of small, independent assignments. One idea I&#8217;ve considered is having students create a video in which they explain the solution to a problem. After all, teaching is a <a href="https://www.edsurge.com/news/2019-01-24-want-students-to-remember-what-they-learn-have-them-teach-it">great way</a> to learn, and creating an educational video could be useful career preparation. (According to a 2019 poll, &#8220;YouTuber&#8221; and &#8220;teacher&#8221; are the <a href="https://www.cnbc.com/2019/07/19/more-children-dream-of-being-youtubers-than-astronauts-lego-says.html">top two</a> career aspirations for children in the US and UK!)</p><h4>3: Foster intrinsic motivation</h4><p>As I&#8217;ve written about before, external motivation (e.g., grades) can <a href="https://teachingcs.substack.com/p/drawing-for-rewards">crowd out</a> intrinsic motivation, which many argue is a negative effect of the education system. However, as the authors readily acknowledge, fostering intrinsic motivation is difficult because motivation involves many complex elements such as <a href="https://teachingcs.substack.com/p/the-teaching-gap">school culture</a> and family support. Still, they believe schools should try to create assignments that are tied to authentic competencies and lead to longer-term goals. (The opposite would be pure busywork.) Unfortunately, it&#8217;s much easier to administer and consistently grade, say, multiple-choice quizzes than open-ended prompts. But I definitely see their point: if a student only engaged with a subject via multiple-choice quizzes, their interest in the subject would probably stagnate (or even decrease).</p><p>Instead of focusing on the exchange-value of education (i.e., do these tasks in exchange for an A), educators should focus on its use-value. By &#8220;use,&#8221; the authors don&#8217;t mean &#8220;useful for getting a job&#8221; but rather, they mean something like &#8220;useful for living a good life.&#8221; (I suspect that they think &#8220;useful for getting a job,&#8221; still sounds too transactional.) They use art as an example: for most people, drawing and painting aren&#8217;t useful for enhancing one&#8217;s r&#233;sum&#233;, but they can certainly be useful for living a good life.</p><p>Similarly, in my opinion, developing an appreciation for theoretical computer science is similar to developing an appreciation for art, jazz, physics, nature, etc. For most people, there&#8217;s no obvious quantifiable reason to appreciate any of these things. But, without getting too philosophical, I think that part of &#8220;living a good life&#8221; is cultivating a sense of curiosity and awe.</p><h4>4: Use common performance tasks</h4><p>Almost every school has a course called, say, &#8220;Algebra 1,&#8221; but these courses vary in content and difficulty. This especially becomes a problem when students change schools. To preserve synchronization across institutions, the authors &#8220;envision common performance tasks&#8221; that allow us to shift our focus &#8220;from the current formalisms to what students can actually do.&#8221; Even though some subjects (e.g., history?) seem harder to break into concrete skills than others (e.g., math), I think common performance tasks would be useful for every subject.</p><p>In computer science, a few major organizations (ACM/IEEE/AAAI) released curricular guidelines in <a href="https://csed.acm.org/">2023</a>; here is <a href="https://csed.acm.org/wp-content/uploads/2023/09/AL-Version-Gamma.pdf">the report</a> for &#8220;Algorithmic Foundations.&#8221; In my opinion, their list of topics is quite long, and it&#8217;s not clear what the learning outcomes entail. For example, one of the outcomes is &#8220;Evaluate whether a greedy approach leads to an optimal solution.&#8221; This can be either extremely easy or very difficult, depending on the details of the situation! But still, for the sake of synchronization, I think it&#8217;s worth it for CS programs to at least be aware of the guidelines, if not try to follow them.</p><h4>5: Make grades overwritable</h4><p>The last proposal I&#8217;ll discuss sounds the most radical. The authors use the following analogy: if someone can ride a bike, it basically doesn&#8217;t matter how long it took them to learn. Similarly, they argue:</p><blockquote><p>Instead of permanent marks, we can imagine assessment systems that update constantly to reflect what students know and can do <em>today</em>. Can the person in question ride a bike <em>now</em>? If so, previous struggles are suddenly no longer relevant information &#8212; they are archival noise that should be scrubbed from the data.</p></blockquote><p>In computer science, there was a paper from SIGCSE 2023 that explores this very idea: &#8220;<a href="https://dl.acm.org/doi/10.1145/3545945.3569847">A&#8217;s for All (As Time and Interest Allow)</a>.&#8221; Both the book and the paper make a strong case for overwritable grades, but I worry about the negative consequences (many of which could be unforeseen). For example, the book notes that one potential downside is that students become even more obsessed with getting straight A&#8217;s, possibly to the detriment of their learning and mental health. Still, the idea is interesting, and maybe even useful at a smaller scale &#8212; I&#8217;ve written about one of my own experiments with <a href="https://teachingcs.substack.com/p/alternative-grading-in-algorithms">alternative grading</a>, which included reattempts without penalty.</p><h4>Conclusion</h4><p>Grades are deeply embedded in our education system, so if we want to improve grading practices, it&#8217;s important to know their history and the purposes they serve. <a href="https://dl.acm.org/doi/10.1145/3545945.3569847">Off the Mark</a> provides a great overview in addition to multiple proposals for improvement. Some of them are pretty radical, but others are relatively easier to implement. I discussed their paper in <a href="https://teachingcs.substack.com/p/a-history-of-grades">my last post</a>, and it ends rather pessimistically, so I&#8217;m glad that this book provides a nice sense of hope.</p><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-1" href="#footnote-anchor-1" class="footnote-number" contenteditable="false" target="_self">1</a><div class="footnote-content"><p>Disclaimer: Ethan Hutt and I both currently work at UNC-Chapel Hill.</p></div></div>]]></content:encoded></item><item><title><![CDATA[A history of grades]]></title><description><![CDATA[The shift from internal to external communication]]></description><link>https://teachingcs.substack.com/p/a-history-of-grades</link><guid isPermaLink="false">https://teachingcs.substack.com/p/a-history-of-grades</guid><dc:creator><![CDATA[Kevin Sun]]></dc:creator><pubDate>Fri, 26 Jan 2024 14:02:36 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!6TOE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52e9bf0d-0509-41d7-a6e4-6ab42b22e143_5312x2988.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Grades are a big deal in the US education system, so &#8220;it can be easy to perceive grades as both fixed and inevitable,&#8221; as Jack Schneider and Ethan Hutt put it in their 2013 paper, <a href="https://ehutt.web.unc.edu/wp-content/uploads/sites/20826/2019/07/Schneider_Hutt_Making-the-Grade.pdf">Making the grade: a history of the A-F marking scheme</a>. Their main claim is that grades were initially used for internal communication (e.g., for students&#8217; families), but they became forms of external communication (e.g., for college admissions officers and employers). In this post, I&#8217;ll summarize the paper and share a few thoughts.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!6TOE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52e9bf0d-0509-41d7-a6e4-6ab42b22e143_5312x2988.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!6TOE!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52e9bf0d-0509-41d7-a6e4-6ab42b22e143_5312x2988.jpeg 424w, https://substackcdn.com/image/fetch/$s_!6TOE!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52e9bf0d-0509-41d7-a6e4-6ab42b22e143_5312x2988.jpeg 848w, https://substackcdn.com/image/fetch/$s_!6TOE!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52e9bf0d-0509-41d7-a6e4-6ab42b22e143_5312x2988.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!6TOE!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52e9bf0d-0509-41d7-a6e4-6ab42b22e143_5312x2988.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!6TOE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52e9bf0d-0509-41d7-a6e4-6ab42b22e143_5312x2988.jpeg" width="1456" height="819" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/52e9bf0d-0509-41d7-a6e4-6ab42b22e143_5312x2988.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:819,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:790868,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!6TOE!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52e9bf0d-0509-41d7-a6e4-6ab42b22e143_5312x2988.jpeg 424w, https://substackcdn.com/image/fetch/$s_!6TOE!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52e9bf0d-0509-41d7-a6e4-6ab42b22e143_5312x2988.jpeg 848w, https://substackcdn.com/image/fetch/$s_!6TOE!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52e9bf0d-0509-41d7-a6e4-6ab42b22e143_5312x2988.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!6TOE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52e9bf0d-0509-41d7-a6e4-6ab42b22e143_5312x2988.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Photo by <a href="https://unsplash.com/@sparkerz?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Barry Zhou</a> on <a href="https://unsplash.com/photos/empty-classroom-khjwIW9HH5s?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Unsplash</a></figcaption></figure></div><p>Yale is often cited (and <a href="https://advising.yalecollege.yale.edu/sites/default/files/files/Yale%20Firsts.pdf">cites itself</a>) as one of the original adopters of grading in the American colonies. In 1837, the school indeed tracked grades in individual courses, but interestingly, those grades &#8220;were often kept secret from students &#8211;&#8211; an effort to minimize the day to day competition among them.&#8221;</p><p>In the early- to mid-nineteenth century, K-12 schools also began issuing grades. One overtly competitive system was called the Lancasterian model: each day, students &#8220;were literally repositioned in the classroom &#8211;&#8211; the top students moving to the front of the class and the less capable students moving to the back.&#8221; Proponents of the system argued that the competition was commendable since they believed it motivated students to work hard.</p><p>But not everyone felt this way. As educational reformer Horace Mann wrote, &#8220;if superior rank at recitation be the object, then, as soon as that superiority is obtained, the spring of desire and of effort for that occasion relaxes.&#8221; (In <a href="https://teachingcs.substack.com/p/drawing-for-rewards">another post</a>, I described some psychology research that supports this claim.) Instead, he favored monthly report cards, which could reduce competition, track students&#8217; progress, and keep parents informed.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://teachingcs.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Teaching CS! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>Between 1870 and 1910, as a result of compulsory schooling enforcement, child labor laws, and the increased use of education for social mobility, K-12 enrollments almost tripled in size. As a result, administrators needed to develop more efficient managerial systems. For example, professors used to conduct college entrance exams at individual high schools, but that became seen as unfair and required tons of effort. Instead, colleges began to use an accreditation system for high schools. This growth in standardization paralleled similar moves in other industries. For example, as the market for grain expanded, grades and standards were required because personal inspection by the buyer became too difficult.</p><p>Despite the efforts at standardization, the meaning of individual grades was (and is) unclear. Teachers assign grades in different ways, schools have different norms, and many scores are near the boundary of two grades (e.g., 89 might be a B+ while 90 is an A-). Many educators, influenced by reformers like John Dewey, denounced the negative effects of grading. But as the authors put it, &#8220;grades were not going to be dropped,&#8221; because they &#8220;were too useful as extrinsic motivation, even if such motivation was seen as having serious consequences.&#8221;</p><p>Eventually, the grading system became fairly standardized, at least on the surface: by 1971, over 80% of schools used letter grades. However, many teachers opposed letter grades; according to a 1971 survey, only 16% of teachers believed they were the best reporting method for elementary students. Furthermore, many students began gaming the system by shopping around for &#8220;easy A&#8221; courses, and colleges&#8217; reliance on students&#8217; evaluations of instructors (among many other factors) incentivized grade inflation.<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a></p><p>The paper ends on a rather pessimistic note:</p><blockquote><p>The upshot of all of this is that educators are stuck in a bind&#8230; They must find a way to work within a system that is universally accepted &#8211;&#8211; one essential for national movement, seamless coordination, and seemingly standard communication to parents and outsiders. And, at the same time, they must find a way to keep students focused on learning and not merely on a set of measurable outcomes loosely connected to the process of education.</p></blockquote><p>Fortunately, the authors&#8217; book <a href="https://www.hup.harvard.edu/books/9780674248410">Off the Mark</a> was published last year, and according to the official blurb, it offers &#8220;a range of practical reforms.&#8221; I haven&#8217;t read it yet, but I probably will, and I suspect I&#8217;ll write about it afterward.</p><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-1" href="#footnote-anchor-1" class="footnote-number" contenteditable="false" target="_self">1</a><div class="footnote-content"><p>During the Vietnam War, college students could apply for a draft deferment, and to keep their draft deferment status, they had to remain in good academic standing. According to the paper, &#8220;there is evidence that faculty members grasped the suddenly broader implications of their grades and became more lenient in assigning them.&#8221;</p></div></div>]]></content:encoded></item><item><title><![CDATA[Recap post - 2023]]></title><description><![CDATA[I plan, for as long as this newsletter lives, to make the last post of every year a 100-word (or less) summary of each post published earlier that year.]]></description><link>https://teachingcs.substack.com/p/recap-post-2023</link><guid isPermaLink="false">https://teachingcs.substack.com/p/recap-post-2023</guid><dc:creator><![CDATA[Kevin Sun]]></dc:creator><pubDate>Fri, 29 Dec 2023 14:03:19 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!kvaU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc05d6189-308f-4949-b1d5-bd2c3cffb507_5107x3405.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!kvaU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc05d6189-308f-4949-b1d5-bd2c3cffb507_5107x3405.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!kvaU!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc05d6189-308f-4949-b1d5-bd2c3cffb507_5107x3405.jpeg 424w, https://substackcdn.com/image/fetch/$s_!kvaU!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc05d6189-308f-4949-b1d5-bd2c3cffb507_5107x3405.jpeg 848w, https://substackcdn.com/image/fetch/$s_!kvaU!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc05d6189-308f-4949-b1d5-bd2c3cffb507_5107x3405.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!kvaU!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc05d6189-308f-4949-b1d5-bd2c3cffb507_5107x3405.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!kvaU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc05d6189-308f-4949-b1d5-bd2c3cffb507_5107x3405.jpeg" width="1456" height="971" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c05d6189-308f-4949-b1d5-bd2c3cffb507_5107x3405.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:971,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:3119438,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!kvaU!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc05d6189-308f-4949-b1d5-bd2c3cffb507_5107x3405.jpeg 424w, https://substackcdn.com/image/fetch/$s_!kvaU!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc05d6189-308f-4949-b1d5-bd2c3cffb507_5107x3405.jpeg 848w, https://substackcdn.com/image/fetch/$s_!kvaU!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc05d6189-308f-4949-b1d5-bd2c3cffb507_5107x3405.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!kvaU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc05d6189-308f-4949-b1d5-bd2c3cffb507_5107x3405.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Photo by <a href="https://unsplash.com/@jruscello?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Jessica Ruscello</a> on <a href="https://unsplash.com/photos/assorted-book-lot-OQSCtabGkSY?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Unsplash</a></figcaption></figure></div><p>I plan, for as long as this newsletter lives, to make the last post of every year a 100-word (or less) summary of each post published earlier that year. Thanks for reading!</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://teachingcs.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://teachingcs.substack.com/subscribe?"><span>Subscribe now</span></a></p><p>In chronological order:</p><h4>1: <a href="https://teachingcs.substack.com/p/blooms-2-sigma-problem">Bloom&#8217;s 2 sigma problem</a></h4><p>Tutoring is highly effective for students&#8217; learning, but it&#8217;s not easily scalable, so Benjamin Bloom sought alternative ideas. For example, Mastery Learning (the idea that a student shouldn&#8217;t learn Unit 2 before they&#8217;ve mastered Unit 1) is pretty effective, but it&#8217;s tricky to implement since students progress at different rates. He also demonstrates the effectiveness of teaching &#8220;higher mental processes,&#8221; which is often found in non-US countries (see #8 below).</p><h4>2: <a href="https://teachingcs.substack.com/p/drawing-for-rewards">Drawing for rewards</a></h4><p>Education systems often use grades and other extrinsic rewards (e.g., stickers, pizza) to boost student motivation. However, results from <a href="https://web.mit.edu/curhan/www/docs/Articles/15341_Readings/Motivation/Lepper_et_al_Undermining_Childrens_Intrinsic_Interest.pdf">studies</a> in <a href="https://bingschool.stanford.edu/sites/bingschool/files/1975_leppergreene.pdf">psychology</a> suggest that extrinsic rewards can &#8220;crowd out&#8221; intrinsic motivation; as a result, many believe that extrinsic rewards are required for motivation. Once a reward system is in place, it&#8217;s hard to break out of this cycle &#8212; Alfie Kohn has written <a href="https://www.alfiekohn.org/article/rewards-25-years-later/">quite a lot</a> about this.</p><h4>3: <a href="https://teachingcs.substack.com/p/lessons-from-dog-agility">Lessons from dog agility</a></h4><p>People who pay to learn, outside of traditional classroom settings, often enjoy their experiences while learning. One reason could be that they have intrinsic motivation (see #2), but there could be external, pedagogical reasons as well. For example, dog agility classes contain breaks, social interactions, and physical activity &#8212; there&#8217;s some <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8071424/">evidence</a> that these components are beneficial for learning in general. More broadly, I wonder what aspects of non-traditional learning settings could benefit traditional classroom settings.</p><h4>4: <a href="https://teachingcs.substack.com/p/alternative-grading-in-algorithms">Alternative grading in algorithms</a></h4><p>For better or worse, grading schemes heavily influence students&#8217; experiences, so it&#8217;s worthwhile to consider various approaches. This post describes a few things I tried at Elon University that seemed to work reasonably well. One idea I liked is reducing the number of possible outcomes for open-ended problems (e.g., each problem is worth 3 points rather than 20). In my experience, this makes grading more efficient and consistent.</p><h4>5: <a href="https://teachingcs.substack.com/p/delbancos-three-cases-for-college">Delbanco's three cases for college</a></h4><p>&#8220;What is the purpose of college?&#8221; is a big question, and Andrew Delbanco gives three answers in his book, <a href="https://www.goodreads.com/book/show/23528876-college">College</a>: economic investment (both for individuals and nations), democracy (e.g., the Founding Fathers were <a href="https://time.com/5891261/early-american-education-history/">big fans of education</a>), and liberal arts (e.g., developing one&#8217;s mind). In my opinion, it&#8217;s nice to have stated goals, even if there&#8217;s tension within them.</p><h4>6: <a href="https://teachingcs.substack.com/p/cs1-in-the-1970s">Problem solving vs. career training</a></h4><p>In the 1970s, two computer scientists gave two (somewhat competing) visions of an introductory programming course. (Both papers won a <a href="https://sigcse.org/programs/awards/SIGCSE-top-10-all-time.html">SIGCSE &#8220;Top Ten Papers of All Time&#8221; Award</a>.) <a href="https://dl.acm.org/doi/10.1145/953057.810447">David Gries</a> thought CS1 should emphasize problem solving, describing algorithms, and verifying correctness, while <a href="https://dl.acm.org/doi/10.1145/990555.990598">G. Michael Schneider</a> was more in favor of teaching students in &#8220;realistic programming environments.&#8221; Today, many schools have two versions of CS1: one for future CS majors, and one for non-CS majors.</p><h4>7: <a href="https://teachingcs.substack.com/p/phonics-and-systematic-instruction">Phonics and systematic instruction</a></h4><p>CS education hasn&#8217;t been debated as much as reading &#8212; the &#8220;<a href="https://www.edweek.org/teaching-learning/to-move-past-the-reading-wars-we-must-understand-where-they-started/2023/08">reading wars</a>&#8221; have been going on since at least the 1960s. Basically, team &#8220;phonics&#8221; claims that teachers should explicitly teach the connection between letters and sounds, while team &#8220;whole language&#8221; claims that teachers should facilitate the discovery of words in picture books and other contexts. My understanding is that phonics has &#8220;<a href="https://apnews.com/article/phonics-science-reading-c715dea43f338f163715b01b83bb1066">won</a>,&#8221; and I wonder if there are analogous approaches that are similarly effective for teaching other subjects, such as math and CS.</p><h4>8: <a href="https://teachingcs.substack.com/p/the-teaching-gap">The Teaching Gap</a></h4><p>This book, published in 1999, describes the differences in math education in the United States, Germany, and Japan. One finding is that the classrooms they studied in Japan tended to focus on &#8220;structured problem solving,&#8221; while those in the US focused on &#8220;learning terms and practicing procedures&#8221; (see #1). The differences are roughly analogous to the debate on reading (see #7). My favorite part is their claim that teaching is a cultural activity &#8212; I definitely agree, but unfortunately, it makes substantial reform appear difficult.</p><h4>9: <a href="https://teachingcs.substack.com/p/parsons-problems">Parsons problems</a></h4><p>In a <a href="https://cseweb.ucsd.edu//classes/fa08/cse599/denny.pdf">2008 paper</a> (which also won a <a href="https://www.sigcse.org/news/2023-10-SIGCSE-Awards-2024-Announced.html">SIGCSE award</a>), Paul Denny, Andrew Luxton-Reilly, and Beth Simon proposed adding Parsons problems to CS1 exams. A Parsons problem gives students a programming problem and a set of code fragments, and it asks them to solve the problem by selecting and ordering a subset of the code fragments. The paper suggests that Parsons problems and code writing require the same cognitive skills, but the former are easier to objectively grade and give partial credit.</p>]]></content:encoded></item><item><title><![CDATA[Parsons problems]]></title><description><![CDATA[A potential substitute for open-ended problems]]></description><link>https://teachingcs.substack.com/p/parsons-problems</link><guid isPermaLink="false">https://teachingcs.substack.com/p/parsons-problems</guid><dc:creator><![CDATA[Kevin Sun]]></dc:creator><pubDate>Fri, 24 Nov 2023 14:03:13 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21c9c922-24ff-4aee-8b92-c96ebb9bb80f_844x668.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Last month, &#8220;Evaluating a new exam question: Parsons problems,&#8221; a <a href="https://cseweb.ucsd.edu//classes/fa08/cse599/denny.pdf">2008 paper</a> by Paul Denny, Andrew Luxton-Reilly, and Beth Simon, received the <a href="https://www.sigcse.org/news/2023-10-SIGCSE-Awards-2024-Announced.html">2024 ACM SIGCSE Test of Time Award</a>. In this post, I&#8217;ll summarize the paper and share some thoughts.</p><p>The paper proposes adding Parsons problems &#8212; named after Dale Parsons, who co-authored this <a href="http://(which have become a standard component of the CS literature, as we&#8217;ll later see in this survey)">2006 paper</a> with Patricia Haden &#8212; to CS1 exams. A Parsons problem is the following: the student is given a set of code fragments and a problem, and the student must select and order a subset of the fragments into a correct solution for the problem. (People have studied various <a href="https://dl.acm.org/doi/pdf/10.1145/2839509.2844617">variants</a> of <a href="https://dl.acm.org/doi/pdf/10.1145/3328778.3372639">Parsons</a> <a href="https://zilles.cs.illinois.edu/papers/smith_parsons_sigcse23.pdf">problems</a>; <a href="https://dl.acm.org/doi/10.1145/3373165.3373187">here is a survey</a> from 2020.)</p><p>Denny et al. report on two studies about Parsons problems: the first was an interview of 13 students who recently took CS1, and the second was a quantitative analysis of 74 students&#8217; performance on three tasks: code writing, code tracing, and a Parsons problem.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://teachingcs.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Teaching CS! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><h3>Study 1: Interviews</h3><p>The 13 students including 6 women, were North American undergraduates &#8220;approximately four weeks into a second computing course following a Java, objects-first CS1.&#8221; One group wrote code while thinking aloud, solved Parsons problems, and wrote code again; the other did the same except instead of writing code (at the beginning and end), they traced code.</p><p>Clearly, there wasn&#8217;t a ton of data, but the authors still had some observations. I won&#8217;t describe them all; here are a few that stuck out to me:</p><ol><li><p>Many students, especially the ones who performed better, strongly preferred writing their own code to solving Parsons problems. They felt that Parsons problems reduced their &#8220;freedom&#8221; by forcing them down a path toward one particular solution.</p></li><li><p>Students had &#8220;a surprisingly strong uniformity of dislike towards tracing questions on exams&#8221; because tracing code gets &#8220;annoying&#8221; and &#8220;tedious.&#8221; To them, Parsons problems are &#8220;not so bad&#8221; compared to tracing code. Perhaps relatedly, they weren&#8217;t great at the code tracing problems, and the correlation between performance on the those and Parsons problems was quite low. One student even &#8220;refused to trace the code.&#8221;</p></li><li><p>Some students, even after correctly solving a Parsons problem, did not fully understand the solution to the problem. For example, they knew that &#8220;(r+c)%2==0&#8221; is a line in the correct solution, but only because they traced an iteration or two, not because they truly understood what the line does.</p></li></ol><p>So far, the case for Parsons problems does not strike me as extremely strong: students thought they were were worse than code writing and better than code tracing, but that&#8217;s clearing a low bar. (One student said, &#8220;In the real world, you wouldn't trace the numbers, you'd run the program.&#8221;) And based on the authors&#8217; observations, the Parsons problems were not effective at imparting &#8220;a full comprehension&#8221; of the code.</p><h3>Study 2: CS1 Exam</h3><p>As you can probably guess, the second study paints a rosier picture of Parsons problems. This one had 74 students in CS1 at the University of Auckland take a final exam worth 60% of their final grade.<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a> The exam had 11 questions, including one on code writing, one on code tracing, and a Parsons problem. The three questions were conceptually related and all of them involved looping through an array. Figure 1 from the paper is the Parsons problem from the exam.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!VuEH!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84a8cf90-031b-4ee4-9a21-49abf572401b_886x586.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!VuEH!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84a8cf90-031b-4ee4-9a21-49abf572401b_886x586.png 424w, https://substackcdn.com/image/fetch/$s_!VuEH!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84a8cf90-031b-4ee4-9a21-49abf572401b_886x586.png 848w, https://substackcdn.com/image/fetch/$s_!VuEH!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84a8cf90-031b-4ee4-9a21-49abf572401b_886x586.png 1272w, https://substackcdn.com/image/fetch/$s_!VuEH!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84a8cf90-031b-4ee4-9a21-49abf572401b_886x586.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!VuEH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84a8cf90-031b-4ee4-9a21-49abf572401b_886x586.png" width="886" height="586" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/84a8cf90-031b-4ee4-9a21-49abf572401b_886x586.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:586,&quot;width&quot;:886,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:92322,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!VuEH!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84a8cf90-031b-4ee4-9a21-49abf572401b_886x586.png 424w, https://substackcdn.com/image/fetch/$s_!VuEH!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84a8cf90-031b-4ee4-9a21-49abf572401b_886x586.png 848w, https://substackcdn.com/image/fetch/$s_!VuEH!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84a8cf90-031b-4ee4-9a21-49abf572401b_886x586.png 1272w, https://substackcdn.com/image/fetch/$s_!VuEH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84a8cf90-031b-4ee4-9a21-49abf572401b_886x586.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 1 from the paper. The problem was to define a Java method that removes all occurrences of &#8220;a&#8221; from a String. Students were asked to select one line from each pair, order the selected lines, and insert braces as necessary.</figcaption></figure></div><p>One benefit of Parsons problems is that they help instructors categorize errors by type. For example, in the Parsons problem above, some pairs (2, 4, 6) contain a syntax error while others (1, 3, 5) contain a logic error. If instructors observe that logic errors are more common than syntax errors, then that can inform their teaching. In contrast, in a solution to a code writing problem, it&#8217;s often unclear if an error is a minor typo or something more significant.</p><p>Parsons problems also allow students who struggle with the code writing problem to demonstrate some understanding of the material. In Figure 9 from the paper, we see that students in the lower quartile (according to full final exam score) scored higher in the Parsons problem than in the code writing.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!1IMG!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21c9c922-24ff-4aee-8b92-c96ebb9bb80f_844x668.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!1IMG!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21c9c922-24ff-4aee-8b92-c96ebb9bb80f_844x668.png 424w, https://substackcdn.com/image/fetch/$s_!1IMG!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21c9c922-24ff-4aee-8b92-c96ebb9bb80f_844x668.png 848w, https://substackcdn.com/image/fetch/$s_!1IMG!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21c9c922-24ff-4aee-8b92-c96ebb9bb80f_844x668.png 1272w, https://substackcdn.com/image/fetch/$s_!1IMG!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21c9c922-24ff-4aee-8b92-c96ebb9bb80f_844x668.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!1IMG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21c9c922-24ff-4aee-8b92-c96ebb9bb80f_844x668.png" width="844" height="668" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/21c9c922-24ff-4aee-8b92-c96ebb9bb80f_844x668.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:668,&quot;width&quot;:844,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:65843,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!1IMG!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21c9c922-24ff-4aee-8b92-c96ebb9bb80f_844x668.png 424w, https://substackcdn.com/image/fetch/$s_!1IMG!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21c9c922-24ff-4aee-8b92-c96ebb9bb80f_844x668.png 848w, https://substackcdn.com/image/fetch/$s_!1IMG!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21c9c922-24ff-4aee-8b92-c96ebb9bb80f_844x668.png 1272w, https://substackcdn.com/image/fetch/$s_!1IMG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21c9c922-24ff-4aee-8b92-c96ebb9bb80f_844x668.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 9 from Denny et al. The scores on the code writing and Parsons problem were scaled to be out of 10 for comparison.</figcaption></figure></div><p>Furthermore, among (1) code writing, (2) code tracing, and (3) the Parsons problem, the two that had the highest correlation in performance were (1) and (3). To the authors, the r-squared values &#8220;suggest that code writing and Parsons problems require the application of similar skills, whereas code tracing requires a quite different set of skills.&#8221; If that&#8217;s true, then Parsons problems would be a reasonable substitute (or supplement) for code writing on exams, with the benefit that grading the former is easier and less subjective. Indeed, the authors' rubric for the Parsons problems was much simpler than their rubric for code writing, and it resulted in fewer discrepancies among the three authors after they individually graded the submissions.</p><p>The authors acknowledge that students can guess their way through a Parsons problem, but state that this effect can be ameliorated by asking multiple Parsons problems. They also point out that in their interviews, the students who couldn&#8217;t begin answering the code writing question performed better on the Parsons problem than they would by purely guessing, which again suggests that Parsons problems allow students who struggle with code writing to demonstrate some knowledge of the material.</p><h3>Thoughts</h3><p>The challenges addressed by Parsons problems are familiar to me. In my experience, it&#8217;s unusual for a student to make partial progress when <a href="https://teachingcs.substack.com/p/cs1-in-the-1970s">solving a problem</a> in mathematics or a related subject like <a href="https://teachingcs.substack.com/p/alternative-grading-in-algorithms">algorithms</a>.<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-2" href="#footnote-2" target="_self">2</a> Instead, it often feels like &#8220;you either get it or you don&#8217;t,&#8221; which could discourage students and reduce their <a href="https://www.apa.org/pi/aids/resources/education/self-efficacy">self-efficacy</a>. Parsons problems could help mitigate these effects by giving students an additional opportunity students to display some understanding.</p><p>Additionally, I&#8217;ve often felt that grading open-ended problems (e.g., &#8220;Design and analyze an algorithm that solves the following problem&#8230;&#8221;) can take quite some time and energy, and it&#8217;s impossible to make a completely objective rubric. Since Parsons problems have a smaller number of discrete outcomes, they&#8217;re easier to grade and are less prone to subjectivity.</p><p>So I think it&#8217;d be beneficial to incorporate Parsons problems in other CS courses such as algorithms. In fact, the paper suggests mathematical proofs as an &#8220;area of possible potential similarity.&#8221; Additionally, in <a href="https://peer.asee.org/auto-graded-scaffolding-exercises-for-theoretical-computer-science">a 2023 paper</a> by Erickson et al. that documents their effort to &#8220;develop auto-graded scaffolding exercises for an upper-division theoretical computer science class,&#8221; the authors describe one of their components as &#8220;similar to Parsons programming problems but at the level of pseudocode instead of executable code.&#8221;</p><p>Finally, I find results on Parsons problems interesting from a more psychological level because they question the intuition that the best way to measure students&#8217; ability at X (e.g., writing code) is to ask them to do X (e.g., on an exam). It makes me wonder if we can similarly question the intuition that the best way to <em>improve</em> at X is to do X.</p><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-1" href="#footnote-anchor-1" class="footnote-number" contenteditable="false" target="_self">1</a><div class="footnote-content"><p>This 60% would seem quite high in the US, but I&#8217;ve heard that at some universities in Europe (e.g., <a href="https://www.reddit.com/r/tumunich/comments/1139y1d/comment/j8r7q5g">TU</a> <a href="https://qr.ae/pKMtqP">Munich</a>), it&#8217;s not uncommon for the final exam to be worth 100%!</p></div></div><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-2" href="#footnote-anchor-2" class="footnote-number" contenteditable="false" target="_self">2</a><div class="footnote-content"><p>For example, the scores on Problem A2 of the 2022 Putnam Mathematical Competition were <a href="https://kskedlaya.org/putnam-archive/putnam2022stats.html">quite bimodal</a>: out of 10 points, 114 people scored 10, 124 people scored 0, and only 37 people scored 4-6 points.</p></div></div>]]></content:encoded></item></channel></rss>