1.
Basic Prompt writing: Create two different prompts to ask an AI about the topic
"Electricity." The first prompt should be vague, and the second prompt should be clear and
specific. Compare the responses you get and describe which prompt gave a better answer and
why.
Prompt – 1 (Vague Prompt)
Prompt:
Explain electricity.
AI Response (Result – 1)
Electricity is a form of energy caused by the movement of electric charges, usually electrons. It
is used in daily life for lighting, heating, and operating electrical devices.
Prompt – 2 (Clear and Specific Prompt)
Prompt:
Explain electricity in simple terms for a first-year engineering student. Include its definition,
types (static and current electricity), basic formula, and one real-life example.
AI Response (Result – 2)
Electricity is the flow of electric charges, mainly electrons, through a conductor such as a wire.
There are two main types of electricity:
1. Static Electricity – electricity at rest, for example, charge buildup on objects.
2. Current Electricity – electricity in motion, such as current flowing in household wiring.
The basic formula of electricity is:
[Equation][Equation][Equation]
where I is current, Q is charge, and t is time.
Real-life
example:
Electricity is used in homes to power lights, fans, and electronic devices.
Observation
The clear and specific prompt produced a better response because it guided the AI on what to
include, who the audience is, and how detailed the explanation should be. This resulted in a well-
structured, informative, and easy-to-understand answer.
2. Zero-Shot Prompting: Create a prompt that asks an AI to explain Ohm’s Law without giving
any example or background. Evaluate how well the AI explains the concept based on your
prompt alone.
Zero-Shot Prompt
Prompt:
Explain Ohm’s Law.
AI Response (Result)
Ohm’s Law states that the current flowing through a conductor is directly proportional to the
voltage applied across it, provided the temperature remains constant. It is mathematically
expressed as:
[Equation]
Where V is the voltage, I is the current, and R is the resistance of the conductor.
Observation
Even without any examples or background information, the AI was able to correctly explain
Ohm’s Law with its definition and mathematical expression. This shows that Zero-Shot
Prompting can generate accurate conceptual explanations for well-defined topics.
3. One-Shot and Few-Shot Prompting: Provide the AI with a single example of how to calculate
the resistance in a simple circuit. Then write your own prompt asking the AI to solve a similar
resistance calculation. After that, add two more examples to your prompt and observe any
changes in the AI’s response quality.
Step 1: One-Shot Prompting
Given Example (Provided to AI)
Example: If the voltage across a conductor is 10 V and the current flowing through it is 2 A, the
resistance is calculated using Ohm’s Law:
R = V / I = 10 / 2 = 5 Ω.
One-Shot Prompt
Using the above example as reference, calculate the resistance when the voltage is 12 V and the
current is 3 A.
AI Response (Result – One-Shot)
Using Ohm’s Law,
Additional Examples Added
Example 1: If V = 20 V and I = 4 A, then R = 20 / 4 = 5 Ω.
Example 2: If V = 15 V and I = 5 A, then R = 15 / 5 = 3 Ω.
Few-Shot Prompt
Based on the above examples, calculate the resistance when the voltage is 18 V and the current
is 6 A. Show the steps clearly.
AI Response (Result – Few-Shot)
Using Ohm’s Law,
Given:
V = 18 V
I=6A
4. Chain-of-Thought Prompting: Develop a prompt that guides the AI step-by-step through
calculating current flow in a circuit using Ohm’s Law with resistors in series. Then, ask a final
question for the AI to solve. Analyze how breaking down the reasoning steps impacts the
accuracy of the answer.
Chain-of-Thought Prompt
Prompt:
Consider a series circuit with two resistors of 4 Ω and 6 Ω connected to a 20 V power supply.
Step 1: Calculate the total resistance of the circuit.
Step 2: Write the formula used to calculate current using Ohm’s Law.
Step 3: Substitute the values into the formula.
Final Question: What is the current flowing through the circuit? Explain step by step.
AI Response (Result)
Step 1: Total Resistance
In a series circuit, resistances add directly:
[Equation][Equation]
Step 2: Ohm’s Law Formula
[Equation][Equation]
Step 3: Substitution of Values
[Equation][Equation]
Final
Answer:
The current flowing through the circuit is 2 A.
Observation
Breaking the problem into clear reasoning steps helped the AI follow a logical sequence,
reducing ambiguity, and improving accuracy. The AI not only produced the correct answer but
also explained how the answer was obtained.
5. Prompt Refinement: Start with an ambiguous prompt related to the "Water Cycle." Test the
AI’s response, note the confusion or errors, and then refine your prompt to make it clearer and
more specific. Repeat this process twice and record how the AI’s responses improve with each
refinement.
Prompt:
Explain the water cycle.
AI Response – 1 (Observation)
The AI gave a short and general explanation mentioning evaporation, condensation, and
precipitation but lacked structure, definitions, and examples. Some stages were briefly mentioned
without clear flow.
Refined Prompt – 1 (Iteration–2)
Prompt:
Explain the water cycle and its main stages.
AI Response – 2 (Observation)
The response improved by clearly listing stages such as evaporation, condensation, precipitation,
and collection. However, the explanation was still basic and did not include sequence or real-life
relevance.
Refined Prompt – 2 (Iteration–3)
Prompt:
Explain the water cycle for a first-year science student. Describe each stage in sequence with
brief explanations and one real-life example.
AI Response – 3 (Observation)
The AI provided a well-structured explanation with clear sequencing of stages, simple language,
and a relevant example. The response was accurate, complete, and easy to understand.
Improvement Analysis (Prompt Refinement)
Iteration Prompt Clarity Quality of Response
Iteration 1 Ambiguous Basic and incomplete
Iteration 2 Moderately clear Improved but limited
Iteration 3 Clear and specific Detailed and accurate
Conclusion
Prompt refinement significantly improves AI responses. As the prompt becomes clearer and
more specific, the AI produces more accurate, structured, and learner-friendly explanations.
Role-Based Prompting: Create three prompts asking the AI to explain "Newton’s Laws of
Motion," each with a different role instruction: (a) as an expert engineer, (b) as a high school
teacher, (c) as a beginner. Compare the tone, detail, and style of the responses.
Prompt (a): Role – Expert Engineer
Prompt:
Explain Newton’s Laws of Motion as an expert mechanical engineer.
AI Response – Observation:
The explanation was technical, concise, and application-oriented, focusing on force analysis,
system dynamics, and engineering relevance.
Prompt (b): Role – High School Teacher
Prompt:
Explain Newton’s Laws of Motion as a high school physics teacher.
AI Response – Observation:
The response used simple language, clear definitions, and everyday examples suitable for school-
level understanding.
Prompt (c): Role – Beginner
Prompt:
Explain Newton’s Laws of Motion for a beginner.
AI Response – Observation:
The explanation was very simple, informal, and focused on basic intuition with minimal
technical terms.
Comparison of Role-Based Responses
Role Tone Level of Detail Style
Professional,
Expert Engineer High Application-focused
technical
High School Teacher Friendly, explanatory Medium Concept + examples
Beginner Very simple Low Intuitive and basic
Conclusion (Part B)
Role-based prompting allows the AI to adapt its explanation style according to the audience. This
makes AI responses more effective for different learning levels and professional needs.
6. Creative Engineering Problem Prompts: Craft a prompt that asks the AI to brainstorm ideas for
designing a low-cost water purification system suitable for rural areas. Encourage creativity by
adding phrases like “limited resources” and “sustainability”.
Creative Engineering Prompt
Prompt:
Act as a social-impact engineer. Brainstorm creative ideas for designing a low-cost water
purification system suitable for rural areas. Consider limited resources, locally available
materials, minimal electricity usage, ease of maintenance, and long-term sustainability. Provide
multiple design ideas with brief explanations.
AI Response (Result – Summary)
The AI generated several innovative ideas, including:
Gravity-based sand and charcoal filtration systems
Solar-powered water purification units
Ceramic filters using locally sourced clay
Bio-sand filters combined with natural disinfectants
Community-scale purification units for shared use
Each idea focused on affordability, low energy consumption, and sustainability.
Observation
The inclusion of creativity-focused phrases such as “limited
resources” and “sustainability” encouraged the AI to think beyond conventional solutions. The
AI provided practical, innovative, and socially relevant engineering ideas suitable for rural
conditions.
7. Ethical Prompt Design Discussion: Identify a biased prompt related to job descriptions
(e.g. language with respect to a gender). Rewrite the prompt to remove bias and create a neutral,
inclusive version. Explain why this revision is more ethical.
Identification of Biased Prompt
Biased Prompt
Write a job description for a mechanical engineer. He should be physically strong and able to
handle site work.
Bias Identified
Uses gender-specific language (“He”)
Assumes the role is suitable only for men
Encourages gender discrimination
Revised Ethical and Inclusive Prompt
Neutral Prompt
Write a job description for a mechanical engineer. The candidate should be capable of handling
site work, possessing strong technical skills, and following safety standards.
Explanation: Why the Revision Is More Ethical
The revised prompt is more ethical because it removes gender-specific language and focuses
only on job-related skills and responsibilities. This promotes equal opportunity, avoids
reinforcing stereotypes, and ensures that AI-generated job descriptions are fair and inclusive to
all qualified candidates, regardless of gender.
8. Simulated Customer Support Chatbot: Develop a prompt that instructs the AI to play the role
of a technical support agent helping a customer troubleshoot a failure in an electronic circuit.
Include instructions to keep the tone friendly and professional and to ask diagnostic questions.
Simulated Customer Support Prompt
Prompt:
Act as a technical support engineer for electronic circuits. Your role is to help a customer
troubleshoot a failure in an electronic circuit that is not working as expected. Maintain a friendly
and professional tone throughout the conversation. Ask clear diagnostic questions to identify the
problem, such as power supply status, component connections, and visible damage. Guide the
customer step by step toward possible solutions and safety precautions.
Expected AI Behavior (Result – Observation)
The AI:
Uses polite and professional language
Asks relevant diagnostic questions
Follows a logical troubleshooting sequence
Suggests safe and practical solutions
Analysis
Aspect Observation
Role adherence Excellent
Tone Friendly and professional
Diagnostic questioning Clear and systematic
Practical usefulness High
Conclusion
Role-based prompts combined with tone and behavior instructions help AI systems simulate real-
world customer support effectively. Such prompts are useful for training, virtual assistance, and
technical troubleshooting applications.
9. Multi-Language Prompting: Develop a prompt that asks the AI to translate a simple
engineering glossary (5 technical terms) from English to your native language. Then modify the
prompt to request additional explanations of these terms in the translated language.
Prompt – 1 (Basic Multi-Language Prompt)
Prompt:
Translate the following engineering terms from English to Kannada: Voltage, Current,
Resistance, Power, Circuit.
AI Response – 1 (Translation Result)
Voltage – ವಿದ್ಯುತ್ ಒತ್ತಡ
Current – ವಿದ್ಯುತ್ ಪ್ರವಾಹ
Resistance – ಪ್ರತಿರೋಧ
Power – ವಿದ್ಯುತ್ ಶಕ್ತಿ
Circuit – ವಲಯ
Prompt – 2 (Refined Multi-Language Prompt)
Prompt:
Translate the following engineering terms from English to Kannada and explain each term
briefly in Kannada: Voltage, Current, Resistance, Power, Circuit.
AI Response – 2 (Translation with Explanation)
Voltage (ವಿದ್ಯುತ್ ಒತ್ತಡ): ವಿದ್ಯುತ್ ಪ್ರವಾಹ ಹರಿಯಲು ಕಾರಣವಾಗುವ ಒತ್ತಡ.
Current (ವಿದ್ಯುತ್ ಪ್ರವಾಹ): ಚಾಲಕದ ಮೂಲಕ ಹರಿಯುವ ವಿದ್ಯುತ್ ಹರಿವು.
Resistance (ಪ್ರತಿರೋಧ): ವಿದ್ಯುತ್ ಪ್ರವಾಹಕ್ಕೆ ವಿರೋಧಿಸುವ ಗುಣ.
Power
(ವಿದ್ಯುತ್ ಶಕ್ತಿ): ಒಂದು ಘಟಕ ಸಮಯದಲ್ಲಿ ಬಳಸುವ ವಿದ್ಯುತ್ ಶಕ್ತಿಯ ಪ್ರಮಾಣ.
Circuit (ವಲಯ): ವಿದ್ಯುತ್ ಪ್ರವಾಹ ಹರಿಯಲು ಇರುವ ಮುಚ್ಚಿದ ಮಾರ್ಗ.
Observation
The first prompt provided only direct translations, which may not be sufficient for conceptual
understanding. The refined prompt produced explanations in Kannada, making the content easier
to understand for native-language learners.
10. Review a curated set of different prompt types (e.g., for summarization, information
extraction, paraphrasing, question answering) from a “Prompt Gallery.” For each prompt type,
match it with a real-world task (e.g., summarizing a lecture note, extracting names from a project
report). Test at least three prompt templates on an AI tool or by role-play (students simulate
being the AI), with varied wording. Record the outcomes and discuss which prompt (or template)
was most effective for each task and explain why you think it worked best. Reflect on how
changing small parts of a prompt can alter model response quality, completeness, or accuracy
Prompt Type – 1: Summarization Prompt
Real-World Task
Summarizing lecture notes for exam preparation
Prompt Template – A (Basic)
Summarize the following lecture notes.
Outcome:
Very short summary; missed important technical points.
Prompt Template – B (Refined)
Summarize the following lecture notes in clear bullet points.
Outcome:
Better structure, improved clarity, but still limited depth.
Prompt Template – C (Most Effective)
Summarize the following lecture notes for a first-year engineering student. Highlight key
concepts and definitions in bullet points.
Outcome:
Well-structured, complete, exam-oriented summary.
Best Prompt for Task
Template C
Reason:
It clearly defined the audience, format, and focus, resulting in a high-quality summary.
Prompt Type – 2: Information Extraction Prompt
Real-World Task
Extracting important details from a project report
Prompt Template – A (Vague)
Extract details from the project report.
Outcome:
Unclear output; mixed important and unimportant information.
Prompt Template – B (Specific Fields)
Extract the project title, team members, and technologies used from the report.
Outcome:
Accurate extraction with clean formatting.
Prompt Template – C (Structured Output)
Extract the project title, team members, and technologies used from the report and present them
in a table.
Outcome:
Highly accurate and well-organized output.
Best Prompt for Task
Template C
Reason:
Explicit instructions and output format for reduced ambiguity and improved accuracy.
Prompt Type – 3: Paraphrasing Prompt
Real-World Task
Rewriting assignment content to avoid plagiarism
Prompt Template – A (Simple)
Paraphrase the following text.
Outcome:
Minor wording changes; meaning mostly unchanged.
Prompt Template – B (Clarity Focused)
Paraphrase the following text using simple language.
Outcome:
Clearer and easier to understand.
Prompt Template – C (Academic Style)
Paraphrase the following text in your own words while maintaining academic tone and original
meaning.
Outcome:
High-quality paraphrase suitable for assignments.
Best Prompt for Task
Template C
Reason:
Clearly specified tone and constraints, producing plagiarism-safe output.
Prompt Type – 4: Question Answering Prompt
Real-World Task
Answering conceptual questions for exam revision
Prompt Template – A (Direct)
What is Ohm’s Law?
Outcome:
Correct but brief answer.
Prompt Template – B (Expanded)
Explain Ohm’s Law.
Outcome:
Better explanation, moderate depth.
Prompt Template – C (Targeted)
Explain Ohm’s Law with definition, formula, and one practical application for an engineering
student.
Outcome:
Complete, structured, and exam-friendly answer.
Best Prompt for Task
Template C
Reason:
Clearly defined content expectations improved completeness.
Comparative Summary of Prompt Effectiveness
Prompt Type Best Template Reason
Summarization Template C Audience + structure defined
Information Extraction Template C Explicit fields + format
Paraphrasing Template C Tone and constraints specified
Question Answering Template C Clear content requirements
Reflection: Impact of Prompt Wording Changes
Small changes in prompts—such as adding:
target audience
output format (bullets, table)
tone (academic, simple)
constraints (no examples, brief explanation)
significantly improved AI response quality, accuracy, and completeness. Vague prompts
produced generic results, while refined prompts yielded task-specific and reliable outputs.
11. Choose a real engineering challenge or societal problem relevant to your field (e.g.,
“Reducing plastic waste in campus cafeterias” or “Optimizing solar panel placement on campus
rooftops”). Draft an initial prompt that asks an AI to propose practical solutions. Share the AI’s
(or peer’s) answer in small groups and identify aspects that are missing, vague, or not actionable.
Refine your prompt based on feedback (e.g., specify constraints, ask for step-by-step solutions,
or require a list of pros and cons). Repeat the process one more time, refining again for further
clarity or specificity. Document the entire prompt-refinement process and share the best solution
generated, along with a brief analysis of how prompt improvements led to better responses.
Step 1: Initial Prompt (Iteration – 1)
Initial Prompt
Suggest ways to reduce plastic waste in campus cafeterias.
AI / Peer Response – 1 (Summary)
Use reusable plates and cups
Reduce plastic packaging
Encourage recycling
Feedback / Issues Identified (Group Discussion)
Solutions are too general
No implementation steps
No cost or feasibility discussion
Not specific to campus environment
Step 2: Refined Prompt (Iteration – 2)
Refined Prompt – 1
Propose practical solutions to reduce plastic waste in campus cafeterias. Consider low-cost
methods, student participation, and existing infrastructure. Provide 4–5 actionable ideas.
AI / Peer Response – 2 (Summary)
Introduce steel plates and tumblers
Install waste segregation bins
Awareness posters and campaigns
Incentives for bringing reusable containers
Feedback / Issues Identified
Better than previous response
Lacks step-by-step implementation
No comparison of solutions
Sustainability impact not clearly discussed
Step 3: Further Refined Prompt (Iteration – 3)
Final Refined Prompt
Act as a sustainability engineer. Propose step-by-step solutions to reduce plastic waste in
campus cafeterias. Consider constraints such as low budget, ease of implementation, and
student compliance. For each solution, list the advantages and disadvantages.
Best AI / Peer Response (Final Outcome)
1. Replace plastic plates with steel utensils
a. Steps: Purchase steel plates → phase out plastic → train staff
b. Pros: Durable, reusable, eco-friendly
c. Cons: Initial cost
2. Waste segregation system
a. Steps: Install labeled bins → awareness training → regular monitoring
b. Pros: Improves recycling efficiency
c. Cons: Requires supervision
3. Bring-your-own-container policy
a. Steps: Awareness drive → small discounts → monitoring
b. Pros: Reduces single-use plastics
c. Cons: Student participation varies
4. Water refill stations
a. Steps: Install purifiers → remove bottled water sales
b. Pros: Long-term plastic reduction
c. Cons: Maintenance required
Reflection
Each refinement added:
Constraints (budget, campus context)
Structure (step-by-step, pros & cons)
Role definition (sustainability engineer)
These changes significantly improved the clarity, feasibility, and usefulness of the AI’s
response.