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
Writing Specific vs Vague Prompts
📖 Scenario: You want to get useful answers from an AI assistant. Sometimes, vague questions give unclear answers. Specific questions help the AI understand exactly what you want.Imagine you are asking an AI for help planning a trip.
🎯 Goal: Build examples showing the difference between vague and specific prompts to get better AI responses.
📋 What You'll Learn
Create a list of vague prompts about trip planning
Add a variable for the topic to focus on
Create a list of specific prompts using the topic variable
Add a final explanation string about why specific prompts work better
💡 Why This Matters
🌍 Real World
People often ask AI assistants questions. Knowing how to write specific prompts helps get better answers.
💼 Career
Clear communication with AI tools is important in many jobs like customer support, content creation, and data analysis.
Progress0 / 4 steps
1
Create a list of vague prompts
Create a list called vague_prompts with these exact strings: 'Tell me about trips.', 'I want to travel.', 'Help me plan.'
AI for Everyone
Hint
Use square brackets to create a list and include the exact strings separated by commas.
2
Add a topic variable
Create a variable called topic and set it to the string 'budget travel'.
AI for Everyone
Hint
Assign the string 'budget travel' to the variable named topic.
3
Create a list of specific prompts using the topic
Create a list called specific_prompts with these exact strings using the variable topic: f"Give me tips for {topic}.", f"What are the best destinations for {topic}?", f"How can I save money on {topic}?"
AI for Everyone
Hint
Use f-strings to include the variable topic inside each prompt string.
4
Add a final explanation about specific prompts
Create a string variable called explanation with this exact text: 'Specific prompts help AI give clearer and more useful answers.'
AI for Everyone
Hint
Assign the exact explanation text to the variable explanation.
Practice
(1/5)
1. Why is it better to write specific prompts when asking an AI for help?
easy
A. Because vague prompts always give exact answers
B. Because specific prompts give clearer and more useful answers
C. Because AI ignores specific prompts
D. Because vague prompts save time
Solution
Step 1: Understand the effect of prompt clarity
Specific prompts guide the AI to focus on exactly what you want, reducing confusion.
Step 2: Compare specific vs vague prompts
Vague prompts often lead to broad or unclear answers, while specific ones give precise help.
Final Answer:
Because specific prompts give clearer and more useful answers -> Option B
Quick Check:
Specific prompt = clearer answer [OK]
Hint: Clear questions get clear answers from AI every time [OK]
Common Mistakes:
Thinking vague prompts are faster
Believing AI ignores specific prompts
Assuming vague prompts give exact answers
2. Which of the following is an example of a specific prompt?
easy
A. Explain the causes of World War II in simple terms
B. Tell me about history
C. What?
D. Help
Solution
Step 1: Identify the prompt that clearly asks for detailed information
Explain the causes of World War II in simple terms asks for causes of a specific event and requests simple terms, making it clear.
Step 2: Check other options for vagueness
The other options are too broad or unclear to get a focused answer.
Final Answer:
Explain the causes of World War II in simple terms -> Option A
Quick Check:
Specific prompt example = Explain the causes of World War II in simple terms [OK]
Hint: Look for detailed and clear questions, not one-word prompts [OK]
Common Mistakes:
Choosing vague or one-word prompts
Ignoring the level of detail requested
Confusing general topics with specific questions
3. Given the prompt: "List three benefits of exercise." What kind of response should you expect from an AI?
medium
A. An unrelated story about sports
B. A vague explanation about health
C. A question asking for more details
D. A list of three clear benefits of exercise
Solution
Step 1: Analyze the prompt's clarity
The prompt clearly asks for exactly three benefits of exercise, which is specific.
Step 2: Predict the AI's response based on prompt
The AI will provide a focused list matching the request, not vague or unrelated content.
Final Answer:
A list of three clear benefits of exercise -> Option D
Quick Check:
Specific prompt = focused list [OK]
Hint: Specific number requests get exact count answers [OK]
Common Mistakes:
Expecting vague or unrelated answers
Thinking AI will ask for clarification
Assuming AI gives stories instead of lists
4. You wrote the prompt: "Tell me about technology." The AI gives a very broad answer. How can you fix your prompt?
medium
A. Make it more specific, like 'Explain how smartphones work.'
B. Make it shorter, like 'Technology?' only
C. Add unrelated words to confuse the AI
D. Use vague words like 'stuff' and 'things' instead
Solution
Step 1: Identify the problem with the original prompt
The original prompt is too broad, causing a general answer.
Step 2: Choose a way to make the prompt specific
Make it more specific, like 'Explain how smartphones work.' narrows the topic to smartphones, making the AI focus on a clear subject.
Final Answer:
Make it more specific, like 'Explain how smartphones work.' -> Option A
Quick Check:
Specific prompt fixes broad answers [OK]
Hint: Narrow your topic to get focused answers [OK]
Common Mistakes:
Making prompts shorter but vaguer
Adding confusing unrelated words
Using vague filler words
5. You want the AI to help you plan a healthy weekly meal schedule. Which prompt is best to get useful help?
hard
A. What should I eat?
B. Tell me about food.
C. Plan a weekly meal schedule with breakfast, lunch, and dinner including vegetarian options and calorie counts.
D. Help me with stuff.
Solution
Step 1: Identify the prompt that gives clear instructions and details
Plan a weekly meal schedule with breakfast, lunch, and dinner including vegetarian options and calorie counts. specifies meal times, dietary preferences, and calorie info, guiding the AI well.
Step 2: Compare with vague prompts
The other options are too broad or unclear, leading to less useful answers.
Final Answer:
Plan a weekly meal schedule with breakfast, lunch, and dinner including vegetarian options and calorie counts. -> Option C
Quick Check:
Detailed prompt = useful, tailored help [OK]
Hint: Include details and goals in your prompt for best results [OK]