Organize a game in which students in a circle need to obtain their assigned item by passing the items between empty-handed neighbors to interactively demonstrate deadlock. Like(3103 Likes)
Use physical activities to demonstrate sorting algorithms and help students build intuition about how these algorithms work. Like(6546 Likes)
Have students act as elements walking through a network to sort themselves to teach students about how Sorting Networks function. Like(6387 Likes)
Misconception: Students believe that in a primitive assignment, x = y could be the equivalent of y = x; they think that the computer science “=” sign is the same as the mathematical “=” sign. Like(3197 Likes)
Misconception: Students think that both the IF and the ELSE cases of a conditional are executed every single time a conditional runs. Like(3213 Likes)
Misconception: Students believe that a method can only be called once on a given object. Like(3202 Likes)
Trace through example code in class to show and encourage students to debug effectively Like(3276 Likes)
Misconception: Students think that two different variables cannot refer to the same object. Like(3434 Likes)
Misconception: Students believe that boolean values can only be used in conditionals. Like(1258 Likes)
Have students play the Gidget debugging game for practice debugging in an engaging environment. Like(1231 Likes)
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(1282 Likes)
Show students examples of infinite loops in Alice using Do-together and Do-in-order blocks with the goal of furthering students’ understanding and recognition of for loops. Like(1368 Likes)
Organize an activity where students make phone calls to their classmates with the goal of summing the numbers 1 through 6 in order to demonstrate recursion. Like(921 Likes)
Use SRec, a recursion visualization tool, in your introductory Java courses to help students conceptualize the recursive algorithms they write. Like(960 Likes)
Have students draw a scalable smiley face through programming to motivate the importance of using variables. Like(918 Likes)
Have students translate between Java Array and ArrayList to highlight the differences between the two. Like(926 Likes)
Use different methods of counting the stairs of the Eiffel Tower to explain how different algorithms affect Big-O runtime. Like(989 Likes)
Introduce Big-O using iteration rather than recursion to make this important concept easier for students to understand. Like(964 Likes)
Assign content as homework that students can learn from reading (like FOR loop syntax) so you can spend class time on more difficult topics where teacher guidance is the most needed (like what code goes inside of a loop). Like(892 Likes)
Misconception: When students use the division operator during declaration or assignment of a Double in Java, like double x = a/b, they forget about integer division, which can result in rounding errors. Like(975 Likes)