Model writing code using the following techniques to show students how you think about constructing programs in order to support them in learning to independently think through algorithm development.
Ask students to interpret a string of binary to introduce the idea of abstraction and motivate why it is so important.
Have students try to find John Smith in n cities when teaching web development to help students understand the importance and hierarchy of file structure through narrowing down search locations.
Use the analogy of carrying weights to teach students about how the amount of memory being used affects runtime.
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.
Ensure students develop a mental model for comparison of strings in a physical dictionary because few students use paper dictionaries anymore.
Connect search to students’ experience with Ctrl+F or Find in various applications after they’ve written code for a search algorithm to help them understand the value of this concept in their daily lives.