0
0
Prompt Engineering / GenAIml~20 mins

Why prompt design determines output quality in Prompt Engineering / GenAI - Challenge Your Understanding

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Prompt Design Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
How does prompt clarity affect AI output?

Which statement best explains why clear prompts lead to better AI-generated answers?

AClear prompts make the AI run faster by using less memory.
BClear prompts increase the AI's training data size automatically.
CClear prompts allow the AI to ignore irrelevant parts of the input.
DClear prompts reduce ambiguity, helping the AI understand exactly what is asked.
Attempts:
2 left
💡 Hint

Think about how the AI interprets your question.

Predict Output
intermediate
2:00remaining
Output difference from prompt specificity

Given the prompt "List three fruits." and the prompt "List three tropical fruits.", what difference in output would you expect from a language AI?

AThe first prompt lists any fruits; the second lists only tropical fruits.
BBoth prompts list the same fruits in the same order.
CThe first prompt lists tropical fruits only; the second lists all fruits.
DThe AI will produce an error for the second prompt.
Attempts:
2 left
💡 Hint

Consider how adding details changes the AI's focus.

Model Choice
advanced
2:00remaining
Choosing model size for prompt sensitivity

You want an AI model that responds well to detailed prompts and can generate nuanced answers. Which model type is best?

AA large model trained on diverse data.
BA small model with limited parameters.
CA model trained only on numeric data.
DA model with no training, just random outputs.
Attempts:
2 left
💡 Hint

Think about model capacity and training diversity.

Hyperparameter
advanced
2:00remaining
Effect of temperature on prompt output

In generative AI, what does increasing the 'temperature' hyperparameter do to the output when given the same prompt?

AFreezes the output to always be the same.
BCauses the model to ignore the prompt.
CMakes the output more random and creative.
DMakes the output shorter and more precise.
Attempts:
2 left
💡 Hint

Temperature controls randomness in generation.

Metrics
expert
2:00remaining
Evaluating prompt effectiveness with BLEU score

You have two prompts generating text outputs. You want to measure which prompt produces text closer to a reference answer. Which metric is best to use?

AMean squared error on token IDs.
BBLEU score measuring n-gram overlap.
CCounting the number of words in output.
DMeasuring the time taken to generate output.
Attempts:
2 left
💡 Hint

Think about comparing text similarity.