P
🎓EducationBeginnerAll AIs

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 :

  1. Titre court et niveau de difficulté (⭐ facile, ⭐⭐ moyen, ⭐⭐⭐ challengeant)
  2. Énoncé clair rédigé dans un langage simple, sans jargon inutile
  3. Exemple d'entrée/sortie pour illustrer le comportement attendu
  4. 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
  5. Solution commentée ligne par ligne, en expliquant le raisonnement
  6. Erreurs fréquentes que les débutants commettent sur cet exercice et comment les éviter
  7. 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

Answer 3 questions and Léa tailors the prompt to your situation.

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

Prepare a programming lab for a high school or university classCreate educational content for an online learning platformSupport a self-directed learner with progressive exercisesDesign a coding introduction workshop for career-changing adults

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 Optimizer

Comments

Be the first to comment on this prompt.

📬 Get new prompts every week

Join our newsletter and never miss a prompt.

Go further

Similar Prompts

🎓EducationBeginnerAll AIs

Post-Training Satisfaction Survey

Satisfaction Measurement

067
🎓EducationAdvancedAll AIs

Comprehensive Training Program

Training Engineering

073
🎓EducationBeginnerAll AIs

Monthly training newsletter

Internal training communication

064
🎓EducationAdvancedAll AIs

Information Architecture for Complex Apps

Structuring a complex application

082