0
0
AI for Everyoneknowledge~15 mins

What is a prompt in AI for Everyone - Hands-On Activity

Choose your learning style9 modes available
Understanding What a Prompt Is
📖 Scenario: Imagine you want to ask a smart assistant or a computer program to help you with a task, like writing a story or answering a question.
🎯 Goal: You will learn what a prompt is and how it works by creating simple examples that show how to give instructions to an AI or computer.
📋 What You'll Learn
Create a simple text variable called prompt with a clear instruction
Add a variable called audience to specify who the instruction is for
Combine prompt and audience into a full message
Add a final statement explaining the purpose of the prompt
💡 Why This Matters
🌍 Real World
Prompts are used every day when people talk to smart assistants or use AI tools to get help with writing, answering questions, or creating art.
💼 Career
Understanding prompts is important for jobs in AI, customer support, content creation, and any role that uses smart technology to assist with tasks.
Progress0 / 4 steps
1
Create a prompt text
Create a variable called prompt and set it to the text "Write a short story about a cat".
AI for Everyone
Hint

A prompt is a simple instruction or question you give to an AI or computer.

2
Add an audience variable
Add a variable called audience and set it to "for children" to show who the prompt is meant for.
AI for Everyone
Hint

Adding an audience helps the AI know how to shape the response.

3
Combine prompt and audience
Create a variable called full_prompt that combines prompt and audience separated by a space.
AI for Everyone
Hint

Joining the prompt and audience creates a clear instruction for the AI.

4
Explain the purpose of the prompt
Add a variable called explanation and set it to "This prompt tells the AI what to write and who it is for.".
AI for Everyone
Hint

The explanation helps understand why prompts are important.