Gamification Approach in Teaching Web Programming Courses in PHP: Use of KAHOOT Application

Ibrahim Ouahbi, Hassane Darhmaoui, Fatiha KaddariInternational Journal of Modern Education and Computer Science 2021

Abstract

Learning algorithmics and programming fundamental courses is widely considered to be quite challenging in the field of computer science. Gamification is a good alternative educational practice to promote programming teaching, it allows better engagement of students in their learning. Students acquire a reasonable level of abstraction and logic and develop reflections on various course concepts. They are better introduced to critical programming situations. In the present work, we investigated the impact of introducing simple gamified educational sequences within a dynamic programming PHP course on first year Master students in Educational Technology and Pedagogical Engineering (TEIP). Our use of gamification learning sequences based on the application KAHOOT in this course revealed a better engagement of students. 90% of the students in our experimental group expressed being more motivated and committed for the course and 87.5% of them expressed positive attitudes on using KAHOOT as a teaching tool. The majority (90%) expressed their intention to recommend KAHOOT to other teachers.

Introduction

Learning to code is notoriously difficult. Introductory courses in algorithmics and programming often suffer from high dropout rates because students struggle with the high level of abstraction required. Concepts like loops, control structures, and program construction can feel dry and disconnected from reality, leading to a "negative perception" and a lack of interest. This paper explores how integrating gamified elements—specifically the Kahoot! platform—can overcome these challenges in the context of a PHP Web Programming module.

Methodology

The study followed a structured pedagogical sequence with 32 first-year Master’s students in Educational Technology and Pedagogical Engineering (TEIP) at Mohammed V University in Rabat, Morocco. The methodology was divided into four distinct phases to transition students from basic logic to complex PHP programming.

The four-phase methodological framework used in the study
  1. Preparatory Phase: Students completed a questionnaire and a Kahoot! quiz to assess their prior knowledge of HTML and CSS.
  2. First Session: Before diving into PHP, students used "Serious Games" like Blockley and Scratch to build a foundation in algorithmic logic without syntax overhead.
  3. Session X (The PHP Core & Gamification): During PHP sessions, students didn't just listen to lectures. At the end of each session, groups were tasked with designing their own Kahoot! quizzes based on the day's concepts. These were then played in subsequent sessions.
  4. Satisfaction Survey: Researchers used a 15-question Likert scale survey to measure commitment, motivation, and perception of learning outcomes.

Implementation: The PHP Core & Gamification

The core of the intervention involved using Kahoot! to reinforce PHP concepts. Students were challenged to interpret code snippets and predict outputs, fostering a deeper engagement with the syntax and logic of the language.

Example of a Kahoot! quiz question used to test PHP code comprehension

By having students both play and design their own quizzes, the researchers saw a significant boost in engagement. To write a good quiz question, a student must master the subject well enough to identify common pitfalls and clear logic. This shift from passive players to active creators was a key driver of success.

Key Results and Discussion

The quantitative results were overwhelmingly positive:

  • Motivation and Commitment: Over 90% of participants felt more motivated and committed to the course.
  • Focus: 87.5% of students reported being highly focused during the experimental sessions.
  • Learning Perception: 64% specifically stated that the play activities directly improved their understanding of basic programming concepts.
  • Immediate Feedback: 66% of students highlighted that the immediate feedback provided by the gamified platform helped them correct misconceptions in real-time.

The researchers found that the competitive nature of Kahoot! created a "gaming class" atmosphere. Students tried to challenge their peers with difficult and innovative questions, which naturally raised the collective bar for the entire class. Beyond coding, the authors noted improvements in "21st-century skills" like teamwork and communication.

Conclusion

While the study is limited by its small sample size (N=32) and the specific background of the participants (future pedagogical engineers), it provides strong evidence for the efficacy of gamification in technical education. The transition from traditional lectures to interactive, student-led quiz design significantly improved student focus and conceptual mastery. Future research should investigate if these results hold for broader undergraduate computer science populations.

Summary updated

BibTeX
@article{ouahbi2021gamification,
  author = {Ibrahim Ouahbi and Hassane Darhmaoui and Fatiha Kaddari},
  title = {{Gamification Approach in Teaching Web Programming Courses in PHP: Use of KAHOOT Application}},
  journal = {International Journal of Modern Education and Computer Science},
  year = {2021},
  doi = {10.5815/ijmecs.2021.02.04},
}
Figure