0
0
AI for Everyoneknowledge~20 mins

Iterating and refining prompts in AI for Everyone - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Prompt Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding the purpose of prompt iteration

Why is it important to iterate and refine prompts when interacting with AI models?

ABecause refining prompts reduces the AI's processing time by skipping steps.
BBecause AI models only accept prompts of a fixed length and need trimming.
CBecause iteration trains the AI model to learn new information instantly.
DBecause it helps clarify the question and improves the quality of AI responses.
Attempts:
2 left
💡 Hint

Think about how clearer questions affect answers.

🚀 Application
intermediate
2:00remaining
Choosing the best prompt refinement

You asked an AI: "Tell me about planets." The answer was too broad. Which refined prompt will likely get a more focused answer?

A"Tell me about anything interesting."
B"Tell me about the planets in our solar system and their main features."
C"Explain planets in one word."
D"Tell me about stars instead."
Attempts:
2 left
💡 Hint

Look for the option that narrows the topic clearly.

🔍 Analysis
advanced
2:00remaining
Analyzing prompt refinement effects

Given these two prompts to an AI:
1) "List the benefits of exercise."
2) "List five mental health benefits of regular aerobic exercise for adults."
What is the main difference in the expected AI response?

ABoth prompts will produce identical answers because they mention exercise.
BThe first prompt will produce a longer list than the second prompt.
CThe second prompt will produce a more detailed and specific list focused on mental health and aerobic exercise.
DThe second prompt will confuse the AI and produce an error.
Attempts:
2 left
💡 Hint

Consider how adding details changes the AI's focus.

Comparison
advanced
2:00remaining
Comparing prompt iterations for clarity

Which of these prompt pairs shows the best improvement from the first to the second prompt?

AFirst: "Explain photosynthesis." Second: "Explain photosynthesis in plants in simple terms for children."
BFirst: "Explain photosynthesis." Second: "Explain photosynthesis in plants and animals."
CFirst: "Explain photosynthesis." Second: "Explain photosynthesis with complex scientific terms."
DFirst: "Explain photosynthesis." Second: "Explain photosynthesis."
Attempts:
2 left
💡 Hint

Look for the prompt that adds helpful context for the audience.

Reasoning
expert
2:00remaining
Reasoning about iterative prompt refinement strategy

You want an AI to generate a creative story but the first prompt yields a generic story. Which iterative refinement approach is most effective?

AAdd specific characters, setting, and a conflict to the prompt to guide creativity.
BMake the prompt shorter and less detailed to allow AI freedom.
CRepeat the same prompt multiple times without changes to get different stories.
DAsk the AI to generate a list of random words instead of a story.
Attempts:
2 left
💡 Hint

Think about how details influence creative output.