Skip to main content

Quiz on prompt engineering techniques

📖 Lesson content

Your score:

5 of 5 Correct (100%)

Elapsed time:

1 minute

Show Answers

Hide Answers

Question 1: Correct answer

You want Claude to create a workout plan. Which opening line works better?

"Create a 30-minute workout plan for beginners"

"Do you know anything about exercise?"

"I was wondering about workouts and fitness stuff"

"What kind of workout should I do?"

Question 2: Correct answer

Claude keeps missing sarcastic comments when analyzing social media posts. What's the best way to fix this?

Ask it to guess when something might be sarcastic

Provide examples showing sarcastic posts labeled as negative

Tell it to "be more careful about sarcasm"

Make the prompt longer with more instructions

Question 3: Correct answer

What is prompt engineering?

Training AI models on new datasets

Improving a prompt to get more reliable, higher-quality outputs

Programming AI models from scratch using code

Building the hardware infrastructure for AI systems

Question 4: Correct answer

"Providing sample input/output pairs to guide AI responses" describes which prompt engineering technique?

Being clear and direct

Iterative refinement

XML structuring

One-shot or multi-shot prompting

Question 5: Correct answer

What is the main purpose of using XML tags in prompts?

To reduce the token count of prompts

To increase the processing speed of AI models

To add structure and clarity, especially when including large amounts of content

To make prompts look more professional

Take this again

🔁 Related lessons

📚 Source & attribution

Was this lesson helpful?

Feedback / ReportSpotted an issue or have an improvement idea?