PRIMM is an approach that can help teachers structure lessons in programming. PRIMM stands for Predict, Run, Investigate, Modify and Make, representing different stages of a lesson, or series of lessons. PRIMM promotes discussion between learners about how programs work, and the use of starter programs to encourage the reading of code before writing.
Quick Read: Using PRIMM to structure programming lessons (teachcomputing.org)