<!-- TITLE: Prompt Engineering in Teaching -->
<!-- DESCRIPTION: Equipping students for constructive engagement with AI -->
<!-- LANG: en -->
<!-- URL: https://telucation.tugraz.at/en/articles/tools/08-prompt-engineering/ -->
<!-- URL_DE: https://telucation.tugraz.at/beitraege/tools/08-prompt-engineering/ -->
<!-- URL_EN: https://telucation.tugraz.at/en/articles/tools/08-prompt-engineering/ -->
<!-- TYPE: article -->
<!-- CATEGORY: tools -->
<!-- CATEGORY_TITLE: Tools -->
<!-- NUMBER: 8 -->
<!-- AUTHORS: Benedikt Brünner (TU Graz Educational Technology) -->
<!-- PUBLISHED: 2025-04-22 -->
<!-- UPDATED: 2026-09-02 -->

# Prompt Engineering in Teaching

*Equipping students for constructive engagement with AI*

*Published: 22 April 2025 · Updated: 2 September 2026*

*Authors: Benedikt Brünner (TU Graz Educational Technology)*

Prompt engineering refers to the ability to formulate clear, targeted instructions (prompts) for AI systems in order to receive high-quality, helpful answers.

Students are going to work with AI systems during their studies and careers – to collect ideas or to structure complex content. Reflected use of such tools is a core digital skill, which is also illustrated by UNESCO’s AI Competency Framework for Students.

This article shows several types of prompting techniques that your students can use.

> **Note**
>
> The [UNESCO AI Competency Framework](https://unesdoc.unesco.org/ark:/48223/pf0000391105) for Students categorises AI skills into three levels:

divides AI competencies into three levels:

1. **Understand** Understanding AI and how it works
2. **Apply** Applying AI tools in a thoughtful and responsible way
3. **Create** Creating and designing your own AI solutions

## INTERACTIVE PLATFORM: prompting.schule

The platform [prompting.schule](https://prompting.schule/) by TU Graz is available for teachers and students (in German).

It offers interactive learning modules based on the levels 1. **Understand** and 2. **Apply** of the UNESCO competency framework and helps to learn the basic concepts of prompt engineering.

> **Good to know**
>
> **Teachers are invited to contribute prompting strategies in their domain** **–** **for example, mechanical engineering, architecture or biomedical engineering. More information on** [prompting.schule](https://prompting.schule/mehr/idee) **(in German).**

## PROMPTING TECHNIQUES IN TEACHING

The following prompting techniques, based on [Schulhoff et al. (2024)](https://www.researchgate.net/publication/381318099_The_Prompt_Report_A_Systematic_Survey_of_Prompting_Techniques) can help students to get more differentiated and useful answers. The techniques are summarised in categories. For each category, an example of a prompting technique is presented and illustrated with an example prompt. Feel free to try out and modify the example prompts for your own subject area.

## ZERO-SHOT

The AI does not receive an example, only a task.

## EXAMPLE TECHNIQUE

**Self-Ask** The AI asks follow-up questions in order to provide better answers.

**EXAMPLE PROMPT**

„I would like to create a lesson on the topic of data protection. Ask me 10 questions to better understand my problem.“

„I would like to design a lesson on the topic of data security. Ask me 10 questions in order to understand my problem better.“

## FEW-SHOT

The AI receives a task, and additionally some examples (which may also be AI-generated).

Six main design decisions help choose good examples:

1. **Quantity**: as many examples as possible
2. **Ordering**: randomly ordered examples
3. **Balanced distribution**: various types distributed evenly
4. **Quality**: examples do not include mistakes
5. **Format**: consistent and understandable format
6. **Similarity**: examples matching the question

## EXAMPLE TECHNIQUE

**Vote-K** Examples are created by an AI and systematically selected.

**EXAMPLE PROMPT**

Prompt 1: „Explain the term ‚algorithm‘ in 10 different ways.“

Prompt 2: „Create a short, entertaining and informative video script using the following examples: *(examples chosen from the first answer according to the six design decisions)*„

Prompt 2: „Using the following examples, create a short, entertaining and informative video script: *(examples from the first response selected according to the 6xA guideline)*„

## THOUGHT GENERATION

The AI explains its thought process step by step.

## EXAMPLE TECHNIQUE

**Zero-Shot Chain of Thought** The AI is asked directly to illustrate its thought process step by step.

**EXAMPLE PROMPT**

„Here is some Python code that does not work correctly. Explain step by step what could be the reason.“

## DECOMPOSITION

Complex issues are broken down into sub-issues.

## EXAMPLE TECHNIQUE

**Plan-and-Solve** First, a plan is created, which is then carried out step by step.

**EXAMPLE PROMPT**

„Explain how the Bubble Sort algorithm works. First, create a plan. Name important learning goals and how an explanation has to be structured, then put your plan into action.“

„Explain how the bubble sort algorithm works. First draw up a plan, name the key learning objectives and how an explanation has to be structured, then carry it out.“

## ENSEMBLING

Several prompts or answers are combined, for example by majority vote.

## EXAMPLE TECHNIQUE

**Self-Consistency**

The same question is asked several times. The AI’s answers vary slightly. In the end, the most common or most plausible solution counts.

**EXAMPLE PROMPT**

„Which data type should I use for a phone number?“ *(the same question is asked several times)*

## SELF-CRITICISM

The AI is made to scrutinise its own answer.

## EXAMPLE TECHNIQUE

**Chain-of-Verification (COVE)** The AI generates targeted questions to check its own answer, responds to them and uses these answers to edit the original answer.

**EXAMPLE PROMPT**

Prompt 1: „Which sorting algorithm is best suited for large amounts of unstructured data?“

Prompt 2: „Ask yourself critical questions on your answer, and answer them before editing your original answer.“

## CONCLUSION

Raising students‘ awareness of how to work with AI involves more than just teaching them how to use tools. Prompting is a door-opener for critical thinking, changing perspectives and creative approaches to solutions. By choosing to include prompting techniques in your teaching, you will enable your students to act competently, reflectively and in a future-oriented way in a world shaped by AI.

![a person gives a robot a prompt while thinking of context, example and objective](https://telucation.tugraz.at/_app/immutable/assets/en-01-en-tools-08-sticker.D4pUnhVj.png)

*I am a sticker. You can find out more about me in the FAQ.*

![a person gives a robot a prompt while thinking of context, example and objective](https://telucation.tugraz.at/_app/immutable/assets/en-02-en-tools-08-beitragsbild.BofrJw-2.png)

## Downloads

- [Article (PDF - 664 kB)](https://telucation.tugraz.at/dateien/08-prompt-engineering-article.pdf)
- [Sticker (PNG - 30 kB)](https://telucation.tugraz.at/dateien/08-prompt-engineering-sticker.png)
- [Accessible version (DOCX - 129 kB)](https://telucation.tugraz.at/dateien/08-prompt-engineering-accessible.docx)

This article is licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.de). When reusing it, please credit the authors, TELucation and TU Graz.
