Prompt Lab Examples

8 Complete Prompt Templates with Variables and Sample Outputs

1

Write an Essay on a Topic

Prompt Template
Write an essay on {topic} that consists of {word count} words and {paragraph count} paragraphs.
S.NoVariablePurpose
1{topic}Name of the topic
2{word count}Number of words
3{paragraph count}Number of paragraphs
Sample Output
Essay: The Impact of Artificial Intelligence on Modern Education

Artificial intelligence is transforming education at every level, from personalized learning platforms to automated grading systems. This essay explores the multifaceted impact of AI on modern educational practices...

[Essay continues for 500 words across 5 paragraphs covering: Introduction, Personalized Learning, Automated Assessment, Challenges & Ethics, and Conclusion]
2

Prepare a Glossary

Prompt Template
Prepare a glossary related to {topic} that consists of {term count} terms with their meanings.
S.NoVariablePurpose
1{topic}Name of the topic
2{term count}Number of terms to display
Sample Output
Glossary: Machine Learning Terms

1. Supervised Learning: A type of machine learning where the model is trained on labeled data.
2. Neural Network: A computing system inspired by biological neural networks in the brain.
3. Overfitting: When a model learns noise in training data rather than the underlying pattern.
4. Feature Engineering: The process of creating input variables from raw data.
5. Cross-Validation: A technique for assessing model performance on unseen data.
3

Prepare a Study Plan

Prompt Template
Write a study plan on {topic} for {stulvl} of students, for duration of {time}.
S.NoVariablePurpose
1{topic}Name of the topic
2{stulvl}Student Level (e.g., beginner, intermediate)
3{time}Time duration (e.g., 2 weeks, 1 month)
Sample Output
4-Week Study Plan: Python Programming for Beginners

Week 1: Variables, data types, and basic I/O
Week 2: Control structures (if/else, loops)
Week 3: Functions and modules
Week 4: Lists, dictionaries, and mini project

Each week includes: 3 lecture sessions, 2 practice labs, 1 quiz, and 1 assignment.
4

Prepare a Quiz

Prompt Template
Prepare a quiz on {topic} with {mcq} MCQs, {blank} blanks for {marks} marks.
S.NoVariablePurpose
1{topic}Name of the topic
2{mcq}Number of MCQs
3{blank}Number of blanks
4{marks}Total marks for quiz
Sample Output
Quiz: Data Structures (10 Marks)

MCQs (5 marks):
1. Which data structure uses FIFO order?
  a) Stack   b) Queue   c) Array   d) Tree

Fill in the Blanks (5 marks):
1. A ______ is a linear data structure that follows LIFO principle.
2. The time complexity of binary search is O(______).

Answer Key: 1-b, 2-b, 3-a, 4-c, 5-d | Blanks: 1-Stack, 2-log n
5

Skills Required for a Profession

Prompt Template
I want to become a {profession}. Prepare a list of {skillc} important skills and {as} average salary in {country}.
S.NoVariablePurpose
1{profession}Name of the job
2{skillc}Number of skills
3{as}Average Salary
4{country}Country preferred
Sample Output
Data Scientist - Skills & Salary in India

Key Skills:
1. Python/R Programming
2. Machine Learning & Deep Learning
3. SQL & Database Management
4. Data Visualization (Tableau, Power BI)
5. Statistics & Probability

Average Salary: 8-12 LPA (India) | $95,000-$130,000 (USA)
6

Poem Writing using AI

Prompt Template
Write a poem titled "{title}" on the topic of {topic} in a {tone} tone.
S.NoVariablePurpose
1{title}The title of the poem
2{topic}The central theme or subject
3{tone}Emotional tone (hopeful, sad, inspiring, humorous)
Sample Output
"Digital Dreams" - A Poem on AI (Inspiring Tone)

In circuits deep where silicon sleeps,
A spark of thought begins to creep,
Through neural nets and learning streams,
We build tomorrow's digital dreams.

Not cold machines, but tools of grace,
To solve the problems we embrace,
From cure to code, from art to song,
AI helps us carry on.
7

Story Writing using AI

Prompt Template
Write a story with {main character} as the main character. The story should be around {word count} words, written for a {audience} audience, and divided into {paragraph count} paragraphs.
S.NoVariablePurpose
1{main character}Name/description of the main character
2{word count}Approximate length in words
3{audience}Target audience (children, teenagers, adults)
4{paragraph count}Number of paragraphs
Sample Output
"The Last Algorithm" - A Story for Teenagers (500 words, 5 paragraphs)

Maya stared at the screen, her fingers hovering over the keyboard. The algorithm she had been working on for months was finally complete — an AI that could predict the future with 99.9% accuracy. But as she ran the final test, a message appeared: "Are you sure you want to know?" She hesitated, then pressed Enter...

[Story continues through adventure, discovery, and moral dilemma]
8

Story Writing - Type & Length

Prompt Template
Write a {length} {story type} story for {audience} in under {word limit} words.
S.NoVariablePurpose
1{story type}Type (motivational, adventure, moral, humorous)
2{audience}Target readers by age/grade/interest
3{word limit}Maximum word count
4{length}Story length category (short, medium, long)
Sample Output
Short Motivational Story for Children (Under 200 words)

"The Little Seed"

Once, a tiny seed fell on hard ground. "I'll never grow here," it thought. But rain came, and sun shone. Slowly, the seed pushed through the cracks. Days passed, and a green sprout appeared. Birds chirped, wind whispered encouragement. One day, the seed bloomed into a beautiful flower. "I did it!" it smiled. The moral: Never give up, no matter how hard the ground seems.

The story uses simple language, clear moral, and hopeful tone suitable for children ages 6-10.

How to Use These Templates

Replace the {variables} with your specific values to generate customized content. Combine multiple templates for complex workflows.

For example: Use the Essay template for theory, the Quiz template for assessment, and the Study Plan template for scheduling.