ÿþ<!DOCTYPE html> <html lang="hi"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>CTET Paper 1 - * 0 M / > 5 0 # @ /  ' M / / (  5  6 ?  M 7 > 6 > 8 M $ M 0  8 >  ( . G    ( 0 G  0 </title> <link href="img/logo1.jpg" 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: #4361ee; --primary-dark: #3f37c9; --secondary: #4895ef; --danger: #f72585; --success: #4cc9f0; --light: #f8f9fa; --dark: #212529; --gray: #6c757d; --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', Tahoma, Geneva, Verdana, sans-serif; } body { background: linear-gradient(135deg, #f5f7fa 0%, #e2e8f0 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: 950px; 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; top: -50px; right: -50px; width: 150px; height: 150px; background: rgba(255, 255, 255, 0.1); border-radius: 50%; } .header h1 { font-size: 2rem; 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(67, 97, 238, 0.3); } .btn-success { background: var(--success); color: white; } .btn-success:hover { background: #3ab0d6; transform: translateY(-2px); box-shadow: 0 8px 15px rgba(76, 201, 240, 0.3); } .btn-danger { background: var(--danger); color: white; } .btn-danger:hover { background: #d3166b; transform: translateY(-2px); box-shadow: 0 8px 15px rgba(247, 37, 133, 0.3); } .btn-level { background: var(--light); color: var(--dark); border: 2px solid var(--gray); font-size: 1.2rem; 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; } .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(280px, 1fr)); gap: 12px; margin: 25px 0; max-height: 500px; overflow-y: auto; padding: 10px; border: 1px solid #eee; border-radius: var(--border-radius); } .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.9rem; } .instructions { margin-bottom: 30px; padding: 20px; background: #f8f9fa; border-radius: var(--border-radius); } .instructions ol { padding-left: 20px; margin-top: 10px; } .instructions li { margin-bottom: 8px; } .question-section { margin-bottom: 30px; } .section-heading { font-weight: 600; color: var(--primary-dark); margin-bottom: 15px; padding-bottom: 5px; border-bottom: 1px solid #eee; } .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; } .answer-table tr:nth-child(even) { background-color: #f2f2f2; } @media (max-width: 768px) { .header h1 { font-size: 1.6rem; } .content-area { padding: 20px; } .checkbox-container { grid-template-columns: 1fr; } .btn { padding: 10px 20px; font-size: 0.9rem; } .btn-level { width: 150px; font-size: 1rem; padding: 12px 20px; } .level-buttons { flex-direction: column; align-items: center; } .header-controls { top: 12px; right: 12px; gap: 8px; } .lang-toggle { font-size: 0.7rem; padding: 4px 12px; } } @media (max-width: 480px) { .header { padding: 20px 15px; } .section-title { font-size: 1.3rem; } .action-buttons { flex-direction: column; align-items: center; } .btn { width: 100%; max-width: 250px; } } @media print { body { background: none; padding: 0; } .container { box-shadow: none; max-width: 100%; } .action-buttons { display: none; } .question { page-break-inside: avoid; } .header { -webkit-print-color-adjust: exact; print-color-adjust: exact; } .header-controls { display: none; } } .temp-pdf-container { font-family: Arial, sans-serif; line-height: 1.5; width: 794px; background-color: white; color: black; } .question { page-break-inside: avoid; break-inside: avoid; } .text-center { text-align: center; margin-bottom: 15px; } </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="#" class="home-icon" id="homeIconBtn"><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> <h1 id="mainTitle">CTET Paper 1</h1> <p id="mainSubtitle">* 0 M / > 5 0 # @ /  ' M / / (  5  6 ?  M 7 > 6 > 8 M $ M 0 (Environmental Studies and Pedagogy)  8 >  ( . G    ( 0 G  0 </p> </div> <div class="content-area"> <div id="startScreen"> <h2 class="section-title" id="startTitle">* 0 M / > 5 0 # @ /  ' M / / (  5  6 ?  M 7 > 6 > 8 M $ M 0  8 >  ( . G    ( 0 G  0 </h2> <div class="btn-group"> <button class="btn btn-primary" id="startGeneratingBtn"> 8 >  ( . G   , ( >   </button> </div> </div> <div id="subjectSelection" class="hidden"> <h2 class="section-title" id="subjectTitle">5 ? 7 /  >  / (  0 G  </h2> <div class="btn-group"> <button class="btn btn-primary" id="selectEvsBtn">* 0 M / > 5 0 # @ /  ' M / / (  5  6 ?  M 7 > 6 > 8 M $ M 0 (Environmental Studies & Pedagogy)</button> </div> </div> <div id="chapterSelection" class="hidden"> <h2 class="section-title" id="chapterTitle"> ' M / > / / 5 ? 7 /  A ( G  </h2> <div id="chapterCheckboxContainer" class="checkbox-container"></div> <div class="btn-group"> <button class="btn btn-danger" id="backToStartBtn">* M 0 > 0  - * 0 5 > * 8  >   </button> <button class="btn btn-success" id="generateAssignmentBtn"> 8 >  ( . G   , ( >   </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"> * ( G  8 >  ( . G    G 2 ?  8 M $ 0  >  / (  0 G  :</p> <div class="level-buttons"> <button class="btn btn-level" id="level1Btn">8 M $ 0 1<br><small id="level1Sub">, G 8 ?  8 M $ 0 </small></button> <button class="btn btn-level" id="level2Btn">8 M $ 0 2<br><small id="level2Sub">. ' M / . 8 M $ 0 </small></button> <button class="btn btn-level" id="level3Btn">8 M $ 0 3<br><small id="level3Sub">* 0 @  M 7 > 8 M $ 0 </small></button> </div> <div class="btn-group"> <button class="btn btn-danger" id="backToChaptersBtn">5 ? 7 / K  * 0 5 > * 8  >   </button> <button class="btn btn-success" id="generateFinalBtn"> 8 >  ( . G    ( 0 G   0 G  </button> </div> </div> </div> </div> <div class="container hidden" id="generatedPaperContainer"></div> <script> const { jsPDF } = window.jspdf; // ===================================================== // BILINGUAL QUESTIONS DATABASE (27 TOPICS: 15 EVS + 12 Pedagogy) // ===================================================== 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); }); } // ----- EVS TOPICS (15) ----- // 1. Family, Relations and Environment addQuestions('* 0 ? 5 > 0 , 8 . M , ( M '  5  * 0 M / > 5 0 # ', [ { question: "What is the basic unit of society?", options: ["Family", "School", "Community", "Nation"], answer: "A" }, { question: "Joint family system includes:", options: ["Multiple generations living together", "Only parents and children", "Only husband and wife", "Only grandparents"], answer: "A" }, { question: "Environment influences family relationships by:", options: ["Shaping values and traditions", "Determining income", "Controlling emotions", "Providing shelter only"], answer: "A" } ], [ { question: "8 . >   @ . B 2   >   M / > 9 H ?", options: ["* 0 ? 5 > 0 ", "5 ? & M / > 2 / ", "8 . A & > / ", "0 > 7 M  M 0 "], answer: "A" }, { question: "8  / A  M $ * 0 ? 5 > 0 * M 0 # > 2 @ . G  6 > . ? 2 9 H :", options: ["  * @ " < ? / >    8 > % 0 9 ( > ", " G 5 2 . > $ > -* ? $ >  0 ,  M  G ", " G 5 2 * $ ? -* $ M ( @ ", " G 5 2 & > & > -& > & @ "], answer: "A" }, { question: "* 0 M / > 5 0 # * > 0 ? 5 > 0 ?  8  ,  ' K   K  H 8 G * M 0 - > 5 ? $  0 $ > 9 H ?", options: [". B 2 M / K   0 * 0  * 0 >    K   > 0 & G  0 ", " / ( ? 0 M ' > 0 ? $  0  G ", "- > 5 ( >    K ( ? /  $ M 0 ? $  0  G ", " G 5 2  6 M 0 / * M 0 & > (  0  G "], answer: "A" } ] ); // 2. Plant and Animal Kingdom addQuestions('* > & *  5    $ A   $ ', [ { question: "Plants make their food through:", options: ["Photosynthesis", "Respiration", "Transpiration", "Germination"], answer: "A" }, { question: "Which animal is a herbivore?", options: ["Cow", "Lion", "Tiger", "Bear"], answer: "A" }, { question: "The process of photosynthesis requires:", options: ["Sunlight, water and carbon dioxide", "Only sunlight", "Only water", "Only oxygen"], answer: "A" } ], [ { question: "* L ' G  * ( > - K  (  ? 8  G & M 5 > 0 > , ( > $ G 9 H  ?", options: ["* M 0  > 6 8  6 M 2 G 7 # ", "6 M 5 8 ( ", "5 > 7 M * K $ M 8 0 M  ( ", "   A 0 # "], answer: "A" }, { question: " L ( 8 >  > ( 5 0 6 >  > 9 > 0 @ 9 H ?", options: [" > / ", "6 G 0 ", ", >  ", "- > 2 B "], answer: "A" }, { question: "* M 0  > 6 8  6 M 2 G 7 #  G 2 ?   M / >  5 6 M /  9 H ?", options: ["8 B 0 M /  > * M 0  > 6 ,  2  0  > 0 M , ( ! >    M 8 >  ! ", " G 5 2 8 B 0 M / * M 0  > 6 ", " G 5 2  2 ", " G 5 2   M 8 @  ( "], answer: "A" } ] ); // 3. Human Body and Diseases addQuestions('. > ( 5 6 0 @ 0  5  0 K  ', [ { question: "The largest organ of the human body is:", options: ["Skin", "Liver", "Brain", "Heart"], answer: "A" }, { question: "Vitamin C deficiency causes:", options: ["Scurvy", "Rickets", "Night blindness", "Anemia"], answer: "A" }, { question: "Which disease is caused by a virus?", options: ["COVID-19", "Cholera", "Typhoid", "Tuberculosis"], answer: "A" } ], [ { question: ". > ( 5 6 0 @ 0  > 8 , 8 G , ! < >     L ( 8 > 9 H ?", options: ["$ M 5  > ", "/  C $ ", ". 8 M $ ? 7 M  ", "9 C & / "], answer: "A" }, { question: "5 ?  > . ? ( C  @  . @ 8 G  L ( 8 > 0 K  9 K $ > 9 H ?", options: ["8 M  0 M 5 @ ", "0 ?  G  M 8 ", "0 $ L  ' @ ", " ( @ . ? / > "], answer: "A" }, { question: " L ( 8 > 0 K  5 > / 0 8 & M 5 > 0 > 9 K $ > 9 H ?", options: ["COVID-19", "9 H  > ", " >  + >  ! ", "$ * G & ?  "], answer: "A" } ] ); // 4. Our Basic Needs addQuestions('9 . > 0 @ . B 2  5 6 M /  $ >   ', [ { question: "Which is not a basic need?", options: ["Television", "Food", "Water", "Shelter"], answer: "A" }, { question: "A balanced diet includes:", options: ["Carbohydrates, proteins, fats, vitamins, minerals", "Only proteins", "Only carbohydrates", "Only fats"], answer: "A" }, { question: "Clean water is essential for:", options: ["Preventing waterborne diseases", "Cooking only", "Bathing only", "Washing clothes"], answer: "A" } ], [ { question: " L ( 8 @ . B 2  5 6 M /  $ > ( 9 @  9 H ?", options: [" G 2 @ 5 ?  ( ", "- K  ( ", " 2 ", " 6 M 0 / "], answer: "A" }, { question: "8  $ A 2 ? $  9 > 0 . G  6 > . ? 2 9 H :", options: [" > 0 M , K 9 >  ! M 0 G  , * M 0 K  @ ( , 5 8 > , 5 ?  > . ? ( ,  ( ?  ", " G 5 2 * M 0 K  @ ( ", " G 5 2  > 0 M , K 9 >  ! M 0 G  ", " G 5 2 5 8 > "], answer: "A" }, { question: "8 M 5  M   2  ? 8  G 2 ?   5 6 M /  9 H ?", options: [" 2  ( ? $ 0 K  K   K 0 K  ( G  G 2 ?  ", " G 5 2  > ( > *  > ( G  G 2 ?  ", " G 5 2 8 M ( > (  G 2 ?  ", " * ! < G ' K ( G  G 2 ?  "], answer: "A" } ] ); // 5. Shelter addQuestions(' 6 M 0 / ', [ { question: "A pucca house is made of:", options: ["Bricks and cement", "Mud", "Wood", "Bamboo"], answer: "A" }, { question: "In hot regions, houses have:", options: ["Light colors and high ceilings", "Dark colors", "Low ceilings", "No windows"], answer: "A" }, { question: "In flood-prone areas, houses are built:", options: ["On stilts or raised platforms", "Underground", "On floating platforms", "Without foundations"], answer: "A" } ], [ { question: "*  M  > .  > (  ? 8 8 G , ( $ > 9 H ?", options: ["    0 8 @ . G   ", ". ?  M  @ ", "2  ! < @ ", ", >  8 "], answer: "A" }, { question: " 0 M .  M 7 G $ M 0 K  . G  .  > (  H 8 G , ( >   > $ G 9 H  ?", options: ["9 2 M  G 0    0   @  $ ", " 9 0 G 0   ", "( @  @  $ ", ", ? ( >  ? ! <  @ "], answer: "A" }, { question: ", > " < -* M 0 - > 5 ? $  M 7 G $ M 0 K  . G  .  > (  H 8 G , ( >   > $ G 9 H  ?", options: ["   G   - K  / > G 9 A  * M 2 G  + I 0 M . * 0 ", "- B . ?  $ ", "$ H 0 $ G * M 2 G  + I 0 M . * 0 ", ", ? ( > ( @  5  G "], answer: "A" } ] ); // 6. Transportation and Communication addQuestions('* 0 ? 5 9 ( $ % > 8   > 0 ', [ { question: "The fastest mode of transport is:", options: ["Airplane", "Train", "Bus", "Ship"], answer: "A" }, { question: "E-mail is an example of:", options: ["Communication technology", "Transport technology", "Construction technology", "Medical technology"], answer: "A" }, { question: "Which transport is most eco-friendly?", options: ["Walking", "Car", "Bus", "Train"], answer: "A" } ], [ { question: "* 0 ? 5 9 (  > 8 , 8 G $ G  < 8 > ' (  L ( 8 > 9 H ?", options: ["9 5 >   9 >  ", " M 0 G ( ", ", 8 ", " 9 >  "], answer: "A" }, { question: " -. G 2  ? 8  > & > 9 0 # 9 H ?", options: ["8   > 0 * M 0 L & M / K  ?  @ ", "* 0 ? 5 9 ( * M 0 L & M / K  ?  @ ", "( ? 0 M . > # * M 0 L & M / K  ?  @ ", " ?  ? $ M 8 > * M 0 L & M / K  ?  @ "], answer: "A" }, { question: " L ( 8 > * 0 ? 5 9 ( 8 , 8 G * 0 M / > 5 0 # - ( A  B 2 9 H ?", options: ["* H & 2  2 ( > ", " > 0 ", ", 8 ", " M 0 G ( "], answer: "A" } ] ); // 7. Cultural and Natural Diversity of India and Freedom Movement addQuestions('- > 0 $  @ 8 >  8 M  C $ ?   0 * M 0 >  C $ ?  5 ? 5 ? ' $ >  0 - > 0 $ @ / 8 M 5 $  $ M 0 $ >   & K 2 ( ', [ { question: "India's diversity includes:", options: ["Many languages, religions, and cultures", "Only one language", "Only one religion", "Only one culture"], answer: "A" }, { question: "The Indian freedom movement was led by:", options: ["Mahatma Gandhi", "Subhas Chandra Bose", "Bhagat Singh", "All of the above"], answer: "D" }, { question: "Which is a natural diversity of India?", options: ["Himalayas", "Only deserts", "Only rivers", "Only forests"], answer: "A" } ], [ { question: "- > 0 $  @ 5 ? 5 ? ' $ > . G  6 > . ? 2 9 H :", options: ["  - > 7 >   , ' 0 M .  0 8  8 M  C $ ? / >  ", " G 5 2   - > 7 > ", " G 5 2   ' 0 M . ", " G 5 2   8  8 M  C $ ? "], answer: "A" }, { question: "- > 0 $ @ / 8 M 5 $  $ M 0 $ >   & K 2 (  > ( G $ C $ M 5  ? 8 ( G  ? / > ?", options: [". 9 > $ M . >  >  ' @ ", "8 A - > 7   & M 0 , K 8 ", "-  $ 8 ?  9 ", " * 0 K  M $ 8 - @ "], answer: "D" }, { question: "- > 0 $  @ * M 0 >  C $ ?  5 ? 5 ? ' $ >  > & > 9 0 #  M / > 9 H ?", options: ["9 ? . > 2 / ", " G 5 2 0 G  ? 8 M $ > ( ", " G 5 2 ( & ? / >  ", " G 5 2 5 ( "], answer: "A" } ] ); // 8. Universe and Solar System addQuestions(', M 0 9 M . >  ! $ % > 8 L 0 .  ! 2 ', [ { question: "How many planets are in our solar system?", options: ["8", "9", "7", "6"], answer: "A" }, { question: "The largest planet in our solar system is:", options: ["Jupiter", "Saturn", "Neptune", "Earth"], answer: "A" }, { question: "The Sun is a:", options: ["Star", "Planet", "Satellite", "Comet"], answer: "A" } ], [ { question: "9 . > 0 G 8 L 0 .  ! 2 . G   ? $ ( G  M 0 9 9 H  ?", options: ["8", "9", "7", "6"], answer: "A" }, { question: "8 L 0 .  ! 2  > 8 , 8 G , ! < >  M 0 9 9 H :", options: [", C 9 8 M * $ ? ", "6 ( ? ", "( G *  M / B ( ", "* C % M 5 @ "], answer: "A" }, { question: "8 B 0 M /   9 H :", options: ["$ > 0 > ", " M 0 9 ", " *  M 0 9 ", "' B .  G $ A "], answer: "A" } ] ); // 9. Earth (Interior, Seasons, Longitudes, Latitudes, Rocks) addQuestions('* C % M 5 @ (* C % M 5 @  @   $ 0 ?  8  0  ( > , $ A ,   M 7 >  6 , & G 6 >  $ 0 $ % >  9 A   G )', [ { question: "The Earth's core is made of:", options: ["Iron and nickel", "Silicon", "Copper", "Aluminum"], answer: "A" }, { question: "Seasons on Earth are caused by:", options: ["Tilt of Earth's axis", "Revolution around Sun", "Rotation on axis", "Both tilt and revolution"], answer: "D" }, { question: "Latitudes are measured in:", options: ["Degrees", "Kilometers", "Miles", "Meters"], answer: "A" } ], [ { question: "* C % M 5 @  >  K 0  ? 8 8 G , ( > 9 H ?", options: ["2 K 9 >  0 ( ?  2 ", "8 ? 2 ?  I ( ", "$ >  , > ", " 2 M / B . @ ( ? / . "], answer: "A" }, { question: "* C % M 5 @ * 0 $ A    ? 8  G  > 0 #  $ @ 9 H  ?", options: ["* C % M 5 @  G   M 7  >  A  > 5 ", "8 B 0 M /  @ * 0 ?  M 0 . > ", " * ( G   M 7 * 0  B . ( > ", " A  > 5  0 * 0 ?  M 0 . > & K ( K  "], answer: "D" }, { question: "  M 7 >  6  ? 8 . G  . > * G  > $ G 9 H  ?", options: ["! ?  M 0 @ ", " ? 2 K . @  0 ", ". @ 2 ", ". @  0 "], answer: "A" } ] ); // 10. Water and Air addQuestions(' 2 $ % > 5 > / A ', [ { question: "What percentage of Earth's surface is covered by water?", options: ["71%", "29%", "50%", "97%"], answer: "A" }, { question: "Air contains which gas in the highest amount?", options: ["Nitrogen", "Oxygen", "Carbon dioxide", "Argon"], answer: "A" }, { question: "Water cycle involves:", options: ["Evaporation, condensation, precipitation", "Only evaporation", "Only condensation", "Only precipitation"], answer: "A" } ], [ { question: "* C % M 5 @  @ 8 $ 9  >  ? $ ( > * M 0 $ ? 6 $  2 8 G "  > 9 H ?", options: ["71%", "29%", "50%", "97%"], answer: "A" }, { question: "5 > / A . G   L ( 8 @  H 8 8 , 8 G  ' ?  . > $ M 0 > . G  9 K $ @ 9 H ?", options: ["( >   M 0 K  ( ", "  M 8 @  ( ", " > 0 M , ( ! >    M 8 >  ! ", " 0 M  ( "], answer: "A" }, { question: " 2   M 0 . G  6 > . ? 2 9 H :", options: ["5 > 7 M * @  0 # , 8   ( ( , 5 0 M 7 # ", " G 5 2 5 > 7 M * @  0 # ", " G 5 2 8   ( ( ", " G 5 2 5 0 M 7 # "], answer: "A" } ] ); // 11. Soil and Crops addQuestions('. C & > $ % > + 8 2 G  ', [ { question: "The most fertile soil type is:", options: ["Alluvial soil", "Sandy soil", "Clayey soil", "Laterite soil"], answer: "A" }, { question: "Which crop is grown in black soil?", options: ["Cotton", "Rice", "Wheat", "Sugarcane"], answer: "A" }, { question: "Soil conservation methods include:", options: ["Contour ploughing and terracing", "Burning crop residue", "Excessive ploughing", "Deforestation"], answer: "A" } ], [ { question: "8 , 8 G *  > . ?  M  @  L ( 8 @ 9 H ?", options: [" 2 K " < . ?  M  @ ", ", 2 A  . ?  M  @ ", " ?  ( @ . ?  M  @ ", "2 H  G 0 >   . ?  M  @ "], answer: "A" }, { question: " > 2 @ . ?  M  @ . G   L ( 8 @ + 8 2  >   > $ @ 9 H ?", options: [" * > 8 ", " > 5 2 ", " G 9 B  ", " ( M ( > "], answer: "A" }, { question: ". C & > 8  0  M 7 #  @ 5 ? ' ? / K  . G  6 > . ? 2 9 H :", options: ["8 . K  M   A $ >   0 8 @ " < @ & > 0  G $ @ ", "+ 8 2  5 6 G 7  2 > ( > ", " $ M / ' ?   A $ >  ", "5 ( K   @   >  "], answer: "A" } ] ); // 12. Energy addQuestions(' 0 M  > ', [ { question: "Which is a renewable source of energy?", options: ["Solar energy", "Petroleum", "Coal", "Natural gas"], answer: "A" }, { question: "The main source of energy on Earth is:", options: ["Sun", "Moon", "Stars", "Planets"], answer: "A" }, { question: "Which is a non-renewable energy source?", options: ["Coal", "Wind", "Solar", "Hydro"], answer: "A" } ], [ { question: " L ( 8 > 0 M  >  > ( 5 @  0 # @ / 8 M 0 K $ 9 H ?", options: ["8 L 0 0 M  > ", "* G  M 0 K 2 ? / . ", " K / 2 > ", "* M 0 >  C $ ?   H 8 "], answer: "A" }, { question: "* C % M 5 @ * 0 0 M  >  > . A  M / 8 M 0 K $  M / > 9 H ?", options: ["8 B 0 M / ", "  & M 0 . > ", "$ > 0 G ", " M 0 9 "], answer: "A" }, { question: " L ( 8 > 0 M  >  >  ( 5 @  0 # @ / 8 M 0 K $ 9 H ?", options: [" K / 2 > ", "* 5 ( ", "8 L 0 ", " 2 "], answer: "A" } ] ); // 13. Physical Features of India addQuestions('- > 0 $  @ - L $ ?  5 ? 6 G 7 $ >   ', [ { question: "The highest mountain peak in India is:", options: ["Kanchenjunga", "Mount Everest", "Nanda Devi", "Kamet"], answer: "A" }, { question: "The Ganges river originates from:", options: ["Gangotri glacier", "Nanda Devi", "Kanchenjunga", "Amarnath"], answer: "A" }, { question: "The Thar Desert is located in:", options: ["Rajasthan", "Gujarat", "Punjab", "Haryana"], answer: "A" } ], [ { question: "- > 0 $  @ 8 , 8 G   @ * 0 M 5 $  K  @  L ( 8 @ 9 H ?", options: ["   (    > ", ". >    5 0 G 8 M  ", "(  & > & G 5 @ ", " > . G $ "], answer: "A" }, { question: "   > ( & @  > & M  .  9 >  8 G 9 K $ > 9 H ?", options: ["   K $ M 0 @ 9 ? . ( & ", "(  & > & G 5 @ ", "   (    > ", " . 0 ( > % "], answer: "A" }, { question: "% > 0 0 G  ? 8 M $ > (  ? 8 0 >  M / . G  8 M % ? $ 9 H ?", options: ["0 >  8 M % > ( ", " A  0 > $ ", "*   > , ", "9 0 ? / > # > "], answer: "A" } ] ); // 14. Garbage and Waste Management addQuestions('  0 > $ % >  * 6 ? 7 M  * M 0 ,  ' ( ', [ { question: "Which is the best method for waste disposal?", options: ["Recycling and composting", "Burning", "Dumping in water", "Landfilling"], answer: "A" }, { question: "What is e-waste?", options: ["Electronic waste", "Food waste", "Plastic waste", "Paper waste"], answer: "A" }, { question: "The 3R principle stands for:", options: ["Reduce, Reuse, Recycle", "Read, Write, Recite", "Rise, Run, Rest", "Reach, Relate, React"], answer: "A" } ], [ { question: " * 6 ? 7 M  ( ? *  > (  > 8 , 8 G   M  > $ 0 @  >  M / > 9 H ?", options: ["* A ( 0 M   M 0 #  0  > & , ( > ( > ", " 2 > ( > ", " 2 . G  + G   ( > ", "2 H  ! + ? 2 ?   "], answer: "A" }, { question: " -5 G 8 M   M / > 9 H ?", options: [" 2 G  M  M 0 I ( ?   * 6 ? 7 M  ", " > & M /  * 6 ? 7 M  ", "* M 2 > 8 M  ?   * 6 ? 7 M  ", " >    * 6 ? 7 M  "], answer: "A" }, { question: "3R 8 ? & M ' >  $  >  M / >  0 M % 9 H ?", options: ["Reduce, Reuse, Recycle", "Read, Write, Recite", "Rise, Run, Rest", "Reach, Relate, React"], answer: "A" } ] ); // 15. Natural Disaster and Its Management addQuestions('* M 0 >  C $ ?   * & >  5   8  > * M 0 ,  ' ( ', [ { question: "Which is a natural disaster?", options: ["Earthquake", "Industrial pollution", "Nuclear accident", "Oil spill"], answer: "A" }, { question: "Disaster management includes:", options: ["Preparedness, response and recovery", "Only rescue", "Only relief", "Only rehabilitation"], answer: "A" }, { question: "The first step in disaster management is:", options: ["Risk assessment and planning", "Rescue operations", "Relief distribution", "Reconstruction"], answer: "A" } ], [ { question: " L ( 8 @ * M 0 >  C $ ?   * & > 9 H ?", options: ["- B   * ", " & M / K  ?  * M 0 & B 7 # ", "* 0 . > # A & A 0 M   ( > ", "$ G 2 0 ? 8 > 5 "], answer: "A" }, { question: " * & > * M 0 ,  ' ( . G  6 > . ? 2 9 H :", options: ["$ H / > 0 @ , * M 0 $ ?  M 0 ? / >  0 * A ( 0 M 5 > 8 ", " G 5 2 ,  > 5 ", " G 5 2 0 > 9 $ ", " G 5 2 * A ( 0 M ( ? 0 M . > # "], answer: "A" }, { question: " * & > * M 0 ,  ' (  > * 9 2 >  & .  M / > 9 H ?", options: [" K  ? .   2 (  0 / K  ( > ", ",  > 5  > 0 M / ", "0 > 9 $ 5 ? $ 0 # ", "* A ( 0 M ( ? 0 M . > # "], answer: "A" } ] ); // ----- PEDAGOGY TOPICS (12) ----- // 1. Concept and Scope of EVS addQuestions('* 0 M / > 5 0 # 6 ?  M 7 > ( 5 @  8 )  @  5 ' > 0 # >  0 & > / 0 > ', [ { question: "EVS stands for:", options: ["Environmental Studies", "Educational Value System", "Exam Verification System", "Evaluation of Varied Subjects"], answer: "A" }, { question: "The scope of EVS includes:", options: ["Natural and social environment", "Only nature", "Only society", "Only economy"], answer: "A" }, { question: "EVS is a:", options: ["Interdisciplinary subject", "Single subject", "Science only", "Art only"], answer: "A" } ], [ { question: "EVS  > * B 0 M # 0 B *  M / > 9 H ?", options: ["Environmental Studies", "Educational Value System", "Exam Verification System", "Evaluation of Varied Subjects"], answer: "A" }, { question: "EVS  G & > / 0 G . G  6 > . ? 2 9 H :", options: ["* M 0 >  C $ ?   0 8 > . >  ?  * 0 M / > 5 0 # ", " G 5 2 * M 0  C $ ? ", " G 5 2 8 . >  ", " G 5 2  0 M % 5 M / 5 8 M % > "], answer: "A" }, { question: "EVS   9 H :", options: ["  $  5 ? 7 /  5 ? 7 / ", "  2 5 ? 7 / ", " G 5 2 5 ?  M  > ( ", " G 5 2  2 > "], answer: "A" } ] ); // 2. Objectives, Concept and Significance of Environmental Education addQuestions('* 0 M / > 5 0 # 6 ?  M 7 >  G & M & G 6 M / ,  5 ' > 0 # >  0 . 9 $ M 5 ', [ { question: "Environmental education aims to:", options: ["Create awareness and develop skills", "Only provide information", "Only conduct exams", "Only give degrees"], answer: "A" }, { question: "Significance of environmental education is:", options: ["To promote sustainable development", "To increase pollution", "To destroy nature", "To exploit resources"], answer: "A" }, { question: "Which is a key objective of environmental education?", options: ["Developing positive attitudes towards environment", "Only learning facts", "Only passing exams", "Only memorizing definitions"], answer: "A" } ], [ { question: "* 0 M / > 5 0 # 6 ?  M 7 >  > & M & G 6 M / 9 H :", options: [" >  0 B  $ > * H & >  0 ( >  0  L 6 2 5 ?  8 ? $  0 ( > ", " G 5 2  > (  > 0 @ & G ( > ", " G 5 2 * 0 @  M 7 > 2 G ( > ", " G 5 2 ! ?  M 0 @ & G ( > "], answer: "A" }, { question: "* 0 M / > 5 0 # 6 ?  M 7 >  > . 9 $ M 5  M / > 9 H ?", options: ["8 $ $ 5 ?  > 8  K , " < > 5 > & G ( > ", "* M 0 & B 7 # , " < > ( > ", "* M 0  C $ ?  K ( 7 M   0 ( > ", "8  8 > ' ( K   > & K 9 (  0 ( > "], answer: "A" }, { question: "* 0 M / > 5 0 # 6 ?  M 7 >  > . A  M / & M & G 6 M /  M / > 9 H ?", options: ["* 0 M / > 5 0 #  G * M 0 $ ? 8  > 0 > $ M .  & C 7 M  ?  K # 5 ?  8 ? $  0 ( > ", " G 5 2 $ % M / 8 @  ( > ", " G 5 2 * 0 @  M 7 > * > 8  0 ( > ", " G 5 2 * 0 ? - > 7 >   / > &  0 ( > "], answer: "A" } ] ); // 3. Environment Studies and Environment Education addQuestions('* 0 M / > 5 0 #  ' M / / (  0 * 0 M / > 5 0 # 6 ?  M 7 > ', [ { question: "Environmental studies is the:", options: ["Scientific study of environment", "Only social study", "Only political study", "Only economic study"], answer: "A" }, { question: "Environmental education is the:", options: ["Learning process about environment", "Only reading books", "Only watching videos", "Only listening to lectures"], answer: "A" }, { question: "The difference between EVS and environmental education is:", options: ["EVS is broader and includes education", "Both are same", "EVS is only for children", "Environmental education is only for adults"], answer: "A" } ], [ { question: "* 0 M / > 5 0 #  ' M / / ( 9 H :", options: ["* 0 M / > 5 0 #  > 5 H  M  > ( ?   ' M / / ( ", " G 5 2 8 > . >  ?   ' M / / ( ", " G 5 2 0 >  ( @ $ ?   ' M / / ( ", " G 5 2  0 M % ?   ' M / / ( "], answer: "A" }, { question: "* 0 M / > 5 0 # 6 ?  M 7 > 9 H :", options: ["* 0 M / > 5 0 #  G , > 0 G . G   ' ?  . * M 0  M 0 ? / > ", " G 5 2  ? $ > , G  * " < ( > ", " G 5 2 5 @ ! ? / K & G  ( > ", " G 5 2 5 M / >  M / > ( 8 A ( ( > "], answer: "A" }, { question: "EVS  0 * 0 M / > 5 0 # 6 ?  M 7 > . G    $ 0  M / > 9 H ?", options: ["EVS 5 M / > *  9 H  0 6 ?  M 7 >  K 6 > . ? 2  0 $ > 9 H ", "& K ( K  8 . > ( 9 H  ", "EVS  G 5 2 ,  M  K   G 2 ?  9 H ", "* 0 M / > 5 0 # 6 ?  M 7 >  G 5 2 5 / 8 M  K   G 2 ?  9 H "], answer: "A" } ] ); // 4. Scope and Relation to Science and Social Science addQuestions('5 ?  M  > (  0 8 > . >  ?  5 ?  M  > (  G 2 ?   > 0 M /  M 7 G $ M 0  0 8  ,  ' ', [ { question: "EVS relates to science in:", options: ["Understanding natural phenomena", "Only learning formulas", "Only conducting experiments", "Only memorizing facts"], answer: "A" }, { question: "EVS relates to social science in:", options: ["Understanding human society and culture", "Only studying history", "Only learning geography", "Only studying economics"], answer: "A" }, { question: "The interdisciplinary nature of EVS helps:", options: ["Holistic understanding", "Confusion", "Difficulty", "Isolation"], answer: "A" } ], [ { question: "EVS  > 5 ?  M  > ( 8 G 8  ,  ' 9 H :", options: ["* M 0 >  C $ ?    ( >    K 8 .  ( G . G  ", " G 5 2 8 B $ M 0 8 @  ( G . G  ", " G 5 2 * M 0 / K   0 ( G . G  ", " G 5 2 $ % M / / > &  0 ( G . G  "], answer: "A" }, { question: "EVS  > 8 > . >  ?  5 ?  M  > ( 8 G 8  ,  ' 9 H :", options: [". > ( 5 8 . >   0 8  8 M  C $ ?  K 8 .  ( G . G  ", " G 5 2  $ ? 9 > 8 * " < ( G . G  ", " G 5 2 - B  K 2 8 @  ( G . G  ", " G 5 2  0 M % 6 > 8 M $ M 0 * " < ( G . G  "], answer: "A" }, { question: "EVS  @   $  5 ? 7 /  * M 0  C $ ? 8 9 > /  9 H :", options: ["8 .  M 0 8 .  . G  ", "- M 0 . . G  ", " ? ( >  . G  ", " 2  > 5 . G  "], answer: "A" } ] ); // 5. Approaches of Presenting Concepts addQuestions('* M 0 8 M $ A $  5 ' > 0 # >    G & C 7 M  ?  K # ', [ { question: "The best approach to present EVS concepts is:", options: ["Activity-based approach", "Lecture method only", "Book reading only", "Exam-focused approach"], answer: "A" }, { question: "Which approach makes learning more effective?", options: ["Experiential learning", "Rote learning", "Theoretical learning", "Isolated learning"], answer: "A" }, { question: "Thematic approach in EVS means:", options: ["Teaching through themes", "Teaching randomly", "Teaching without plan", "Teaching only facts"], answer: "A" } ], [ { question: "EVS  5 ' > 0 # >   * M 0 8 M $ A $  0 ( G  > 8 , 8 G   M  > & C 7 M  ?  K # 9 H :", options: [" $ ? 5 ? ' ? - ' > 0 ? $ & C 7 M  ?  K # ", " G 5 2 5 M / >  M / > ( 5 ? ' ? ", " G 5 2  ? $ > , G  * " < ( > ", "* 0 @  M 7 > - G  & M 0 ? $ & C 7 M  ?  K # "], answer: "A" }, { question: " L ( 8 > & C 7 M  ?  K #  ' ?  .  K  ' ?  * M 0 - > 5 @ , ( > $ > 9 H ?", options: [" ( A - 5 > $ M .   ' ?  . ", "0  ( > ", "8 H & M ' >  $ ?   ' ?  . ", " 2  -% 2   ' ?  . "], answer: "A" }, { question: "EVS . G  5 ? 7 /  $ & C 7 M  ?  K #  >  M / >  0 M % 9 H ?", options: ["5 ? 7 / K   G . > ' M / . 8 G 6 ?  M 7 # ", "/ > & C  M  ?  6 ?  M 7 # ", "/ K  ( >  G , ? ( > 6 ?  M 7 # ", " G 5 2 $ % M / 8 ?  > ( > "], answer: "A" } ] ); // 6. Principles of Learning addQuestions(' ' ?  .  G 8 ? & M ' >  $ ', [ { question: "Learning is a:", options: ["Continuous process", "One-time event", "Passive process", "Unstructured process"], answer: "A" }, { question: "Which is a principle of learning?", options: ["Learning by doing", "Learning by rote", "Learning by reading only", "Learning by listening only"], answer: "A" }, { question: "The principle of 'constructivism' in learning means:", options: ["Active construction of knowledge", "Passive reception of knowledge", "Memorizing facts", "Copying from others"], answer: "A" } ], [ { question: " ' ?  .   9 H :", options: ["8 $ $ * M 0  M 0 ? / > ", "  , > 0  @   ( > ", "( ? 7 M  M 0 ? / * M 0  M 0 ? / > ", " 8  0  ? $ * M 0  M 0 ? / > "], answer: "A" }, { question: " ' ?  .  > 8 ? & M ' >  $  M / > 9 H ?", options: [" 0  G 8 @  ( > ", "0   0 8 @  ( > ", " G 5 2 * " <  0 8 @  ( > ", " G 5 2 8 A (  0 8 @  ( > "], answer: "A" }, { question: " ' ?  . . G  '0  ( > 5 > & ' 8 ? & M ' >  $  >  M / >  0 M % 9 H ?", options: [" M  > (  > 8  M 0 ? / ( ? 0 M . > # ", " M  > (  > ( ? 7 M  M 0 ? /  M 0 9 # ", "$ % M / K   K / > &  0 ( > ", "& B 8 0 K  8 G (  2  0 ( > "], answer: "A" } ] ); // 7. Activities addQuestions(' $ ? 5 ? ' ? / >  ', [ { question: "Which activity is best for learning EVS?", options: ["Nature walk", "Reading textbook", "Watching videos", "Listening to lecture"], answer: "A" }, { question: "Group activities in EVS promote:", options: ["Collaboration", "Competition", "Isolation", "Confusion"], answer: "A" }, { question: "Hands-on activities in EVS help in:", options: ["Understanding concepts practically", "Only entertainment", "Wasting time", "Creating noise"], answer: "A" } ], [ { question: "EVS 8 @  ( G  G 2 ?  8 , 8 G   M  @  $ ? 5 ? ' ?  L ( 8 @ 9 H ?", options: ["* M 0  C $ ? - M 0 . # ", "* > M / * A 8 M $  * " < ( > ", "5 @ ! ? / K & G  ( > ", "5 M / >  M / > ( 8 A ( ( > "], answer: "A" }, { question: "EVS . G  8 . B 9  $ ? 5 ? ' ? / >   ? 8 G , " < > 5 > & G $ @ 9 H  ?", options: ["8 9 / K  ", "* M 0 $ ? 8 M * 0 M ' > ", " 2  > 5 ", "- M 0 . "], answer: "A" }, { question: "EVS . G  5 M / > 5 9 > 0 ?   $ ? 5 ? ' ? / >   ? 8 . G  8 9 > /  9 H  ?", options: [" 5 ' > 0 # >    K 5 M / > 5 9 > 0 ?  0 B * 8 G 8 .  ( G . G  ", " G 5 2 . ( K 0   ( ", "8 . / , 0 M , > &  0 ( > ", "6 K 0 .  > ( > "], answer: "A" } ] ); // 8. Experimentation/Project Work addQuestions('* M 0 / K  /* 0 ? / K  ( >  > 0 M / ', [ { question: "Project work in EVS encourages:", options: ["Inquiry and research skills", "Only copying", "Only memorizing", "Only answering questions"], answer: "A" }, { question: "Experimentation in EVS helps to:", options: ["Test hypotheses and understand concepts", "Only have fun", "Only pass exams", "Only keep students busy"], answer: "A" }, { question: "A good EVS project should be:", options: ["Relevant and practical", "Long and complex", "Only theoretical", "Only about writing"], answer: "A" } ], [ { question: "EVS . G  * 0 ? / K  ( >  > 0 M /  ? 8 G * M 0 K $ M 8 > 9 ? $  0 $ > 9 H ?", options: [" >    0  ( A 8  ' > (  L 6 2 ", " G 5 2 (  2 ", " G 5 2 / > & 0  ( > ", " G 5 2 * M 0 6 M ( K   > $ M $ 0 & G ( > "], answer: "A" }, { question: "EVS . G  * M 0 / K   ? 8 . G  8 9 > /  9 K $ G 9 H  ?", options: ["* 0 ?  2 M * ( >    > * 0 @  M 7 #  0  5 ' > 0 # >    K 8 .  ( > ", " G 5 2 .  < G  0 ( > ", " G 5 2 * 0 @  M 7 > * > 8  0 ( > ", " G 5 2  > $ M 0 K   K 5 M / 8 M $ 0  ( > "], answer: "A" }, { question: "    M  @ EVS * 0 ? / K  ( >  H 8 @ 9 K ( @  > 9 ?  ?", options: ["* M 0 > 8   ?   0 5 M / > 5 9 > 0 ?  ", "2  , @  0   ? 2 ", " G 5 2 8 H & M ' >  $ ?  ", " G 5 2 2 ?  ( G  G , > 0 G . G  "], answer: "A" } ] ); // 9. Discussion addQuestions(' 0 M  > ', [ { question: "Discussion in EVS helps to:", options: ["Exchange ideas and clarify concepts", "Only waste time", "Only talk nonsense", "Only create noise"], answer: "A" }, { question: "Group discussion promotes:", options: ["Critical thinking", "Passivity", "Confusion", "Isolation"], answer: "A" }, { question: "The role of teacher in discussion is to:", options: ["Facilitate and guide", "Dominate and control", "Only listen", "Only speak"], answer: "A" } ], [ { question: "EVS . G   0 M  >  ? 8 . G  8 9 > /  9 H ?", options: ["5 ?  > 0 K   >  & > ( -* M 0 & > (  0  5 ' > 0 # >    K 8 M * 7 M   0 ( > ", " G 5 2 8 . / , 0 M , > &  0 ( > ", " G 5 2 ,  5 > 8  0 ( > ", " G 5 2 6 K 0 .  > ( > "], answer: "A" }, { question: "8 . B 9  0 M  >  ? 8 G , " < > 5 > & G $ @ 9 H ?", options: [" 2 K  ( > $ M .   ?  $ ( ", "( ? 7 M  M 0 ? / $ > ", "- M 0 . ", " 2  > 5 "], answer: "A" }, { question: " 0 M  > . G  6 ?  M 7   @ - B . ?  >  M / > 9 H ?", options: ["8 A 5 ? ' >  0 M $ >  0 . > 0 M  & 0 M 6  ", "* M 0 - A $ M 5  0 ( ? /  $ M 0 # ", " G 5 2 8 A ( ( > ", " G 5 2 , K 2 ( > "], answer: "A" } ] ); // 10. Continuous and Comprehensive Evaluation (CCE) addQuestions('8 $ $  5  5 M / > *  . B 2 M / >   ( (8 @ 8 @  )', [ { question: "CCE in EVS aims to:", options: ["Assess all aspects of child development", "Only assess academic performance", "Only assess co-curricular", "Only assess behavior"], answer: "A" }, { question: "Formative assessment in CCE is:", options: ["During the learning process", "At the end of the year", "At the beginning", "Only after exams"], answer: "A" }, { question: "Summative assessment in CCE is:", options: ["At the end of the term", "During learning", "At the start", "Only for grading"], answer: "A" } ], [ { question: "EVS . G  CCE  > & M & G 6 M / 9 H :", options: [", > 2   G 8 0 M 5 >   @ # 5 ?  > 8  >   2 ( ", " G 5 2   > & . ?  * M 0 & 0 M 6 (  >   2 ( ", " G 5 2 8 9 -* > M /  M 0 .  >   2 ( ", " G 5 2 5 M / 5 9 > 0  >   2 ( "], answer: "A" }, { question: "CCE . G  0  ( > $ M .  . B 2 M / >   ( 9 H :", options: [" ' ?  . * M 0  M 0 ? / >  G & L 0 > ( ", "5 0 M 7  G   $ . G  ", "6 A 0 A  $ . G  ", " G 5 2 * 0 @  M 7 >  G , > & "], answer: "A" }, { question: "CCE . G  / K  > $ M .  . B 2 M / >   ( 9 H :", options: [" 5 ' ?  G   $ . G  ", " ' ?  .  G & L 0 > ( ", "* M 0 > 0  - . G  ", " G 5 2  M 0 G ! ?    G 2 ?  "], answer: "A" } ] ); // 11. Teaching Material/Aids addQuestions('6 ?  M 7 # 8 > .  M 0 @ /8  8 > ' ( ', [ { question: "Teaching aids in EVS help to:", options: ["Make learning concrete and interesting", "Only make teaching easy", "Only save time", "Only impress students"], answer: "A" }, { question: "Which is an effective teaching aid for EVS?", options: ["Models and specimens", "Only textbooks", "Only blackboard", "Only worksheets"], answer: "A" }, { question: "Audio-visual aids in EVS help to:", options: ["Enhance understanding", "Only entertain", "Only fill time", "Only confuse"], answer: "A" } ], [ { question: "EVS . G  6 ?  M 7 # 8 > .  M 0 @  ? 8 . G  8 9 > /  9 H ?", options: [" ' ?  .  K . B 0 M $  0 0 K   , ( > ( G . G  ", " G 5 2 6 ?  M 7 #  K  8 > ( , ( > ( G . G  ", " G 5 2 8 . / ,  > ( G . G  ", " G 5 2  > $ M 0 K   K * M 0 - > 5 ? $  0 ( G . G  "], answer: "A" }, { question: "EVS  G 2 ?  * M 0 - > 5 @ 6 ?  M 7 # 8 > .  M 0 @  L ( 8 @ 9 H ?", options: [". I ! 2  0 ( . B ( G ", " G 5 2 * > M / * A 8 M $  G  ", " G 5 2 , M 2 H  , K 0 M ! ", " G 5 2 5 0 M  6 @  "], answer: "A" }, { question: "EVS . G  6 M 0 5 M / -& C 6 M / 8 > .  M 0 @  ? 8 . G  8 9 > /  9 H ?", options: ["8 .  , " < > ( G . G  ", " G 5 2 . ( K 0   ( . G  ", " G 5 2 8 . / - 0 ( G . G  ", " G 5 2 - M 0 . ? $  0 ( G . G  "], answer: "A" } ] ); // 12. Problems addQuestions('8 . 8 M / > ', [ { question: "A major problem in teaching EVS is:", options: ["Lack of practical resources", "Too many textbooks", "Less syllabus", "Short teaching hours"], answer: "A" }, { question: "Which is a challenge in EVS education?", options: ["Connecting concepts to real life", "Teaching definitions", "Conducting exams", "Giving marks"], answer: "A" }, { question: "To overcome problems in EVS teaching, teachers should:", options: ["Use local resources and examples", "Ignore problems", "Only follow textbooks", "Only give lectures"], answer: "A" } ], [ { question: "EVS 6 ?  M 7 # . G  * M 0 . A  8 . 8 M / >  M / > 9 H ?", options: ["5 M / > 5 9 > 0 ?  8  8 > ' ( K   @  . @ ", ", 9 A $  ' ?  * > M / * A 8 M $  G  ", " . * > M /  M 0 . ", " . 6 ?  M 7 #    G "], answer: "A" }, { question: "EVS 6 ?  M 7 > . G   A ( L $ @  M / > 9 H ?", options: [" 5 ' > 0 # >    K 5 > 8 M $ 5 ?   @ 5 ( 8 G  K ! < ( > ", "* 0 ? - > 7 >   8 ?  > ( > ", "* 0 @  M 7 >  / K  ? $  0 ( > ", "   & G ( > "], answer: "A" }, { question: "EVS 6 ?  M 7 # . G  8 . 8 M / >    K & B 0  0 ( G  G 2 ?  6 ?  M 7   K  M / >  0 ( >  > 9 ?  ?", options: ["8 M % > ( @ / 8  8 > ' ( K   0 & > 9 0 # K   > * / K   0 ( > ", "8 . 8 M / >    K  ( & G  >  0 ( > ", " G 5 2 * > M / * A 8 M $  K   > * > 2 (  0 ( > ", " G 5 2 5 M / >  M / > ( & G ( > "], answer: "A" } ] ); // Topic keys for display (27 topics) const topicKeys = [ "* 0 ? 5 > 0 , 8 . M , ( M '  5  * 0 M / > 5 0 # ", "* > & *  5    $ A   $ ", ". > ( 5 6 0 @ 0  5  0 K  ", "9 . > 0 @ . B 2  5 6 M /  $ >   ", " 6 M 0 / ", "* 0 ? 5 9 ( $ % > 8   > 0 ", "- > 0 $  @ 8 >  8 M  C $ ?   0 * M 0 >  C $ ?  5 ? 5 ? ' $ >  0 - > 0 $ @ / 8 M 5 $  $ M 0 $ >   & K 2 ( ", ", M 0 9 M . >  ! $ % > 8 L 0 .  ! 2 ", "* C % M 5 @ (* C % M 5 @  @   $ 0 ?  8  0  ( > , $ A ,   M 7 >  6 , & G 6 >  $ 0 $ % >  9 A   G )", " 2 $ % > 5 > / A ", ". C & > $ % > + 8 2 G  ", " 0 M  > ", "- > 0 $  @ - L $ ?  5 ? 6 G 7 $ >   ", "  0 > $ % >  * 6 ? 7 M  * M 0 ,  ' ( ", "* M 0 >  C $ ?   * & >  5   8  > * M 0 ,  ' ( ", "* 0 M / > 5 0 # 6 ?  M 7 > ( 5 @  8 )  @  5 ' > 0 # >  0 & > / 0 > ", "* 0 M / > 5 0 # 6 ?  M 7 >  G & M & G 6 M / ,  5 ' > 0 # >  0 . 9 $ M 5 ", "* 0 M / > 5 0 #  ' M / / (  0 * 0 M / > 5 0 # 6 ?  M 7 > ", "5 ?  M  > (  0 8 > . >  ?  5 ?  M  > (  G 2 ?   > 0 M /  M 7 G $ M 0  0 8  ,  ' ", "* M 0 8 M $ A $  5 ' > 0 # >    G & C 7 M  ?  K # ", " ' ?  .  G 8 ? & M ' >  $ ", " $ ? 5 ? ' ? / >  ", "* M 0 / K  /* 0 ? / K  ( >  > 0 M / ", " 0 M  > ", "8 $ $  5  5 M / > *  . B 2 M / >   ( (8 @ 8 @  )", "6 ?  M 7 # 8 > .  M 0 @ /8  8 > ' ( ", "8 . 8 M / > " ]; // Bilingual topic names for display const topicNames = { hi: [ "* 0 ? 5 > 0 , 8 . M , ( M '  5  * 0 M / > 5 0 # ", "* > & *  5    $ A   $ ", ". > ( 5 6 0 @ 0  5  0 K  ", "9 . > 0 @ . B 2  5 6 M /  $ >   ", " 6 M 0 / ", "* 0 ? 5 9 ( $ % > 8   > 0 ", "- > 0 $  @ 8 >  8 M  C $ ?   0 * M 0 >  C $ ?  5 ? 5 ? ' $ >  0 - > 0 $ @ / 8 M 5 $  $ M 0 $ >   & K 2 ( ", ", M 0 9 M . >  ! $ % > 8 L 0 .  ! 2 ", "* C % M 5 @ (* C % M 5 @  @   $ 0 ?  8  0  ( > , $ A ,   M 7 >  6 , & G 6 >  $ 0 $ % >  9 A   G )", " 2 $ % > 5 > / A ", ". C & > $ % > + 8 2 G  ", " 0 M  > ", "- > 0 $  @ - L $ ?  5 ? 6 G 7 $ >   ", "  0 > $ % >  * 6 ? 7 M  * M 0 ,  ' ( ", "* M 0 >  C $ ?   * & >  5   8  > * M 0 ,  ' ( ", "* 0 M / > 5 0 # 6 ?  M 7 > ( 5 @  8 )  @  5 ' > 0 # >  0 & > / 0 > ", "* 0 M / > 5 0 # 6 ?  M 7 >  G & M & G 6 M / ,  5 ' > 0 # >  0 . 9 $ M 5 ", "* 0 M / > 5 0 #  ' M / / (  0 * 0 M / > 5 0 # 6 ?  M 7 > ", "5 ?  M  > (  0 8 > . >  ?  5 ?  M  > (  G 2 ?   > 0 M /  M 7 G $ M 0  0 8  ,  ' ", "* M 0 8 M $ A $  5 ' > 0 # >    G & C 7 M  ?  K # ", " ' ?  .  G 8 ? & M ' >  $ ", " $ ? 5 ? ' ? / >  ", "* M 0 / K  /* 0 ? / K  ( >  > 0 M / ", " 0 M  > ", "8 $ $  5  5 M / > *  . B 2 M / >   ( (8 @ 8 @  )", "6 ?  M 7 # 8 > .  M 0 @ /8  8 > ' ( ", "8 . 8 M / > " ], en: [ "Family, Relations and Environment", "Plant and Animal Kingdom", "Human Body and Diseases", "Our Basic Needs", "Shelter", "Transportation and Communication", "Cultural and Natural Diversity of India and Indian Freedom Movement", "Universe and Solar System", "Earth (Interior of Earth, Seasons, Longitudes, Latitudes and Rocks)", "Water and Air", "Soil and Crops", "Energy", "Physical Features of India", "Garbage and Waste Management", "Natural Disaster and Its Management", "Concept and Scope of EVS", "Objectives, Concept and Significance of Environmental Education", "Environment Studies and Environment Education", "Scope and Relation to Science and Social Science", "Approaches of Presenting Concepts", "Principles of Learning", "Activities", "Experimentation/Project Work", "Discussion", "Continuous and Comprehensive Evaluation (CCE)", "Teaching Material/Aids", "Problems" ] }; 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 1", mainSubtitle: "* 0 M / > 5 0 # @ /  ' M / / (  5  6 ?  M 7 > 6 > 8 M $ M 0 (Environmental Studies and Pedagogy)  8 >  ( . G    ( 0 G  0 ", startTitle: "* 0 M / > 5 0 # @ /  ' M / / (  5  6 ?  M 7 > 6 > 8 M $ M 0  8 >  ( . G    ( 0 G  0 ", startBtn: " 8 >  ( . G   , ( >   ", subjectTitle: "5 ? 7 /  >  / (  0 G  ", selectSubject: "* 0 M / > 5 0 # @ /  ' M / / (  5  6 ?  M 7 > 6 > 8 M $ M 0 (Environmental Studies & Pedagogy)", chapterTitle: " ' M / > / / 5 ? 7 /  A ( G  ", backStart: "* M 0 > 0  - * 0 5 > * 8  >   ", generateAssign: " 8 >  ( . G   , ( >   ", levelTitle: " ? ( >  8 M $ 0  A ( G  ", levelDesc: " * ( G  8 >  ( . G    G 2 ?  8 M $ 0  >  / (  0 G  :", level1: "8 M $ 0 1", level1Sub: ", G 8 ?  8 M $ 0 ", level2: "8 M $ 0 2", level2Sub: ". ' M / . 8 M $ 0 ", level3: "8 M $ 0 3", level3Sub: "* 0 @  M 7 > 8 M $ 0 ", backChapters: "5 ? 7 / K  * 0 5 > * 8  >   ", generateFinal: " 8 >  ( . G    ( 0 G   0 G  ", fullPaper: "* B 0 M # * > M /  M 0 . (8 - @ 27 5 ? 7 / )", noChapterAlert: " C * / >  . 8 G  .    ' M / > / /5 ? 7 /  A ( G  !", noLevelAlert: " C * / >  ? ( >  8 M $ 0  A ( G  !", fullPaperLabel: "* B 0 M # * > M /  M 0 . (8 - @ 27 5 ? 7 / )", instructions: "( ? 0 M & G 6 :", inst1: " 8  8 >  ( . G   . G  45 , 9 A 5 ?  2 M * @ / * M 0 6 M ( (MCQs) 9 H  d ", inst2: "* M 0 $ M / G  * M 0 6 M (  G  > 0 5 ?  2 M * 9 H  ,  G 5 2   8 9 @ 9 H d ", inst3: "  ? $ 5 ?  2 M *  >  / (  0 G  d ", inst4: "8 . / : 60 . ? (  ", mcqHeading: ", 9 A 5 ?  2 M * @ / * M 0 6 M ( (MCQs)", answerKey: " $ M $ 0  A   @ (Answer Key)", qNo: "* M 0 6 M ( 8  .", ans: " $ M $ 0 ", print: "* M 0 ?    0 G  ", download: "PDF ! > ( 2 K !  0 G  ", newAssign: "( / >  8 >  ( . G   ", subjectLabel: "* 0 M / > 5 0 # @ /  ' M / / (  5  6 ?  M 7 > 6 > 8 M $ M 0 ", langLabel: "9 ?  & @ ", noQuestions: "* M 0 6 M ( * 2 , M ' ( 9 @  9 H  d  C * / >  ( M /  ' M / > /  A ( G  d " }, en: { mainTitle: "CTET Paper 1", mainSubtitle: "Environmental Studies and Pedagogy Assignment Generator", startTitle: "Environmental Studies and Pedagogy Assignment Generator", startBtn: "Create Assignment", subjectTitle: "Select Subject", selectSubject: "Environmental Studies & Pedagogy", chapterTitle: "Select Chapters / Topics", backStart: "Back to Start", generateAssign: "Generate Assignment", levelTitle: "Select Difficulty Level", levelDesc: "Choose the level for your assignment:", level1: "Level 1", level1Sub: "Basic Level", level2: "Level 2", level2Sub: "Medium Level", level3: "Level 3", level3Sub: "Exam Level", backChapters: "Back to Topics", generateFinal: "Generate Assignment", fullPaper: "Full Syllabus (All 27 Topics)", noChapterAlert: "Please select at least one chapter/topic!", noLevelAlert: "Please select a difficulty level!", fullPaperLabel: "Full Syllabus (All 27 Topics)", instructions: "Instructions:", inst1: "This assignment has 45 multiple-choice questions (MCQs).", inst2: "Each question has four options, only one is correct.", inst3: "Select the appropriate option.", inst4: "Time: 60 minutes", mcqHeading: "Multiple Choice Questions (MCQs)", answerKey: "Answer Key", qNo: "Q. No.", ans: "Answer", print: "Print", download: "Download PDF", newAssign: "New Assignment", subjectLabel: "Environmental Studies & Pedagogy", langLabel: "English", noQuestions: "Questions not available. Please select other chapters." } }; // DOM refs const langToggleBtn = document.getElementById('langToggleBtn'); const langLabel = document.getElementById('langLabel'); let currentLang = 'hi'; 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('startGeneratingBtn').textContent = t.startBtn; document.getElementById('subjectTitle').textContent = t.subjectTitle; document.getElementById('selectEvsBtn').textContent = t.selectSubject; document.getElementById('chapterTitle').textContent = t.chapterTitle; document.getElementById('backToStartBtn').textContent = t.backStart; document.getElementById('generateAssignmentBtn').textContent = t.generateAssign; document.getElementById('levelTitle').textContent = t.levelTitle; document.getElementById('levelDesc').textContent = t.levelDesc; document.getElementById('level1Btn').innerHTML = `${t.level1}<br><small>${t.level1Sub}</small>`; document.getElementById('level2Btn').innerHTML = `${t.level2}<br><small>${t.level2Sub}</small>`; document.getElementById('level3Btn').innerHTML = `${t.level3}<br><small>${t.level3Sub}</small>`; document.getElementById('backToChaptersBtn').textContent = t.backChapters; document.getElementById('generateFinalBtn').textContent = t.generateFinal; langLabel.textContent = t.langLabel; populateChapters(); if (!generatedPaperContainer.classList.contains('hidden')) { if (selectedChapters && selectedLevel) { generatePaper(selectedChapters, selectedLevel, currentLang); } } } langToggleBtn.addEventListener('click', function() { currentLang = (currentLang === 'hi') ? 'en' : 'hi'; applyUILanguage(currentLang); }); // ----- Core logic ----- let selectedChapters = []; let selectedLevel = null; const startContainer = document.getElementById('startContainer'); const startScreen = document.getElementById('startScreen'); const subjectSelection = document.getElementById('subjectSelection'); const chapterSelection = document.getElementById('chapterSelection'); const levelSelection = document.getElementById('levelSelection'); const generatedPaperContainer = document.getElementById('generatedPaperContainer'); function populateChapters() { const container = document.getElementById('chapterCheckboxContainer'); const t = uiText[currentLang]; const fullPaperLabel = (currentLang === 'hi') ? "* B 0 M # * > M /  M 0 . (8 - @ 27 5 ? 7 / )" : "Full Syllabus (All 27 Topics)"; container.innerHTML = `<div class="checkbox-item"><input type="checkbox" id="fullPaper" value="full"><label for="fullPaper">${fullPaperLabel}</label></div>`; topicKeys.forEach((key, idx) => { const displayName = getTopicDisplay(key, currentLang); container.innerHTML += `<div class="checkbox-item"><input type="checkbox" id="topic_${idx}" name="chapter" value="${key}"><label for="topic_${idx}">${idx+1}. ${displayName}</label></div>`; }); const fullPaperCheckbox = document.getElementById('fullPaper'); if(fullPaperCheckbox) { fullPaperCheckbox.addEventListener('change', function() { const allChapterCheckboxes = document.querySelectorAll('input[name="chapter"]'); allChapterCheckboxes.forEach(cb => cb.disabled = this.checked); }); } } function getRandomQuestions(chapters, level, count, lang) { let allQuestions = []; chapters.forEach(ch => { if(questionBank[ch] && questionBank[ch][lang] && questionBank[ch][lang][`level${level}`]) { allQuestions = allQuestions.concat(questionBank[ch][lang][`level${level}`]); } }); if(allQuestions.length === 0) { const t = uiText[lang]; return [{ 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 generatePaper(chapters, level, lang) { const t = uiText[lang]; const mcqs = getRandomQuestions(chapters, level, 45, lang); let questionNumber = 1; let chapterDisplay = ''; if (chapters.length === topicKeys.length) { chapterDisplay = t.fullPaperLabel; } else { const displayNames = chapters.slice(0,3).map(k => getTopicDisplay(k, lang)); chapterDisplay = displayNames.join(", ") + (chapters.length > 3 ? "..." : ""); } let paperContent = ` <div class="header"> <h2>CTET Paper 1 - ${t.subjectLabel}</h2> <h3>${chapterDisplay}</h3> <p>${level === 1 ? t.level1 : level === 2 ? t.level2 : t.level3} - ${level === 1 ? t.level1Sub : level === 2 ? t.level2Sub : t.level3Sub}</p> </div> <div class="content-area"> <div class="instructions"> <p><strong>${t.instructions}</strong></p> <ol> <li>${t.inst1}</li> <li>${t.inst2}</li> <li>${t.inst3}</li> <li>${t.inst4}</li> </ol> </div> <div class="question-section"> <div class="section-heading">${t.mcqHeading}</div>`; mcqs.forEach(mcq => { paperContent += ` <div class="question"> <div class="question-text">${questionNumber}. ${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>`; questionNumber++; }); paperContent += ` </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) { paperContent += `<tr>`; for(let j=0; j<3; j++) { if(i+j < mcqs.length) { paperContent += `<td>${i+j+1}</td><td>${mcqs[i+j].answer}</td>`; } else { paperContent += `<td></td><td></td>`; } } paperContent += `</tr>`; } paperContent += ` </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.newAssign}</button> </div> </div>`; generatedPaperContainer.innerHTML = paperContent; generatedPaperContainer.classList.remove('hidden'); startContainer.classList.add('hidden'); document.getElementById('printBtn').addEventListener('click', function() { window.print(); }); document.getElementById('downloadBtn').addEventListener('click', downloadPDF); document.getElementById('newAssignmentBtn').addEventListener('click', function() { generatedPaperContainer.classList.add('hidden'); startContainer.classList.remove('hidden'); startScreen.classList.remove('hidden'); subjectSelection.classList.add('hidden'); chapterSelection.classList.add('hidden'); levelSelection.classList.add('hidden'); selectedLevel = null; level1Btn.classList.remove('selected'); level2Btn.classList.remove('selected'); level3Btn.classList.remove('selected'); }); } // Event Listeners document.getElementById('startGeneratingBtn').addEventListener('click', function() { startScreen.classList.add('hidden'); subjectSelection.classList.remove('hidden'); }); document.getElementById('selectEvsBtn').addEventListener('click', function() { subjectSelection.classList.add('hidden'); populateChapters(); chapterSelection.classList.remove('hidden'); }); document.getElementById('backToStartBtn').addEventListener('click', function() { generatedPaperContainer.classList.add('hidden'); startContainer.classList.remove('hidden'); chapterSelection.classList.add('hidden'); levelSelection.classList.add('hidden'); startScreen.classList.remove('hidden'); subjectSelection.classList.add('hidden'); }); document.getElementById('generateAssignmentBtn').addEventListener('click', function() { const fullPaper = document.getElementById('fullPaper'); if(fullPaper && fullPaper.checked) { selectedChapters = [...topicKeys]; } else { selectedChapters = Array.from(document.querySelectorAll('input[name="chapter"]:checked')).map(cb => cb.value); } if(selectedChapters.length === 0) { const t = uiText[currentLang]; alert(t.noChapterAlert); return; } chapterSelection.classList.add('hidden'); levelSelection.classList.remove('hidden'); }); document.getElementById('backToChaptersBtn').addEventListener('click', function() { levelSelection.classList.add('hidden'); chapterSelection.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; } document.getElementById('level1Btn').addEventListener('click', function() { selectLevel(1); }); document.getElementById('level2Btn').addEventListener('click', function() { selectLevel(2); }); document.getElementById('level3Btn').addEventListener('click', function() { selectLevel(3); }); document.getElementById('generateFinalBtn').addEventListener('click', function() { if(!selectedLevel) { const t = uiText[currentLang]; alert(t.noLevelAlert); return; } startContainer.classList.add('hidden'); levelSelection.classList.add('hidden'); generatePaper(selectedChapters, selectedLevel, currentLang); }); // PDF Download 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; const pageHeight = pdf.internal.pageSize.getHeight() - 25.4; let position = 12.7; let remainingHeight = tempDiv.scrollHeight; let pageNum = 1; while(remainingHeight > 0) { const canvas = await html2canvas(tempDiv, { scale: 2, windowHeight: pageHeight * 3.78, windowWidth: pageWidth * 3.78, y: position * 3.78, height: pageHeight * 3.78, useCORS: true, backgroundColor: '#ffffff', logging: false }); const imgData = canvas.toDataURL('image/jpeg', 0.95); if(pageNum > 1) pdf.addPage('a4', 'portrait'); pdf.addImage(imgData, 'JPEG', 12.7, 12.7, pageWidth, (canvas.height * pageWidth) / canvas.width); position += pageHeight; remainingHeight -= pageHeight * 3.78; pageNum++; } pdf.save('CTET_EVS_Pedagogy_Assignment.pdf'); } catch(err) { console.error(err); alert('PDF generation error. Please try again.'); } finally { if(tempDiv && tempDiv.parentNode) document.body.removeChild(tempDiv); } } // Home icon document.getElementById('homeIconBtn').addEventListener('click', function(e) { e.preventDefault(); generatedPaperContainer.classList.add('hidden'); startContainer.classList.remove('hidden'); startScreen.classList.remove('hidden'); subjectSelection.classList.add('hidden'); chapterSelection.classList.add('hidden'); levelSelection.classList.add('hidden'); selectedLevel = null; level1Btn.classList.remove('selected'); level2Btn.classList.remove('selected'); level3Btn.classList.remove('selected'); }); // Initial load applyUILanguage('hi'); </script> </body> </html>