# Task 7 - Make EducationModule MCQ use real API data instead of mock data

## Summary
Successfully replaced mock data with real API data for the EducationModule MCQ quiz.

## Changes Made

### 1. API Endpoint (`/src/app/api/mcq/route.ts`)
- Added `includeAnswers` query param - when `true`, includes `correctAnswer` in response
- Added `classId`, `subjectId`, `topicId` query params for specific filtering
- Added `random` query param for randomized ordering
- Added `admission` to valid categories list
- When `includeAnswers=true`, returns full question data for quiz mode
- Default behavior still strips `correctAnswer` for security

### 2. EducationModule (`/src/components/modules/EducationModule.tsx`)
- Removed all mock data imports
- Removed `prepareQuestions()` function
- Added `fetchQuestionsFromAPI()` async function
- Added `topicToNameMap` for UI-to-API topic name mapping
- Added loading/error states and views
- Made `QuizQuestion.explanation` optional
- Async `startQuiz` with API fetch
- Replaced leaderboard with "Coming Soon" placeholder
- Replaced exam history with empty state

### 3. i18n (`/src/lib/i18n.ts`)
- Added `edu.loadingQuestions`, `edu.pleaseWait`, `edu.noQuestions`, `edu.loadError` (EN + BN)

## Verification
- Lint passes
- API tested: returns correct data with `includeAnswers=true`
- App serves on port 3000
