Skip to main content
CS Teaching Tips

Main navigation

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

Programming Concepts

Focus on these four key concepts when first teaching C to help students with previous programing experiences transition from higher-level languages such as Python.

Focus on simple examples in a breadth course about systems to avoid confusing students. Save depth for upper level courses.

Use Problets.org to help students practice programming basics in C++, Java, C#, or Visual Basic

Use this list of common coding errors to help students debug.

Tell students that they have to fix their indentation before you’ll help them debug to encourage well-organized code.

Use the constraints of formatting to show students that computers have an underlying set of rules.

Reiterate key concepts, such as the base case/recursive case pattern, every time you go through a recursion problem to solidify them in students’ memories.

Emphasize the need to account for the empty case, which is often overlooked and causes errors.

Ask students to identify useless or unnecessary lines of code to assess their understanding of functions.

Explicitly discuss the lack of bounds-checking in C-based courses to avoid student confusion when using strings and arrays.

Pagination

  • Previous page ‹‹
  • Page 17
  • 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