“…The interest is particularly linked to the issue of teaching algorithms and programming concepts to first year science major at Moroccan high schools. Our literature study reveals that several difficulties arise during the learning process of basic programming concepts such as program construction (Lahtinen, Ala-Mutka, & Järvinen, 2005), loops manipulation (Ginat, 2004), structures control and algorithms (Seppälä, Malmi, & Korhonen, 2006) Other studies suggested that these difficulties are mainly due to poor teaching methodologies, low interaction levels with students in class and lack of interest (Barker, McDowell, & Kalahar, 2009;Coull, & Duncan, 2011) The lack of interest of novice students is usually attributed to the fact that these students find programming full of tedious theoretical concepts and techniques (Bennedsen, Caspersen, & Kölling, 2008). Among the solutions to overcome these difficulties aforementioned, there's a call to change the programming working environment for students (Kelleher, & Pausch.…”