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(4657 Likes)
Use physical activities to demonstrate sorting algorithms and help students build intuition about how these algorithms work. Like(11232 Likes)
Have students act as elements walking through a network to sort themselves to teach students about how Sorting Networks function. Like(10851 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(4814 Likes)
Misconception: Students think that both the IF and the ELSE cases of a conditional are executed every single time a conditional runs. Like(4861 Likes)
Misconception: Students believe that a method can only be called once on a given object. Like(4825 Likes)
Trace through example code in class to show and encourage students to debug effectively Like(4877 Likes)
Misconception: Students think that two different variables cannot refer to the same object. Like(5104 Likes)
Misconception: Students believe that boolean values can only be used in conditionals. Like(1881 Likes)
Have students play the Gidget debugging game for practice debugging in an engaging environment. Like(1859 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(1903 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(2310 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(1396 Likes)
Use SRec, a recursion visualization tool, in your introductory Java courses to help students conceptualize the recursive algorithms they write. Like(1446 Likes)
Have students draw a scalable smiley face through programming to motivate the importance of using variables. Like(1388 Likes)
Have students translate between Java Array and ArrayList to highlight the differences between the two. Like(1423 Likes)
Use different methods of counting the stairs of the Eiffel Tower to explain how different algorithms affect Big-O runtime. Like(1511 Likes)
Introduce Big-O using iteration rather than recursion to make this important concept easier for students to understand. Like(1455 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(1366 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(1463 Likes)