Skip to main content
CS Teaching Tips

Main navigation

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

Programming Concepts

Give students tips and resources to help them shift from one programming language to another.

Misconception: Students get confused with object-oriented programming in Python because function declarations explicitly take self as an argument, but function calls don’t use self as argument.

Misconception: Students who first learn object-oriented programming in Python don’t realize they need to explicitly define instance variables in Java because this is done implicitly in Python.

Demonstrate manipulating primitives with operators before manipulating them with methods so students can understand the basics of primitives before using them in a more complicated way.

Use dice to introduce instantiable classes in Java because it’s easier for novice students to create classes based on a familiar object.

Misconception: Students have trouble distinguishing between instance variables and parameters in Java.

Misconception: Students have trouble understanding the difference between checked and unchecked exceptions in Java.

Create assignments that are isomorphic to in-class examples so students have to put more thought into writing their homework code.

Misconception: Students confuse static and final variables in Java.

Show students multiple examples of iteration in Scratch to help them understand and recognize more abstract programming patterns.

Pagination

  • Previous page ‹‹
  • Page 2
  • Next page ››
Subscribe to Programming Concepts

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

Privacy Policy