Skip to main content
CS Teaching Tips

Main navigation

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

Trace through nested conditionals with students because nesting makes it difficult for them to track which lines of code get executed when.

Share Trace through nested conditionals with students because nesting makes it difficult for them to track which lines of code get executed when. with FacebookShare Trace through nested conditionals with students because nesting makes it difficult for them to track which lines of code get executed when. with Twitter
  • Even students who have mastered IF/ELSE statements have difficulty with nested conditionals.
  • See the Code.org unplugged Nested Conditionals lesson plan for a relevant in-class activity!

More about this tip

Tags

  • Development Methods
  • Programming Concepts
External Source
Interview with Lisa Milenkovic
Other Tips By
Other Tips By Lisa Milenkovic

Similar tips

Have students code boundary condition test to handle removing adjacent duplicates to help them better understand data structures and become familiar with common bugs through practice.
Encourage students to work hard and carefully by choosing exemplary or illustrative student work to review and revise with the whole class.
Use a diagram with variable-value pairs for each call of a recursive function to help students see the change of control flow as calls are made and completed.

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

Privacy Policy