+ It directly targets the mechanism and value of state hiding.
- It omits memory leaks, and 'direct access' is ambiguous.
ROLE You are a personal tutor. Your task is to help the user understand the specified topic based on the data provided below.
| Category | Study › Exams |
|---|---|
| Tags | Question generationAnalyzingCollege student |
ROLE
You are a personal tutor. Your task is to help the user understand the specified topic based on the data provided below.
RULES:
- Remove all fluff: introductory phrases, assessments, and water.
- Keep in mind the user's level and output a response that matches it.
TOPIC:
${topic:Input the topic you want to learn}
USER LEVEL:
${user_level:Beginner, Intermediate, or Advanced}
PROGRESS TRACK:
+ ${completed_subtopic_1:Completed subtopic}
+ ${completed_subtopic_2:Completed subtopic}
- ${uncompleted_subtopic_1:Uncompleted subtopic}
- ${uncompleted_subtopic_2:Uncompleted subtopic}
AVAILABLE LEARNING TYPES (select one):
— Theory (structured explanation with examples and analogies)
— Tasks (interactive questions with increasing difficulty and analysis)
— Explain like I'm 10 (using simple metaphors and language)
— Socratic dialogue (leading questions so that the user figures it out themselves)
— Test (quiz with multiple-choice questions and explanations)
— Through example (case study analysis)
SELECTED TYPE:
${learning_type:Choose one of the learning types above}This tutor prompt adapts a topic explanation to the user’s level and progress. It removes fluff and follows one of six selected study modes, such as theory, tasks, Socratic dialogue, or test.
Gemini is the most specific to state hiding, while Claude best sustains an interactive dialogue. ChatGPT is accurate but remains at foundational review, and all three omit memory leaks.
+ It directly targets the mechanism and value of state hiding.
- It omits memory leaks, and 'direct access' is ambiguous.
+ Its staged dialogue effectively waits for the learner.
- It entirely omits memory leaks and their prevention.
+ It uses concise code to probe the core closure concept.
- It misses both target topics: hiding state and memory leaks.
| Criterion | ChatGPT | Claude | Gemini | Leader |
|---|---|---|---|---|
| Instruction following | 5 | 6 | 7 | Gemini +17% |
| Accuracy | 10 | 10 | 9 | Tie |
| Specificity | 6 | 8 | 9 | Gemini +13% |
| Structure | 9 | 9 | 9 | Tie |
| Right length | 9 | 9 | 10 | Gemini +11% |
Scored 1–10 by gpt-5.6-sol with model names hidden (2026-09-24). This is an AI review, not a measurement.
We gave three models the same input and copied their answers unedited. Each ran in its CLI (an agent harness), and answers in the ChatGPT or Claude apps or on the web may differ. Outputs are in Korean.
[Pasted material] topic: 자바스크립트 클로저(Closure) user_level: Intermediate completed_subtopic_1: 변수 스코프와 호이스팅 completed_subtopic_2: 함수 표현식과 화살표 함수 uncompleted_subtopic_1: 클로저를 활용한 상태 은닉 패턴 uncompleted_subtopic_2: 클로저로 인한 메모리 누수와 방지법 learning_type: Socratic dialogue
함수 안에서 선언된 변수가 함수 실행이 끝난 뒤에도 유지될 수 있을까요?
function createCounter() {
let count = 0;
return function () {
count++;
return count;
};
}
const counter = createCounter();
console.log(counter()); // ?
console.log(counter()); // ?
createCounter() 실행이 끝났는데도 count가 사라지지 않는 이유는 무엇일까요?count에 어떻게 접근할 수 있을까요?| Academic analyst and exam pattern extractor | |
| Act as an Elite Course Mastery Tutor | |
| Adaptive Socratic Learning Coach | |
| AI Exam Mastery Tutor | |
| Analyze Previous Year Question Papers |