Encourage students to break up their Scratch scripts into smaller chunks to help them test and debug their code.
Misconception: When students use the division operator during declaration or assignment of a Double in Java, like double x = a/b, they forget about integer division, which can result in rounding errors.
Provide more than one solution when explaining how to solve a problem to the class to emphasize that there is never just one way to do things.
Have students write pseudocode as a pre-lab exercise so they are prepared to write code when lab begins.
Misconception: Students may have trouble identifying errors in their code that cause elements to disappear from the page.
Require that students have paper and pencil on hand when they code to emphasize the importance of planning before writing code.
Misconception: Novice students struggle with understanding and correctly using CSS selectors in advanced and complex ways, particularly with selector specificity.