<?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:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Arjan Egges on Medium]]></title>
        <description><![CDATA[Stories by Arjan Egges on Medium]]></description>
        <link>https://medium.com/@arjanegges?source=rss-acf44a8025d5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Jykb3E9NeOoSqRPUOkCZJA.jpeg</url>
            <title>Stories by Arjan Egges on Medium</title>
            <link>https://medium.com/@arjanegges?source=rss-acf44a8025d5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 04:00:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@arjanegges/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Every Data Scientist Should Know This Design Principle]]></title>
            <link>https://blog.aigents.co/every-data-scientist-should-know-this-design-principle-487119f2ed80?source=rss-acf44a8025d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/487119f2ed80</guid>
            <category><![CDATA[software-design]]></category>
            <category><![CDATA[design-principles]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Arjan Egges]]></dc:creator>
            <pubDate>Thu, 13 Jan 2022 13:20:11 GMT</pubDate>
            <atom:updated>2022-01-13T13:20:11.226Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’re a data scientist or a machine learning engineer, you might recognize some of the following problems that I’ve seen quite often in machine learning code:</p><ul><li>It’s written like a one-time quick script, but at the same time the code structure is quite complex. This is problematic, because it’s code that you need to change quite often if for example you want to play around with different models or parameters or attach various tracking tools or data export mechanisms.</li><li>Data and configuration settings are all over the place, in different files and classes.</li><li>Abstractions are not used enough to separate different parts of the code.</li><li>The way data flows through the application is ad hoc and not logical at all.</li></ul><p>I believe part of the reason this is happening is that most Data Science studies and most Data Science content online generally focuses on the techniques and the tools: you learn about statistics, machine learning libraries like TensorFlow, data cleaning techniques, and so on. Python is then purely viewed as a tool to apply those techniques and use the libraries.</p><p>It makes sense that most studies can’t spend more time on the Python language and software engineering in general, because the Data Science field is already complex enough without it.</p><p>However, writing good software is hard, and learning to design and organize your code well is crucial in being a great software developer. This also applies to data scientists and machine learning engineers.</p><p>Even though you may run your Python code on a variety of platforms and in different contexts, having code that is easy to understand, and easy to reuse in those different contexts is important.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zPdbgFfGSRIQbVm7" /><figcaption>Photo by <a href="https://unsplash.com/@strong18philip?utm_source=medium&amp;utm_medium=referral">Philip Strong</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>The Information Expert Principle</h3><p>There’s one particularly important design principle to be aware of for data science, and that’s the<em> Information Expert Principle</em>. It’s part of a larger set of design principles called “General Responsibility Assignment Software Principles”, or GRASP — proposed by Craig Larman in 1997 in his book Applying UML and Patterns.</p><p>According to this principle, you should assign responsibility to the information expert — the part of the code that has the information necessary to fulfil the responsibility. In other words, the design of the software follows the structure of the data and how it’s being used. What does this mean?</p><p>An important idea in software design is to separate responsibilities. In order for your code to be readable and easy to maintain, you need to make sure that functions, methods, classes, modules don’t try to do too many things at the same time. Take a look at this function:</p><pre>def register_vehicle(brand: string):<br>    vehicle_id = generate_vehicle_id(12)<br>    license_plate = generate_vehicle_license(vehicle_id)</pre><pre>    catalogue_price = 0<br>    if brand == &quot;Tesla Model 3&quot;:<br>        catalogue_price = 6000000<br>    elif brand == &quot;Volkswagen ID3&quot;:<br>        catalogue_price = 3500000</pre><pre>    tax_rate = 0.05<br>    if brand == &quot;Tesla Model 3&quot; or brand == &quot;Volkswagen ID3&quot;:<br>        tax_rate = 0.02<br>    payable_tax = int(tax_rate * catalogue_price)</pre><pre>    print(&quot;Registration complete. Vehicle information:&quot;)<br>    print(f&quot;Id: {vehicle_id}&quot;)<br>    print(f&quot;License plate: {license_plate}&quot;)<br>    print(f&quot;Payable tax: {payable_tax}&quot;)</pre><p>This function is responsible for generating a vehicle ID and license, for determining what the catalogue price is of a particular brand and model, what the tax percentage is for different types of vehicles, for computing the tax, and for printing out registration information. Because everything is in a single function, it’s hard to change. For example, we can’t reuse the catalogue price information in another part of the program because it’s embedded directly into this function. If we simply want to know what tax to pay, this function computes it, but we can’t do anything with the value since it’s simply printed to the screen.</p><p>You can also set this up very differently, like so:</p><pre>@dataclass<br>class Vehicle:<br>    brand: str<br>    catalogue_price: int<br>    electric: bool<br>    id: str = field(init=False)<br>    license_plate: str = field(init=False)</pre><pre>    def __post_init__(self):<br>        self.id = generate_vehicle_id(12)<br>        self.license_plate = generate_vehicle_license(self.id)</pre><pre>    @property<br>    def tax(self) -&gt; int:<br>        tax_rate = 0.02 if self.electric else 0.05<br>        return int(tax_rate * self.catalogue_price)<br></pre><pre>def main():<br>    tesla = Vehicle(&quot;Tesla Model 3&quot;, 6000000, True)<br>    volkswagen = Vehicle(&quot;Volkswagen ID3&quot;, 3500000, True)</pre><pre>    print(volkswagen)<br>    print(volkswagen.tax)</pre><p>The main difference between this version and single function is that now we <em>grouped data and behavior</em> according to the Information Expert principle. Everything that belongs to a vehicle is now located in the Vehicle class, including the tax computation. This means we now have much more freedom in how we use vehicles in our program. We separated the responsibility of managing information around vehicles from the part of the program that creates vehicles.</p><h3>Applying The Information Expert Principle To Data Science</h3><p>If you apply the Information Expert Principle to Data Science code, then the way the data flows informs the design. Look at your current code, and ask yourself the following questions.</p><p>Do your functions have all the data they need, or do they need to call lots of other methods/functions to access the data? If they call a lot of other functions, you should look at whether the data flow can be improved by providing extra parameters or structuring the data differently.</p><p>Do you use classes to structure data that belongs together, and do you define methods in the classes such that they are closest to the data they need? Or do you have functions that access global variables everywhere? If the latter, perhaps you can provide more structure to your data by using classes and use methods to easily change that data or compute things about it.</p><p>Do your methods/functions return tuples containing lots of different things? If so, this also points to your data needing more structure.</p><h3>Final Thoughts</h3><p>Overall, in data science projects, the data is central. Design your code around the data and use the Information Expert principle to assign responsibilities close to the data that they need. This is the first way to think about this. The second way is to consider how objects or modules communicate with each other. You generally want to design the system in such a way that the amount of different data that flows between them is minimized. If two pieces of code are communicating and sending lots of different data to each other, you should probably rethink your design and try to optimize how these pieces of code communicate.</p><p>I’ve recently published a series of videos where I dissect a data science project from a software designer’s point of view and completely restructure the code, by using Python’s latest features and by applying design principles such as the Information Expert to improve the code. Here’s the first part:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fka70COItN40%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dka70COItN40&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fka70COItN40%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/215562b4570ee1e6e3dd64c6a170919c/href">https://medium.com/media/215562b4570ee1e6e3dd64c6a170919c/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=487119f2ed80" width="1" height="1" alt=""><hr><p><a href="https://blog.aigents.co/every-data-scientist-should-know-this-design-principle-487119f2ed80">Every Data Scientist Should Know This Design Principle</a> was originally published in <a href="https://blog.aigents.co/">Science x Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 Mistakes To Avoid When Creating Programming Exercises]]></title>
            <link>https://medium.com/@arjanegges/5-mistakes-to-avoid-when-creating-programming-exercises-27502749723c?source=rss-acf44a8025d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/27502749723c</guid>
            <category><![CDATA[teaching-computer-science]]></category>
            <category><![CDATA[teaching-and-learning]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[education-technology]]></category>
            <dc:creator><![CDATA[Arjan Egges]]></dc:creator>
            <pubDate>Thu, 21 Oct 2021 13:55:48 GMT</pubDate>
            <atom:updated>2023-01-05T12:24:23.731Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DGTXLpQ40-8Kt3Wc" /><figcaption>Photo by <a href="https://unsplash.com/@heylagostechie?utm_source=medium&amp;utm_medium=referral">Lagos Techie</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>It took me a long time to be able to write good quality programming exercises, and from the many exercises found online, it’s clear that I’m not the only one struggling with this problem. Let’s talk about 5 mistakes I see teachers commonly make when writing programming exercises. Before I dive in, here’s an example exercise (taken from a collection of exercises actually used in education) that I’ll use as a running example throughout this post.</p><blockquote>Given a list of triplets (i.e. lists of length 3), determine for each triplet if it can represent the lengths of the sides of a triangle. You can assume that all given integers are &gt; 0. A triangle is valid if these relations exist among the lengths<br>of its three sides a, b, c:</blockquote><blockquote>1. a &lt; b + c<br>2. b &lt; a + c<br>3. c &lt; a + b</blockquote><blockquote>If the triplet cannot represent a triangle, the string “No triangle” should be returned. Otherwise, return a string that describes the type of triangle: “Equilateral”, “Isosceles” or “Scalene”. Collect the results in a list and return it at the end of the computation.</blockquote><blockquote>Examples:<br>- { { 1, 2, 3 }, { 4, 5, 6 }, { 7, 8, 8 } } → { “No triangle”, “Scalene”, “Isosceles” }<br>- { { 3, 3, 3 }, { 3, 7, 2 } } → { “Equilateral”, “No triangle” }</blockquote><blockquote>Use the following method signature:<br>ArrayList&lt;String&gt; checkTriangles(ArrayList&lt;ArrayList&lt;Integer&gt;&gt; triangles)</blockquote><h3>1. Not clearly specifying the requirements (under-specification)</h3><p>Often, programming exercises don’t clearly indicate what the student is supposed to do, in particular what should happen with special cases. For example, suppose you ask your students to write a function that returns the index of the first occurrence of a character in a string. In that case, don’t forget to specify what should happen in the character doesn’t appear in the string at all!</p><p>In case of the Triangle exercise, it’s not clear what should happen if one of the ArrayLists has less than three values in it. Also, the first sentence of the exercise is hard to understand without knowing the context. When I first read this exercise text, I had to reread it a couple of times to understand what I was supposed to do.</p><h3>2. Being too explicit about what the student should do (over-specification)</h3><p>Providing a template project with a skeleton version of the code to work with can be helpful for the student, and clarify what is expected. If you go too far though, you risk pushing the student in a direction that’s way too specific. This may lead to the student not understanding what has to be done anymore, or the exercise becomes almost trivial to solve.</p><p>Another issue of providing a template that’s too detailed is that the student doesn’t learn how to write a full program. If they have to write their own code in a more elaborate project, they will get stuck because there’s no template they can use as a starting point.</p><p>The Triangle exercise strikes a pretty good balance in my opinion, though providing the full method signature does already give away some aspects of dealing with arrays and generics. In some cases it might be necessary to provide this kind of information, for example if you want to be able to run automatic unit tests on a student’s code.</p><h3>3. Making the actual challenge about something else</h3><p>Sometimes, a programming exercise itself is not that hard, but it covers a complicated, but totally unrelated concept that students have a hard time grasping. The Triangle exercise contains a great example of this: it assumes that a student knows what ‘isosceles’ or ‘scalene’ means. I’ve seen way more extreme cases of this problem, with exercises that refer to exotic mathematical concepts and assume that the student knows what they are and can easily translate it into a working piece of code.</p><p>By not providing enough information about the context, you’re purposely making the exercise more complicated than it needs to be. As a result, even if a student knows perfectly well how to write the code that’s needed to solve the exercise, they may still not be able to complete it due to a lack of knowledge on an unrelated topic.</p><h3>4. The student has to write too much boilerplate code</h3><p>In the Triangle exercise, the student is asked to check for an array of triplets whether each triplet is a triangle. But what does the teacher want the student to learn in this case?</p><p>Should the student learn how to use if-statements and basic computations to determine what type of triangle something is? Or should the student learn how to traverse arrays and do something for each element in the array? In case of the former, it would be better to have a method that just takes three integer values and returns a string. In case of the latter, it would be better to simplify the example so the focus lies on array traversal instead of muddying the waters with trigonometry.</p><p>Other examples are exercises that ask the student to write a bunch of classes, functions to read and write data to a file, that are only needed in order for the example to make sense. Keep your exercises clean and simple, and focus on what you want the student to learn.</p><h3>5. Not mentioning what will be assessed</h3><p>An exercise should be clear on what the student is going to learn, and what you expect from the student. Are you going to nitpick over coding style? Do you expect the code be algorithmically correct even in the most exotic cases? Do you allow for very dirty code as long as it solves the problem? Should the code be performant, or do you also accept solutions that are very inefficient? How is each of these aspects weighed?</p><p>The only thing the Triangle exercise mentions is that you don’t have to deal with the case that an array contains negative integers. It doesn’t say anything about coding style, performance or robustness. Make sure your students understand what you expect from them. You don’t have to write this down over and over again for every exercise you give to your students, but share that information at least once.</p><p>Most of the above-mentioned mistakes occur because it’ s not clear what the learning goal of the exercise is. In my experience, very few teachers think carefully about learning goals, and how to construct exercises that truly help students achieve those learning goals. If you write your programming exercises with the learning goal in mind, and make it as simple as possible for the student to achieve that goal, you can greatly increase your students’ results.</p><p>We wrote a <strong>short e-book</strong> with tips on how to save time and improve your students’ course experience. You can get it, <strong>for free</strong>, <a href="https://www.quarterfall.com/savetime"><em>here</em></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=27502749723c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Programming Exercise Material For Teachers]]></title>
            <link>https://medium.com/@arjanegges/programming-exercise-material-for-teachers-cbbe9fb74ed3?source=rss-acf44a8025d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/cbbe9fb74ed3</guid>
            <category><![CDATA[education]]></category>
            <category><![CDATA[teaching-computer-science]]></category>
            <dc:creator><![CDATA[Arjan Egges]]></dc:creator>
            <pubDate>Fri, 01 Oct 2021 15:36:53 GMT</pubDate>
            <atom:updated>2023-01-05T12:41:07.900Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6D3TfSWCpuLnQJoU" /><figcaption>Photo by <a href="https://unsplash.com/@marvelous?utm_source=medium&amp;utm_medium=referral">Marvin Meyer</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In this post, I’ll list a few programming exercise collections that you can use as a teacher in your programming courses. The list is not focused on a particular programming language. If a repository only has exercises in a specific programming language, I’ve mentioned it in the list. I hope you find this list helpful, let’s dive in!</p><h3>Exercism</h3><p>Exercism is a great website containing many exercises in different programming languages, including Python, Rust, Go, C#, Java and more. They have tooling available to run unit tests on a student’s answer and you can also find solutions to each exercise, though these solutions are provided by people doing the exercises so their quality varies. The complete collection of exercises is available as a repository on GitHub.</p><p><a href="https://exercism.org/">Exercism</a></p><h3>W3resource</h3><p>Many tutorials and exercises in several programming languages available here. You can do the exercises online, and run the code in a playground, pretty nice! Many exercises have a solution, as well as a flowchart.</p><p><a href="https://www.w3resource.com/index.php">web development tutorials from w3resource</a></p><h3>Code-exercises (Java only)</h3><p>A collection of Java-only exercises. You can submit your solution and see the result of running unit tests on them. All exercises have solutions.</p><p><a href="https://code-exercises.com/">Java Programming Exercises</a></p><h3>Tech Study</h3><p>This site has several collections of programming assignments and solutions. It’s not possible to try out the assignments online, but each assignment does have a solution that is immediately visible.</p><p><a href="https://techstudy.org/">Tech Study Debugging solution on MVC, Asp.Net, SQl, AngularJS, C, C++, C# programming languages</a></p><h3>Rosetta Code</h3><p>This site has many different programming exercises, though they’re more formulated like “tasks” that a program can do and not so much as exercises for students. They do have exercises in lots of different languages though, so it might be a good starting point if you’re teaching in an esoteric language (or in an Assembler language).</p><p><a href="http://rosettacode.org/">Rosetta Code</a></p><h3>Project Euler</h3><p>A series of challenging mathematical and computer science problems. When you start writing the programs for these, you’re on your own since the site doesn’t offer any solutions!</p><p><a href="https://projecteuler.net/">https://projecteuler.net</a></p><h3>Codeforwin (C only)</h3><p>Collection of C programming exercises, covering algorithms, data structures, and more.</p><p><a href="https://codeforwin.org/">Codeforwin</a></p><h3>Exercises on the DEV community (Python only)</h3><p>Below is a nice collection of 100+ Python programming exercises, including solutions.</p><p><a href="https://dev.to/rajibdpi/100-python-challenging-programming-exercises-for-python-3-2e5n">100+ Python challenging programming exercises for Python 3</a></p><h3>Quarterfall</h3><p><em>Disclaimer: I’m the developer of this resource.</em></p><p>Quarterfall has a library of high-quality programming exercises, in Python, C# and Java. There are solutions to each exercise, and you can run unit tests on exercises and give feedback automatically. You do need to register to view the exercises — this will change in the future.</p><p><a href="https://quarterfall.com/">Smart Learning for Higher ICT Education - Quarterfall</a></p><p>I hope the links above help you find suitable material for your students. Make sure to respect each site’s rules with regard to copyright when you decide to use the material. If you know any good other resources for programming exercises, let me know in the comments, and I’ll add it to this article!</p><p>We wrote a <strong>short e-book</strong> with tips on how to save time and improve your students’ course experience. You can get it, <strong>for free</strong>, <a href="https://www.quarterfall.com/savetime"><em>here</em></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cbbe9fb74ed3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Do Teachers Still Create Their Own Programming Exercises?]]></title>
            <link>https://medium.com/@arjanegges/why-do-teachers-still-create-their-own-programming-exercises-40c647ebdf55?source=rss-acf44a8025d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/40c647ebdf55</guid>
            <category><![CDATA[teaching-and-learning]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[computer-science]]></category>
            <dc:creator><![CDATA[Arjan Egges]]></dc:creator>
            <pubDate>Fri, 17 Sep 2021 14:10:53 GMT</pubDate>
            <atom:updated>2023-01-05T12:26:18.077Z</atom:updated>
            <content:encoded><![CDATA[<p>Lots of educational material is available online nowadays, in particular for teaching folks how to program, either as collections of programming exercises, or full-fledged platforms that guide students through a whole educational program, teaching them how to code in any language they like. You’d expect that teachers at schools and universities don’t develop their own exercises anymore, but simply rely on what’s available online.</p><p>Interestingly, that’s not the case at all. Most computer science teachers I know (including myself) all have their own collection of programming exercises they give to their students. Some of the material is based on programming exercises they found online, but the majority of exercises have been developed by the teachers themselves. Why is this?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AF_BBuv-hYpIRoXL" /><figcaption>Photo by <a href="https://unsplash.com/@clemhlrdt?utm_source=medium&amp;utm_medium=referral">Clément Hélardot</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>It’s hard to make students learn the right thing</h3><p>The first reason why many teachers still prepare their own exercises is that it’s really difficult to create exercises that help your students learn what you want them to learn.</p><p>For example, suppose that you want your students to learn about loops, so you ask them to write a function <em>count_zeroes(x: list[int)</em> that computes how many zeros there are in a list of integers. You can definitely solve this with a loop, but there are other solutions as well: map/filter functions, recursion, converting the list to a string and then match a regular expression, and so on.</p><p>As a result, your students may write a correct solution to the question without learning anything about loops. If you want your students to use a loop, you should probably mention it explicitly in the exercise text.</p><p>This is just one example, but it illustrates that you need to think very carefully about how you phrase the exercise questions and what you do to guide your students onto the right path. In contrast, most programming exercises available online are more concerned with <em>correctness</em>, i.e. does the program do what it’s supposed to do, versus verifying that the student has learned what you want her to learn.</p><h3>Not all exercises share a solution</h3><p>When you find a collection of programming exercises and you’d like to use it in your teaching, it’s useful if there’s also a solution posted to that exercise. First, this saves you time when preparing the material. And second, the original author of the exercise might have had something in particular in mind from an educational point of view, and the solution to an exercise is a crucial part of understanding that.</p><p>Unfortunately, lots of exercises posted online don’t provide a solution, which makes them harder to use in your teaching. In fact, writing a good solution to an exercise that helps the student see how to solve a particular problem well is one of the hardest parts of creating high-quality exercises.</p><h3>Exercises often don’t specify prerequisite knowledge</h3><p>When you look at an exercise, it’s not always clear what the knowledge is that a student should possess in order to be able to do the exercise. In the case of programming exercises, some of that knowledge is (obviously) programming-related, such as that you need to understand what an array is in order to write an array-sorting algorithm.</p><p>Some of the knowledge may not be programming-related at all. For example, an exercise that asks students to write a program that computes a Taylor series of the natural logarithm, also assumes that students are comfortable with the mathematical topics that are involved. Unfortunately, most exercises don’t explicitly state these assumptions.</p><h3>Existing exercises may not fit in your teaching method and domain</h3><p>When you’re looking around for exercises to use in your teaching method, you’ll probably have a pretty specific idea of what you want your students to learn, and what they already know. Finding exercises that fit the bill exactly is hard. Next to that, your educational program may have a preference for the domain of the exercises. For example, if you’re teaching programming as part of a Game Technology educational program, you’ll want to use games as examples, whereas if the programming course is part of a business-oriented program, you’ll probably prefer examples that fit <em>that</em> particular context.</p><p>Also, exercises may rely on specific tools, testing environments or libraries. More often than not, this results in students spending more time on getting the environment to work than on solving the actual question.</p><h3>Most material online can’t be easily edited</h3><p>Finally, most material online will not be easy to edit. Exercises might be shared online in a PDF file, as raw HTML, as a Word document, or as a LaTeX file. Many code exercise platforms often don’t even allow viewing or exporting the material for your own use, or give you insight into what your students have learned.</p><p>Because of the above, teachers often prefer to create their own exercises because that gives them full control over every aspect of the students’ learning progress. It’s time to do something about this! Teachers should be able to work together more easily and save time. Let me know what your thoughts are about this. To get things started, I’m working on a list of platforms and websites where teachers can find programming exercises, which I will publish here, so stay tuned for more!</p><p>We wrote a <strong>short e-book </strong>with tips on how to save time and improve your students’ course experience. You can get it, <strong>for free</strong>, <a href="https://www.quarterfall.com/savetime"><em>here</em></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=40c647ebdf55" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 Things I Learned After Switching To Online Teaching]]></title>
            <link>https://medium.com/@arjanegges/5-things-i-learned-after-switching-to-online-teaching-a55c24395826?source=rss-acf44a8025d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/a55c24395826</guid>
            <category><![CDATA[online-teaching]]></category>
            <dc:creator><![CDATA[Arjan Egges]]></dc:creator>
            <pubDate>Wed, 15 Sep 2021 12:24:40 GMT</pubDate>
            <atom:updated>2023-01-05T12:30:26.787Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tkwlpEp95gTn2ImZ" /><figcaption>Photo by <a href="https://unsplash.com/@neonbrand?utm_source=medium&amp;utm_medium=referral">NeONBRAND</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In 2020 onward, schools and universities had no choice but to move to a fully online teaching model. Teachers had to adapt their teaching material to online teaching. Students were no longer in lecture rooms. They followed their lectures online, from the confines of their (tiny) rooms.</p><p>The university courses I generally taught had over a hundred students. Teaching larger groups of people requires a high level of organisation and precision. The materials, schedule, and any rules about grades and retakes need to be communicated clearly. You need to make sure that everyone is treated exactly the same. If not, expect a tsunami of emails of unhappy students. If teaching assistants are involved in the course, then you also have a management task to make sure the TAs get the information they need, deliver their grades on time and grade consistently. Finally, the university administration also pulls at you: there are all kinds of rules around grading and exams, there are policies for fraud reporting, and there are systems for sharing course materials, taking exams and publishing grades. Any of those things might change before, during or after your course. Being a teacher, you need to keep all these balls in the air. Throw in a little pandemic that requires you to suddenly change everything, and chaos is almost inevitable.</p><p>Though the move to online teaching was certainly challenging for the students, the teaching assistants, and me, it has also given me new insights that have changed the way I approach teaching. Here are 5 things I learned after teaching my software design course fully remote.</p><h3><strong>1. Use the features that videoconferencing platforms offer</strong></h3><p>When you move your course to an online format, you need to rethink how you are going to present the content that you normally teach in a lecture room. The simplest thing to do is simply schedule a video call using a platform such as Microsoft Teams or Zoom, and teach exactly the same lecture, but doing that will result in problems. First, you need to take care of a few practical issues. When students enter the video call, make sure they turn off their microphone. Otherwise, nobody will be able to hear what you say, since your voice will be drowned in noise. In my online lectures, I noticed that asking questions via the chat worked really well: questions are easy to find in the chat window, students can give questions a like if they think a question is important, and I found the students felt more comfortable posting a chat message than asking a question via their microphone, especially in larger groups.</p><p>Also, make sure you record your lectures. This allows students to rewatch certain parts of your lecture to help better understand a particular topic. A disadvantage of recording lectures is that in the heat of the moment, you may say something that’s not clear or that contradicts with something else you said, and students may call you out on that: “but, in the previous lecture, at timestamp 14:37, you said XXX!”. We are all human — you just have to accept that you’re going to make mistakes and that those mistakes will end up in the recorded lectures. In my experience, students don’t see that as a problem, as long as you’re open about it. Simply mention the mistake and clarify it in the next lecture.</p><p>Another possibility that videoconferencing tools offer is screen sharing. I found this allows me to do some things that are harder to do in a traditional lecture. For example, in my software design course, I regularly had to show pieces of code to explain certain design principles, or to show how to write software tests. With screen sharing, I could share my code editor window with the students, and go through the code live, change things, recompile, and see the result. In a traditional lecture setting, this is hard to do: lecture rooms are generally setup for presentations, so if you sit down, some students won’t see you anymore. And although the projector in the lecture room is suitable for displaying PowerPoints with large text sizes, it doesn’t really work for showing many lines of programming code. Use screen sharing to your advantage, and provide a better experience for your students.</p><h3><strong>2. Allow for informal interaction</strong></h3><p>One thing you’ll miss when you move to a fully online format is the informal interaction that takes place outside of the lecture room. In a traditional lecture setting, students will come to you with questions before or after the lecture, or perhaps they’d like to mention a side-project they’ve been working on and hear your thoughts about it. In an online setting, you have to make sure that there are still opportunities for this kind of informal interaction to take place. For example, you can decide to start the video call 10–15 minutes earlier, to allow for more informal questions or chit-chat, and only start recording when your actual lecture commences.</p><h3><strong>3. Setup virtual office hours</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_NH0r1xRGLXXrxOv" /><figcaption>Photo by <a href="https://unsplash.com/@srosinger3997?utm_source=medium&amp;utm_medium=referral">Samantha Gades</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>When students are following your course, but you don’t see them physically, you need to offer opportunities for the students to reach you or one of the TAs. Of course, students can send you an e-mail, but you want to avoid that your inbox is going to be overflowing with questions from students all the time. You’re going to have trouble separating the student questions from the other things that arrive in your inbox, and it will be harder for you to not be interrupted all the time. Provide a structure by establishing virtual office hours when students can reach you or the TAs. Also, don’t hesitate to turn a chat into a quick video call. Often, simply having a call makes it easier to bring your point across, or to understand what a student is struggling with. A video call also helps in strengthening the personal connection you have with a student, something you’d normally develop when you see the student during your real office hours, or during a tutorial or lab session.</p><h3><strong>4. Make material that students can go through when and where they want</strong></h3><p>Now that students are mostly working from home, it’s important that the material you produce is suitable for that. I used Quarterfall to organise all the content for the students, and I used the automatic feedback system of the platform to immediately give students feedback on the answers they provide. This saved me a ton of time, since the system then automatically deals with common questions by the students, and I could focus on the more involved cases.</p><p>Next to the study material, I recorded short video clips of a variety of topics related to my course. These clips were a nice addition to the recorded lectures, since they allowed me to present some content in a more controlled way. I incorporated these clips into quizzes, so my students would watch a video, and then subsequently answer a few questions about the topic that the video dealt with. Overall, this allowed students to go through the material autonomously, and work on my course when and where they wanted.</p><h3><strong>5. Ask for feedback from the students and adapt</strong></h3><p>Especially when you’re moving to an online format for the first time, make sure you get feedback from students about what is going well and what should be improved. You can ask feedback during your lectures, spread a small survey among your students a few weeks into your course, or if you’re using Microsoft Teams or Slack, you can also use the chat channel for collecting feedback. Students really appreciate it if you’re willing to change aspects of your course’s organisation on the fly following on the feedback you receive. In my course for example, we initially allowed the students to ask questions in a general ‘question’ channel, and then a TA would come in and answer the question. We noticed though that some questions fell through the cracks, and from student feedback, we learned that students preferred to work with a single TA for continuity. So, we decided to switch to a model where each student team had their own teaching assistant.</p><p>From the analytics of my course, I noticed that my students had trouble with some object-oriented programming aspects. To address this, I organised an extra session to cover these aspects in more detail. Using the course analytics in Quarterfall allowed me to effectively pinpoint areas where the students had problems, and help them solve those problems.</p><h3><strong>Final thoughts</strong></h3><p>Even though the move to online teaching was challenging, it also gave me the opportunity to view teaching in a new light. I had to allow myself to think outside of the box in order to make everything work. I expect that teachers will still use online teaching methods even if physical lectures are again allowed since online teaching still provides lots of advantages. That doesn’t change however that I really miss seeing the students in person. Because in the end, this is what being a teacher is all about: creating a personal connection with your students and being able to help them learn.</p><p>We wrote a <strong>short e-book </strong>with tips on how to save time and improve your students’ course experience. You can get it, <strong>for free</strong>, <a href="https://www.quarterfall.com/savetime"><em>here</em></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a55c24395826" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>