Scaffold students to evaluating and understanding 3 === “3” in Javascript using the following steps to help students learn the difference between confusing comparison operators.
Misconception: Students get confused by the multiple equals signs comparison operators in Javascript making it difficult to motivate the difference to beginning students.
Have students test in different environments to understand the interaction between code and the environment the code is executing in.
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.
Based on Khan Academy’s internal observations, use text-based languages in class for students who are at least 12 years old to begin giving them experience with syntax.
Encourage students to work on side projects to make sure they are getting enough programming practice and to make them more marketable.
Use videos to introduce new information and text to review it, as each is better suited to different stages of the learning process.
Rotate students into different pairs during a single class period so they learn to explain and read code quickly.
Structure homeworks like code reviews to help students iterate on their code and learn the importance of readability.