ÿþ<!DOCTYPE html> <html lang="hi"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>CTET Paper 2 - 8 > . >  ?   ' M / / ( /6 ?  M 7 > 6 > 8 M $ M 0 (Social Studies/Pedagogy)  - M / > 8 8 G   ( 0 G  0 </title> <link href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='45' fill='%23d35400'/%3E%3Ctext x='50' y='67' font-size='40' text-anchor='middle' fill='white' font-weight='bold'%3E8 %3C/text%3E%3C/svg%3E" rel="icon"> <script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.5.1/jspdf.umd.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/1.4.1/html2canvas.min.js"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> <style> :root { --primary: #d35400; --primary-dark: #a04000; --secondary: #e67e22; --danger: #f44336; --success: #43a047; --light: #fdebd0; --dark: #6e2c00; --gray: #b9770e; --border-radius: 12px; --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); --transition: all 0.3s ease; } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', 'Noto Sans', 'Noto Sans Devanagari', system-ui, -apple-system, sans-serif; } body { background: linear-gradient(135deg, #fdebd0 0%, #f5cba7 100%); min-height: 100vh; display: flex; justify-content: center; align-items: center; padding: 20px; color: var(--dark); line-height: 1.6; } .container { width: 100%; max-width: 1000px; background: white; border-radius: var(--border-radius); box-shadow: var(--box-shadow); overflow: hidden; transition: var(--transition); animation: fadeIn 0.5s ease-out; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .header { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; padding: 30px 20px; text-align: center; position: relative; overflow: hidden; } .header::before { content: '=ØÚÜ'; position: absolute; bottom: -30px; right: -30px; font-size: 120px; opacity: 0.15; transform: rotate(-15deg); } .header h1 { font-size: 1.6rem; margin-bottom: 10px; font-weight: 700; position: relative; z-index: 1; } .header p { font-size: 1rem; opacity: 0.9; position: relative; z-index: 1; } .header-controls { position: absolute; top: 20px; right: 20px; display: flex; gap: 12px; z-index: 5; } .header-controls .home-icon { position: relative; top: 0; left: 0; color: white; font-size: 24px; cursor: pointer; transition: var(--transition); text-decoration: none; display: inline-block; } .header-controls .home-icon:hover { transform: scale(1.1); color: rgba(255, 255, 255, 0.8); } .lang-toggle { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); border-radius: 30px; color: white; padding: 6px 16px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: var(--transition); display: flex; align-items: center; gap: 8px; } .lang-toggle:hover { background: rgba(255,255,255,0.3); } .lang-toggle i { font-size: 1rem; } .content-area { padding: 30px; } .hidden { display: none !important; } .btn { display: inline-block; padding: 12px 28px; border-radius: 50px; font-weight: 600; cursor: pointer; transition: var(--transition); border: none; text-align: center; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); margin: 10px 5px; } .btn-primary { background: var(--primary); color: white; } .btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 15px rgba(211, 84, 0, 0.3); } .btn-success { background: var(--success); color: white; } .btn-success:hover { background: #2e7d32; transform: translateY(-2px); } .btn-danger { background: var(--danger); color: white; } .btn-danger:hover { background: #d32f2f; transform: translateY(-2px); } .btn-level { background: var(--light); color: var(--dark); border: 2px solid var(--gray); font-size: 1.1rem; padding: 15px 30px; width: 200px; } .btn-level:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); } .btn-level.selected { background: var(--primary); color: white; border-color: var(--primary); } .btn-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 20px 0; } .level-buttons { display: flex; justify-content: center; gap: 20px; margin: 30px 0; flex-wrap: wrap; } .section-title { text-align: center; margin-bottom: 25px; color: var(--primary-dark); font-size: 1.5rem; position: relative; padding-bottom: 10px; } .section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 3px; background: var(--secondary); border-radius: 3px; } .checkbox-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin: 25px 0; max-height: 450px; overflow-y: auto; padding: 10px; border: 1px solid #eee; border-radius: 12px; } .checkbox-item { display: flex; align-items: center; } .checkbox-item input { margin-right: 10px; width: 18px; height: 18px; cursor: pointer; } .checkbox-item label { cursor: pointer; font-size: 0.85rem; } .practice-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 30px 0; } .option-card { background: white; border-radius: var(--border-radius); padding: 25px; box-shadow: var(--box-shadow); text-align: center; transition: var(--transition); cursor: pointer; border: 2px solid transparent; } .option-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); } .option-card.selected { border-color: var(--primary); background: rgba(211, 84, 0, 0.05); } .option-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 15px; } .option-title { font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; color: var(--primary-dark); } .option-description { color: var(--gray); font-size: 0.85rem; } .question-count-selector { display: flex; justify-content: center; align-items: center; gap: 15px; margin: 20px 0; } .count-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--light); border: 2px solid var(--gray); display: flex; align-items: center; justify-content: center; cursor: pointer; font-weight: bold; transition: var(--transition); } .count-btn:hover { background: var(--primary); color: white; border-color: var(--primary); } .question-count { font-size: 1.5rem; font-weight: 600; min-width: 60px; text-align: center; } .timer-options { display: flex; justify-content: center; gap: 15px; margin: 20px 0; flex-wrap: wrap; } .timer-btn { padding: 10px 20px; background: var(--light); border: 2px solid var(--gray); border-radius: 30px; cursor: pointer; transition: var(--transition); } .timer-btn.selected { background: var(--primary); color: white; border-color: var(--primary); } .question { margin-bottom: 20px; page-break-inside: avoid; } .question-text { font-weight: 500; margin-bottom: 8px; } .option { margin-left: 20px; margin-bottom: 5px; } .action-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-top: 40px; } .answer-sheet { margin-top: 40px; padding: 20px; background: #f8f9fa; border-radius: var(--border-radius); } .answer-table { width: 100%; border-collapse: collapse; margin-top: 15px; } .answer-table th, .answer-table td { border: 1px solid #ddd; padding: 8px; text-align: center; } .answer-table th { background-color: var(--primary); color: white; } .instructions { margin-bottom: 30px; padding: 20px; background: #fdebd0; border-radius: var(--border-radius); border-left: 5px solid var(--primary); } .instructions ol { padding-left: 20px; margin-top: 10px; } .paper-header { text-align: center; margin-bottom: 20px; } .home-icon { position: absolute; top: 20px; left: 20px; color: white; font-size: 24px; cursor: pointer; transition: var(--transition); z-index: 2; } .home-icon:hover { transform: scale(1.1); } @media (max-width: 768px) { .checkbox-container { grid-template-columns: 1fr; } .level-buttons { flex-direction: column; align-items: center; } .btn-level { width: 100%; max-width: 250px; } .header h1 { font-size: 1.2rem; } .header-controls { top: 12px; right: 12px; gap: 8px; } .lang-toggle { font-size: 0.7rem; padding: 4px 12px; } } @media print { .action-buttons { display: none; } .home-icon { display: none; } .header-controls { display: none; } .question { page-break-inside: avoid; } } .text-center { text-align: center; } </style> <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4930137336556867" crossorigin="anonymous"></script> <script async src="https://www.googletagmanager.com/gtag/js?id=G-KMZ9RJ62EY"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-KMZ9RJ62EY'); </script> </head> <body> <div class="container" id="startContainer"> <div class="header"> <div class="header-controls"> <a href="ctet-exam-paper2-practice-set-generator.html" class="home-icon" ><i class="fas fa-home"></i></a> <button class="lang-toggle" id="langToggleBtn"><i class="fas fa-globe"></i> <span id="langLabel">9 ?  & @ </span></button> </div> <br /><br /> <h1 id="mainTitle"><i class="fas fa-landmark"></i> CTET Paper 2 - 8 > . >  ?   ' M / / ( /6 ?  M 7 > 6 > 8 M $ M 0 (Social Studies/Pedagogy)  - M / > 8 8 G   ( 0 G  0 </h1> <p id="mainSubtitle">CTET Paper 2 (  M  * M 0 > % . ?  8 M $ 0 ) 9 G $ A  $ ? 9 > 8 , ( >  0 ?  6 > 8 M $ M 0 , - B  K 2  5  6 ?  M 7 # 5 ? ' ? / K   > 5 ? 7 / 5 > 0  - M / > 8 </p> </div> <div class="content-area"> <div id="startScreen"> <h2 class="section-title" id="startTitle">=ØÚÜ 8 > . >  ?   ' M / / ( /6 ?  M 7 > 6 > 8 M $ M 0 -  - M / > 8 8 G   ( 0 G  0 </h2> <p class="text-center" id="startDesc">CTET Paper 2 9 G $ A  $ ? 9 > 8 , ( >  0 ?  6 > 8 M $ M 0 , - B  K 2  5  6 ?  M 7 # 5 ? ' ? / K   > 5 ? 8 M $ C $  - M / > 8 8 G  $ H / > 0  0 G  </p> <div class="btn-group"> <button class="btn btn-primary" id="startGeneratingBtn"><i class="fas fa-play"></i> <span id="startBtnText"> - M / > 8 8 G  , ( > ( > 6 A 0 B  0 G  </span></button> </div> </div> <div id="practiceTypeSelection" class="hidden"> <h2 class="section-title" id="practiceTypeTitle"> - M / > 8  > * M 0  > 0  A ( G  </h2> <p class="text-center" id="practiceTypeDesc"> * ( @ $ H / > 0 @  G  ( A 8 > 0  - M / > 8 8 G   A ( G  :</p> <div class="practice-options"> <div class="option-card" data-type="chapter-wise"> <div class="option-icon"><i class="fas fa-book-open"></i></div> <div class="option-title" id="optChapterTitle">5 ? 7 / > ( A 8 > 0  - M / > 8 </div> <div class="option-description" id="optChapterDesc"> ? 8 @ 5 ? 6 G 7 5 ? 7 /  >  9 (  - M / > 8  0 G  </div> </div> <div class="option-card" data-type="full-length"> <div class="option-icon"><i class="fas fa-file-alt"></i></div> <div class="option-title" id="optFullTitle">* B 0 M # 2  , >   G 8 M  </div> <div class="option-description" id="optFullDesc">CTET * H  0 M ( * 0  ' > 0 ? $ 50 * M 0 6 M ( K   > 8 G  </div> </div> <div class="option-card" data-type="previous-year"> <div class="option-icon"><i class="fas fa-calendar-alt"></i></div> <div class="option-title" id="optPrevTitle">* ?  2 G 5 0 M 7 K   G * M 0 6 M ( </div> <div class="option-description" id="optPrevDesc">* ?  2 @ TET * 0 @  M 7 >   * 0  ' > 0 ? $ * M 0 6 M ( </div> </div> </div> <div class="btn-group"> <button class="btn btn-danger" id="backToStartBtn"><span id="backStartBtnText">* @  G  >   </span></button> <button class="btn btn-success" id="proceedToChaptersBtn"><span id="proceedBtnText">5 ? 7 /  A ( G  ’!</span></button> </div> </div> <div id="chapterSelection" class="hidden"> <h2 class="section-title" id="chapterTitle">=ØÚÜ 8 > . >  ?   ' M / / ( /6 ?  M 7 > 6 > 8 M $ M 0 - 5 ? 7 /  A ( G  </h2> <form id="chapterForm"> <div class="checkbox-container" id="socialTopicsContainer"></div> </form> <div id="questionCountSection"> <h3 class="section-title" id="qCountTitle">* M 0 6 M ( K   @ 8   M / >  A ( G  </h3> <div class="question-count-selector"> <div class="count-btn" id="decreaseCount">-</div> <div class="question-count" id="questionCount">50</div> <div class="count-btn" id="increaseCount">+</div> </div> </div> <div class="btn-group"> <button class="btn btn-danger" id="backToPracticeTypeBtn"><span id="backPracticeBtnText">* @  G </span></button> <button class="btn btn-success" id="generateAssignmentBtn"><span id="generateAssignBtnText"> ? ( >  8 M $ 0  A ( G  ’!</span></button> </div> </div> <div id="levelSelection" class="hidden"> <h2 class="section-title" id="levelTitle"> ? ( >  8 M $ 0  A ( G  </h2> <p class="text-center" id="levelDesc">CTET Paper 2 * 0 @  M 7 >  G  ( A 8 > 0 8 M $ 0  A ( G  :</p> <div class="level-buttons"> <button class="btn btn-level" id="level1Btn"><span id="l1Title">Level 1</span><br><small id="l1Sub">, A ( ? / > & @ (* M 0 > 0  - ?  )</small></button> <button class="btn btn-level" id="level2Btn"><span id="l2Title">Level 2</span><br><small id="l2Sub">. ' M / . (CTET 8 M $ 0 )</small></button> <button class="btn btn-level" id="level3Btn"><span id="l3Title">Level 3</span><br><small id="l3Sub">  M  (6 ?  M 7  * > $ M 0 $ > )</small></button> </div> <div id="timerOptions"> <h3 class="section-title" id="timerTitle">8 . / 8 @ . >  A ( G  </h3> <div class="timer-options"> <div class="timer-btn" data-time="30"><span id="t30">30 . ? (  </span></div> <div class="timer-btn" data-time="45"><span id="t45">45 . ? (  </span></div> <div class="timer-btn" data-time="60" class="selected"><span id="t60">60 . ? (  </span></div> <div class="timer-btn" data-time="90"><span id="t90">90 . ? (  </span></div> </div> </div> <div class="btn-group"> <button class="btn btn-danger" id="backToChaptersBtn"><span id="backChaptersBtnText">5 ? 7 / K  * 0 5 > * 8 </span></button> <button class="btn btn-success" id="generateFinalBtn"><span id="generateFinalBtnText"> - M / > 8 8 G   ( 0 G   0 G  </span></button> </div> </div> </div> </div> <div class="container hidden" id="generatedPaperContainer"></div> <script> const { jsPDF } = window.jspdf; // ===================================================== // BILINGUAL QUESTIONS DATABASE (55 TOPICS) - CTET Paper 2 Social Studies // ===================================================== const questionBank = {}; function addQuestions(topicKey, enQ, hiQ) { if (!questionBank[topicKey]) questionBank[topicKey] = { en: { level1: [], level2: [], level3: [] }, hi: { level1: [], level2: [], level3: [] } }; const levels = ['level1', 'level2', 'level3']; enQ.forEach((q, idx) => { const levelKey = levels[idx] || 'level1'; questionBank[topicKey].en[levelKey].push(q); }); hiQ.forEach((q, idx) => { const levelKey = levels[idx] || 'level1'; questionBank[topicKey].hi[levelKey].push(q); }); } // Helper for simple questions (non-bilingual with Hindi focus) function addSimpleQuestions(topicKey, hiQ) { if (!questionBank[topicKey]) questionBank[topicKey] = { en: { level1: [], level2: [], level3: [] }, hi: { level1: [], level2: [], level3: [] } }; const levels = ['level1', 'level2', 'level3']; hiQ.forEach((q, idx) => { const levelKey = levels[idx] || 'level1'; questionBank[topicKey].hi[levelKey].push(q); // Add English translation (simple) const enQ = { question: q.question.replace(/[?]/g, '?'), options: q.options, answer: q.answer }; questionBank[topicKey].en[levelKey].push(enQ); }); } // ----- HISTORY TOPICS (19) ----- addSimpleQuestions(' $ ? 9 > 8  > ( ( G  G 8 M 0 K $ ', [ { question: " $ ? 9 > 8  > ( ( G  G . A  M / 8 M 0 K $  M / > 9 H  ?", options: ["* A 0 > $ > $ M 5 ?   5  8 > 9 ? $ M / ?  ", " G 5 2  ? $ > , G  ", " G 5 2 . B 0 M $ ? / >  ", " G 5 2 8 ?  M  G "], answer: "A" }, { question: "* M 0 >  @ ( - > 0 $ @ /  $ ? 9 > 8  > 8 , 8 G . 9 $ M 5 * B 0 M # 8 > 9 ? $ M / ?  8 M 0 K $  M / > 9 H ?", options: ["5 G & ", "* A 0 > # ", "0 > . > / # ", ". 9 > - > 0 $ "], answer: "A" }, { question: "* A 0 > $ > $ M 5 ?  8 M 0 K $ K  . G   M / > 6 > . ? 2 9 H ?", options: [" A & >  , 8 ?  M  G , . B 0 M $ ? / >  ", " G 5 2  ? $ > , G  ", " G 5 2  - ? 2 G  ", " G 5 2 8 ?  M  G "], answer: "A" } ]); addSimpleQuestions('. > ( 5  > 5 ?  > 8 ', [ { question: "* M 0 > 0  - ?  . > ( 5 8 . >   ? 8 / A  . G  5 ?  8 ? $ 9 A  ?", options: ["* > 7 > # / A  ", "$ > . M 0 * > 7 > # / A  ", "2 L 9 / A  ", " >  8 M / / A  "], answer: "A" }, { question: "* M 0 % .  ? 8 > (  5   0 5 > 9 G  ? 8 / A  . G  - 0 G ?", options: ["( 5 * > 7 > # / A  ", "* A 0 > * > 7 > # / A  ", ". ' M / * > 7 > # / A  ", "$ > . M 0 * > 7 > # / A  "], answer: "A" }, { question: "$ > . M 0 * > 7 > # 8  8 M  C $ ? . G   ? 8 ' > $ A  > * M 0 / K  6 A 0 B 9 A  ?", options: ["$ >  , > ", "2 K 9 > ", " >  8 > ", "8 K ( > "], answer: "A" } ]); addSimpleQuestions('8 ? ( M ' A  >  @  0 5 H & ?  8 - M / $ > ', [ { question: "8 ? ( M ' A  >  @ 8 - M / $ >  ? 8 ( & @  G  ? ( > 0 G 5 ?  8 ? $ 9 A  ?", options: ["8 ? ( M ' A ", "   > ", "/ . A ( > ", "8 0 8 M 5 $ @ "], answer: "A" }, { question: "9 ! < * M * > 8 - M / $ >  @ * M 0 . A  5 ? 6 G 7 $ >  M / > % @ ?", options: ["(  0 ( ? / K  ( ", ", ! < G . 9 2 ", ", ! < G .  & ? 0 ", "2 K 9 G  G   > 0 "], answer: "A" }, { question: "5 H & ?  8 - M / $ >  > . A  M /  M 0  %  L ( 8 > 9 H ?", options: ["  M 5 G & ", "/  A 0 M 5 G & ", "8 > . 5 G & ", " % 0 M 5 5 G & "], answer: "A" } ]); addSimpleQuestions(' H ( ' 0 M .  0 , L & M ' ' 0 M . ', [ { question: " H ( ' 0 M .  G 8  8 M % > *   L ( 9 H  ?", options: [". 9 > 5 @ 0 ", ", A & M ' ", " 7 - ", "6   0 "], answer: "A" }, { question: ", L & M ' ' 0 M .  G 8  8 M % > *   L ( 9 H  ?", options: [" L $ . , A & M ' ", ". 9 > 5 @ 0 ", "6   0 ", "0 > . > ( A  "], answer: "A" }, { question: " H ( ' 0 M . . G   ? 8 8 ? & M ' >  $ * 0 5 ? 6 G 7 , 2 & ? / >  / > ?", options: [" 9 ?  8 > ", "5 0 M # 5 M / 5 8 M % > ", "/  M  ", " 0 M .  >  ! "], answer: "A" } ]); addSimpleQuestions('. 9 >  ( * &  > 2 ', [ { question: ". 9 >  ( * &  > 2 . G   ? $ ( G . 9 >  ( * & % G ?", options: ["16", "14", "12", "18"], answer: "A" }, { question: ".  '  ? 8  G 2 ?  * M 0 8 ? & M ' % > ?", options: ["6  M $ ? 6 > 2 @ 0 >  M / ", "5 M / > * > 0 ", "6 ?  M 7 > ", " 2 > "], answer: "A" }, { question: ". 9 >  ( * &  > 2 . G   ? 8 0 >  M /  > 8 , 8 G  ' ?  $ M  0 M 7 9 A  ?", options: [".  ' ", " K 8 2 ", "5 $ M 8 ", " 5  $ ? "], answer: "A" } ]); addSimpleQuestions('. L 0 M /  > 2 ', [ { question: ". L 0 M / 8 > . M 0 >  M /  > 8  8 M % > *   L ( % > ?", options: [" ( M & M 0  A * M $ . L 0 M / ", " 6 K  ", ", ? ( M & A 8 > 0 ", "  K $ M   "], answer: "A" }, { question: " 6 K   ? 8 ' 0 M .  G  ( A / > / @ % G ?", options: [", L & M ' ", " H ( ", "9 ?  & B ", " 8 M 2 > . "], answer: "A" }, { question: " 6 K   G  - ? 2 G   ? 8 2 ? * ? . G  9 H  ?", options: [", M 0 > 9 M . @ ", " 0 K 7 M @ ", "& G 5 ( >  0 @ ", " A * M $ "], answer: "A" } ]); addSimpleQuestions('. L 0 M / >  $ 0 - > 0 $ ', [ { question: ". L 0 M / 8 > . M 0 >  M /  G * $ (  G , > &  ? 8 0 >  5  6  > & / 9 A  ?", options: ["6 A   ", " A * M $ ", " A 7 > # ", "8 > $ 5 > 9 ( "], answer: "A" }, { question: ". L 0 M / K $ M $ 0  > 2 . G  - > 0 $ * 0  ? 8 5 ? & G 6 @   M 0 . #  > 0 @  >   M 0 . # 9 A  ?", options: ["/ 5 ( ", "9 B # ", "6  ", " A 7 > # "], answer: "A" }, { question: ". L 0 M / K $ M $ 0  > 2 . G   L ( 8 > (  0 5 M / > * > 0  >  G  & M 0 , ( > ?", options: ["* >  2 ? * A $ M 0 ", "$  M 7 6 ? 2 > ", "  M  H ( ", ". % A 0 > "], answer: "A" } ]); addSimpleQuestions(' A * M $  0  A * M $ >  $ 0 / A  ', [ { question: " A * M $ 8 > . M 0 >  M /  > 8 M 5 0 M #  > 2  ? 8  G 6 > 8 (  > 2 . G  . > ( >  > $ > 9 H ?", options: [" ( M & M 0  A * M $ 5 ?  M 0 . > & ? $ M / ", "8 . A & M 0  A * M $ ", "8 M  ( M &  A * M $ ", " A . > 0  A * M $ "], answer: "A" }, { question: " A * M $  > 2  K - > 0 $  > 8 M 5 0 M # / A   M / K   9 >  > $ > 9 H ?", options: ["8 >  8 M  C $ ?  5 ?  > 8 ", "8 H ( M / 5 ?  / ", " 0 M % ?  8 . C & M ' ? ", "' > 0 M . ?  8 9 ? 7 M # A $ > "], answer: "A" }, { question: " A * M $ K $ M $ 0  > 2 . G   ? 8 0 >  5  6  > & / 9 A  ?", options: ["9 0 M 7 5 0 M ' ( ", "* > 2 ", "* M 0 $ ? 9 > 0 ", "0 > 7 M  M 0  B  "], answer: "A" } ]); addSimpleQuestions('8   . / A   0 &  M 7 ? # - > 0 $ @ / 8 > . M 0 >  M / ', [ { question: "8   . 8 > 9 ? $ M /  ? 8 - > 7 > . G  0  >  / > ?", options: ["$ . ? 2 ", "$ G 2 A  A ", " ( M ( ! < ", ". 2 / > 2 . "], answer: "A" }, { question: "8   . / A  . G   ? $ ( G 8   . 9 A  ?", options: ["$ @ ( ", "& K ", " > 0 ", "* >   "], answer: "A" }, { question: "&  M 7 ? # - > 0 $  > * M 0 8 ? & M '  G 0 0 >  M /  ? 8  M 7 G $ M 0 . G  % > ?", options: [" G 0 2 ", "$ . ? 2 ( > ! A ", " 0 M ( >   ", "  ' M 0 "], answer: "A" } ]); addSimpleQuestions('8   0 M 7  > / A  : 5 ?  / (  0  0 , 9 . ( @ 8 > . M 0 >  M / ', [ { question: "5 ?  / (  0 8 > . M 0 >  M /  @ 8 M % > * ( >  , 9 A  ?", options: ["1336", "1347", "1320", "1350"], answer: "A" }, { question: ", 9 . ( @ 8 > . M 0 >  M /  > 8  8 M % > *   L ( % > ?", options: [" 2 > & M & @ ( 9 8 ( ", ". 9 . B &  5 >  ", "+ ? 0 K  6 > 9 ", ". A 9 . M . & , ? ( $ A  2  "], answer: "A" }, { question: "5 ?  / (  0  0 , 9 . ( @  G , @  . A  M / 8   0 M 7  ? 8  M 7 G $ M 0  G 2 ?  % > ?", options: ["0 > /  B 0 & K  , ", " K 2  A  ! > ", ", @  > * A 0 ", "5 > 0   2 "], answer: "A" } ]); addSimpleQuestions('& ? 2 M 2 @ 8 2 M $ ( $ ', [ { question: "& ? 2 M 2 @ 8 2 M $ ( $  @ 8 M % > * ( >  ? 8 ( G  @ ?", options: [" A $ A , A & M & @ (  ,  ", " 2 M $ A $ . ? 6 ", ", 2 , ( ", " 2 > & M & @ (  ? 2  @ "], answer: "A" }, { question: "& ? 2 M 2 @ 8 2 M $ ( $ . G   ? 8 5  6  > 6 > 8 ( 8 , 8 G 2  , > % > ?", options: [" A 2 > . 5  6 ", " ? 2  @ 5  6 ", "$ A  2  5  6 ", "8 H / & 5  6 "], answer: "A" }, { question: "& ? 2 M 2 @ 8 2 M $ ( $  >   $ ? . 6 > 8   L ( % > ?", options: [" , M 0 > 9 ? . 2 K & @ ", ", 9 2 K 2 2 K & @ ", "8 ?   & 0 2 K & @ ", " 8 >  >  "], answer: "A" } ]); addSimpleQuestions('. ' M /  > 2 @ ( ' > 0 M . ?   ( M & K 2 ( ', [ { question: "-  M $ ?   & K 2 (  @ . A  M / 5 ? 6 G 7 $ >  M / > % @ ?", options: [" 6 M 5 0  G * M 0 $ ? * M 0 G . ", " 0 M .  >  ! ", "/  M  ", "5 0 M # 5 M / 5 8 M % > "], answer: "A" }, { question: "8 B + @   & K 2 (  ? 8 ' 0 M . 8 G 8  ,  ' ? $ 9 H ?", options: [" 8 M 2 > . ", "9 ?  & B ", "8 ?  ", " 8 >  "], answer: "A" }, { question: " , @ 0 ( G  ? 8 - > 7 > . G   * ( G * & 2 ?  G ?", options: ["9 ?  & @ ", " 0 M & B ", "+ > 0 8 @ ", "8  8 M  C $ "], answer: "A" } ]); addSimpleQuestions('. A  2 8 > . M 0 >  M /  > & /  0 8 M 5 $  $ M 0 0 >  M / ', [ { question: ". A  2 8 > . M 0 >  M /  @ 8 M % > * ( >  ? 8 ( G  @ ?", options: [", > , 0 ", "9 A . > / B  ", "  , 0 ", " 9 >   @ 0 "], answer: "A" }, { question: "  , 0 ( G  L ( 8 @ ( @ $ ?  * ( >  ?", options: ["8 A 2 9 - - A 2 ", "  < ? / > ", "' 0 M . * 0 ? 5 0 M $ ( ", "  M  0 $ > "], answer: "A" }, { question: ". A  2 8 > . M 0 >  M /  >   $ ? . 6 > 8   L ( % > ?", options: [", 9 > & A 0 6 > 9  + 0 ", " 0    G , ", "6 > 9  2 . ", "  , 0 & M 5 ? $ @ / "], answer: "A" } ]); addSimpleQuestions('- > 0 $ . G  , M 0 ?  ? 6 * M 0 6 > 8 (  0 8  G  0 M % ?  * M 0 - > 5 ', [ { question: "- > 0 $ . G  , M 0 ?  ? 6 6 > 8 (  , 8 M % > * ? $ 9 A  ?", options: ["1757", "1857", "1765", "1773"], answer: "A" }, { question: ", M 0 ?  ? 6 6 > 8 (  > - > 0 $ @ /  0 M % 5 M / 5 8 M % > * 0  M / > * M 0 - > 5 * ! < > ?", options: ["6 K 7 # ", "5 ?  > 8 ", "8 M 5 > 2  , ( ", "8 . C & M ' ? "], answer: "A" }, { question: ", M 0 ?  ? 6 K  ( G  ? 8 ( @ $ ? 8 G - > 0 $ @ / 9 8 M $ 6 ? 2 M *  K ( 7 M   ? / > ?", options: ["   M 0 G  @ 5 8 M $ A    >  / > $ ", " 0 5 C & M ' ? ", "/ A & M ' ", " C 7 ? 8 A ' > 0 "], answer: "A" } ]); addSimpleQuestions('/ B 0 K * @ / 6  M $ ?  > - > 0 $ . G    . ( ', [ { question: "- > 0 $ . G  * A 0 M $  > 2 ? / K   >   . (  , 9 A  ?", options: ["1498", "1500", "1600", "1505"], answer: "A" }, { question: "- > 0 $  ( G 5 > 2 > * 9 2 > * A 0 M $  > 2 @ ( > 5 ?   L ( % > ?", options: ["5 > 8 M  K ! @  > . > ", " K 2  , 8 ", ". H  2 ( ", "! M 0 G  "], answer: "A" }, { question: "   M 0 G  K  ( G - > 0 $ . G   * ( @ * 9 2 @ + H  M  M 0 @  9 >  8 M % > * ? $  @ ?", options: ["8 B 0 $ ", " 2  $ M $ > ", ",  ,  ", ". & M 0 > 8 "], answer: "A" } ]); addSimpleQuestions('- > 0 $ . G  ( 5  >  0 # , - > 0 $ . G  0 > 7 M  M 0 5 > &  > & / ', [ { question: "- > 0 $ . G  ( 5  >  0 #  @ 6 A 0 A  $  ? 8 ( G  @ ?", options: ["0 >  > 0 > . . K 9 ( 0 > / ", "8 M 5 > . @ 5 ? 5 G  > (  & ", "& / > (  & 8 0 8 M 5 $ @ ", " G 6 5   & M 0 8 G ( "], answer: "A" }, { question: "- > 0 $ . G  0 > 7 M  M 0 5 > &  > & /  , 9 A  ?", options: ["195 @  8 & @ ", "185 @  8 & @ ", "205 @  8 & @ ", "175 @  8 & @ "], answer: "A" }, { question: ", M 0 9 M . 8 . >   @ 8 M % > * ( >  ? 8 ( G  @ ?", options: ["0 >  > 0 > . . K 9 ( 0 > / ", "8 M 5 > . @ & / > (  & ", " G 6 5   & M 0 8 G ( ", "& G 5 G ( M & M 0 ( > %  H  K 0 "], answer: "A" } ]); addSimpleQuestions('1857-58  > 8 M 5 $  $ M 0 $ > 8   M 0 > . ', [ { question: "1857  G 5 ? & M 0 K 9  > $ > $ M  > 2 ?   > 0 #  M / > % > ?", options: [" ( + @ 2 M ! 0 >  + 2  > . > . 2 > ", " 0 5 C & M ' ? ", "   M 0 G  K   >  $ M / >  > 0 ", "8 $ @ * M 0 % > "], answer: "A" }, { question: "1857  G 5 ? & M 0 K 9 . G   ? 8 . A  2 6 > 8   K ( G $ > , ( > / >  / > ?", options: [", 9 > & A 0 6 > 9  + 0 ", "  , 0 & M 5 ? $ @ / ", "6 > 9  2 . ", " 0    G , "], answer: "A" }, { question: "1857  G 5 ? & M 0 K 9  K  ? 8 ( > . 8 G  > ( >  > $ > 9 H ?", options: ["* M 0 % . 8 M 5 $  $ M 0 $ > 8   M 0 > . ", "8 H ( M / 5 ? & M 0 K 9 ", " & 0 ", ",  > 5 $ "], answer: "A" } ]); addSimpleQuestions('- > 0 $ @ / 0 > 7 M  M 0 @ /   & K 2 ( (1885-1947)', [ { question: "- > 0 $ @ / 0 > 7 M  M 0 @ /  >   M 0 G 8  @ 8 M % > * ( >  , 9 A  ?", options: ["1885", "1905", "1920", "1942"], answer: "A" }, { question: " 8 9 / K    & K 2 (  ? 8 ( G 6 A 0 B  ? / > ?", options: [" >  ' @  @ ", "( G 9 0 B ", "8 A - > 7 ", "$ ? 2  "], answer: "A" }, { question: "- > 0 $  K ! < K   & K 2 (  ? 8 5 0 M 7 9 A  ?", options: ["1942", "1930", "1920", "1945"], answer: "A" } ]); addSimpleQuestions('8 M 5 $  $ M 0 $ >  G , > & - > 0 $ ', [ { question: "- > 0 $  K 8 M 5 $  $ M 0 $ >  , . ? 2 @ ?", options: ["1947", "1948", "1946", "1950"], answer: "A" }, { question: "- > 0 $  > 8  5 ? ' > (  , 2 >  B 9 A  ?", options: ["1950", "1949", "1951", "1948"], answer: "A" }, { question: "- > 0 $  G * M 0 % . * M 0 ' > ( .  $ M 0 @  L ( % G ?", options: [" 5 > 9 0 2 > 2 ( G 9 0 B ", "8 0 & > 0 *  G 2 ", "0 >  G ( M & M 0 * M 0 8 > & ", " >  ' @  @ "], answer: "A" } ]); // ----- CIVICS TOPICS (9) ----- addSimpleQuestions('5 ? 5 ? ' $ >  0 - G & - > 5 ', [ { question: "5 ? 5 ? ' $ >  >  0 M %  M / > 9 H ?", options: ["5 ? - ? ( M ( $ >   ", "  0 B * $ > ", "8 . > ( $ > ", " 8 . > ( $ > "], answer: "A" }, { question: "- G & - > 5  ? 8 * 0  ' > 0 ? $ 9 K $ > 9 H ?", options: [" > $ ? , ' 0 M . , 2 ?   ", "6 ?  M 7 > ", " / A ", "0 A  ? "], answer: "A" }, { question: "8 . > ( $ >  >  ' ?  > 0  ? 8  ( A  M  G & . G  9 H ?", options: [" ( A  M  G & 14", " ( A  M  G & 15", " ( A  M  G & 16", " ( A  M  G & 17"], answer: "A" } ]); addSimpleQuestions('- > 0 $ @ / 8  5 ? ' > (  0 ' 0 M . ( ? 0 * G  M 7 $ > ', [ { question: "- > 0 $  > 8  5 ? ' > (  , , ( > ?", options: ["1949", "1950", "1948", "1947"], answer: "A" }, { question: "8  5 ? ' > (  G  ( A 8 > 0 - > 0 $  H 8 > 0 >  M / 9 H ?", options: ["' 0 M . ( ? 0 * G  M 7 ", "' > 0 M . ?  ", " 8 >  ", ". A 8 M 2 ? . "], answer: "A" }, { question: "' 0 M . ( ? 0 * G  M 7 $ >  >  0 M %  M / > 9 H ?", options: ["8 - @ ' 0 M . K   G * M 0 $ ? 8 . > ( $ > ", "  ' 0 M . ", "' 0 M .  @  ( & G  @ ", "' 0 M .  > 5 ? 0 K ' "], answer: "A" } ]); addSimpleQuestions('0 > 7 M  M 0 @ / * M 0 $ @  ', [ { question: "- > 0 $  > 0 > 7 M  M 0 @ / *  M 7 @  M / > 9 H ?", options: [". K 0 ", "$ K $ > ", " 0 A ! < ", "9  8 "], answer: "A" }, { question: "- > 0 $  > 0 > 7 M  M 0 @ / * 6 A  M / > 9 H ?", options: [", >  ", "6 G 0 ", "9 > % @ ", " > / "], answer: "A" }, { question: "- > 0 $  > 0 > 7 M  M 0 @ / + B 2  M / > 9 H ?", options: [" . 2 ", " A 2 > , ", " . G 2 @ ", "8 B 0  . A  @ "], answer: "A" } ]); addSimpleQuestions('8  8 & ', [ { question: "- > 0 $ @ / 8  8 &  G  ? $ ( G 8 & ( 9 H  ?", options: ["& K ", "  ", "$ @ ( ", " > 0 "], answer: "A" }, { question: "2 K  8 - >  G 8 & 8 M / K   @  ' ?  $ . 8   M / >  ? $ ( @ 9 H ?", options: ["552", "500", "545", "560"], answer: "A" }, { question: "0 >  M / 8 - >  > 8 - > * $ ?  L ( 9 K $ > 9 H ?", options: [" * 0 > 7 M  M 0 * $ ? ", "0 > 7 M  M 0 * $ ? ", "* M 0 ' > ( .  $ M 0 @ ", "2 K  8 - >  ' M /  M 7 "], answer: "A" } ]); addSimpleQuestions('8 0  > 0  G * M 0  > 0 , 8 0  > 0  G 5 ? - ? ( M ( 8 M $ 0  0  A ( > 5 ', [ { question: "- > 0 $ . G   ? 8 * M 0  > 0  @ 8 0  > 0 9 H ?", options: ["2 K  $ >  $ M 0 ?  ", "$ > ( > 6 > 9 @ ", "8 > . M 0 >  M / 5 > & @ ", " ' ? ( > /  5 > & @ "], answer: "A" }, { question: "- > 0 $ . G  8 0  > 0  G  ? $ ( G 8 M $ 0 9 H  ?", options: ["$ @ ( ", "& K ", " > 0 ", "* >   "], answer: "A" }, { question: " A ( > 5 . G   ? 8 8 ? & M ' >  $  > * > 2 (  ? / >  > $ > 9 H ?", options: ["  5 M /  M $ ?   5 K  ", " # $  $ M 0 ", "0 >  $  $ M 0 ", "5 0 M # 5 M / 5 8 M % > "], answer: "A" } ]); addSimpleQuestions('8 M % > ( @ / 8 M 5 6 > 8 ( ', [ { question: "8 M % > ( @ / 8 M 5 6 > 8 (  > 8 , 8 G  K  > 8 M $ 0  M / > 9 H ?", options: [" M 0 > . *   > / $ ", "(  0 * > 2 ?  > ", " ? 2 > * 0 ? 7 & ", ", M 2 I  "], answer: "A" }, { question: "735 G  8  6 K ' ( ( G  ? 8 5 M / 5 8 M % >  K 8  5 H ' > ( ?  & 0 M  > & ? / > ?", options: ["*   > / $ @ 0 >  ", "(  0 * > 2 ?  > ", " ? 2 > * M 0 6 > 8 ( ", "0 >  M / 8 0  > 0 "], answer: "A" }, { question: "745 G  8  6 K ' ( ( G  ? 8 5 M / 5 8 M % >  K 8  5 H ' > ( ?  & 0 M  > & ? / > ?", options: ["(  0 ( ?  > / ", "*   > / $ ", " ? 2 > ", ", M 2 I  "], answer: "A" } ]); addSimpleQuestions('. @ ! ? / >  0 2 K  $  $ M 0 ', [ { question: ". @ ! ? / >  > . A  M /  > 0 M /  M / > 9 H ?", options: ["8 B  ( > * M 0 8 > 0 ? $  0 ( > ", "0 >  ( @ $ ?  0 ( > ", "5 M / > * > 0  0 ( > ", ". ( K 0   ( "], answer: "A" }, { question: "2 K  $  $ M 0 . G  . @ ! ? / >  @  M / > - B . ?  > 9 H ?", options: [" ( . $ , ( > ( > ", "8 0  > 0  2 > ( > ", " > ( B ( , ( > ( > ", "( M / > /  0 ( > "], answer: "A" }, { question: ". @ ! ? / >  >  L % > 8 M $  -  ? 8 G  9 >  > $ > 9 H ?", options: ["* M 0 G 8 ", "5 ? ' > / ?  > ", " > 0 M / * > 2 ?  > ", "( M / > / * > 2 ?  > "], answer: "A" } ]); addSimpleQuestions('( M / > / * > 2 ?  >  0  * 0 > ' ?  ( M / > / * M 0 # > 2 @ ', [ { question: "- > 0 $  > 8 0 M 5 K  M  ( M / > / > 2 /  9 >  8 M % ? $ 9 H ?", options: ["(  & ? 2 M 2 @ ", ",  ,  ", " 2  $ M $ > ", " G ( M (  "], answer: "A" }, { question: "  M  $ . ( M / > / > 2 /  G ( M / > / > ' @ 6 K   @ ( ? / A  M $ ?  L (  0 $ > 9 H ?", options: ["0 > 7 M  M 0 * $ ? ", "* M 0 ' > ( .  $ M 0 @ ", ". A  M / ( M / > / > ' @ 6 ", "8  8 & "], answer: "A" }, { question: " * 0 > ' ?  ( M / > / * M 0 # > 2 @  > . A  M / & M & G 6 M /  M / > 9 H ?", options: ["( M / > / & G ( > ", "&  ! & G ( > ", ",  > 5  0 ( > ", " - ? / K  ( "], answer: "A" } ]); addSimpleQuestions('8 . > ( $ > , 9 > 6 ? / >  0 # , 8 > 0 M 5  ( ?  8 A 5 ? ' >    0 8 !  8 A 0  M 7 > ', [ { question: "8 . > ( $ >  >  M / >  0 M % 9 H ?", options: ["8 ,  K 8 . > (  5 8 0 ", "8 ,  K    H 8 > ", "8 ,  K 8 . > ( ' ( ", "8 ,  K 8 . > ( * & "], answer: "A" }, { question: "9 > 6 ? / >  0 #  >  0 M %  M / > 9 H ?", options: ["8 . >  8 G , > 9 0  0 ( > ", "8 . >  . G  6 > . ? 2  0 ( > ", "5 ? 6 G 7 > ' ?  > 0 & G ( > ", "6 ?  M 7 > & G ( > "], answer: "A" }, { question: "8 > 0 M 5  ( ?  8 A 5 ? ' >   . G   M / > 6 > . ? 2 9 H ?", options: ["8 M 5 > 8 M % M / , 6 ?  M 7 > , * 0 ? 5 9 ( ", " G 5 2 8 ! <  G  ", " G 5 2 * > ( @ ", " G 5 2 , ?  2 @ "], answer: "A" } ]); // ----- GEOGRAPHY TOPICS (9) ----- addSimpleQuestions(', M 0 9 M . >  !  0 8 L 0 .  ! 2 ', [ { question: ", M 0 9 M . >  !  > 8 , 8 G , ! < > 9 ? 8 M 8 >  M / > 9 H ?", options: ["  > 6    > ", "$ > 0 > ", " M 0 9 ", " *  M 0 9 "], answer: "A" }, { question: "8 B 0 M /  ? 8 * M 0  > 0  > $ > 0 > 9 H ?", options: ["$ > 0 > ", " M 0 9 ", " *  M 0 9 ", " M 7 A & M 0  M 0 9 "], answer: "A" }, { question: "* C % M 5 @ 8 B 0 M /  G  > 0 K   0  ? $ ( G & ? ( K  . G    M  0 2  > $ @ 9 H ?", options: ["365", "366", "360", "370"], answer: "A" } ]); addSimpleQuestions(' M 2 K , ,   M 7 >  6  0 & G 6 >  $ 0 ', [ { question: " M 2 K , * 0   M 7 >  6 0 G  >    ? 8 & ? 6 > . G  9 K $ @ 9 H  ?", options: ["* B 0 M 5 -* 6 M  ? . ", " $ M $ 0 -&  M 7 ? # ", " $ M $ 0 -* B 0 M 5 ", "&  M 7 ? # -* 6 M  ? . "], answer: "A" }, { question: "- B . ' M / 0 G  >  ? $ ( G ! ?  M 0 @ * 0 9 H ?", options: ["0°", "23.5°", "66.5°", "90°"], answer: "A" }, { question: "* M 0 ' > ( . ' M / > 9 M ( 0 G  >  9 >  8 G  A  0 $ @ 9 H ?", options: [" M 0 @ ( 5 ?  ", "* G 0 ? 8 ", "5 > 6 ?    ( ", "& ? 2 M 2 @ "], answer: "A" } ]); addSimpleQuestions('5 > / A & > , $ % > * 5 ( 8   > 0 ', [ { question: "5 > / A & > ,  ? 8  > 0 # 8 G $ M * ( M ( 9 K $ > 9 H ?", options: ["9 5 >  G - > 0 8 G ", "$ > * . > ( 8 G ", " 0 M & M 0 $ > 8 G ", "' B 2 8 G "], answer: "A" }, { question: "* 5 (  ? 8 & ? 6 > 8 G  ? 8 & ? 6 > . G  , 9 $ @ 9 H ?", options: ["  M  & > , 8 G ( ? . M ( & > , ", "( ? . M ( & > , 8 G  M  & > , ", "* B 0 M 5 8 G * 6 M  ? . ", "* 6 M  ? . 8 G * B 0 M 5 "], answer: "A" }, { question: "8 M % > / @ * 5 ( K  . G   L ( 8 @ * M 0 . A  9 H ?", options: ["5 M / > * > 0 ?  * 5 ( G  ", ". > ( 8 B ( ", "  M 0 5 > $ ", ", 5  ! 0 "], answer: "A" } ]); addSimpleQuestions('- B . ? , . C & >  0  2 8  8 > ' ( ', [ { question: ". C & >  G ( ? 0 M . > # . G   L ( 8 >  > 0  . A  M / 9 H ?", options: [" *  M 7 / ", " * 0 & ( ", "5 ?   ( ", "8   / ( "], answer: "A" }, { question: " 2 8  8 > ' (  > 8 , 8 G , ! < > 8 M 0 K $  M / > 9 H ?", options: ["8 . A & M 0 ", "( & ? / >  ", "9 ? . ( & ", "- B  2 "], answer: "A" }, { question: "- B . ?  G  ? $ ( G - >  * 0  C 7 ?  @  > 8  $ @ 9 H ?", options: [" *  > . ?  M  @ * 0 ", "* % 0 @ 2 @ - B . ? * 0 ", "0 G  ? 8 M $ > ( . G  ", "* 9 > ! < K  * 0 "], answer: "A" } ]); addSimpleQuestions('5 (  0 * M 0 . A   > 8  G . H & > ( ', [ { question: "- > 0 $ . G  8 , 8 G  ' ?  5 (  ? 8 0 >  M / . G  9 H  ?", options: [". ' M / * M 0 & G 6 ", " $ M $ 0 * M 0 & G 6 ", ". 9 > 0 > 7 M  M 0 ", " ! ? 6 > "], answer: "A" }, { question: "* M 0 . A   > 8  G . H & > (  ? 8 G  9 $ G 9 H  ?", options: ["8 M  G * @  < ", " A  ! M 0 > ", "8 5 > ( > ", ". 0 A 8 M % 2 "], answer: "A" }, { question: " 7 M #   ? ,  ' @ / 5 0 M 7 > 5 (  9 >  * >   > $ G 9 H  ?", options: ["- B . ' M / 0 G  >  G * > 8 ", "' M 0 A 5 K  * 0 ", "* 9 > ! < K  * 0 ", "0 G  ? 8 M $ > ( . G  "], answer: "A" } ]); addSimpleQuestions('* M 0 5 > 8 (  0 (  0 @  0 # ', [ { question: "* M 0 5 > 8 (  > . A  M /  > 0 #  M / > 9 H ?", options: ["0 K   > 0  @ $ 2 > 6 ", "6 ?  M 7 > ", "8 M 5 > 8 M % M / ", ". ( K 0   ( "], answer: "A" }, { question: "(  0 @  0 #  >  0 M %  M / > 9 H ?", options: [" >  5  > 6 9 0 . G  , & 2 ( > ", "6 9 0  >  >  5 . G  , & 2 ( > ", " ( 8   M / > 5 C & M ' ? ", " 0 M % ?  5 ?  > 8 "], answer: "A" }, { question: "- > 0 $ . G  8 , 8 G  ' ?  (  0 @  C $ 0 >  M /  L ( 8 > 9 H ?", options: [". 9 > 0 > 7 M  M 0 ", " $ M $ 0 * M 0 & G 6 ", ", ? 9 > 0 ", "0 >  8 M % > ( "], answer: "A" } ]); addSimpleQuestions('. > ( 5 8  8 > ' ( ', [ { question: ". > ( 5 8  8 > ' (  >  M / >  0 M % 9 H ?", options: [". ( A 7 M /  @  M 7 . $ > ", "' ( ", "8  * $ M $ ? ", "8  8 > ' ( "], answer: "A" }, { question: ". > ( 5 8  8 > ' (  > 5 ?  > 8  ? 8 8 G 9 K $ > 9 H ?", options: ["6 ?  M 7 >  0 8 M 5 > 8 M % M / ", "' ( 8 G ", "* M 0 >  C $ ?  8  8 > ' ( K  8 G ", " & M / K  K  8 G "], answer: "A" }, { question: "- > 0 $  @  ( 8   M / >  ? $ ( @ 9 H ?", options: ["140  0 K ! < ", "120  0 K ! < ", "130  0 K ! < ", "150  0 K ! < "], answer: "A" } ]); addSimpleQuestions('- > 0 $ . G  * 0 ? 5 9 ( , 8   > 0  5  5 M / > * > 0 ', [ { question: "- > 0 $ . G  * 0 ? 5 9 (  > 8 , 8 G 8 8 M $ > 8 > ' (  M / > 9 H ?", options: ["0 G 2 ", "8 ! <  ", " 2 ", "5 > / A "], answer: "A" }, { question: "8   > 0  > 8 , 8 G $ G  < 8 > ' (  M / > 9 H ?", options: ["   0 ( G  ", " G 2 @ + K ( ", "! >  ", " G 2 @  M 0 > + "], answer: "A" }, { question: "- > 0 $  > 8 , 8 G , ! < > ,  & 0  > 9  L ( 8 > 9 H ?", options: [". A  ,  ", " K 2  > $ > ", " G ( M (  ", "5 ? 6 >  > * $ M $ ( . "], answer: "A" } ]); addSimpleQuestions('* 0 M / > 5 0 # ', [ { question: "* 0 M / > 5 0 #  >  0 M %  M / > 9 H ?", options: [" > 0 K   0  > 5 > $ > 5 0 # ", " 2 5 > / A ", ". L 8 . ", "* M 0 >  C $ ?  8  8 > ' ( "], answer: "A" }, { question: "* 0 M / > 5 0 #  G  ? $ ( G    9 H  ?", options: ["$ @ ( ", "& K ", " > 0 ", "* >   "], answer: "A" }, { question: "* 0 M / > 5 0 # * M 0 & B 7 #  > . A  M /  > 0 #  M / > 9 H ?", options: [". > ( 5  $ ? 5 ? ' ? / >  ", "* M 0 >  C $ ?   * & > ", " 2 5 > / A * 0 ? 5 0 M $ ( ", " ( 8   M / > "], answer: "A" } ]); // ----- PEDAGOGY TOPICS (10) ----- addSimpleQuestions('8 > . >  ?  5 ?  M  > ( /8 > . >  ?   ' M / / (  @  5 ' > 0 # >  5  * M 0  C $ ? ', [ { question: "8 > . >  ?   ' M / / (  > . A  M / & M & G 6 M /  M / > 9 H ?", options: ["8 > . >  ?  8 .  5 ?  8 ? $  0 ( > ", " $ ? 9 > 8 / > &  0 ( > ", "- B  K 2 * " < ( > ", "( >  0 ?  6 > 8 M $ M 0 * " < ( > "], answer: "A" }, { question: "8 > . >  ?  5 ?  M  > (  @ * M 0  C $ ?  H 8 @ 9 H ?", options: ["  $  5 ? 7 /  ", "  5 ? 7 /  ", "8   @ 0 M # ", "8 @ . ? $ "], answer: "A" }, { question: "8 > . >  ?   ' M / / (  ? 8 8 G 8  ,  ' ? $ 9 H ?", options: [". > ( 5 8 . >  ", "* M 0 >  C $ ?  5 ?  M  > ( ", " # ? $ ", "- > 7 > "], answer: "A" } ]); addSimpleQuestions('  M 7 >  @ * M 0  M 0 ? / >   ,  $ ? 5 ? ' ? / >   0 * M 0 5  ( ', [ { question: "  M 7 > . G  * M 0 - > 5 @ 6 ?  M 7 #  G 2 ?   M / >  5 6 M /  9 H ?", options: ["8  5 > & > $ M .   $ ? 5 ? ' ? / >  ", " G 5 2 5 M / >  M / > ( ", " G 5 2 2 G  ( ", " G 5 2 * ( "], answer: "A" }, { question: "  M 7 > . G  * M 0 5  (  >  M / > . 9 $ M 5 9 H ?", options: ["5 ?  > 0 K   >  & > ( -* M 0 & > ( ", " ' ?  > 0  . > ( > ", "( ? /  $ M 0 # ", " ( A 6 > 8 ( "], answer: "A" }, { question: " $ ? 5 ? ' ? - ' > 0 ? $ 6 ?  M 7 #  > 2 > -  M / > 9 H ?", options: ["8  M 0 ? /  ' ?  . ", "( ? 7 M  M 0 ? /  ' ?  . ", "0  ( > ", "/ > & 0  ( > "], answer: "A" } ]); addSimpleQuestions(' 2 K  ( > $ M .  5 ?  > 0 K   > 5 ?  > 8 ', [ { question: " 2 K  ( > $ M .   ?  $ (  >  M / >  0 M % 9 H ?", options: ["$ > 0 M  ?  5 ? 6 M 2 G 7 # ", "  ' 5 ? 6 M 5 > 8 ", "8 M 5 @  C $ ? ", " (  > 0 "], answer: "A" }, { question: " 2 K  ( > $ M .   ?  $ (  ? 8 . G  8 9 > /  9 H ?", options: ["8 . 8 M / > 8 . > ' > ( ", "0  ( > ", "/ > & 0  ( > ", " ( A 8 0 # "], answer: "A" }, { question: " 2 K  ( > $ M .   ?  $ (  > 5 ?  > 8  H 8 G 9 K $ > 9 H ?", options: ["* M 0 6 M ( * B  ( G 8 G ", ", ? ( > 8 K  G ", " G 5 2 * " < ( G 8 G ", " G 5 2 8 A ( ( G 8 G "], answer: "A" } ]); addSimpleQuestions('* B  $ >  / ( A - 5  ( M / 8 >  M 7 M / ', [ { question: "* B  $ >   >  0 M %  M / > 9 H ?", options: [" >   -* ! < $ > 2 ", "8 M 5 @  C $ ? ", " (  > 0 ", " ( A . > ( "], answer: "A" }, { question: " ( A - 5  ( M / 8 >  M 7 M /  ? 8 * 0  ' > 0 ? $ 9 K $ G 9 H  ?", options: [" 5 2 K  (  0  ( A - 5 ", "  ' 5 ? 6 M 5 > 8 ", " ( A . > ( ", "* 0  * 0 > "], answer: "A" }, { question: " ( A - 5  ( M / 8 >  M 7 M /  > . 9 $ M 5  M / > 9 H ?", options: ["$ % M / > $ M .  $ > ", " 2 M * ( > ", "5 ? 6 M 5 > 8 ", "* 0  * 0 > "], answer: "A" } ]); addSimpleQuestions('6 ?  M 7 #  ' ?  . 0 # ( @ $ ? / >  ', [ { question: "* M 0 - > 5 @ 6 ?  M 7 # 0 # ( @ $ ?  M / > 9 H ?", options: ["5 ? 5 ? ' 5 ? ' ? / K   > * / K  ", "  9 @ 5 ? ' ? ", " G 5 2 5 M / >  M / > ( ", " G 5 2 * ( "], answer: "A" }, { question: "8 9  > 0 @  ' ?  . . G   M / > 9 K $ > 9 H ?", options: ["8 . B 9 . G   > 0 M / ", "  G 2 G  > 0 M / ", "* M 0 $ ? 8 M * 0 M ' > ", "( ? 7 M  M 0 ? / $ > "], answer: "A" }, { question: "0 # ( @ $ ? - ' > 0 ? $ 6 ?  M 7 #  > 2 > -  M / > 9 H ?", options: ["5 H /  M $ ?   ' ?  . ", "8 . B 9  ' ?  . ", "0  ( > ", "( ? 7 M  M 0 ? / $ > "], answer: "A" } ]); addSimpleQuestions('8 > . >  ?  5 ?  M  > ( /8 > . >  ?   ' M / / ( * & M ' $ ?  @ 8 . 8 M / >   ', [ { question: "8 > . >  ?   ' M / / ( 6 ?  M 7 # . G  . A  M / 8 . 8 M / >  M / > 9 H ?", options: ["5 M / > 5 9 > 0 ?   - > 5 ", "* A 8 M $  K   @  . @ ", "6 ?  M 7  K   @  . @ ", "8 . /  @  . @ "], answer: "A" }, { question: "8 > . >  ?  5 ?  M  > ( 6 ?  M 7 # . G   M / >  A ( L $ @ 9 H ?", options: [" > $ M 0 K   @  0 A  ? ", "  M  0 A  ? ", "  M  G 8  8 > ' ( ", "* M 0 G 0 ? $  > $ M 0 "], answer: "A" }, { question: "8 > . >  ?   ' M / / ( . G   ? 8 * 0  K 0 & G ( >  > 9 ?  ?", options: [" 5 ' > 0 # > $ M .  8 .  ", "0  ( > ", "$ % M / K   K / > &  0 ( > ", "$ > 0 @  G  / > &  0 ( > "], answer: "A" } ]); addSimpleQuestions('8 M 0 K $ -* M 0 > ' ?  > 0 @  0 . > ' M / . ?  ', [ { question: "* M 0 > % . ?  8 M 0 K $  M / > 9 H  ?", options: [". B 2 & 8 M $ > 5 G  ", "& M 5 ? $ @ /  8 M 0 K $ ", "* A 8 M $  G  ", "2 G  "], answer: "A" }, { question: "& M 5 ? $ @ /  8 M 0 K $  M / > 9 H  ?", options: ["5 M / >  M / > ", ". B 2 & 8 M $ > 5 G  ", " - ? 2 G  ", "8 >  M 7 M / "], answer: "A" }, { question: "8 M 0 K $ K   @ * M 0 > . > # ?  $ >  H 8 G  >   @  > $ @ 9 H ?", options: ["$ A 2 ( >  0 5 ? 6 M 2 G 7 # ", "5 ? 6 M 5 > 8 ", " ( A . > ( ", "* 0  * 0 > "], answer: "A" } ]); addSimpleQuestions('* 0 ? / K  ( >  > 0 M / ', [ { question: "* 0 ? / K  ( >  > 0 M /  > . A  M / & M & G 6 M /  M / > 9 H ?", options: [" ( A 8  ' > (  L 6 2 5 ?  8 ? $  0 ( > ", "0  ( > ", "/ > &  0 ( > ", "2 G  ( "], answer: "A" }, { question: "* 0 ? / K  ( >  > 0 M /  ? 8 * M 0  > 0  > 9 K $ > 9 H ?", options: ["5 M / > 5 9 > 0 ?  ", "8 H & M ' >  $ ?  ", "( ? 7 M  M 0 ? / ", "8 M . 0 # > $ M .  "], answer: "A" }, { question: "* 0 ? / K  ( >  > 0 M /  > 2 > -  M / > 9 H ?", options: ["8 M 5 - ' ?  . ", "( ? 0 M & G 6 ? $  ' ?  . ", "( ? 7 M  M 0 ? / $ > ", "0  ( > "], answer: "A" } ]); addSimpleQuestions('6 ?  M 7 # 8 > .  M 0 @ / ! M 8 ', [ { question: "6 ?  M 7 # 8 > .  M 0 @  >  M / > & M & G 6 M / 9 H ?", options: ["6 ?  M 7 #  K 0 K   , ( > ( > ", "0  ( > ", "* 0 @  M 7 > ", " - M / > 8 "], answer: "A" }, { question: "& C 6 M / 8 > .  M 0 @  > & > 9 0 #  M / > 9 H ?", options: [". > (  ? $ M 0 ", "* A 8 M $  ", " G * ", "0 G ! ? / K "], answer: "A" }, { question: "6 ?  M 7 #  ! M 8  > * / K   M / K   0 G  ?", options: ["8 .  , " < > ( G  G 2 ?  ", "8 . / , ? $ > ( G ", ". ( K 0   ( ", " - M / > 8 "], answer: "A" } ]); addSimpleQuestions('. B 2 M / >   ( ', [ { question: ". B 2 M / >   (  > . A  M / & M & G 6 M /  M / > 9 H ?", options: ["6 ?  M 7 > 0 M % @  @ * M 0  $ ?  >   ( > ", "6 ?  M 7   @ * M 0  $ ? ", "* > M /  M 0 . ", "5 ? & M / > 2 / "], answer: "A" }, { question: "0  ( > $ M .  . B 2 M / >   (  ,  ? / >  > $ > 9 H ?", options: ["6 ?  M 7 #  G & L 0 > ( ", "6 ?  M 7 #  G   $ ", "6 ?  M 7 #  G 6 A 0 B ", "* 0 @  M 7 >  G , > & "], answer: "A" }, { question: "/ K  > $ M .  . B 2 M / >   (  > & M & G 6 M /  M / > 9 H ?", options: [" M 0 G ! & G ( > ", "8 A ' > 0 ", "( ? & > ( ", "/ K  ( > "], answer: "A" } ]); // ===================================================== // TOPIC KEYS & BILINGUAL NAMES - Updated for CTET Paper 2 Social Studies // ===================================================== const topicKeys = [ // History (19) " $ ? 9 > 8  > ( ( G  G 8 M 0 K $ ", ". > ( 5  > 5 ?  > 8 ", "8 ? ( M ' A  >  @  0 5 H & ?  8 - M / $ > ", " H ( ' 0 M .  0 , L & M ' ' 0 M . ", ". 9 >  ( * &  > 2 ", ". L 0 M /  > 2 ", ". L 0 M / >  $ 0 - > 0 $ ", " A * M $  0  A * M $ >  $ 0 / A  ", "8   . / A   0 &  M 7 ? # - > 0 $ @ / 8 > . M 0 >  M / ", "8   0 M 7  > / A  : 5 ?  / (  0  0 , 9 . ( @ 8 > . M 0 >  M / ", "& ? 2 M 2 @ 8 2 M $ ( $ ", ". ' M /  > 2 @ ( ' > 0 M . ?   ( M & K 2 ( ", ". A  2 8 > . M 0 >  M /  > & /  0 8 M 5 $  $ M 0 0 >  M / ", "- > 0 $ . G  , M 0 ?  ? 6 * M 0 6 > 8 (  0 8  G  0 M % ?  * M 0 - > 5 ", "/ B 0 K * @ / 6  M $ ?  > - > 0 $ . G    . ( ", "- > 0 $ . G  ( 5  >  0 # , - > 0 $ . G  0 > 7 M  M 0 5 > &  > & / ", "1857-58  > 8 M 5 $  $ M 0 $ > 8   M 0 > . ", "- > 0 $ @ / 0 > 7 M  M 0 @ /   & K 2 ( (1885-1947)", "8 M 5 $  $ M 0 $ >  G , > & - > 0 $ ", // Civics (9) "5 ? 5 ? ' $ >  0 - G & - > 5 ", "- > 0 $ @ / 8  5 ? ' > (  0 ' 0 M . ( ? 0 * G  M 7 $ > ", "0 > 7 M  M 0 @ / * M 0 $ @  ", "8  8 & ", "8 0  > 0  G * M 0  > 0 , 8 0  > 0  G 5 ? - ? ( M ( 8 M $ 0  0  A ( > 5 ", "8 M % > ( @ / 8 M 5 6 > 8 ( ", ". @ ! ? / >  0 2 K  $  $ M 0 ", "( M / > / * > 2 ?  >  0  * 0 > ' ?  ( M / > / * M 0 # > 2 @ ", "8 . > ( $ > , 9 > 6 ? / >  0 # , 8 > 0 M 5  ( ?  8 A 5 ? ' >    0 8 !  8 A 0  M 7 > ", // Geography (9) ", M 0 9 M . >  !  0 8 L 0 .  ! 2 ", " M 2 K , ,   M 7 >  6  0 & G 6 >  $ 0 ", "5 > / A & > , $ % > * 5 ( 8   > 0 ", "- B . ? , . C & >  0  2 8  8 > ' ( ", "5 (  0 * M 0 . A   > 8  G . H & > ( ", "* M 0 5 > 8 (  0 (  0 @  0 # ", ". > ( 5 8  8 > ' ( ", "- > 0 $ . G  * 0 ? 5 9 ( , 8   > 0  5  5 M / > * > 0 ", "* 0 M / > 5 0 # ", // Pedagogy (10) "8 > . >  ?  5 ?  M  > ( /8 > . >  ?   ' M / / (  @  5 ' > 0 # >  5  * M 0  C $ ? ", "  M 7 >  @ * M 0  M 0 ? / >   ,  $ ? 5 ? ' ? / >   0 * M 0 5  ( ", " 2 K  ( > $ M .  5 ?  > 0 K   > 5 ?  > 8 ", "* B  $ >  / ( A - 5  ( M / 8 >  M 7 M / ", "6 ?  M 7 #  ' ?  . 0 # ( @ $ ? / >  ", "8 > . >  ?  5 ?  M  > ( /8 > . >  ?   ' M / / ( * & M ' $ ?  @ 8 . 8 M / >   ", "8 M 0 K $ -* M 0 > ' ?  > 0 @  0 . > ' M / . ?  ", "* 0 ? / K  ( >  > 0 M / ", "6 ?  M 7 # 8 > .  M 0 @ / ! M 8 ", ". B 2 M / >   ( " ]; const topicNames = { hi: topicKeys, en: [ // History "Sources of Knowing History", "Evolution of Man", "Indus Valley and Vedic Civilization", "Jainism and Buddhism", "Mahajanpadas Period", "The Mauryan Period", "Post Mauryan India", "Gupta and Post Gupta Era", "Sangam Age and South Indian Empire", "The Age of Struggle: Vijayanagar and Bahmani Kingdom", "Delhi Sultanate", "Medieval Religious Movements", "Rise of Mughal Dynasty and Autonomous State", "Administrative and Economic Effects of the British Empire", "The Arrival of European Powers in India", "Renaissance in India, Rise of Nationalism", "The War of Independence of 1857-58", "Indian National Movement (1885-1947)", "India After Independence", // Civics "Diversity and Discrimination", "Indian Constitution and Secularism", "National Symbols", "The Parliament", "Types of Governments, Different Tiers and Election", "Local Self Government", "Media and Democracy", "Judiciary and Criminal Justice System", "Equality, Marginalisation, Public Facilities, Road Safety", // Geography "Universe and Solar System", "Globe, Latitudes and Longitudes", "Atmospheric Pressure & Air Circulation", "Land, Soil and Water Resources", "Forest and Major Grasslands", "Migration and Urbanisation", "Human Resources", "Transportation, Communication and Trade in India", "Environment", // Pedagogy "Concept and Nature of Social Science/Social Studies", "Classroom Processes, Activities and Discourse", "Development of Critical Thinking", "Enquiry/Empirical Evidence", "Teaching Learning Strategies", "Problems in Teaching Social Science/Social Studies", "Primary and Secondary Sources", "Project Work", "Teaching Aids", "Evaluation" ] }; function getTopicDisplay(key, lang) { const idx = topicKeys.indexOf(key); if (idx === -1) return key; return topicNames[lang][idx] || key; } // ===================================================== // UI TRANSLATIONS // ===================================================== const uiText = { hi: { mainTitle: "=ØÚÜ CTET Paper 2 - 8 > . >  ?   ' M / / ( /6 ?  M 7 > 6 > 8 M $ M 0 (Social Studies/Pedagogy)  - M / > 8 8 G   ( 0 G  0 ", mainSubtitle: "CTET Paper 2 (  M  * M 0 > % . ?  8 M $ 0 ) 9 G $ A  $ ? 9 > 8 , ( >  0 ?  6 > 8 M $ M 0 , - B  K 2  5  6 ?  M 7 # 5 ? ' ? / K   > 5 ? 7 / 5 > 0  - M / > 8 ", startTitle: "=ØÚÜ 8 > . >  ?   ' M / / ( /6 ?  M 7 > 6 > 8 M $ M 0 -  - M / > 8 8 G   ( 0 G  0 ", startDesc: "CTET Paper 2 9 G $ A  $ ? 9 > 8 , ( >  0 ?  6 > 8 M $ M 0 , - B  K 2  5  6 ?  M 7 # 5 ? ' ? / K   > 5 ? 8 M $ C $  - M / > 8 8 G  $ H / > 0  0 G  ", startBtn: " - M / > 8 8 G  , ( > ( > 6 A 0 B  0 G  ", practiceTypeTitle: " - M / > 8  > * M 0  > 0  A ( G  ", practiceTypeDesc: " * ( @ $ H / > 0 @  G  ( A 8 > 0  - M / > 8 8 G   A ( G  :", optChapterTitle: "5 ? 7 / > ( A 8 > 0  - M / > 8 ", optChapterDesc: " ? 8 @ 5 ? 6 G 7 5 ? 7 /  >  9 (  - M / > 8  0 G  ", optFullTitle: "* B 0 M # 2  , >   G 8 M  ", optFullDesc: "CTET * H  0 M ( * 0  ' > 0 ? $ 50 * M 0 6 M ( K   > 8 G  ", optPrevTitle: "* ?  2 G 5 0 M 7 K   G * M 0 6 M ( ", optPrevDesc: "* ?  2 @ TET * 0 @  M 7 >   * 0  ' > 0 ? $ * M 0 6 M ( ", backStartBtn: "* @  G  >   ", proceedBtn: "5 ? 7 /  A ( G  ’!", chapterTitle: "=ØÚÜ 8 > . >  ?   ' M / / ( /6 ?  M 7 > 6 > 8 M $ M 0 - 5 ? 7 /  A ( G  ", qCountTitle: "* M 0 6 M ( K   @ 8   M / >  A ( G  ", backPracticeBtn: "* @  G ", generateAssignBtn: " ? ( >  8 M $ 0  A ( G  ’!", levelTitle: " ? ( >  8 M $ 0  A ( G  ", levelDesc: "CTET Paper 2 * 0 @  M 7 >  G  ( A 8 > 0 8 M $ 0  A ( G  :", l1Title: "Level 1", l1Sub: ", A ( ? / > & @ (* M 0 > 0  - ?  )", l2Title: "Level 2", l2Sub: ". ' M / . (CTET 8 M $ 0 )", l3Title: "Level 3", l3Sub: "  M  (6 ?  M 7  * > $ M 0 $ > )", timerTitle: "8 . / 8 @ . >  A ( G  ", t30: "30 . ? (  ", t45: "45 . ? (  ", t60: "60 . ? (  ", t90: "90 . ? (  ", backChaptersBtn: "5 ? 7 / K  * 0 5 > * 8 ", generateFinalBtn: " - M / > 8 8 G   ( 0 G   0 G  ", langLabel: "9 ?  & @ ", fullPaper: "8 - @ 5 ? 7 / (* B 0 M # * > M /  M 0 . - 55  ' M / > / )", noTopicAlert: " C * / >  . 8 G  .   5 ? 7 /  A ( G  !", noLevelAlert: " C * / >  ? ( >  8 M $ 0  A ( G  !", noPracticeAlert: " C * / >  - M / > 8  > * M 0  > 0  A ( G  !", instructions: "=ØÌÜ ( ? 0 M & G 6 :", inst1: " 8 8 G  . G  {count} , 9 A 5 ?  2 M * @ / * M 0 6 M ( 9 H  d ", inst2: "* M 0 $ M / G  * M 0 6 M (  G  > 0 5 ?  2 M * ,  G 5 2   8 9 @ d ", inst3: "8 . / 8 @ . > : {time} . ? (  ", inst4: "CTET Paper 2 (  M  * M 0 > % . ?  8 M $ 0 ) 8 > . >  ?   ' M / / ( /6 ?  M 7 > 6 > 8 M $ M 0 9 G $ A  - M / > 8 d ", inst5: "* M 0 $ M / G  * M 0 6 M ( 1     > 9 H ,  K  ( ?  G  ? 5 . > 0 M  ?   ( 9 @  d ", mcqHeading: "=ØÚÜ 8 > . >  ?   ' M / / ( /6 ?  M 7 > 6 > 8 M $ M 0 (Social Studies/Pedagogy) * M 0 6 M ( ", answerKey: "' $ M $ 0  A   @ (Answer Key)", qNo: "* M 0 6 M (  M 0 .", ans: " $ M $ 0 ", print: "* M 0 ?    0 G  ", download: "PDF ! > ( 2 K !  0 G  ", newSet: "( / >  - M / > 8 8 G  ", subjectLabel: "8 > . >  ?   ' M / / ( /6 ?  M 7 > 6 > 8 M $ M 0 ", noQuestions: "* M 0 6 M ( * 2 , M ' ( 9 @  9 H  d  C * / >  ( M / 5 ? 7 /  A ( G  d " }, en: { mainTitle: "=ØÚÜ CTET Paper 2 - Social Studies/Pedagogy Practice Set Generator", mainSubtitle: "Topic-wise practice for History, Civics, Geography & Teaching Methods for CTET Paper 2 (Upper Primary Level)", startTitle: "=ØÚÜ Social Studies/Pedagogy - Practice Set Generator", startDesc: "Create comprehensive practice sets for CTET Paper 2 covering History, Civics, Geography and Pedagogy", startBtn: "Start Creating Practice Set", practiceTypeTitle: "Select Practice Type", practiceTypeDesc: "Choose practice set according to your preparation:", optChapterTitle: "Chapter-wise Practice", optChapterDesc: "Deep practice of a specific topic", optFullTitle: "Full Length Test", optFullDesc: "50 question set based on CTET pattern", optPrevTitle: "Previous Year Questions", optPrevDesc: "Questions based on previous TET exams", backStartBtn: "Back", proceedBtn: "Select Topics ’!", chapterTitle: "=ØÚÜ Social Studies/Pedagogy - Select Topics", qCountTitle: "Select Number of Questions", backPracticeBtn: "Back", generateAssignBtn: "Select Difficulty ’!", levelTitle: "Select Difficulty Level", levelDesc: "Choose level according to CTET Paper 2 exam:", l1Title: "Level 1", l1Sub: "Basic (Introductory)", l2Title: "Level 2", l2Sub: "Medium (CTET Level)", l3Title: "Level 3", l3Sub: "Advanced (Teacher Eligibility)", timerTitle: "Select Time Limit", t30: "30 min", t45: "45 min", t60: "60 min", t90: "90 min", backChaptersBtn: "Back to Topics", generateFinalBtn: "Generate Practice Set", langLabel: "English", fullPaper: "All Topics (Full Syllabus - 55 Chapters)", noTopicAlert: "Please select at least one topic!", noLevelAlert: "Please select a difficulty level!", noPracticeAlert: "Please select a practice type!", instructions: "=ØÌÜ Instructions:", inst1: "This set has {count} multiple choice questions.", inst2: "Each question has four options, only one is correct.", inst3: "Time limit: {time} minutes", inst4: "For CTET Paper 2 (Upper Primary Level) Social Studies/Pedagogy practice.", inst5: "Each question carries 1 mark, no negative marking.", mcqHeading: "=ØÚÜ Social Studies/Pedagogy Questions", answerKey: "' Answer Key", qNo: "Q. No.", ans: "Answer", print: "Print", download: "Download PDF", newSet: "New Practice Set", subjectLabel: "Social Studies/Pedagogy", noQuestions: "Questions not available. Please select other topics." } }; // ===================================================== // DOM REFS & STATE // ===================================================== const langToggleBtn = document.getElementById('langToggleBtn'); const langLabel = document.getElementById('langLabel'); let currentLang = 'hi'; const startContainer = document.getElementById('startContainer'); const startScreen = document.getElementById('startScreen'); const practiceTypeSelection = document.getElementById('practiceTypeSelection'); const chapterSelection = document.getElementById('chapterSelection'); const levelSelection = document.getElementById('levelSelection'); const generatedPaperContainer = document.getElementById('generatedPaperContainer'); const startGeneratingBtn = document.getElementById('startGeneratingBtn'); const backToStartBtn = document.getElementById('backToStartBtn'); const proceedToChaptersBtn = document.getElementById('proceedToChaptersBtn'); const backToPracticeTypeBtn = document.getElementById('backToPracticeTypeBtn'); const generateAssignmentBtn = document.getElementById('generateAssignmentBtn'); const backToChaptersBtn = document.getElementById('backToChaptersBtn'); const generateFinalBtn = document.getElementById('generateFinalBtn'); const level1Btn = document.getElementById('level1Btn'); const level2Btn = document.getElementById('level2Btn'); const level3Btn = document.getElementById('level3Btn'); const decreaseCount = document.getElementById('decreaseCount'); const increaseCount = document.getElementById('increaseCount'); const questionCountSpan = document.getElementById('questionCount'); const homeIconBtn = document.getElementById('homeIconBtn'); let selectedTopics = []; let selectedLevel = null; let selectedPracticeType = null; let questionCount = 50; let timeLimit = 60; // ===================================================== // UI LANGUAGE APPLICATION // ===================================================== function applyUILanguage(lang) { const t = uiText[lang]; document.getElementById('mainTitle').textContent = t.mainTitle; document.getElementById('mainSubtitle').textContent = t.mainSubtitle; document.getElementById('startTitle').textContent = t.startTitle; document.getElementById('startDesc').textContent = t.startDesc; document.getElementById('startBtnText').textContent = t.startBtn; document.getElementById('practiceTypeTitle').textContent = t.practiceTypeTitle; document.getElementById('practiceTypeDesc').textContent = t.practiceTypeDesc; document.getElementById('optChapterTitle').textContent = t.optChapterTitle; document.getElementById('optChapterDesc').textContent = t.optChapterDesc; document.getElementById('optFullTitle').textContent = t.optFullTitle; document.getElementById('optFullDesc').textContent = t.optFullDesc; document.getElementById('optPrevTitle').textContent = t.optPrevTitle; document.getElementById('optPrevDesc').textContent = t.optPrevDesc; document.getElementById('backStartBtnText').textContent = t.backStartBtn; document.getElementById('proceedBtnText').textContent = t.proceedBtn; document.getElementById('chapterTitle').textContent = t.chapterTitle; document.getElementById('qCountTitle').textContent = t.qCountTitle; document.getElementById('backPracticeBtnText').textContent = t.backPracticeBtn; document.getElementById('generateAssignBtnText').textContent = t.generateAssignBtn; document.getElementById('levelTitle').textContent = t.levelTitle; document.getElementById('levelDesc').textContent = t.levelDesc; document.getElementById('l1Title').textContent = t.l1Title; document.getElementById('l1Sub').textContent = t.l1Sub; document.getElementById('l2Title').textContent = t.l2Title; document.getElementById('l2Sub').textContent = t.l2Sub; document.getElementById('l3Title').textContent = t.l3Title; document.getElementById('l3Sub').textContent = t.l3Sub; document.getElementById('timerTitle').textContent = t.timerTitle; document.getElementById('t30').textContent = t.t30; document.getElementById('t45').textContent = t.t45; document.getElementById('t60').textContent = t.t60; document.getElementById('t90').textContent = t.t90; document.getElementById('backChaptersBtnText').textContent = t.backChaptersBtn; document.getElementById('generateFinalBtnText').textContent = t.generateFinalBtn; langLabel.textContent = t.langLabel; // Reload topics to update labels loadTopics(); // If paper is already generated, re-render if (!generatedPaperContainer.classList.contains('hidden')) { if (selectedTopics.length > 0 && selectedLevel) { generatePaper(selectedTopics, selectedLevel, currentLang); } } } // Language toggle langToggleBtn.addEventListener('click', function() { currentLang = (currentLang === 'hi') ? 'en' : 'hi'; applyUILanguage(currentLang); }); // ===================================================== // CORE LOGIC // ===================================================== function loadTopics() { const container = document.getElementById('socialTopicsContainer'); const t = uiText[currentLang]; const fullPaperLabel = (currentLang === 'hi') ? "' 8 - @ 5 ? 7 / (* B 0 M # * > M /  M 0 . - 55  ' M / > / )" : "' All Topics (Full Syllabus - 55 Chapters)"; container.innerHTML = `<div class="checkbox-item"><input type="checkbox" id="fullPaper" name="topic" value="8 - @ 5 ? 7 / "><label for="fullPaper">${fullPaperLabel}</label></div>`; topicKeys.forEach((key, idx) => { const id = `topic${idx}`; const displayName = getTopicDisplay(key, currentLang); container.innerHTML += `<div class="checkbox-item"><input type="checkbox" id="${id}" name="topic" value="${key}"><label for="${id}">=ØÚÜ ${displayName}</label></div>`; }); document.getElementById('fullPaper')?.addEventListener('change', (e) => { const checkboxes = document.querySelectorAll('input[name="topic"]:not(#fullPaper)'); checkboxes.forEach(cb => cb.disabled = e.target.checked); if(e.target.checked) checkboxes.forEach(cb => cb.checked = false); }); } function getSelectedTopics() { const full = document.getElementById('fullPaper'); if(full && full.checked) return [...topicKeys]; return Array.from(document.querySelectorAll('input[name="topic"]:checked')).filter(cb => cb.id !== 'fullPaper').map(cb => cb.value); } function getRandomQuestions(topics, level, count, lang) { let allQuestions = []; topics.forEach(topic => { if(questionBank[topic] && questionBank[topic][lang] && questionBank[topic][lang][`level${level}`]) { allQuestions = allQuestions.concat(questionBank[topic][lang][`level${level}`]); } }); if(allQuestions.length === 0) { const t = uiText[lang]; return Array(count).fill({ question: t.noQuestions, options: ["A", "B", "C", "D"], answer: "A" }); } allQuestions = allQuestions.sort(() => Math.random() - 0.5); return allQuestions.slice(0, Math.min(count, allQuestions.length)); } function showPracticeTypeSelection() { startScreen.classList.add('hidden'); practiceTypeSelection.classList.remove('hidden'); } function backToStart() { generatedPaperContainer.classList.add('hidden'); startContainer.classList.remove('hidden'); practiceTypeSelection.classList.add('hidden'); chapterSelection.classList.add('hidden'); levelSelection.classList.add('hidden'); startScreen.classList.remove('hidden'); selectedTopics = []; selectedLevel = null; selectedPracticeType = null; questionCount = 50; timeLimit = 60; questionCountSpan.textContent = "50"; document.querySelectorAll('.option-card').forEach(c => c.classList.remove('selected')); document.querySelectorAll('.timer-btn').forEach(b => b.classList.remove('selected')); if(document.querySelector('.timer-btn[data-time="60"]')) document.querySelector('.timer-btn[data-time="60"]').classList.add('selected'); level1Btn.classList.remove('selected'); level2Btn.classList.remove('selected'); level3Btn.classList.remove('selected'); } function backToPracticeType() { chapterSelection.classList.add('hidden'); practiceTypeSelection.classList.remove('hidden'); } function backToChapters() { levelSelection.classList.add('hidden'); chapterSelection.classList.remove('hidden'); } function showChapters() { const t = uiText[currentLang]; if(!selectedPracticeType) { alert(t.noPracticeAlert); return; } practiceTypeSelection.classList.add('hidden'); chapterSelection.classList.remove('hidden'); loadTopics(); } function showLevelSelection() { const t = uiText[currentLang]; selectedTopics = getSelectedTopics(); if(selectedTopics.length === 0) { alert(t.noTopicAlert); return; } chapterSelection.classList.add('hidden'); levelSelection.classList.remove('hidden'); } function selectLevel(level) { level1Btn.classList.remove('selected'); level2Btn.classList.remove('selected'); level3Btn.classList.remove('selected'); document.getElementById(`level${level}Btn`).classList.add('selected'); selectedLevel = level; } level1Btn.onclick = () => selectLevel(1); level2Btn.onclick = () => selectLevel(2); level3Btn.onclick = () => selectLevel(3); decreaseCount.onclick = () => { if(questionCount > 10) { questionCount -= 5; questionCountSpan.textContent = questionCount; } }; increaseCount.onclick = () => { if(questionCount < 100) { questionCount += 5; questionCountSpan.textContent = questionCount; } }; document.querySelectorAll('.option-card').forEach(card => { card.addEventListener('click', () => { document.querySelectorAll('.option-card').forEach(c => c.classList.remove('selected')); card.classList.add('selected'); selectedPracticeType = card.dataset.type; if(selectedPracticeType === 'full-length') { questionCount = 50; questionCountSpan.textContent = "50"; } else if(selectedPracticeType === 'previous-year') { questionCount = 45; questionCountSpan.textContent = "45"; } }); }); document.querySelectorAll('.timer-btn').forEach(btn => { btn.addEventListener('click', () => { document.querySelectorAll('.timer-btn').forEach(b => b.classList.remove('selected')); btn.classList.add('selected'); timeLimit = parseInt(btn.dataset.time); }); }); function getPracticeTypeName(type, lang) { const t = uiText[lang]; if(type === 'chapter-wise') return '=ØÖÜ ' + t.optChapterTitle; if(type === 'full-length') return '=ØÝÜ ' + t.optFullTitle; if(type === 'previous-year') return 'ó# ' + t.optPrevTitle; return '=ØÚÜ ' + t.subjectLabel; } function generatePaper(topics, level, lang) { const t = uiText[lang]; const mcqs = getRandomQuestions(topics, level, questionCount, lang); let paperHTML = ` <div class="header" style="background: linear-gradient(135deg, #d35400, #a04000);"> <h2>=ØÚÜ CTET Paper 2 - ${t.subjectLabel}  - M / > 8 8 G  </h2> <h3>${getPracticeTypeName(selectedPracticeType, lang)}</h3> <p>${level === 1 ? t.l1Title : level === 2 ? t.l2Title : t.l3Title} - ${level === 1 ? t.l1Sub : level === 2 ? t.l2Sub : t.l3Sub} | 8 . / : ${timeLimit} . ? (  </p> <p> A 2 * M 0 6 M ( : ${questionCount}</p> </div> <div class="content-area"> <div class="instructions"> <p><strong>${t.instructions}</strong></p> <ol> <li>${t.inst1.replace('{count}', questionCount)}</li> <li>${t.inst2}</li> <li>${t.inst3.replace('{time}', timeLimit)}</li> <li>${t.inst4}</li> <li>${t.inst5}</li> </ol> </div> <div class="question-section"> <div class="section-heading" style="font-size:1.2rem; font-weight:bold; margin-bottom:15px;">${t.mcqHeading}</div>`; let qNum = 1; mcqs.forEach(mcq => { paperHTML += `<div class="question"><div class="question-text">${qNum}. ${mcq.question}</div><div class="option">A. ${mcq.options[0]}</div><div class="option">B. ${mcq.options[1]}</div><div class="option">C. ${mcq.options[2]}</div><div class="option">D. ${mcq.options[3]}</div></div>`; qNum++; }); paperHTML += `</div><div class="answer-sheet"><h3 class="section-title">${t.answerKey}</h3><table class="answer-table"><thead><tr><th>${t.qNo}</th><th>${t.ans}</th><th>${t.qNo}</th><th>${t.ans}</th><th>${t.qNo}</th><th>${t.ans}</th></tr></thead><tbody>`; for(let i=0; i<mcqs.length; i+=3) { paperHTML += `<tr>`; for(let j=0; j<3; j++) { if(i+j < mcqs.length) paperHTML += `<td>${i+j+1}</td><td>${mcqs[i+j].answer}</td>`; else paperHTML += `<td></td><td></td>`; } paperHTML += `</tr>`; } paperHTML += `</tbody></table></div><div class="action-buttons"><button class="btn btn-primary" id="printBtn"><i class="fas fa-print"></i> ${t.print}</button><button class="btn btn-success" id="downloadBtn"><i class="fas fa-download"></i> ${t.download}</button><button class="btn btn-danger" id="newAssignmentBtn"><i class="fas fa-plus"></i> ${t.newSet}</button></div></div>`; generatedPaperContainer.innerHTML = paperHTML; generatedPaperContainer.classList.remove('hidden'); startContainer.classList.add('hidden'); document.getElementById('printBtn')?.addEventListener('click', () => window.print()); document.getElementById('downloadBtn')?.addEventListener('click', downloadPDF); document.getElementById('newAssignmentBtn')?.addEventListener('click', () => backToStart()); } async function downloadPDF() { const element = document.getElementById('generatedPaperContainer'); const tempDiv = document.createElement('div'); tempDiv.style.position = 'absolute'; tempDiv.style.left = '-9999px'; tempDiv.style.width = '794px'; tempDiv.style.backgroundColor = 'white'; tempDiv.style.padding = '20px'; tempDiv.innerHTML = element.innerHTML; document.body.appendChild(tempDiv); try { const pdf = new jsPDF('p', 'mm', 'a4'); const pageWidth = pdf.internal.pageSize.getWidth() - 25.4; let position = 12.7; let remainingHeight = tempDiv.scrollHeight; let pageNum = 1; while (remainingHeight > 0) { const canvas = await html2canvas(tempDiv, { scale: 1.5, backgroundColor: '#ffffff' }); const imgData = canvas.toDataURL('image/jpeg', 0.92); if(pageNum > 1) pdf.addPage(); pdf.addImage(imgData, 'JPEG', 12.7, 12.7, pageWidth, canvas.height * pageWidth / canvas.width); position += 277; remainingHeight -= 277 * 3.78; pageNum++; } pdf.save('CTET_Paper2_Social_Studies_Pedagogy_Practice_Set.pdf'); } catch(e) { console.error(e); alert("PDF generation error"); } finally { if(tempDiv) document.body.removeChild(tempDiv); } } // ===================================================== // EVENT BINDINGS // ===================================================== startGeneratingBtn.onclick = showPracticeTypeSelection; backToStartBtn.onclick = backToStart; proceedToChaptersBtn.onclick = showChapters; backToPracticeTypeBtn.onclick = backToPracticeType; generateAssignmentBtn.onclick = showLevelSelection; backToChaptersBtn.onclick = backToChapters; generateFinalBtn.onclick = function() { const t = uiText[currentLang]; if(!selectedLevel) { alert(t.noLevelAlert); return; } generatePaper(selectedTopics, selectedLevel, currentLang); }; homeIconBtn.onclick = backToStart; // Default timer selection document.querySelector('.timer-btn[data-time="60"]')?.classList.add('selected'); // Initial load applyUILanguage('hi'); </script> </body> </html>