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

Misconception: Students get frustrated when they try to point their character to the left and it ends up flipped upside down because they don’t understand how changing the direction a sprite faces works in Scratch.
Students have trouble seeing the connection between models (UMLs, etc.) and code so they only want to focus on coding, a problem when teaching modeling.
Misconception: Students get confused by the multiple equals signs comparison operators in Javascript making it difficult to motivate the difference to beginning students.

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

Privacy Policy