Skip to main content
EducationAssessment & Quizzesadvanced

Interactive Socratic Dialogue & Conceptual Quiz Generator

Generate probing diagnostic questions and Socratic dialogue scenarios that challenge superficial textbook memorization.

Compatibility & Specs

Compatible AI Models
ClaudeChatGPTGemini
Last UpdatedOct 3, 2026
Customizable Variables3 parameters

How to Use This Prompt

Follow this 3-step workflow to extract high-signal responses from any compatible AI model.

01

1. Tailor the Parameters

Use the interactive customizer above to substitute the bracketed placeholders with your exact context, requirements, and constraints.

02

2. Send to AI Model

Copy the prompt and paste it into Claude, ChatGPT, Gemini, or Copilot. These models follow structured multi-step constraints reliably.

03

3. Review and Iterate

Review the output against the verified benchmark below. Follow up in the conversation to stress-test edge cases or refine tone.

Prompt Variables & Parameters

Reference breakdown of every dynamic variable embedded in this prompt template.

PlaceholderParameter NameTypeStatusDescription & Guidance
[subject_topic]Subject / TopictextRequiredThe concept or domain being testedDefault: Database Transaction Isolation Levels: Dirty Reads, Non-Repeatable Reads, and Phantom Reads under PostgreSQL and MySQL MVCC.
[competency_level]Target Competency LeveltextRequiredTarget difficulty levelDefault: Senior Backend Software Engineer preparing for high-scale database architecture reviews.
[sub_principles]Sub-Principles to TesttextareaRequiredSpecific phenomena or edge cases to probeDefault: How PostgreSQL MVCC snapshot isolation behaves under concurrent transactions; the exact distinction between Non-Repeatable Read and Phantom Read; Write Skew anomalies in Repeatable Read isolation.

Example Execution & Benchmark Output

Sample input arguments and the verified AI response demonstrating expected quality and formatting.

Sample VariablesInputs
[subject_topic]
Database Transaction Isolation Levels: Dirty Reads, Non-Repeatable Reads, and Phantom Reads under PostgreSQL and MySQL MVCC.
[competency_level]
Senior Backend Software Engineer preparing for high-scale database architecture reviews.
[sub_principles]
How PostgreSQL MVCC snapshot isolation behaves under concurrent transactions; the exact distinction between Non-Repeatable Read and Phantom Read; Write Skew anomalies in Repeatable Read isolation.
Expected AI ResponseVerified Result
### Socratic Diagnostic Scenario 1: The Midnight Doctor On-Call Dilemma **Scenario:** A hospital database has an active rule: *'At least one doctor must be active on-call at all times.'* Doctors Alice and Bob are currently on call. Both simultaneously feel sick and open separate web sessions at 11:59 PM to take themselves off-call. - Transaction 1 (Alice): Queries `SELECT count(*) FROM on_call WHERE active = true`. Result is 2. Updates `Alice -> inactive`. Commits. - Transaction 2 (Bob): Queries `SELECT count(*) FROM on_call WHERE active = true`. Result is 2. Updates `Bob -> inactive`. Commits. Both transactions run under **Repeatable Read** isolation level. **Question:** What is the state of the database after both commit? - A) One transaction fails with a serialization error; one doctor remains active. - B) Both transactions commit successfully; zero doctors are now active on call. - C) The database deadlocks and rolls back both transactions. - D) Repeatable Read prevents this because of row-level lock escalation. **Answer & Socratic Teardown:** **Correct Answer: B.** Both commit successfully, leaving ZERO doctors on call. *Why this happens:* This is the classic **Write Skew anomaly**. Repeatable Read guarantees that a transaction sees a consistent snapshot of rows it reads, but because Alice modified row 'Alice' and Bob modified row 'Bob', their write sets did NOT overlap! Neither transaction experienced a write conflict, so neither aborted. Only true **Serializable** isolation level (or explicit `SELECT ... FOR UPDATE` row locks) detects write skew and prevents this catastrophic invariant violation.

Best Use Cases

Scenarios and roles where this prompt produces maximum leverage.

Engineers preparing for deep technical interviews or staff-level architecture assessments
Instructors creating high-signal conceptual exam questions with diagnostic distractors
Learners validating whether they truly understand system mechanics rather than just buzzwords

Tips for Best Results

Techniques to elevate response fidelity

  • •Provide rich background context rather than one-sentence inputs to receive deep, non-generic responses.
  • •Engage in multi-turn conversation: use the initial output as a baseline, then ask the AI to sharpen specific sections.
  • •Prompt the model to highlight any hidden assumptions or missing trade-offs in its recommendations.

Common Mistakes to Avoid

Frequent failure modes and anti-patterns

  • •Giving minimal context and expecting nuanced, expert-level strategic output.
  • •Not validating factual references, citations, or statistical claims with verified primary sources.
  • •Skipping the customization step and pasting raw bracketed template variables into the AI chat.

Part of Curated Collections

This prompt is sequenced as part of these goal-oriented workflows

View all collections

Related AI Prompts

Complementary workflows in Education

View all Education prompts
Businessintermediate

Zero-to-One Product Requirement Document (PRD) Author

Draft comprehensive, engineering-ready PRDs with user stories, acceptance criteria, and edge cases.

claudechatgpt
#product-management#prd#specifications
Codingadvanced

Production Incident Post-Mortem & Root-Cause Synthesizer

Convert messy incident Slack logs and alerts into a blameless, rigorous post-mortem with corrective action items.

claudechatgptgemini
#post-mortem#root-cause-analysis#sre
Educationadvanced

Self-Directed 8-Week Deep Mastery Syllabus Generator

Construct a rigorous 8-week curriculum with milestone projects, active recall checks, and curated reading lists.

claudechatgptgemini
#learning-plan#self-study#syllabus

Related Engineering Guides

Deep-dive playbooks and system prompt methodologies for Education

View all guides