Bird
Raised Fist0
AI for Everyoneknowledge~10 mins

What is a prompt in AI for Everyone - Visual Explanation

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Concept Flow - What is a prompt
User thinks of a question or task
User writes or says the prompt
AI receives the prompt
AI processes the prompt
AI generates a response
User reads or hears the response
This flow shows how a prompt starts with the user and leads to the AI giving an answer.
Execution Sample
AI for Everyone
User prompt: "What is the weather today?"
AI processes prompt
AI responds: "The weather today is sunny with 25°C."
This example shows a user asking a question and the AI giving a clear answer.
Analysis Table
StepActionInput/ConditionOutput/Result
1User thinks of a questionWhat is the weather today?Question ready to be asked
2User writes or says promptWhat is the weather today?Prompt sent to AI
3AI receives promptPrompt receivedAI starts processing
4AI processes promptAnalyze questionDetermine answer needed
5AI generates responseWeather data accessedThe weather today is sunny with 25°C.
6User reads responseResponse receivedUser understands answer
💡 Process ends when user receives and understands AI's response.
State Tracker
VariableStartAfter Step 2After Step 4After Step 5Final
PromptNone"What is the weather today?""What is the weather today?""What is the weather today?"Used for response
AI StateIdleReceived promptProcessing promptGenerated responseWaiting for next prompt
ResponseNoneNoneNone"The weather today is sunny with 25°C."Delivered to user
Key Insights - 2 Insights
Why does the AI need a prompt to give an answer?
The AI uses the prompt as the instruction or question to know what to answer, as shown in execution_table step 4 where it processes the prompt to determine the answer.
Is the prompt the same as the AI's response?
No, the prompt is the user's input (step 2), and the response is the AI's output (step 5). They are different parts of the process.
Visual Quiz - 3 Questions
Test your understanding
Look at the execution_table, what happens at step 3?
AUser thinks of a question
BAI receives the prompt
CAI generates a response
DUser reads the response
💡 Hint
Check the 'Action' column for step 3 in the execution_table.
According to variable_tracker, what is the AI state after step 5?
AIdle
BReceived prompt
CGenerated response
DProcessing prompt
💡 Hint
Look at the 'AI State' row under 'After Step 5' in variable_tracker.
If the user changes the prompt, which step in execution_table would change?
AStep 1 and Step 2
BStep 4 only
CStep 5 only
DStep 6 only
💡 Hint
The prompt is created and sent in steps 1 and 2, so changes happen there.
Concept Snapshot
A prompt is the question or instruction a user gives to an AI.
The AI reads the prompt, thinks about it, and then gives an answer.
Without a prompt, the AI does not know what to do.
Prompts guide the AI to provide useful responses.
Full Transcript
A prompt is what a user asks or tells an AI to do. The user thinks of a question or task, then writes or says it as a prompt. The AI receives this prompt and processes it to understand what is asked. After processing, the AI generates a response based on the prompt. Finally, the user reads or hears the AI's answer. This step-by-step process helps the AI know what to answer and how to help the user.

Practice

(1/5)
1. What is a prompt in the context of AI?
easy
A. A programming language
B. A type of AI model
C. A simple instruction or question given to an AI
D. A hardware device for AI

Solution

  1. Step 1: Understand the role of a prompt

    A prompt is what you give to an AI to get a response, like a question or instruction.
  2. Step 2: Identify the correct definition

    Among the options, only A simple instruction or question given to an AI describes a prompt as a simple instruction or question for AI.
  3. Final Answer:

    A simple instruction or question given to an AI -> Option C
  4. Quick Check:

    Prompt = simple instruction/question [OK]
Hint: Prompts are what you tell AI to get answers [OK]
Common Mistakes:
  • Thinking a prompt is a programming language
  • Confusing prompt with AI model
  • Assuming prompt is hardware
2. Which of the following is the correct way to write a prompt for an AI?
easy
A. Tell me a joke
B. Run the program
C. Open the file
D. Save the document

Solution

  1. Step 1: Identify which option is a clear instruction or question

    Tell me a joke is a clear request to the AI to tell a joke, which is a typical prompt.
  2. Step 2: Check other options

    Options A, B, and D are commands for software or computers, not prompts for AI interaction.
  3. Final Answer:

    Tell me a joke -> Option A
  4. Quick Check:

    Prompt = clear instruction/question [OK]
Hint: Prompts ask AI to do or say something [OK]
Common Mistakes:
  • Choosing commands for software instead of AI prompts
  • Confusing prompts with computer commands
3. If you give an AI the prompt "List three fruits", what kind of response should you expect?
medium
A. A programming error message
B. No response
C. A random story
D. A list of three fruits

Solution

  1. Step 1: Understand the prompt meaning

    The prompt asks the AI to list three fruits, so the AI should respond with a list of fruits.
  2. Step 2: Evaluate the options

    Only A list of three fruits matches the expected response. Other options are unrelated or incorrect.
  3. Final Answer:

    A list of three fruits -> Option D
  4. Quick Check:

    Prompt asks for list -> AI lists fruits [OK]
Hint: Match prompt request to AI response type [OK]
Common Mistakes:
  • Expecting error instead of answer
  • Thinking AI gives unrelated stories
  • Assuming no response from AI
4. You wrote the prompt "Explain photosynthesis" but the AI gives a very short answer. What is the best way to fix this?
medium
A. Delete the prompt
B. Make the prompt more specific, like "Explain photosynthesis in simple steps"
C. Restart your computer
D. Use a different AI model

Solution

  1. Step 1: Identify the problem with the prompt

    The original prompt is too general, so the AI gives a short answer.
  2. Step 2: Choose the best fix

    Making the prompt more specific helps the AI give a better, detailed answer. Make the prompt more specific, like "Explain photosynthesis in simple steps" does this.
  3. Final Answer:

    Make the prompt more specific, like "Explain photosynthesis in simple steps" -> Option B
  4. Quick Check:

    Clearer prompt = better AI answer [OK]
Hint: Be specific in prompts for detailed answers [OK]
Common Mistakes:
  • Changing AI model unnecessarily
  • Restarting computer won't help prompt quality
  • Deleting prompt without improving it
5. You want the AI to create a short story about a cat and a dog. Which prompt will most likely get the best result?
hard
A. "Write a short story about a cat and a dog who become friends."
B. "Cat dog story."
C. "Tell me something."
D. "Explain friendship."

Solution

  1. Step 1: Analyze prompt clarity and detail

    "Write a short story about a cat and a dog who become friends." clearly asks for a short story about a cat and dog becoming friends, giving the AI a clear task.
  2. Step 2: Compare other options

    Options B, C, and D are vague or unrelated, so they won't produce a good story about a cat and dog.
  3. Final Answer:

    "Write a short story about a cat and a dog who become friends." -> Option A
  4. Quick Check:

    Clear, detailed prompt = best AI story [OK]
Hint: Use clear, detailed prompts for best AI output [OK]
Common Mistakes:
  • Using vague prompts
  • Not specifying story details
  • Asking unrelated questions