Skip to main content
CS Teaching Tips

Main navigation

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

Ask students to solve the problem by hand to demonstrate understanding of an algorithm.

Before students try to write code that solves a problem, make sure that they can solve the problem by hand. This can involve writing test cases that show that they can predict the expected behavior. You can also have students describe or draw the output of an algorithm.

Example: "Before coding, test your understanding of the algorithm."

See this and related tips as a Tip Sheet: http://csteachingtips.org/tips-for-assessing-programming

More about this tip

Other Tips By
Other Tips By Colleen Lewis

Similar tips

Use "and wait" blocks to use blocks that execute sequentially in Scratch.
Misconception: novices struggle with correct syntax for inline CSS when learning web development.
Misconception: Students have difficulty using the correct data types in Java because their go-to data type is int most of the time.

Similar tips

Use Communications of the Association for Computing Machinery as a source for current CS news to help students understand the cultural importance of the field.
Have students break their code into smaller pieces to find out where the bug might be.
Explain nested for loops using a car odometer, the innermost loop controlling the ones digit must cycle fully before the outer loops steps forward, to help students better understand nested loops through a real world example.

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

Privacy Policy