Use the model of Towers of Hanoi in order to help students understand recursion. To demonstrate Towers of Hanoi, use three baby ring-stacking toys and the programming language Alice. Like(403 Likes)
Have students decompose problems in a more structured way by acting as project managers who need to build teams (of methods and classes) and divide the work amongst them in a clearly organized manner. Like(370 Likes)
Use SRec, a recursion visualization tool, in your introductory Java courses to help students conceptualize the recursive algorithms they write. Like(384 Likes)
Run a pair programming contest in Python to motivate, challenge, and boost students’ self-confidence. Like(413 Likes)
Have students write a program that constructs an n x n Magic Square in Java so they gain practice working with bounds in 2D arrays. Like(408 Likes)
Use different methods of counting the stairs of the Eiffel Tower to explain how different algorithms affect Big-O runtime. Like(400 Likes)
Introduce Big-O using iteration rather than recursion to make this important concept easier for students to understand. Like(393 Likes)
Have students use lollipop sticks or toothpicks to represent each statement call in an N-ary recursive algorithm. Like(385 Likes)
Provide students with an algorithm which is written in everyday language and have students write pseudocode in order to help them practice the process of translating the ideas in their heads into code. Like(418 Likes)
When teaching introductory courses, teach students to use “top-down thinking” and “bottom-up implementation.” Like(286 Likes)
Often, intuitive examples trump overly-technical description for introductions to tricky concepts such as Big-O runtime. Like(275 Likes)
Use graphs, visualizations, and examples to help make seemingly ‘ill-defined’ topics like Big-O feel more concrete. Like(292 Likes)
Do not have students write code for common algorithms. Instead, incorporate common algorithms into your class in novel course-specific variants Like(303 Likes)
Students often get stuck because they start working on a problem without thinking about what they need to know and do in order to get a working solution. Like(292 Likes)
Even if students are developing useful strategies for problem solving, they can be easily discouraged if they don’t see immediate, good results. Like(272 Likes)
Remind students about steps of the problem-solving process as they develop algorithms to solve programming problems. Like(277 Likes)
To show that algorithm design is difficult, have students write algorithms, exchange their work, and then attempt to execute each others instructions. Like(98 Likes)
Have students work in small groups to solve logic puzzles so they develop algorithmic thinking and good problem-solving habits. Like(81 Likes)
Remind students how important creating proposals and design documents is for efficiently writing good code in less time. Like(66 Likes)