Repeated questions
cd /home/daytona/workspace/attachments/345cde5e-9b3a-4ecf-8d14-41eb8028d5fc && python3 -c " import pdfplumber with pdfplumber.open('commed paper 1 py.pdf') as pdf: print(f'Total pages: {len(pdf.pages)}') for i, page in enumerate(pdf.pages): text = page.extract_text() if text: print(f'--- PAGE {i+1} ---') print(text) print() "
python3 -c " import subprocess result = subprocess.run(['which', 'tesseract'], capture_output=True, text=True) print('tesseract:', result.stdout.strip()) result2 = subprocess.run(['which', 'pdftoppm'], capture_output=True, text=True) print('pdftoppm:', result2.stdout.strip()) result3 = subprocess.run(['python3', '-c', 'import pytesseract; print(pytesseract.__version__)'], capture_output=True, text=True) print('pytesseract:', result3.stdout.strip(), result3.stderr.strip()) "
mkdir -p /home/daytona/workspace/commed_ocr && pdftoppm -r 200 "/home/daytona/workspace/attachments/345cde5e-9b3a-4ecf-8d14-41eb8028d5fc/commed paper 1 py.pdf" /home/daytona/workspace/commed_ocr/page && ls /home/daytona/workspace/commed_ocr/ | head -30
python3 -c " import pytesseract from PIL import Image import os ocr_dir = '/home/daytona/workspace/commed_ocr' pages = sorted([f for f in os.listdir(ocr_dir) if f.endswith('.ppm')]) full_text = '' for page_file in pages: page_path = os.path.join(ocr_dir, page_file) img = Image.open(page_path) text = pytesseract.image_to_string(img) page_num = page_file.replace('page-','').replace('.ppm','') full_text += f'\n\n=== PAGE {page_num} ===\n{text}' with open('/home/daytona/workspace/commed_ocr/full_text.txt', 'w') as f: f.write(full_text) print('Done. Total chars:', len(full_text)) print(full_text[:3000]) " 2>&1
python3 -c " import pytesseract from PIL import Image # Just do first 5 pages to check content for i in range(1, 6): page_path = f'/home/daytona/workspace/commed_ocr/page-{i:02d}.ppm' img = Image.open(page_path) # Resize to speed up img = img.resize((img.width//2, img.height//2)) text = pytesseract.image_to_string(img) print(f'=== PAGE {i} ===') print(text[:800]) print() " 2>&1
python3 -c " import pytesseract from PIL import Image all_text = {} for i in range(1, 25): page_path = f'/home/daytona/workspace/commed_ocr/page-{i:02d}.ppm' img = Image.open(page_path) img = img.resize((img.width//2, img.height//2)) text = pytesseract.image_to_string(img) all_text[i] = text print(f'Page {i} done') import json with open('/home/daytona/workspace/commed_ocr/all_pages.json', 'w') as f: json.dump(all_text, f) print('Saved.') " 2>&1
python3 -c " import json with open('/home/daytona/workspace/commed_ocr/all_pages.json') as f: pages = json.load(f) # Print all pages for pg, text in pages.items(): print(f'=== PAGE {pg} ===') print(text) print() " 2>&1 | head -600
python3 -c " import json with open('/home/daytona/workspace/commed_ocr/all_pages.json') as f: pages = json.load(f) for pg in ['9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24']: print(f'=== PAGE {pg} ===') print(pages[pg]) print() " 2>&1
| Pages | QP Code | Scheme | Date |
|---|---|---|---|
| 1, 7 | 1035 | RS-4/RS-5 CBME | 16-Jan-2025 (duplicate pages) |
| 2 | 1035 | RS-4/RS-5 CBME | 07-Apr-2025 |
| 4 | 1035 | RS-4 | 05-Jun-2024 |
| 6 | 1035 | RS-4 | 01-Feb-2024 |
| 9 | 1035 | RS-4 | 22-May-2023 |
| 11 | 1035 | RS-4 | 07-Feb-2023 |
| 3 | 1088 | RS3 CBME | 07-Apr-2025 |
| 5 | 1088 | RS3 | 31-Jan-2024 |
| 8 | 1088 | RS3 | 09-Aug-2024 |
| 10 | 1088 | RS3 | 07-Jul-2023 |
| 12 | 1088 | RS3 | 07-Feb-2023 |
| 13 | 1088 | RS3 | 30-Jul-2022 |
| 14/15 | 1088 | RS3 | 23-Feb-2022 (duplicate) |
| 16 | 1088 | RS3 | 21-Sep-2021 |
| 17/18 | 1088 | RS3 | 24-Mar-2021 (duplicate) |
| 19 | 1088 | RS3 | 19-Nov-2020 |
| 20 | 1088 | RS2/RS3 | Jun-2019 |
| 21 | 1088 | RS2/RS3 | 11-Dec-2019 |
| 22 | 1088 | RS2/RS3 | Jul-2018 |
| 23 | 1088 | RS2/RS3 | Dec-2018 |
| 24 | 1088 | RS2/RS3 | Jun-2017 |
| Topic | Times Repeated | Type |
|---|---|---|
| Epidemic investigation / Endemic-Epidemic-Pandemic | 6 | Long/Short Essay |
| Case Control Study (design & steps) | 6 | Long Essay |
| Health Education (principles/models) | 5 | Long Essay |
| Cohort Study | 5 | Long Essay |
| Biomedical Waste Management | 5 | Short Essay |
| Screening test validity/sensitivity/specificity | 5+ | Short Essay/Answer |
| Pneumoconiosis / Occupational Lung Disease | 5 | Long/Short Essay |
| Water purification methods | 4 | Long Essay |
| Indicators of Health / Morbidity indicators | 4 | Long/Short Essay |
| Surveillance (definition, types) | 4 | Short Essay/Answer |
| Human Development Index | 4 | Short Essay/Answer |
| Integrated Vector Control | 3 | Long/Short Essay |
| ESI Act benefits | 4 | Long/Short Essay |
| Disinfection / Disinfectants | 3 | Long/Short Essay |
| Sickness Absenteeism | 3 | Short Essay |
| Iodine / Iron Deficiency Disorders | 3 | Short Essay |
| Ergonomics | 3 | Short Answer |
| Odds Ratio / Relative Risk | 4 | Short Essay/Answer |
| Air Pollution hazards & control | 3 | Long/Short Essay |
| Lathyrism | 3 | Short Essay/Answer |
| Pasteurization | 3 | Short Essay/Answer |
| Composting | 4 | Short Answer |
| Sentinel Surveillance | 3 | Short Answer |
Make those questions as a pdf pls
python3 -c " from reportlab.lib.pagesizes import A4 from reportlab.lib import colors from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle from reportlab.lib.units import cm from reportlab.platypus import SimpleDocTemplate, Paragraph, Spacer, Table, TableStyle, HRFlowable from reportlab.lib.enums import TA_CENTER, TA_LEFT, TA_JUSTIFY output_path = '/home/daytona/workspace/commed_repeated_questions.pdf' doc = SimpleDocTemplate( output_path, pagesize=A4, rightMargin=2*cm, leftMargin=2*cm, topMargin=2*cm, bottomMargin=2*cm ) styles = getSampleStyleSheet() title_style = ParagraphStyle('Title', parent=styles['Title'], fontSize=16, textColor=colors.HexColor('#1a3a5c'), spaceAfter=6, alignment=TA_CENTER, fontName='Helvetica-Bold') subtitle_style = ParagraphStyle('Subtitle', parent=styles['Normal'], fontSize=11, textColor=colors.HexColor('#2c5282'), spaceAfter=4, alignment=TA_CENTER, fontName='Helvetica') section_style = ParagraphStyle('Section', parent=styles['Heading1'], fontSize=13, textColor=colors.white, spaceAfter=4, spaceBefore=10, fontName='Helvetica-Bold', backColor=colors.HexColor('#1a3a5c'), leftIndent=0, borderPadding=(4,6,4,6)) subsection_style = ParagraphStyle('Subsection', parent=styles['Heading2'], fontSize=11, textColor=colors.HexColor('#1a3a5c'), spaceAfter=3, spaceBefore=8, fontName='Helvetica-Bold', backColor=colors.HexColor('#dbeafe'), leftIndent=0, borderPadding=(3,5,3,5)) q_style = ParagraphStyle('Question', parent=styles['Normal'], fontSize=10, textColor=colors.HexColor('#1a202c'), spaceAfter=2, spaceBefore=1, fontName='Helvetica', leftIndent=15, bulletIndent=5) freq_style = ParagraphStyle('Freq', parent=styles['Normal'], fontSize=9, textColor=colors.HexColor('#c05621'), spaceAfter=4, fontName='Helvetica-Bold', leftIndent=15) note_style = ParagraphStyle('Note', parent=styles['Normal'], fontSize=9, textColor=colors.HexColor('#276749'), spaceAfter=3, fontName='Helvetica-Oblique', leftIndent=15) body_style = ParagraphStyle('Body', parent=styles['Normal'], fontSize=10, textColor=colors.HexColor('#2d3748'), spaceAfter=3, leading=14, fontName='Helvetica') story = [] # Title story.append(Spacer(1, 0.2*cm)) story.append(Paragraph('RGUHS COMMUNITY MEDICINE - PAPER I', title_style)) story.append(Paragraph('Repeated Questions Analysis (2017-2025)', subtitle_style)) story.append(Paragraph('QP Code: 1035 (RS-4/RS-5) & 1088 (RS2/RS3)', subtitle_style)) story.append(HRFlowable(width='100%', thickness=2, color=colors.HexColor('#1a3a5c'))) story.append(Spacer(1, 0.3*cm)) story.append(Paragraph( 'Questions are grouped by topic. The number of times each topic appeared is indicated. ' 'Topics marked (★★★) appeared 5+ times, (★★) 3-4 times, (★) 2 times.', body_style)) story.append(Spacer(1, 0.3*cm)) # ===== SECTION 1: LONG ESSAYS ===== story.append(Paragraph(' SECTION A: LONG ESSAYS (Most Repeated)', section_style)) story.append(Spacer(1, 0.2*cm)) long_essays = [ { 'topic': '1. Epidemic Investigation / Endemic-Epidemic-Pandemic', 'freq': '★★★ Appeared 6 times (HIGHEST PRIORITY)', 'questions': [ 'You are the medical officer of a PHC. Many cases of acute gastroenteritis have been reported. List the steps to investigate this problem. [Jan-2025, RS-4/5]', 'Define Endemic, Epidemic, Pandemic. List the steps involved in investigation of an epidemic. [Jun-2024 & Feb-2023, RS-4]', 'Define the terms Endemic, Epidemic and Pandemic. Outline the objectives and steps involved in the investigation of an Epidemic. [Jun-2019, RS3]', 'Define an Epidemic. Describe the steps in the investigation of an outbreak of food poisoning in your hostel. [Jul-2022, RS3]', 'Enumerate the steps in investigation of an epidemic. [Jul-2023, RS3 - Short Essay]', ], 'note': 'Steps in epidemic investigation are identical each time: notification, verification, case definition, case finding, host-agent-environment analysis, control measures.' }, { 'topic': '2. Case Control Study - Design & Steps', 'freq': '★★★ Appeared 6 times', 'questions': [ 'Define epidemiology. Classify epidemiological study designs. Describe the steps in conducting a case control study using smoking and lung cancer as an example. [May-2023, RS-4]', 'What is odds ratio? In which study design will you calculate odds ratio? How will you interpret odds ratio of 4.6? Discuss differences between case control and cohort study. [Feb-2024, RS-4]', 'Describe design and steps in case control study. [Jan-2024, RS3]', 'Describe the design and steps in conducting a case control study. [Feb-2023, RS3]', 'Classify Epidemiologic methods and explain the basic steps in Case Control study with suitable examples. [Jul-2018, RS2/RS3]', 'Steps in case control studies. [Jul-2022, RS3 - Short Essay]', ], 'note': 'Always know: definition, study design diagram, steps (selection of cases, controls, exposure assessment, matching, OR calculation), advantages/disadvantages.' }, { 'topic': '3. Health Education - Principles, Models & Approaches', 'freq': '★★★ Appeared 5 times', 'questions': [ 'Define health education. Discuss models of health education. Explain in detail principles of Health Education. [Feb-2024, RS-4]', 'Define Health Education. Enumerate the principles of Health Education. [Apr-2025, RS3]', 'Define Health Education. Enumerate the principles of Health Education and explain the approaches to Health Education. [Mar-2021, RS3]', 'Define Health Education. Enumerate the Principles of Health Education. Write briefly about the Communication Process. [Jun-2017, RS2/RS3]', 'Describe the motivational model of health education. [Apr-2025, RS-4 - Short Essay]', ], 'note': 'Cover: definition, KAP model, health belief model, PRECEDE-PROCEED model, Tannahill model, principles (credibility, interest, participation, comprehension), approaches (individual, group, mass).' }, { 'topic': '4. Cohort Study - Design, Steps, Advantages & Disadvantages', 'freq': '★★★ Appeared 5 times', 'questions': [ 'You are a researcher awarded a grant to study lifestyle habits over 10 years to find risk factors for CVD. What is the most appropriate study design? Describe the steps with advantages. [Apr-2025, RS-4]', 'Define epidemiology. Classify epidemiological study designs. Describe the steps in conducting a Cohort study with suitable examples. [Sep-2021, RS3]', 'Discuss design, conduct and analysis of a Cohort study. Mention advantages and disadvantages. [Nov-2020, RS3]', 'Define Cohort. Describe in brief about Cohort studies and write a note on its Advantages and Disadvantages. [Dec-2019, RS2/RS3]', 'Define Epidemiology. Classify Epidemiological Study Designs. Write about the Advantages and Disadvantages of Cohort study. [Jun-2017, RS2/RS3]', ], 'note': 'Compare prospective vs retrospective cohort; always include advantages (temporal sequence, multiple outcomes, RR calculation) and disadvantages (time, cost, attrition).' }, { 'topic': '5. Pneumoconiosis / Occupational Lung Diseases', 'freq': '★★★ Appeared 5 times', 'questions': [ 'A 38-year-old man with dyspnoea working in stone quarries, CXR shows snow-storm appearance. Describe the epidemiology, preventive and control measures of this condition. [May-2023, RS-4]', 'Classify Occupational diseases and describe the types of Pneumoconiosis. [Aug-2024, RS3]', 'Enumerate Occupational Diseases. Write in detail about Pneumoconiosis. [Feb-2022, RS3]', 'Pneumoconiosis. [Jun-2019, RS2/RS3 - Short Essay]', ], 'note': 'Types: silicosis, coal workers pneumoconiosis (CWP), asbestosis, byssinosis. Clinical features, prevention: dust control, PPE, health surveillance.' }, { 'topic': '6. Indicators of Health / Morbidity Indicators', 'freq': '★★★ Appeared 4 times', 'questions': [ 'Mention the characteristics of a health indicator. Classify health indicators. Describe the Morbidity indicators of health. [Apr-2025 & Feb-2023, RS-4 - EXACT REPEAT]', 'Define Health. List the various Indicators of Health and add a note on Physical Quality of Life Index. [Aug-2024, RS3]', 'Morbidity Indicators of Health. [Dec-2018, RS2/RS3 - Short Essay]', 'Indicators of Health. [Apr-2025, RS3 - Short Essay]', ], 'note': 'Classify: mortality, morbidity, disability, nutritional, healthcare delivery, socioeconomic, HFA indicators. Morbidity = incidence, prevalence, notification rates, hospital admission rates.' }, { 'topic': '7. Water Purification Methods', 'freq': '★★★ Appeared 4 times', 'questions': [ 'Classify water-borne diseases. Describe in detail the various methods of purification of water on a large scale. [Jul-2022, RS3]', 'Describe the methods of purification of water on a small scale. [Feb-2023, RS3]', 'What are the various methods of Purification of water and mention clearly about household purification of water. [Jun-2019, RS2/RS3]', 'Methods of household purification of water. [Dec-2019, RS2/RS3 - Short Answer]', ], 'note': 'Large scale: storage, sedimentation, coagulation, filtration (slow/rapid sand), disinfection (chlorination). Small scale: boiling, chemical (Halazone, bleaching powder), household filters, SODIS.' }, { 'topic': '8. Nutrition - Malnutrition & Infection / PEM', 'freq': '★★ Appeared 3 times', 'questions': [ 'Define Nutrition. Describe the inter-relation between malnutrition and infection. Discuss the measures that should be taken to interrupt this relationship. [Jun-2024, RS-4]', 'Enumerate the nutritional problems in Public Health. Describe the prevention of Protein Energy Malnutrition (PEM) in the community. [Apr-2025, RS3]', 'What are Micronutrients? Describe their role in Nutrition and discuss the Management of Diseases due to their deficiency. [Dec-2019, RS2/RS3]', ], 'note': 'Nutrition-infection cycle; PEM types (marasmus, kwashiorkor); prevention through ICDS, supplementary feeding, deworming, immunization, WASH.' }, ] for essay in long_essays: story.append(Paragraph(essay['topic'], subsection_style)) story.append(Paragraph(essay['freq'], freq_style)) for i, q in enumerate(essay['questions'], 1): story.append(Paragraph(f'{i}. {q}', q_style)) if essay.get('note'): story.append(Paragraph(f'Tip: {essay[\"note\"]}', note_style)) story.append(Spacer(1, 0.15*cm)) # ===== SECTION 2: SHORT ESSAYS ===== story.append(Paragraph(' SECTION B: SHORT ESSAYS (Most Repeated)', section_style)) story.append(Spacer(1, 0.2*cm)) short_essays = [ { 'topic': '9. Biomedical Waste (BMW) Management', 'freq': '★★★ Appeared 6 times', 'questions': [ 'Classify Biomedical Waste (BMW). What are the hazards of improper management of BMW? [Jan-2025, RS-4/5]', 'Describe the common bio-medical waste treatment and disposal process in hospitals. [Apr-2025, RS-4]', 'Describe various methods of treatment and disposal of health care waste. [Jun-2024, RS-4]', 'Classify Biomedical Waste. How is waste in the white colored bin treated and disposed? [Feb-2024, RS-4]', 'Describe incineration of biomedical waste. [May-2023, RS-4]', 'Write briefly the steps involved in Bio Medical Waste management in a health facility. [Feb-2023, RS-4]', ], 'note': 'BMW Rules 2016: colour coding (yellow, red, white, blue), treatment (autoclave, microwave, incineration, chemical), categories of waste.' }, { 'topic': '10. Screening Test - Validity, Sensitivity, Specificity', 'freq': '★★★ Appeared 5+ times', 'questions': [ 'Describe the components of validity of a screening test with 2x2 table. [Jan-2025 & Feb-2023, RS-4 - EXACT REPEAT]', 'List the measures of validity of a screening test. [Apr-2025, RS-4 - Short Answer]', 'Define sensitivity and specificity of a screening test. [Jun-2024, RS-4]', 'Screening test versus Diagnostic test. [Jan-2024, RS3]', 'Types and uses of Screening. [Mar-2021, RS3]; Uses of Screening. [Jun-2017, RS3]', 'Define Screening. Types of Screening. [Dec-2019, RS2/RS3]', ], 'note': '2x2 table (TP, FP, FN, TN), sensitivity = TP/(TP+FN), specificity = TN/(TN+FP), PPV, NPV, ROC curve. Wilson criteria for screening.' }, { 'topic': '11. Surveillance - Definition & Types', 'freq': '★★★ Appeared 5 times', 'questions': [ 'Define surveillance. List the different types of surveillance with suitable examples. [Jun-2024 & Apr-2025, RS-4]', 'Sentinel surveillance - define with example. [Feb-2024, RS-4; Dec-2019 & Mar-2021, RS3]', 'Define Surveillance. [Feb-2023, RS3 - Short Answer]', 'Monitoring and surveillance. [Apr-2025, RS3 - Short Essay]', ], 'note': 'Types: passive, active, sentinel, syndromic, event-based, participatory. Distinguish from monitoring. IDSP in India.' }, { 'topic': '12. Human Development Index (HDI)', 'freq': '★★★ Appeared 4 times', 'questions': [ 'What is Human Development Index (HDI)? What are the steps to estimate HDI? [Jun-2024 & Feb-2024, RS-4 - EXACT REPEAT]', 'Human Development Index. [Mar-2021, Jun-2019, Jun-2017, RS3]', ], 'note': 'HDI = geometric mean of 3 indices: health (life expectancy), education (mean/expected years of schooling), income (GNI per capita). UNDP report annually.' }, { 'topic': '13. Integrated Vector Control', 'freq': '★★★ Appeared 3 times', 'questions': [ 'Enumerate the diseases transmitted by vectors. Discuss integrated vector control method as an efficient strategy to control vector borne diseases. [Jan-2025, RS-4 - Long Essay]', 'Define integrated vector control. Describe the physical methods of vector control. [Apr-2025, RS-4]', 'Anti-Larval measures of mosquito control. [Aug-2024, RS3]', ], 'note': 'IVM components: biological (larvivorous fish, Bti), physical (source reduction, environmental management), chemical (insecticides), legislative, personal protection.' }, { 'topic': '14. ESI Act - Benefits to Employees', 'freq': '★★★ Appeared 4 times', 'questions': [ 'Define Social security. Describe in detail the Benefits to the Employee under Employee\'s State Insurance Act 1948. [Sep-2021, RS3 - Long Essay]', 'Benefits under the ESI scheme. [Jul-2022, RS3 - Short Essay]', 'Sickness Benefit under Employees State Insurance Act. [Dec-2019, RS2/RS3 - Short Essay]', 'Social security. [Jun-2019, RS2/RS3 - Short Essay]; Benefits of ESI. [Jul-2023, RS3 - Short Answer]', ], 'note': '6 types of benefits: sickness, maternity, disablement (temporary/permanent), dependent, medical, funeral expenses. Covers factories with 10+ workers.' }, { 'topic': '15. Disinfection - Types & Chemical Disinfectants', 'freq': '★★★ Appeared 4 times', 'questions': [ 'Describe the different types of disinfection with suitable examples. [Jan-2025 & May-2023, RS-4 - EXACT REPEAT]', 'Define Disinfection. Classify Disinfectants. Write in detail about Chemical Disinfectants. [Jan-2024, RS3 - Long Essay]', 'Define Disinfection. Properties of an ideal disinfectant. [Dec-2019, RS2/RS3 - Short Answer]', ], 'note': 'Types: concurrent, terminal, disinfection vs sterilization. Chemical agents: halogens (chlorine, iodine), phenolics, alcohols, formaldehyde, glutaraldehyde, quaternary ammonium compounds.' }, { 'topic': '16. Sickness Absenteeism', 'freq': '★★ Appeared 3 times', 'questions': [ 'Sickness Absenteeism. [Jan-2024, Aug-2024, RS3 - Short Essay/Answer]', 'Sickness Absenteeism. [Jun-2017, RS2/RS3 - Short Essay]', ], 'note': 'Definition, causes, indices (frequency rate, severity rate, duration rate), control measures, legal provisions, impact on industry.' }, { 'topic': '17. Odds Ratio / Relative Risk / Attributable Risk', 'freq': '★★★ Appeared 4 times', 'questions': [ 'Define Odds Ratio and Relative Risk with suitable examples. [Jul-2023, RS3]', 'Relative Risk and Attributable Risk. [Feb-2022, RS3 & Jul-2018, RS2/RS3]', 'Odd\'s Ratio. [Mar-2021, RS3 - Short Answer]', ], 'note': 'OR = (a x d)/(b x c) from 2x2 table; RR = Ie/Io; AR = Ie - Io; PAR = attributable risk in entire population.' }, { 'topic': '18. Iodine / Iron Deficiency - Prevention & Control', 'freq': '★★ Appeared 3 times', 'questions': [ 'Discuss prevention and control measures against Iodine deficiency disorders in India. [Jan-2025, RS-4]', 'Describe the epidemiology, methods of evaluation and prevention of iron deficiency anemia. [Apr-2025, RS-4]', 'Prevention of Iodine Deficiency Disorders in the community. [Jul-2023 & Jun-2017, RS3 - EXACT REPEAT]', ], 'note': 'IDD: iodized salt, iodized oil injections, goitre survey. IDA: dietary diversification, iron-folic acid supplementation (WIFS, NIPI), fortification, deworming.' }, { 'topic': '19. Air Pollution - Health Hazards & Control', 'freq': '★★ Appeared 3 times', 'questions': [ 'Describe the health hazards of air pollution. Add a note on its preventive and control measures. [Apr-2025, RS-4]', 'Explain in detail about the Effects of Air Pollution and add a note on Prevention and Control of Air Pollution. [Jul-2018, RS2/RS3 - Long Essay]', 'Prevention of air pollution. [Apr-2025, RS3 - Short Answer]', ], 'note': 'Pollutants: SO2, NOx, CO, PM2.5, lead, ozone. Health effects: respiratory (COPD, asthma), CVD, cancer. Control: source control, legislation (Air Act 1981), CPCB standards.' }, { 'topic': '20. Pasteurization of Milk', 'freq': '★★ Appeared 3 times', 'questions': [ 'What is pasteurization? List the methods of pasteurization. [Jun-2024, RS-4 - Short Answer]', 'Methods of Pasteurization of milk. [Jul-2022, RS3 - Short Essay]', 'Pasteurization of milk. [Dec-2018, RS2/RS3 - Short Essay]', ], 'note': 'LTLT (63°C/30 min), HTST (72°C/15 sec), UHT (132°C/1-2 sec). Phosphatase test to confirm pasteurization. Kills TB, Brucella, Salmonella.' }, { 'topic': '21. Lathyrism', 'freq': '★★ Appeared 3 times', 'questions': [ 'Lathyrism. [Jan-2024, RS3 - Short Answer]', 'Write in brief about Lathyrism. [Dec-2019, RS2/RS3]', 'What is Lathyrism? What are the steps in its Prevention? [Jun-2017, RS2/RS3]', ], 'note': 'Caused by BOAA toxin in Lathyrus sativus (khesari dal). Spastic paraplegia. Prevention: limiting consumption, soaking/boiling, dietary diversification, govt. regulation.' }, { 'topic': '22. Demographic Cycle / Population', 'freq': '★★ Appeared 2 times', 'questions': [ 'Describe the stages of demographic cycle with example for each stage. [Apr-2025, RS-4]', 'Identify the causes and solutions for population explosion in India. [May-2023, RS-4]', ], 'note': '5 stages of demographic transition theory: high stationary, early expanding, late expanding, low stationary, declining. India is in stage 3-4 transition.' }, ] for essay in short_essays: story.append(Paragraph(essay['topic'], subsection_style)) story.append(Paragraph(essay['freq'], freq_style)) for i, q in enumerate(essay['questions'], 1): story.append(Paragraph(f'{i}. {q}', q_style)) if essay.get('note'): story.append(Paragraph(f'Tip: {essay[\"note\"]}', note_style)) story.append(Spacer(1, 0.15*cm)) # ===== SECTION 3: SHORT ANSWERS ===== story.append(Paragraph(' SECTION C: SHORT ANSWERS (Most Repeated)', section_style)) story.append(Spacer(1, 0.2*cm)) short_answers = [ ('23. Ergonomics', '★★ Appeared 4 times', 'Jun-2024 (software engineers), Jan-2025, Sep-2021, Dec-2019, Mar-2021. Definition, principles, ergonomic hazards, preventive measures.'), ('24. Composting', '★★ Appeared 4 times', 'Sep-2021, Dec-2019, Jul-2018, Mar-2021. Definition, types (aerobic/anaerobic), Indore method, advantages over landfill.'), ('25. Sentinel Surveillance', '★★ Appeared 3 times', 'Feb-2024, Dec-2019, Mar-2021. Specific sites/institutions selected for detailed surveillance; examples: HIV sentinel surveillance.'), ('26. Sickness Absenteeism', '★★ Appeared 3 times', 'Also listed under Short Essays - see Topic 16 above.'), ('27. Disability Adjusted Life Years (DALY)', '★★ Appeared 2 times', 'Jan-2025 RS-4, and related disability indicators in Jun-2017. DALY = YLL + YLD. Used in Global Burden of Disease study.'), ('28. UNICEF Functions', '★★ Appeared 2 times (exact)', 'Jun-2024 & Apr-2025. UNICEF roles: child nutrition, immunization, education, WASH, child protection, emergency response.'), ('29. Cold Chain / VVM', '★★ Appeared 2 times', 'Jun-2024 (cold chain + VVM); Sep-2021 (cold chain equipment). ILR, deep freezer, vaccine carrier, ice pack. VVM: colour changes on heat exposure.'), ('30. Types of Epidemics / Epidemic Curve', '★★ Appeared 3 times', 'Apr-2025 (types with examples), Aug-2024 (types), Feb-2022 (epidemic curve). Common source, propagated/propagating, mixed.'), ('31. Measures of Dispersion', '★★ Appeared 2 times', 'Feb-2023 RS-4, Mar-2021 RS3, Dec-2019. Range, quartile deviation, mean deviation, standard deviation, variance, coefficient of variation.'), ('32. Overcrowding', '★★ Appeared 2 times', 'Jan-2024 RS3, Feb-2022 RS3. Definition, measurement (cubic space/sleeping space standards), health effects (TB, ARI, meningitis).'), ('33. Types of Carriers', '★★ Appeared 2 times', 'Jan-2025 RS-4, Dec-2019 RS2/RS3. Healthy, incubatory, convalescent, chronic carriers. Importance in disease control.'), ('34. Oxidation Pond / Water Treatment', '★★ Appeared 2 times', 'Feb-2024 (functioning of oxidation pond), Aug-2024 (slow sand filter elements). Wastewater treatment: anaerobic, facultative, aerobic zones.'), ('35. Typhoid / Chlorination Principles', '★★ Appeared 2 times', 'Jan-2024 (principles of chlorination). Breakpoint chlorination, residual chlorine 0.2-0.5 ppm, OT test, Horrock\'s apparatus.'), ('36. Nutritional Anaemia - Control in India', '★★ Appeared 2 times', 'Jan-2025 (initiatives to combat nutritional anaemia), Feb-2023 (prevention). IFA supplementation, WIFS, NHM, POSHAN Abhiyaan, food fortification.'), ] for topic, freq, note in short_answers: story.append(Paragraph(topic, subsection_style)) story.append(Paragraph(freq, freq_style)) story.append(Paragraph(note, note_style)) story.append(Spacer(1, 0.1*cm)) # ===== SECTION 4: SUMMARY TABLE ===== story.append(Paragraph(' SECTION D: PRIORITY SUMMARY TABLE', section_style)) story.append(Spacer(1, 0.3*cm)) table_data = [ ['#', 'Topic', 'Times\nRepeated', 'Type', 'Priority'], ['1', 'Epidemic investigation / Endemic-Epidemic-Pandemic', '6', 'Long Essay', '★★★'], ['2', 'Case Control Study', '6', 'Long Essay', '★★★'], ['3', 'Biomedical Waste Management', '6', 'Short Essay', '★★★'], ['4', 'Health Education (principles/models)', '5', 'Long Essay', '★★★'], ['5', 'Cohort Study', '5', 'Long Essay', '★★★'], ['6', 'Screening test validity/sensitivity', '5+', 'Short Essay', '★★★'], ['7', 'Pneumoconiosis / Occupational disease', '5', 'Long Essay', '★★★'], ['8', 'Water purification methods', '4', 'Long Essay', '★★★'], ['9', 'Indicators of Health / Morbidity indicators', '4', 'Long Essay', '★★★'], ['10', 'Surveillance - definition & types', '5', 'Short Essay', '★★★'], ['11', 'Human Development Index (HDI)', '4', 'Short Essay', '★★★'], ['12', 'ESI Act - employee benefits', '4', 'Short Essay', '★★'], ['13', 'Disinfection / Disinfectants', '4', 'Short Essay', '★★'], ['14', 'Odds Ratio / Relative Risk', '4', 'Short Essay', '★★'], ['15', 'Integrated Vector Control', '3', 'Long/Short Essay', '★★'], ['16', 'Iodine / Iron Deficiency disorders', '3', 'Short Essay', '★★'], ['17', 'Air pollution hazards & control', '3', 'Short Essay', '★★'], ['18', 'Sickness Absenteeism', '3', 'Short Essay', '★★'], ['19', 'Pasteurization of milk', '3', 'Short Essay', '★★'], ['20', 'Lathyrism', '3', 'Short Essay/Answer', '★★'], ['21', 'Ergonomics', '4', 'Short Answer', '★★'], ['22', 'Composting', '4', 'Short Answer', '★★'], ['23', 'Sentinel Surveillance', '3', 'Short Answer', '★★'], ['24', 'Types of Epidemics / Epidemic Curve', '3', 'Short Answer', '★★'], ] col_widths = [1*cm, 8.5*cm, 1.8*cm, 3.2*cm, 2*cm] t = Table(table_data, colWidths=col_widths, repeatRows=1) t.setStyle(TableStyle([ ('BACKGROUND', (0,0), (-1,0), colors.HexColor('#1a3a5c')), ('TEXTCOLOR', (0,0), (-1,0), colors.white), ('FONTNAME', (0,0), (-1,0), 'Helvetica-Bold'), ('FONTSIZE', (0,0), (-1,0), 9), ('ALIGN', (0,0), (-1,-1), 'CENTER'), ('ALIGN', (1,0), (1,-1), 'LEFT'), ('VALIGN', (0,0), (-1,-1), 'MIDDLE'), ('FONTNAME', (0,1), (-1,-1), 'Helvetica'), ('FONTSIZE', (0,1), (-1,-1), 9), ('ROWBACKGROUNDS', (0,1), (-1,-1), [colors.HexColor('#f7fafc'), colors.HexColor('#ebf8ff')]), ('GRID', (0,0), (-1,-1), 0.5, colors.HexColor('#b2d4f0')), ('LEFTPADDING', (0,0), (-1,-1), 4), ('RIGHTPADDING', (0,0), (-1,-1), 4), ('TOPPADDING', (0,0), (-1,-1), 3), ('BOTTOMPADDING', (0,0), (-1,-1), 3), # Highlight top priority rows ('BACKGROUND', (4,1), (4,10), colors.HexColor('#fef3c7')), ('TEXTCOLOR', (4,1), (4,10), colors.HexColor('#92400e')), ('FONTNAME', (4,1), (4,10), 'Helvetica-Bold'), ])) story.append(t) story.append(Spacer(1, 0.4*cm)) story.append(HRFlowable(width='100%', thickness=1, color=colors.HexColor('#1a3a5c'))) story.append(Spacer(1, 0.2*cm)) story.append(Paragraph( 'Source: RGUHS MBBS Phase III Part I Community Medicine Paper I (QP 1035 & QP 1088), 2017-2025. ' 'Compiled from past papers. Questions paraphrased for clarity.', ParagraphStyle('Footer', parent=styles['Normal'], fontSize=8, textColor=colors.grey, alignment=TA_CENTER, fontName='Helvetica-Oblique'))) doc.build(story) print('PDF created successfully:', output_path) "
commed repeated questions
PDF Document · PDF
Is this enough to get 50+ in internals
Can u give me detailed answers for all those questions from the pdf u made according to the marks
How would you like the detailed answers? · Which sections should have full detailed answers?
Can u give me detailed answers for all those questions from the pdf u made according to the marks