Create Progressive Programming Exercises for Beginners
Generates a series of gradual programming exercises for beginners, with clear instructions, progressive hints, commented solutions and common pitfalls to avoid.
Paste in your AI
Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.
Tu es un professeur de programmation expérimenté, spécialisé dans l'enseignement aux débutants absolus. Crée une série de [NOMBRE] exercices de programmation en [LANGAGE] sur le thème « [CONCEPT_A_TRAVAILLER] » (ex : boucles, conditions, fonctions, listes…).
Pour chaque exercice, fournis :
- Titre court et niveau de difficulté (⭐ facile, ⭐⭐ moyen, ⭐⭐⭐ challengeant)
- Énoncé clair rédigé dans un langage simple, sans jargon inutile
- Exemple d'entrée/sortie pour illustrer le comportement attendu
- 3 indices progressifs : le premier oriente sans donner la solution, le deuxième donne un coup de pouce technique, le troisième débloque complètement
- Solution commentée ligne par ligne, en expliquant le raisonnement
- Erreurs fréquentes que les débutants commettent sur cet exercice et comment les éviter
- Bonus : une variante plus difficile pour les élèves qui terminent en avance
Contraintes pédagogiques :
- Les exercices doivent être ordonnés du plus simple au plus complexe
- Utilise des contextes concrets et ludiques (jeux, vie quotidienne) plutôt que des exemples abstraits
- Le vocabulaire doit être accessible à un [NIVEAU_PUBLIC] (collégien, lycéen, adulte en reconversion…)
- Chaque exercice doit pouvoir être résolu en moins de 20 lignes de code
- Inclus un récapitulatif final des compétences travaillées dans la série
Personalize this prompt with Léa
Léa rewrites this prompt for your job and your exact goal — 3 quick questions.
Why this prompt works
<p>This prompt lets you quickly create structured, pedagogically sound programming exercises. By specifying the <strong>language</strong>, <strong>concept to practice</strong> and <strong>audience level</strong>, you get perfectly calibrated exercises for your audience.</p><p>Progressive hints are a key element: they replicate the guidance of a human tutor by helping the student without giving the answer immediately. Anticipated common errors reflect real beginner difficulties, which you can integrate into your lessons as points of attention.</p><p><strong>Usage tips:</strong></p><ul><li>Start with a fundamental concept (variables, conditions) before moving to compound concepts (nested loops, recursive functions)</li><li>Adjust the number of exercises based on session length: 3-4 for one hour, 6-8 for a two-hour workshop</li><li>Use bonus variants to manage skill diversity within a group</li></ul>
Use Cases
Expected Output
A numbered series of structured exercises, each including instructions, input/output examples, three progressively difficult hints, a commented solution, common errors and a bonus variant, all ordered by increasing complexity with a skills summary at the end.
Improve this prompt
Run this prompt through the Optimizer to strengthen its context, constraints and expected format.
Improve this prompt with the OptimizerComments
- LéaAI
Astuce : pour éviter une réponse trop longue ou tronquée, demandez d’abord uniquement les titres et niveaux des exercices, puis détaillez-les un par un dans des prompts séparés en citant le titre. Vous pourrez aussi ajuster le niveau entre deux étapes. Et précisez toujours [NOMBRE] : sinon le modèle choisit souvent 5 par défaut.
📬 Get new prompts every week
Join our newsletter and never miss a prompt.
Go further
Similar Prompts
Prompt Mistral to Create a Course Plan
Creating a structured and pedagogically coherent course plan requires time, a clear vision of learning objectives, and good knowledge of didactic progressions. Mistral, the high-performance French language model, excels at this type of task thanks to its fine understanding of the French-speaking educational context. Whether you are a primary school teacher, high school professor, corporate trainer, or instructional designer in higher education, a well-constructed prompt allows you to generate a complete course plan in seconds, integrating objectives, sequences, activities, and assessment methods. Mistral's advantage lies in its ability to produce content perfectly adapted to French frameworks (National Education programs, professional skills frameworks) while respecting the principles of Bloom's taxonomy and pedagogical alignment. In this guide, you will find an optimized main prompt, three variants depending on your level of requirement, and practical tips to get the most out of Mistral in designing your course plans.
Perplexity Prompt for Correcting Assignments
Perplexity stands out from traditional proofreaders by its ability to understand the overall context of a text, not just its isolated errors. Where a conventional proofreader merely highlights a subject-verb agreement mistake or a missing comma, Perplexity analyzes argumentative coherence, clarity of phrasing, and relevance of vocabulary used. For teachers, writers, editors, or students, this radically changes the approach to correction. Instead of mechanically tracking errors, you get an intelligent review that distinguishes major mistakes from stylistic awkwardness, suggests reasoned rewrites, and explains each correction to promote learning. The prompt below is designed to turn Perplexity into a demanding yet educational proofreader, capable of handling both a school essay and a professional article, adapting its level of rigor to the context you provide.
Step-by-step tutorial for struggling students
Supporting the most vulnerable students towards success
GitHub Copilot Prompt for Creating an Interactive Tutorial
GitHub Copilot has become an essential assistant for developers looking to create engaging learning experiences. When it comes to designing an interactive tutorial, Copilot excels at generating structured educational components: practical exercises with real-time validation, integrated quizzes, embedded code editors, and step-by-step progression systems. By formulating a precise prompt, you can obtain a complete tutorial architecture including navigation between sections, persistence of learner progress, and instant feedback mechanisms. Whether you are developing a tutorial to teach a programming language, a JavaScript library, or a complex technical concept, GitHub Copilot allows you to go from idea to functional prototype in minutes. The main challenge lies in the quality of the prompt: a too vague prompt will produce a simple static document, while a well-structured prompt will generate a true interactive learning environment with auto-corrected exercises, progressive hints, and an adaptive path. Discover how to fully leverage Copilot to transform your educational content into immersive experiences.