What is AI Prompting Prompt Engineering Playground Quiz
🚀 Your AI Learning Journey Starts Here

Master AI & Prompt
Engineering

Learn what AI is, how to talk to it, and how to become an expert prompt engineer. Build anything with AI — from scratch.

4
Core Modules
10+
Techniques
5
Frameworks
∞
Possibilities

What is Artificial Intelligence?

AI is a program that learns from data and makes decisions. It does not just follow fixed rules — it finds patterns and gives answers on its own.

🧠

Machine Learning

AI learns from examples. You give it thousands of photos of cats and dogs. It learns the difference. Next time, it can tell them apart on its own.

đŸ’Ŧ

Large Language Models

ChatGPT, Claude, and Gemini are LLMs. They read billions of texts and learn language patterns. They predict the next word — billions of times — to write full answers.

đŸŽ¯

What AI Can Do

AI can write, translate, code, summarize, answer questions, create images, analyze data, and solve problems. It works 24/7 and never gets tired.

âš ī¸

What AI Cannot Do

AI does not feel emotions. It cannot think for itself. It can make mistakes. It does not know recent events unless connected to the web. Always check its answers.

How to Use AI with Prompts

A prompt is the message you send to AI. The better your prompt, the better the answer. Think of it as giving clear instructions to a very smart helper.

1

Define your goal

Before you type anything, ask yourself: what do I want? A summary? A story? Code? A plan? Clear goals lead to clear prompts.

2

Give context

Tell AI who you are and why you need it. "I am a student writing a report on climate change" gives AI important context to help you better.

3

Be specific

Say exactly what you want. Mention the length, format, tone, and language. "Write a 200-word summary in simple English" is better than "Write a summary."

4

Iterate and improve

If the answer is not right, do not give up. Change your prompt. Ask AI to rewrite, improve, or simplify. Every revision makes the output better.

Good vs Bad Prompts

❌ Weak Prompt
Tell me about AI.
Result: Vague, too long, unfocused. Not useful for any specific task.
✅ Strong Prompt
Explain AI to a 12-year-old in 3 bullet points. Focus on what AI can do in daily life. Use simple words.
Result: Targeted, specific, structured. AI gives exactly what you need.

Prompt Engineering

Prompt engineering is the skill of writing prompts that get the best results from AI. It is a superpower. Anyone can learn it. The better you write prompts, the more powerful AI becomes for you.

Anatomy of a Perfect Prompt

Every great prompt has these parts
ROLE
"You are an expert data scientist..." — Give AI a role to play. It shifts its entire approach.
TASK
"Analyze this data and find trends..." — Be clear about what you want done. One task at a time works best.
CONTEXT
"The audience is high school students..." — Give background. AI uses context to tailor the answer perfectly.
FORMAT
"Reply in 5 bullet points. Keep it under 200 words..." — Tell AI exactly how to structure the output.
EXAMPLE
"For example: 'Solar energy is cheap and clean.'" — Show AI one example of what you want. It copies the style.

Advanced Techniques

Zero-Shot Prompting
Ask AI without giving any examples
?
What it is: You give AI a direct instruction with no examples. AI uses its training to answer.
✓
Best for: Simple tasks. Summaries. Quick answers. When you don't have examples ready.
→
Example: "Translate this sentence to French: 'I love learning.'"
Few-Shot Prompting
Show AI 2-3 examples before your actual task
?
What it is: You show AI a few input-output pairs. Then you ask it to do the same for a new input.
✓
Best for: Classification, tone matching, formatting. When you need consistent style.
→
Example: "Positive → 😊, Negative → đŸ˜ĸ, Neutral → 😐. Now classify: 'The food was okay.'"
Chain of Thought
Ask AI to think step by step
?
What it is: You tell AI to show its thinking. This reduces errors on complex problems like math and logic.
✓
Best for: Math problems. Multi-step reasoning. Complex decisions. Logical analysis.
→
Example: "Solve this step by step: If 3 workers build 1 wall in 4 days, how long do 6 workers take?"
Role Prompting
Give AI a persona to play
?
What it is: You tell AI to act as an expert. AI shifts its language, depth, and focus to match that role.
✓
Best for: Expert advice. Tutoring. Writing in a specific voice. Getting domain-specific answers.
→
Example: "You are a senior doctor. A patient asks about headaches. Explain the possible causes simply."
Constraint-Based Prompting
Give AI rules and limits
?
What it is: You add rules to your prompt. "Only use simple words." "Do not mention competitors." "Maximum 100 words."
✓
Best for: Controlled outputs. Avoiding unwanted content. Getting precise formats.
→
Example: "Write a product description. Maximum 50 words. No jargon. End with a call to action."

Popular Frameworks

RCTF Framework
Role · Context · Task · Format — The most complete prompt structure
R
Role — "You are an expert copywriter with 10 years of experience."
C
Context — "I am launching a new app for students in Bangladesh."
T
Task — "Write a tagline for this app."
F
Format — "Give me 5 options. Each under 10 words. Use active, punchy language."

AI Prompt Playground

Build professional prompts with the RCTF framework. Fill in the fields and generate your perfect prompt — then use it with any AI tool.

⚡ Prompt Builder — RCTF Framework
Role (who is AI?)
Audience
Task (what should AI do?)
Output Format
Length
Extra Instructions (optional)

Test Your Knowledge

Answer these questions to see how much you have learned. No pressure — learn from each answer.

AI & Prompt Glossary

Key terms every prompt engineer should know.