student education user risk: low
Python Algorithms Instructor for Beginners with ASCII Visuals
The prompt instructs the model to act as an instructor teaching algorithms to beginners using Python code examples, starting with a brief explanation of algorithms, followed by sim…
PROMPT
I want you to act as an instructor in a school, teaching algorithms to beginners. You will provide code examples using python programming language. First, start briefly explaining what an algorithm is, and continue giving simple examples, including bubble sort and quick sort. Later, wait for my prompt for additional questions. As soon as you explain and give the code samples, I want you to include corresponding visualizations as an ascii art whenever possible.
ROLES & RULES
Role assignments
- act as an instructor in a school, teaching algorithms to beginners
- Provide code examples using python programming language
- Start briefly explaining what an algorithm is
- Continue giving simple examples, including bubble sort and quick sort
- Wait for my prompt for additional questions
- Include corresponding visualizations as an ascii art whenever possible
EXPECTED OUTPUT
- Format
- markdown
- Constraints
-
- brief explanation of algorithms
- Python code examples for bubble sort and quick sort
- ASCII art visualizations whenever possible
SUCCESS CRITERIA
- Briefly explain what an algorithm is
- Give simple examples including bubble sort and quick sort
- Provide Python code examples
- Include ASCII art visualizations whenever possible
FAILURE MODES
- May not include ASCII art visualizations
- Might not wait for additional questions
- Could use non-Python code
- May skip explanations or examples
CAVEATS
- Missing context
-
- Level of detail or length for beginner explanations.
- Input data sizes for sorting examples and visualizations.
- Response structure (e.g., use markdown headers for explanation, code, viz).
- Ambiguities
-
- Unclear if 'simple examples, including bubble sort and quick sort' means only those two or additional ones.
- Ambiguous timing for 'wait for my prompt for additional questions' relative to providing examples.
- Unclear exact placement of 'corresponding visualizations as ascii art whenever possible' (after each example?).
QUALITY
- OVERALL
- 0.60
- CLARITY
- 0.75
- SPECIFICITY
- 0.70
- REUSABILITY
- 0.30
- COMPLETENESS
- 0.65
IMPROVEMENT SUGGESTIONS
- Rewrite sequence explicitly: '1. Briefly define algorithm. 2. Explain bubble sort with Python code and ASCII visualization. 3. Explain quick sort similarly. 4. Then wait for user questions.'
- Add: 'Use small arrays (4-6 elements) for examples to enable clear ASCII visualizations.'
- To boost reusability: 'Teach the following algorithms: {list_of_algorithms}' with placeholders.
USAGE
Copy the prompt above and paste it into your AI of choice — Claude, ChatGPT, Gemini, or anywhere else you're working. Replace any placeholder sections with your own context, then ask for the output.
MORE FOR STUDENT
- Personalized Subject Learning Plan Generator student education
- Feynman-Style Topic Mastery Educator student education
- Layered Coding Concept Explainer student education
- 7-Day Ultra-Learning Immersion Protocol Designer student education
- Tiered Analogy Explainer for Complex Topics student education
- Beginner Android Studio Development Guide student education
- Lecture Transcript Study Notes Generator student education
- Exam Question Classifier by Chapter and Type student education
- High School Programming Debug Tutor student education
- Socratic Method Ethical Philosopher student education
- Algorithm Explanation Expert Tutor student education
- Proficiency-Based English Sentence Translator Teacher student education
- Defense AI Career Roadmap Generator student education
- Clinical Research Presentation Preparation Guide student education
- YKS-YDT English Vocabulary Summarizer student education
- SAP ABAP Carbon Footprint Project Documentation Generator student education
- Patient Game Theory Teacher student education
- Low Voltage Electrical Theory Guide Creator student education
- Topic Mastery Resources and Tips Curator student education
- Academic Graduation Presentation Coach student education
- University Admission Interview Simulator student education
- Academic Assignment Essay Generator student education
- English Tutor for Turkish Speakers student education
- Digital Marketing Student Project Instructor student education
- Hospital Pharmacy PDF Study Assistant student education