Class 5 · CBSE AI · Strand C — Talking to AI: Prompting as Problem Structuring

How to write a prompt for AI — the PTC framework

Persona, Task, Constraint — the three ingredients of a good AI prompt, taught to a Class 5 child.

What this concept actually says

  • Every good prompt has three parts: who the AI should be (Persona), what to do (Task), and what limits to respect (Constraint)
  • PTC is a checklist for turning vague ideas into precise instructions
  • Missing any one element degrades the output quality

An analogy your child will recognise

Giving instructions to a new household helper

Imagine telling a new helper at home: 'You are the person who manages the kitchen (Persona). Today, please cook dal and rice for four people (Task). Use only the ingredients already in the house and finish by 1pm (Constraint).' Without all three parts, something will go wrong.

School play director

A play director tells each actor: who they are playing (Persona), what their scene involves (Task), and how long they have on stage and what props they can use (Constraint). An actor with only one of these three will be lost.

Common misconceptions to watch for

  • PTC is a rigid formula that must always appear in that exact order
  • Adding more detail to any one element compensates for missing another element entirely

Key facts in one breath

  • PTC stands for Persona, Task, Constraint — three elements that together make a complete prompt
  • Persona shapes the AI's voice, vocabulary, and assumed expertise level
  • Task is the specific action you want performed — not just a topic
  • Constraints are limits: length, format, audience, tone, or what to avoid

How Dhee teaches this — the 3-stage Socratic loop

Every Dhee session for this concept follows three stages. We share the questions Dhee actually asks, so you can hear what a session sounds like.

Stage 1 — Surface

If you were hiring someone for a job, what are the three things you'd absolutely need to tell them before they started work?

Rote answer

"Child recites 'Persona, Task, Constraint' after being told the framework, without connecting it to their own logic"

Understood

"Child independently arrives at ideas like 'who they are, what to do, and what not to do' before the framework is named"

Stage 2 — Reasoning

Look at this prompt: 'You are a friendly science teacher for Class 5 students. Explain photosynthesis in under 100 words using a cooking analogy.' Which part is Persona, which is Task, and which is Constraint — and what would happen if you removed each one?

Follow-up Dhee may use: What if you only gave the Task and nothing else — what might go wrong with the answer you get?

Stage 3 — Application

Build a PTC prompt for this situation: you want AI to help you prepare for a quiz on the water cycle, and you learn best through questions, not explanations.

Misconception Dhee watches for: Child writes a full paragraph of context but doesn't structure it into the three elements — information is there but unorganised

Want your child to actually understand this?

Spark turns this concept into a 15-minute spoken session — asking, listening, and probing — so your child builds the idea themselves.

Frequently asked questions

What is the ptc framework — persona, task, constraint — explained for kids? +

Persona, Task, Constraint — the three ingredients of a good AI prompt, taught to a Class 5 child.

What's the most common mistake children make about this concept? +

PTC is a rigid formula that must always appear in that exact order

How does Dhee teach this in a Class 5 session? +

Dhee opens with a question — for example: "If you were hiring someone for a job, what are the three things you'd absolutely need to tell them before they started work?" — listens to your child's answer, then probes the reasoning behind it. The session ends when the child can apply the idea to a brand-new situation, not just recall it.