Lesson 26 of 30

Prompting and Working with AI Tools

Learn how to communicate clearly with AI systems so that outputs become more useful, accurate, and structured.

Beginner Friendly
3 Worked Examples
Exercises Included

Learning objectives

  • Understand the role of prompts in generative AI
  • Write clearer and more effective instructions
  • Recognize how context and constraints improve results

Introduction

Many people interact with AI through prompts. A prompt is simply the instruction or context given to a model. Better prompts often lead to better outputs, not because the model suddenly becomes smarter, but because the task becomes clearer.

Prompting is a practical skill. It helps users define goals, specify format, include constraints, and guide the model toward the right level of detail or tone. This is especially valuable in writing, coding, planning, customer support, and educational content creation.

Good prompting is not about magic words. It is about clarity, context, and communication.

Elements of a strong prompt

A useful prompt often includes the task, relevant context, intended audience, desired format, length or depth, and any important constraints. Examples can also help the model understand what style or structure is wanted.

Instead of saying 'Write about AI,' it is usually better to specify the objective, audience, length, and tone.

Iterative prompting

Prompting is often a conversation rather than a one-shot request. Users may refine, clarify, ask for examples, request a shorter version, or ask the model to reorganize the output.

This iterative approach makes AI tools more practical because users can shape the result progressively.

Limits of prompting

A good prompt improves results, but it does not eliminate the model’s limitations. If the model lacks reliable facts, access to current data, or the ability to reason accurately about a specific topic, a strong prompt alone cannot solve that completely.

Prompting works best when paired with review, domain knowledge, and where needed, retrieval or tool support.

Examples

Weak vs strong prompt

Instead of 'Explain machine learning,' a stronger version is 'Explain machine learning to a first-year university student in 400 words with two examples and one short exercise.'

Structured output

A user asks an AI tool to produce a lesson in sections labeled objective, explanation, examples, and exercises, making the output easier to use directly.

Follow-up refinement

After receiving a long answer, the user asks the AI to shorten it into bullet points for presentation slides.

Exercises

  1. Rewrite three vague prompts into more specific prompts.
  2. Why does providing audience and format improve results?
  3. Create a prompt asking for an AI tutorial lesson with examples and exercises.
  4. Give one case where follow-up prompts are useful.
  5. Why can a well-written prompt still produce an inaccurate answer?

Key takeaway

Prompting is the practical art of giving AI clear goals, context, and constraints so the output becomes more relevant and usable.