Prompt Engineering Tutorial menu

Prompt Engineering Quiz

Test what you learned about writing prompts in this tutorial.

Quick Review

TechniqueWhat it does
Clear task and audienceRemoves guessing
RoleSets expertise, focus and tone
ContextGives facts the AI cannot know
Few-shot examplesShows the exact pattern you want
Step by stepImproves accuracy on logic and maths
Output formatMakes answers ready to use

A complete prompt using several techniques:

Example

text
You are a patient maths teacher. A Class 8 student in Lahore
asks how to find 15% of Rs 2,400. Explain step by step in
3 short lines, then give the final answer in bold.

And the check you should run on the answer:

Example

python
print(2400 * 15 / 100)
Output
360.0

Questions

Exercise

Which part of a prompt tells the AI who the answer is for?

Exercise

What does "You are a strict examiner" add to a prompt?

Exercise

You paste a long email and ask for a summary. What helps the AI separate the email from your instruction?

Exercise

You want reviews labelled in an exact format. What is usually most effective?

Exercise

For a maths word problem, which instruction improves accuracy?

Exercise

Your program needs to read the AI's answer. What should you ask for?

Exercise

What should a good debugging prompt include?

Exercise

Which is a responsible business use of prompts?

Learn Prompt Engineering with a teacher

Join the AI & Prompt Engineering course at Workownix, online or in Orangi Town, Karachi, and get a certificate.

See the course Ask on WhatsApp