---
title: "Computer science AI Prompts (4 Free Templates) - AgentDock"
description: "4 free computer science prompts for ChatGPT, Claude, and Gemini. Professional templates with smart variables. Copy and use instantly, or run them in the AgentDock editor."
url: "https://agentdock.ai/prompt-library/t/computer-science"
docs_index: /llms.txt
---

# Computer science AI Prompts (4 Free Templates) - AgentDock

4 free computer science templates, including Algorithm Explainer with Practice Problem and Sorting Algorithm Visualizer.

- [Algorithm Explainer with Practice Problem](https://agentdock.ai/prompt-library/education/coding/algorithm-explainer-with-practice.md): Explain a common intro algorithm through a real-world analogy and plain pseudocode, then generate one hand-solvable practice problem with step-by-step feedback on the attempt.
- [Sorting Algorithm Visualizer](https://agentdock.ai/prompt-library/education/coding/sorting-algorithm-visualizer-explainer.md): Trace a chosen sorting algorithm through a small list of numbers, showing every comparison, swap, and the list state after each step until sorted.
- [Recursion Explainer and Tracer](https://agentdock.ai/prompt-library/education/coding/recursion-explainer-and-tracer.md): Trace a recursive function call by call, showing the stack build and unwind, or generate a fresh recursion practice problem to trace by hand.
- [Programming Term Definition Explainer](https://agentdock.ai/prompt-library/education/coding/programming-term-definition-explainer.md): Generate a plain-English definition for any programming or computer science term, with a tiny code example if applicable and its most-confused-with word.

## Related tags

- [Education](https://agentdock.ai/prompt-library/t/education.md)
- [Algorithms](https://agentdock.ai/prompt-library/t/algorithms.md)
- [Recursion](https://agentdock.ai/prompt-library/t/recursion.md)
- [Glossary](https://agentdock.ai/prompt-library/t/glossary.md)
