Browse All Tips
Displaying 1  20 of 183


Have students act as elements walking through a network to sort themselves to teach students about how Sorting Networks function.

Have students find the best method of sorting a group of unknown weights to teach them about sorting algorithms.

Use inclass clicker questions to identify students struggling at the beginning of the course so you can reach out to them.

Have pairs of students aim to achieve the same patterns on Battleship boards to teach them the precision necessary for algorithmic design.
Share Have pairs of students aim to achieve the same patterns on Battleship boards to teach them the precision necessary for algorithmic design. with FacebookShare Have pairs of students aim to achieve the same patterns on Battleship boards to teach them the precision necessary for algorithmic design. with Twitter 
Help students find bugs by drawing or writing out what their code does at each step.

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.
Share 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. with FacebookShare 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. with Twitter 
Misconception: Students think that both the IF and the ELSE cases of a conditional are executed every single time a conditional runs.
Share Misconception: Students think that both the IF and the ELSE cases of a conditional are executed every single time a conditional runs. with FacebookShare Misconception: Students think that both the IF and the ELSE cases of a conditional are executed every single time a conditional runs. with Twitter 
Misconception: Students believe that a method can only be called once on a given object.

Trace through example code in class to show and encourage students to debug effectively

Misconception: Students think that two different variables cannot refer to the same object.

Misconception: Students believe that reference pointers go both directions such that objects know what points to them.

Misconception: Students think that it’s possible to write methods that add attributes to a Java class.

Misconception: Students believe that methods in different classes cannot have the same name.

Misconception: Students believe that boolean values can only be used in conditionals.

Misconception: Students create a new object when they only need to copy a reference.

Misconception: Students create a new instance variable when they only need a local variable.

Misconception: Students think that when they create a new variable within a function, that function will automatically return that variable’s value when executed.
Share Misconception: Students think that when they create a new variable within a function, that function will automatically return that variable’s value when executed. with FacebookShare Misconception: Students think that when they create a new variable within a function, that function will automatically return that variable’s value when executed. with Twitter 
Misconception: Students think that “return x*x” changes the value of x to be x*x.

Misconception: Students believe that when they assign a = b, they are copying b into a rather than making a point to b.