Prompt Engineering · Course lab · about 150 minutes · 7 tasks · marked out of 100, pass at 60
One prompt, tested against five inputs, shipped as a template
The situation
Take one thing you genuinely need an AI assistant to do repeatedly — reply to enquiries, summarise reports, draft product descriptions. You will build the prompt the way the course teaches: from vague to structured, with real examples, with a strict output format whose reliability you measure, split into steps, saved as a template, and tested against five inputs including two awkward ones.
What you'll be able to show
- Structure a prompt under the four headings and show where the value sits
- Use real examples to set a style, and compare against description
- Measure how often a strict format comes back clean
- Build a test set and score two prompt versions against it
What you need
- Any AI assistant
- Three real examples of the output you want (actual ones, not invented)
- A document for the template and the test results
Tasks
-
1Vague, then completeWrite your request badly on purpose and run it. Then list every question a competent colleague would have asked first, answer them all in the prompt, and run again. Keep both outputs.A correct result: Two prompts, two outputs, and the list of questions you had to answer.
-
2The four headingsRebuild the prompt under the four headings from lesson 2, labelled. Run it. Delete only the context section and run again. Write two sentences on what the context was worth.A correct result: The structured prompt, and the with/without comparison with two sentences.
-
3Examples versus descriptionPut your three real examples in the prompt and ask for a fourth on a new input. Then remove the examples, describe the style in words instead, and compare which is closer to what you wanted.A correct result: Two outputs and a verdict on which approach won, with the reason.
-
4Strict format, measuredWrite a version that must return only a three-column table with no surrounding text. Run it five times. Count how many came back clean. That number is your reliability.A correct result: Five runs, a count out of five, and one sentence on what that means for automation.
-
5Split into stepsSplit the task into at least three prompts, correcting the output between each. Compare the final result with the single-prompt version.A correct result: The step sequence and a comparison verdict.
-
6The template and its notesTurn your best prompt into a template with marked slots. Write the four notes: purpose, template, one good output, what it is not reliable for. Use it twice with different inputs.A correct result: A template with slots, four notes, and two uses.
-
7The test setWrite five realistic inputs including two awkward ones, and your success criteria first. Run two versions of your prompt against all five and score them. Record at least one change that helped one case and hurt another.A correct result: A 2×5 score table, the criteria written before running, and the trade-off you found.
What to hand in
The prompt evolution (tasks 1–5), the template with its four notes, and the test-set score table with the trade-off.
How it is marked
| Criterion | Points |
|---|---|
| Vague-to-complete comparison with the question list | 10 |
| Four-heading prompt and the context ablation explained | 15 |
| Examples vs description compared with a reasoned verdict | 15 |
| Format reliability measured over five runs | 15 |
| Step-split compared to single prompt | 10 |
| Template with four notes, used twice | 15 |
| Test set scored with criteria written first and a trade-off found | 20 |
| Total · pass at 60 | 100 |
صورتحال
ایک ایسی چیز لیں جو آپ کو واقعی AI assistant سے بار بار کروانی ہے — enquiries کے جواب، reports کے خلاصے، product descriptions کے مسودے۔ آپ prompt اس طرح بنائیں گے جیسے کورس سکھاتا ہے: مبہم سے structured تک، حقیقی مثالوں کے ساتھ، سخت output format کے ساتھ جس کی reliability آپ ناپیں گے، steps میں بانٹا ہوا، template کے طور پر محفوظ، اور پانچ inputs پر آزمایا ہوا جن میں دو مشکل ہوں۔
آپ کیا دکھا سکیں گے
- چار عنوانات کے تحت prompt بنانا اور دکھانا کہ قدر کہاں ہے
- انداز طے کرنے کے لیے حقیقی مثالیں استعمال کرنا، اور بیان سے موازنہ کرنا
- ناپنا کہ سخت format کتنی بار صاف واپس آتا ہے
- test set بنانا اور prompt کے دو نسخوں کو اس پر score کرنا
آپ کو کیا چاہیے
- کوئی بھی AI assistant
- مطلوبہ output کی تین حقیقی مثالیں (اصلی، ایجاد کی ہوئی نہیں)
- template اور test کے نتائج کے لیے ایک document
کام
-
1مبہم، پھر مکملاپنی درخواست جان بوجھ کر بری طرح لکھیں اور چلائیں۔ پھر ہر وہ سوال لکھیں جو ایک قابل ساتھی پہلے پوچھتا، سب کے جواب prompt میں دیں، اور دوبارہ چلائیں۔ دونوں outputs رکھیں۔درست نتیجہ: دو prompts، دو outputs، اور ان سوالوں کی فہرست جن کے جواب آپ کو دینے پڑے۔
-
2چار عنوانسبق 2 کے چار عنوانات کے تحت prompt دوبارہ بنائیں، لیبل کے ساتھ۔ چلائیں۔ صرف context والا حصہ delete کر کے دوبارہ چلائیں۔ دو جملے لکھیں کہ context کی کیا قدر تھی۔درست نتیجہ: structured prompt، اور دو جملوں کے ساتھ context کے ساتھ/بغیر کا موازنہ۔
-
3مثالیں بمقابلہ بیاناپنی تین حقیقی مثالیں prompt میں رکھیں اور ایک نئے input پر چوتھی مانگیں۔ پھر مثالیں ہٹا کر انداز کو الفاظ میں بیان کریں، اور موازنہ کریں کہ کون سا آپ کی مرضی کے زیادہ قریب ہے۔درست نتیجہ: دو outputs اور فیصلہ کہ کون سا طریقہ جیتا، وجہ کے ساتھ۔
-
4سخت format، ناپا ہواایک نسخہ لکھیں جو صرف تین کالموں کی table واپس کرے، ارد گرد کوئی متن نہیں۔ پانچ بار چلائیں۔ گنیں کہ کتنے صاف واپس آئے۔ یہی نمبر آپ کی reliability ہے۔درست نتیجہ: پانچ runs، پانچ میں سے گنتی، اور ایک جملہ کہ automation کے لیے اس کا کیا مطلب ہے۔
-
5steps میں بانٹیںکام کو کم از کم تین prompts میں بانٹیں، ہر ایک کے درمیان output درست کرتے ہوئے۔ آخری نتیجے کا single-prompt نسخے سے موازنہ کریں۔درست نتیجہ: steps کی ترتیب اور موازنے کا فیصلہ۔
-
6template اور اس کے notesاپنے بہترین prompt کو نشان زدہ خانوں والے template میں بدلیں۔ چار notes لکھیں: مقصد، template، ایک اچھا output، یہ کس چیز کے لیے قابلِ اعتماد نہیں۔ اسے مختلف inputs کے ساتھ دو بار استعمال کریں۔درست نتیجہ: خانوں والا template، چار notes، اور دو استعمال۔
-
7test setپانچ حقیقت پسندانہ inputs لکھیں جن میں دو مشکل ہوں، اور پہلے اپنے کامیابی کے معیار۔ اپنے prompt کے دو نسخے پانچوں پر چلائیں اور score کریں۔ کم از کم ایک ایسی تبدیلی لکھیں جس نے ایک case کو فائدہ اور دوسرے کو نقصان دیا۔درست نتیجہ: 2×5 score table، چلانے سے پہلے لکھے ہوئے معیار، اور ملنے والا trade-off۔
کیا جمع کروانا ہے
prompt کا ارتقا (tasks 1–5)، چار notes کے ساتھ template، اور trade-off کے ساتھ test set کی score table۔
نمبر کیسے ملیں گے
| معیار | نمبر |
|---|---|
| مبہم سے مکمل کا موازنہ سوالوں کی فہرست کے ساتھ | 10 |
| چار عنوانات والا prompt اور context ہٹانے کی وضاحت | 15 |
| مثالیں بمقابلہ بیان کا موازنہ استدلال والے فیصلے کے ساتھ | 15 |
| format کی reliability پانچ runs پر ناپی گئی | 15 |
| steps میں بانٹنے کا single prompt سے موازنہ | 10 |
| چار notes والا template، دو بار استعمال شدہ | 15 |
| test set پہلے لکھے معیاروں پر score ہوا اور trade-off ملا | 20 |
| کل · پاس 60 | 100 |
Hand in your lab
Create a free BvLogic ID to hand in your lab, get it marked, and have it on your certificate.
Create your BvLogic IDAlready have one? Sign in and this course will be added to it.