Abstract
We conducted a training experimentation on computer coding whose aim is to probe ICT skills enhancement of pre-service teachers in Morocco. For that, we have developed and implemented training sessions using a visual programming tool (Scratch) targeting 63 prospective teachers at the Faculty of Educational Sciences (FSE) and the Regional Center for Education and Training Professions (CRMEF) in Nador, Morocco. During these sessions, trainees were introduced to algorithmic thinking where they implemented teaching sequences in their specialty subjects using Scratch. Pre and post surveys were conducted to measure the evolution of the trainees' perceptions towards the integration of computer coding in the teaching and learning of their specialties. The analysis of the surveys showed the potential of integrating computer coding in the development of learners' transversal skills. The training revealed different possibilities of exploiting visual block-based programming environments in the teaching and learning process.
The Moroccan Educational Context
Morocco has recently undergone a significant educational overhaul, mandating the introduction of Computer Science (CS) and coding as early as the 5th and 6th grades. Historically, CS education was reserved for high school specialists or specific technical tracks. However, the new 2020/2021 mandate requires a broader base of teachers to be proficient in algorithmic logic at the elementary level.
A major bottleneck in this transition is the prevailing view of informatics as a mere tool for "digital literacy" (e.g., word processing) rather than a science of problem-solving. Many prospective teachers, particularly in non-STEM fields like music or linguistics, perceive coding as an intimidating, high-barrier skill irrelevant to their specialties.
Methodology and Tool Selection
To bridge this gap, researchers implemented a three-session experimental program focusing on "ludic" (play-based) learning. The program utilized Scratch, a visual block-based environment that allows users to create programs by snapping together command blocks. This approach effectively eliminates the frustration of syntax errors, allowing trainees to focus entirely on logic and algorithmic flow.
The 63 participants were divided into three specialized groups to test the tool's versatility:
- Group A: 15 students in Musical Education and Animation.
- Group B: 24 pre-service teachers specializing in the Amazigh language.
- Group C: 24 pre-service teachers in a bilingual primary education track.
Subject-Specific Applications
A key innovation of this training was the move away from generic coding exercises. Instead, trainees developed projects directly relevant to their future classrooms. For instance, language teachers built interactive "alphabet labyrinths" and dialogues in Arabic and Amazigh. Music teachers created sophisticated programs that simulated instrument sounds and taught musical notation, demonstrating that coding is a versatile pedagogical tool.
Key Results and Perception Shifts
The impact of the training was measured through pre- and post-surveys, revealing a dramatic demystification of coding expertise:
- Demystification of Expertise: Initially, 62 out of 63 participants believed advanced computer skills were a prerequisite for teaching coding. After just three sessions, only 2 participants still held this view.
- Student Motivation: The belief that coding could "motivate students to learn the discipline I will teach" jumped from 3 to 63 participants—a 95% increase in agreement.
- Transversal Skills: 81% of participants agreed that coding helps develop student communication skills, critical thinking, and autonomy.
- Self-Efficacy: 62% of trainees felt personally capable of teaching an introduction to coding in their future classrooms.
Conclusion and Future Work
The study demonstrates that targeted interventions using visual programming can radically shift teacher perceptions. By framing coding as a "transversal" skill rather than an isolated technical hurdle, educators across all disciplines can leverage algorithmic thinking to enhance learning. Future work should track the long-term classroom implementation of these skills and advocate for the formal integration of block-based programming into national teacher training curricula to ensure the success of Morocco's CS mandate.
Summary updated