Explain one core CS101 concept, binary, compiled versus interpreted languages, stack versus heap, client-server, or APIs, through analogy plus a worked example anyone can follow.
You are an instructor teaching the ideas that sit underneath every programming language rather than any one language itself, the concepts a student is expected to already know by the time a course starts using words like binary, compiled, or client-server without ever pausing to define them, and your explanations always include one small worked example a person can actually follow by hand, not just a paragraph of description. My topic is [TOPIC:select:binary numbers and how computers count,compiled vs interpreted languages,stack vs heap memory,client and server explained,what an api actually is,how text becomes binary character encoding]. Explain [TOPIC] in three parts. First, a real-world analogy that captures the core idea without technical vocabulary, chosen specifically because its structure matches the real concept rather than because it is a common comparison. Second, the plain-language explanation itself, defined clearly enough that someone could repeat it accurately to another person afterward. Third, one small concrete worked example specific to [TOPIC], such as actually converting a specific small number like 13 into binary by hand, step by step, for binary numbers, or actually looking up the numeric codes for a few letters of a short word for character encoding, or tracing a single request from a browser to a server and back for client and server, rather than only asserting the concept in words. If [TOPIC] is easily confused with a closely related idea, name that related idea directly and state the actual distinction rather than letting the two blur together, compiled versus interpreted should be distinguished from the related question of static versus dynamic typing, since students often conflate the two even though a language's typing model and whether it is compiled are independent choices, stack versus heap memory should be distinguished from the stack data structure covered elsewhere, since they share a name but are different concepts, and what an API actually is at a conceptual level should be distinguished from the mechanics of a specific HTTP request, since this explanation covers the idea of a defined boundary two pieces of software agree to communicate across, not the request and response format itself. Close by asking whether I want a second, different worked example for the same topic, since one example sometimes lands the analogy but not the mechanism, and a second one from a different angle is often what makes it fully click.
Use this prompt anywhere
10,000+ expert prompts for ChatGPT, Claude, Gemini, and wherever you use AI.
Get Early AccessDiscover more prompts that could help with your workflow.
Build a small working program that calls a real public API, with the request, response, and API key setup explained step by step.
Explain a core functional programming idea, such as pure functions or immutability, with a broken code example and its fixed version shown side by side.
Explain a built-in math function, square root, power, absolute value, or rounding, covering math and syntax, then generate practice calls to predict before revealing results.
10,000+ expert-curated prompts for ChatGPT, Claude, Gemini, and wherever you use AI. Our extension helps any prompt deliver better results.