Skip to main content
CS Teaching Tips

Main navigation

  • Browse All Tips
  • Tags
  • 3D
  • About
  • Rate Tips
  • Tip Sheets

Juha Sorva

Misconception: Students don’t understand that the right side of an assignment statement is executed before the assignment. They think that variables store unresolved equations.

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

Misconception: Students think that “return x*x” changes the value of x to be x*x.

Misconception: Students think that when they create a new variable within a function, that function will automatically return that variable’s value when executed.

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

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

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

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

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

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

Pagination

  • Page 1
  • Next page ››
Subscribe to Juha Sorva

For more information or to report a bug, contact us at admin@csteachingtips.org. Built with Bootstrap. Powered by Drupal.

Privacy Policy