I want 2026 July fmge medicine question
FMGE July 2026 medicine questions paper
https://medicine.careers360.com/articles/fmge-2026-question-…
FMGE June 2026 memory based questions medicine subject answers
https://www.pw.live/neet-pg/exams/fmge-june-2026-exam-analys…
Give 20 question with explaintation
| Q | Topic | Key Answer |
|---|---|---|
| 1 | Altitude sickness | Acetazolamide (prophylaxis) |
| 2 | Anion gap | AG = Na-(Cl+HCO3); normal = 12 |
| 3 | ALS | UMN + LMN, NO sensory loss |
| 4 | DKA | IV fluids FIRST, then insulin |
| 5 | Thyroid storm | Propranolol (blocks T4→T3) |
| 6 | Nephrotic syndrome | MCD (normal LM, foot process effacement on EM) |
| 7 | Endocarditis (IVDU) | Tricuspid valve, S. aureus |
| 8 | Hypertensive emergency | IV antihypertensives, reduce MAP 25% in 1 hr |
| 9 | PE | CTPA gold standard; D-dimer rules out |
| 10 | HFrEF | Carvedilol, ACEi, spironolactone, SGLT2i reduce mortality |
| 11 | AF anticoagulation | CHA2DS2-VASc ≥2 → DOAC |
| 12 | Wilson's disease | Penicillamine (chelator); KF rings |
| 13 | Addison's disease | Hyperpigmentation + hypoNa + hyperK |
| 14 | RA | Methotrexate (anchor DMARD) |
| 15 | Meningococcal meningitis | N. meningitidis; petechial rash |
| 16 | COPD exacerbation | Controlled O2 (88-92%), NOT high-flow |
| 17 | H. pylori triple therapy | OCA x 14 days |
| 18 | SBP | PMN ≥250; IV Cefotaxime |
| 19 | Ischemic stroke | tPA within 4.5 hours |
| 20 | Falciparum malaria | Banana gametocytes; ACT (Artemether-Lumefantrine) |
Make pdf
ls -la /tmp/workspace/ 2>/dev/null || mkdir -p /tmp/workspace && echo "workspace ready"
mkdir -p /tmp/workspace/fmge-2026 && cat > /tmp/workspace/fmge-2026/generate_pdf.py << 'PYEOF' from reportlab.lib.pagesizes import A4 from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle from reportlab.lib.units import cm from reportlab.lib import colors from reportlab.platypus import SimpleDocTemplate, Paragraph, Spacer, Table, TableStyle, HRFlowable, PageBreak from reportlab.lib.enums import TA_CENTER, TA_LEFT, TA_JUSTIFY import os output_path = "/tmp/workspace/fmge-2026/FMGE_June2026_Medicine_20Questions.pdf" doc = SimpleDocTemplate( output_path, pagesize=A4, rightMargin=2*cm, leftMargin=2*cm, topMargin=2*cm, bottomMargin=2*cm ) styles = getSampleStyleSheet() # Custom styles title_style = ParagraphStyle( 'CustomTitle', parent=styles['Title'], fontSize=20, textColor=colors.HexColor('#1a3c6b'), spaceAfter=6, alignment=TA_CENTER, fontName='Helvetica-Bold' ) subtitle_style = ParagraphStyle( 'Subtitle', parent=styles['Normal'], fontSize=12, textColor=colors.HexColor('#2e6da4'), spaceAfter=4, alignment=TA_CENTER, fontName='Helvetica' ) q_num_style = ParagraphStyle( 'QNum', parent=styles['Normal'], fontSize=13, textColor=colors.white, fontName='Helvetica-Bold', alignment=TA_CENTER ) question_style = ParagraphStyle( 'Question', parent=styles['Normal'], fontSize=11, textColor=colors.HexColor('#1a1a1a'), fontName='Helvetica-Bold', spaceAfter=6, spaceBefore=4, leading=16 ) option_style = ParagraphStyle( 'Option', parent=styles['Normal'], fontSize=10.5, textColor=colors.HexColor('#333333'), fontName='Helvetica', spaceAfter=2, leftIndent=12, leading=14 ) answer_style = ParagraphStyle( 'Answer', parent=styles['Normal'], fontSize=11, textColor=colors.HexColor('#1a6b2e'), fontName='Helvetica-Bold', spaceAfter=4, spaceBefore=4 ) explanation_style = ParagraphStyle( 'Explanation', parent=styles['Normal'], fontSize=10, textColor=colors.HexColor('#222222'), fontName='Helvetica', spaceAfter=4, leading=15, alignment=TA_JUSTIFY ) source_style = ParagraphStyle( 'Source', parent=styles['Normal'], fontSize=9, textColor=colors.HexColor('#666666'), fontName='Helvetica-Oblique', spaceAfter=2 ) section_head_style = ParagraphStyle( 'SectionHead', parent=styles['Normal'], fontSize=10.5, textColor=colors.HexColor('#8B0000'), fontName='Helvetica-Bold', spaceAfter=3, spaceBefore=2 ) # ---- Content Data ---- questions = [ { "num": 1, "topic": "Altitude Sickness / Prophylaxis", "question": "A 28-year-old trekker is planning an expedition to 4500 m altitude. Which drug is most appropriate for PROPHYLAXIS of Acute Mountain Sickness (AMS)?", "options": ["A) Aspirin", "B) Acetazolamide", "C) Nifedipine", "D) Ibuprofen"], "answer": "B) Acetazolamide", "explanation": ( "Acetazolamide (carbonic anhydrase inhibitor) is the drug of choice for prophylaxis of AMS. " "It works by inducing a metabolic acidosis, which stimulates ventilation and aids acclimatization. " "Prophylactic dose: 125-250 mg BD, started 1-2 days before ascent. " "For TREATMENT of established AMS - immediate DESCENT is the definitive intervention. " "Nifedipine is used specifically for High-Altitude Pulmonary Edema (HAPE)." ), "source": "Goodman & Gilman's Pharmacological Basis of Therapeutics; Lippincott Pharmacology" }, { "num": 2, "topic": "Anion Gap Calculation", "question": "ABG shows pH 7.22, HCO3 8 mEq/L. Serum Na+ = 140, Cl- = 100, HCO3 = 8. What is the Anion Gap and type of acidosis?", "options": ["A) AG = 12, Normal anion gap metabolic acidosis", "B) AG = 32, High anion gap metabolic acidosis", "C) AG = 20, Normal anion gap metabolic acidosis", "D) AG = 8, Respiratory acidosis"], "answer": "B) AG = 32, High anion gap metabolic acidosis", "explanation": ( "Anion Gap = Na+ - (Cl- + HCO3-) = 140 - (100 + 8) = 32 mEq/L (normal = 8-12 mEq/L). " "High AG metabolic acidosis - mnemonic MUDPILES: Methanol, Uremia, DKA, Propylene glycol, " "Isoniazid/Iron, Lactic acidosis, Ethylene glycol, Salicylates. " "Normal AG (hyperchloremic) metabolic acidosis: Diarrhea, RTA, ureteral diversion." ), "source": "Swanson's Family Medicine Review; Rosen's Emergency Medicine" }, { "num": 3, "topic": "ALS (Amyotrophic Lateral Sclerosis)", "question": "A 55-year-old male presents with progressive weakness, muscle wasting, fasciculations, hyperreflexia, and spasticity. Sensory examination is NORMAL. What is the most likely diagnosis?", "options": ["A) Multiple sclerosis", "B) Myasthenia gravis", "C) Amyotrophic Lateral Sclerosis (ALS)", "D) Guillain-Barre Syndrome"], "answer": "C) Amyotrophic Lateral Sclerosis (ALS)", "explanation": ( "ALS (Lou Gehrig disease) involves BOTH upper AND lower motor neurons simultaneously. " "UMN signs: spasticity, hyperreflexia, Babinski positive. " "LMN signs: wasting, fasciculations, hypotonia. " "KEY HALLMARK: Sensory system is COMPLETELY SPARED. " "Treatment: Riluzole (glutamate antagonist) and Edaravone (free radical scavenger). " "Prognosis: Poor - median survival 3-5 years." ), "source": "Bradley and Daroff's Neurology; Robbins & Kumar Pathology" }, { "num": 4, "topic": "DKA Management", "question": "A 22-year-old T1DM patient presents with polyuria, Kussmaul breathing, glucose 450 mg/dL, pH 7.12, HCO3 10. Serum K+ = 5.8 mEq/L. What is the FIRST step in management?", "options": ["A) IV insulin bolus immediately", "B) IV 0.9% Normal Saline", "C) IV Potassium replacement", "D) Sodium bicarbonate"], "answer": "B) IV 0.9% Normal Saline", "explanation": ( "DKA management priority: 1) IV fluids FIRST (0.9% NS at 1 L/hr) - corrects dehydration. " "2) Insulin - start only after K+ > 3.5 mEq/L (to avoid fatal hypokalemia); 0.1 units/kg/hr. " "3) Potassium - replace when K+ < 5.5 (total body K+ is depleted even if serum appears high). " "4) Bicarbonate - ONLY if pH < 6.9. " "NEVER start insulin before fluid resuscitation!" ), "source": "Washington Manual of Medical Therapeutics; Comprehensive Clinical Nephrology" }, { "num": 5, "topic": "Thyroid Storm", "question": "A 35-year-old female post-surgery develops fever 40°C, HR 160, agitation, and confusion. What is the drug of choice for controlling heart rate in Thyroid Storm?", "options": ["A) Metoprolol", "B) Propranolol", "C) Atenolol", "D) Digoxin"], "answer": "B) Propranolol", "explanation": ( "Propranolol is the beta-blocker of choice in thyroid storm because it: " "(1) Controls tachycardia via sympathetic blockade; " "(2) Inhibits peripheral conversion of T4 to T3 (unique to non-selective beta-blockers). " "Full thyroid storm Rx: PTU (blocks synthesis + T4->T3) + Propranolol + " "Lugol's iodine (1 hr after PTU) + Hydrocortisone + Supportive care." ), "source": "Tintinalli's Emergency Medicine; Sabiston Surgery Textbook" }, { "num": 6, "topic": "Nephrotic Syndrome / Minimal Change Disease", "question": "A 6-year-old presents with periorbital puffiness, 4+ proteinuria, albumin 1.8 g/dL, cholesterol 340 mg/dL, normal BP. Kidney biopsy shows no abnormality on light microscopy. Diagnosis?", "options": ["A) IgA Nephropathy", "B) Focal Segmental Glomerulosclerosis", "C) Minimal Change Disease", "D) Membranous Nephropathy"], "answer": "C) Minimal Change Disease (MCD)", "explanation": ( "Nephrotic syndrome: Proteinuria >3.5 g/day, hypoalbuminemia, edema, hyperlipidemia/lipiduria. " "MCD is the most common cause in CHILDREN (80% of cases). " "Biopsy: Light microscopy NORMAL; EM shows foot process effacement (hallmark); IF negative. " "Treatment: Corticosteroids (prednisolone) - 90% respond. " "Membranous nephropathy = most common cause in adults." ), "source": "Symptom to Diagnosis; Brenner & Rector's The Kidney" }, { "num": 7, "topic": "Infective Endocarditis (IVDU)", "question": "A 30-year-old IV drug user presents with fever, new murmur, and multiple peripheral emboli. Blood cultures grow S. aureus. Which valve is most commonly affected?", "options": ["A) Mitral valve", "B) Aortic valve", "C) Tricuspid valve", "D) Pulmonary valve"], "answer": "C) Tricuspid valve", "explanation": ( "In IV drug users, RIGHT-sided heart is affected - especially the TRICUSPID valve. " "Bacteria enter venous circulation and seed right-sided structures. " "Features: Septic pulmonary emboli (cavitating lesions on CXR). " "S. aureus is the most common organism in IVDU-IE. " "Left-sided IE: Causes systemic emboli - Osler nodes, Janeway lesions, Roth spots, splenic/renal infarcts. " "Duke Criteria: 2 major OR 1 major + 3 minor OR 5 minor = definite IE." ), "source": "Harrison's Principles of Internal Medicine" }, { "num": 8, "topic": "Hypertensive Emergency", "question": "A 55-year-old presents with BP 220/130 mmHg, papilledema, and hematuria. What is the most appropriate management?", "options": ["A) Oral nifedipine", "B) IV Labetalol or IV Nicardipine", "C) Oral amlodipine", "D) IM furosemide"], "answer": "B) IV Labetalol or IV Nicardipine", "explanation": ( "Hypertensive emergency = elevated BP + acute target organ damage (eyes, kidneys, brain). " "Management: Admit to ICU; IV antihypertensives (IV labetalol, IV nicardipine, IV nitroprusside). " "Reduce MAP by NO MORE than 25% in the first hour, then gradually to 160/100 over 2-6 hours. " "AVOID rapid drops - can cause stroke, MI, renal failure. " "Oral nifedipine is CONTRAINDICATED - causes unpredictable rapid BP drop. " "Urgency (no organ damage) = oral agents, outpatient." ), "source": "Goldman-Cecil Medicine; Tintinalli's Emergency Medicine" }, { "num": 9, "topic": "Pulmonary Embolism", "question": "A 45-year-old post-operative patient develops sudden dyspnea, pleuritic chest pain, SpO2 88%. ECG shows S1Q3T3. What is the GOLD STANDARD diagnostic test?", "options": ["A) Chest X-ray", "B) D-dimer", "C) CT Pulmonary Angiography (CTPA)", "D) V/Q scan"], "answer": "C) CT Pulmonary Angiography (CTPA)", "explanation": ( "CTPA is the gold standard for diagnosing PE. " "D-dimer: High sensitivity, LOW specificity - useful to RULE OUT PE in low-probability patients. " "ECG S1Q3T3: Classic but not sensitive (also seen in RV strain). " "CXR: Often normal; may show Hampton's hump (wedge opacity) or Westermark sign (oligemia). " "V/Q scan: Use when CTPA contraindicated (renal failure, dye allergy, pregnancy). " "Treatment: Anticoagulation (heparin initially). Thrombolytics for massive PE with hemodynamic instability." ), "source": "Harrison's Principles of Internal Medicine; Goldman-Cecil Medicine" }, { "num": 10, "topic": "Heart Failure with Reduced EF (HFrEF)", "question": "A 60-year-old with HFrEF (EF=30%) on optimal therapy. Which drug is proven to REDUCE MORTALITY?", "options": ["A) Amlodipine", "B) Digoxin", "C) Carvedilol (beta-blocker)", "D) Furosemide"], "answer": "C) Carvedilol", "explanation": ( "Drugs proven to reduce MORTALITY in HFrEF: " "1) ACE inhibitors / ARBs (or ARNi - Sacubitril/Valsartan); " "2) Beta-blockers: Carvedilol, Metoprolol succinate, Bisoprolol (only these 3 proven); " "3) Aldosterone antagonists: Spironolactone, Eplerenone; " "4) SGLT2 inhibitors: Dapagliflozin, Empagliflozin. " "Furosemide = symptom relief only, NO mortality benefit. " "Digoxin = reduces hospitalizations, NO mortality benefit." ), "source": "Goldman-Cecil Medicine; Harrison's Principles of Internal Medicine" }, { "num": 11, "topic": "Atrial Fibrillation - Anticoagulation", "question": "A 65-year-old with AF has CHA2DS2-VASc score of 3. What is the most appropriate management?", "options": ["A) Aspirin alone", "B) Warfarin or DOAC (e.g. Apixaban)", "C) Heparin infusion", "D) No anticoagulation needed"], "answer": "B) Warfarin or DOAC (e.g. Apixaban)", "explanation": ( "CHA2DS2-VASc: C=CHF(1), H=HTN(1), A2=Age>=75(2), D=DM(1), S2=Stroke/TIA(2), V=Vascular disease(1), " "A=Age 65-74(1), Sc=Sex female(1). " "Score >= 2 (male) or >= 3 (female) = Oral anticoagulation RECOMMENDED. " "DOACs (apixaban, rivaroxaban, dabigatran) preferred over warfarin for non-valvular AF " "(no INR monitoring needed). Warfarin used for valvular AF (mechanical valves, mitral stenosis)." ), "source": "Harrison's Principles of Internal Medicine" }, { "num": 12, "topic": "Wilson's Disease", "question": "A 20-year-old presents with liver cirrhosis, neuropsychiatric symptoms, and Kayser-Fleischer rings. Serum ceruloplasmin is low. What is the treatment of choice?", "options": ["A) Penicillamine", "B) Deferoxamine", "C) Succimer", "D) Activated charcoal"], "answer": "A) Penicillamine", "explanation": ( "Wilson's disease = AR disorder of copper metabolism (ATP7B gene, chromosome 13). " "Copper accumulates in liver, brain, eyes, kidneys. " "KF rings (golden-brown corneal rings) = pathognomonic. " "Lab: Low ceruloplasmin (<20 mg/dL), elevated 24h urine copper. " "Treatment: Penicillamine (copper chelator) = first-line. " "Trientine = if penicillamine intolerant. " "Zinc = maintenance / asymptomatic patients (blocks copper absorption). " "Liver transplant for fulminant hepatic failure." ), "source": "Goldman-Cecil Medicine; Harrison's Principles of Internal Medicine" }, { "num": 13, "topic": "Addison's Disease", "question": "A 35-year-old presents with fatigue, weight loss, hyperpigmentation of skin and buccal mucosa, hypotension, hyponatremia, and hyperkalemia. Most likely diagnosis?", "options": ["A) Cushing's syndrome", "B) Primary adrenal insufficiency (Addison's disease)", "C) Secondary hypothyroidism", "D) SIADH"], "answer": "B) Addison's Disease", "explanation": ( "Primary adrenal insufficiency (Addison's disease): " "HYPERPIGMENTATION (high ACTH/MSH - ONLY in primary, NOT secondary insufficiency). " "Hyponatremia + Hyperkalemia = mineralocorticoid deficiency. " "Most common cause in developed world: Autoimmune adrenalitis. " "Diagnosis: Short Synacthen (ACTH stimulation) test - failure of cortisol to rise >18-20 mcg/dL. " "Treatment: Hydrocortisone + Fludrocortisone. Adrenal crisis: IV Hydrocortisone 100 mg stat." ), "source": "Goldman-Cecil Medicine" }, { "num": 14, "topic": "Rheumatoid Arthritis", "question": "A 40-year-old female has morning stiffness >1 hour, symmetrical MCP/PIP arthritis, subcutaneous nodules, positive RF. Drug of choice for long-term disease modification?", "options": ["A) Aspirin", "B) Prednisolone", "C) Methotrexate (MTX)", "D) Indomethacin"], "answer": "C) Methotrexate (MTX)", "explanation": ( "Methotrexate is the ANCHOR DMARD (Disease-Modifying Anti-Rheumatic Drug) for RA. " "Mechanism: Folic acid antagonist (inhibits dihydrofolate reductase). " "Given WEEKLY (oral/SC). Folic acid given on non-MTX days to reduce toxicity. " "Side effects: Hepatotoxicity, pulmonary fibrosis, bone marrow suppression, teratogenic. " "Anti-CCP antibody is MORE SPECIFIC for RA than RF. " "Biologic DMARDs (TNF inhibitors) added if MTX fails." ), "source": "Harrison's Principles of Internal Medicine" }, { "num": 15, "topic": "Meningococcal Meningitis", "question": "A 20-year-old college student has fever, severe headache, photophobia, neck stiffness, and a NON-BLANCHING petechial rash. Most likely causative organism?", "options": ["A) Streptococcus pneumoniae", "B) Neisseria meningitidis", "C) Listeria monocytogenes", "D) Haemophilus influenzae"], "answer": "B) Neisseria meningitidis", "explanation": ( "Non-blanching petechial/purpuric rash = HALLMARK of meningococcemia. " "N. meningitidis = gram-negative diplococcus. Common in college students (close contact). " "Can cause Waterhouse-Friderichsen syndrome (bilateral adrenal hemorrhage, shock). " "Treatment: IV Benzylpenicillin / IV Ceftriaxone - start IMMEDIATELY even before LP if rash present. " "Chemoprophylaxis for contacts: Rifampicin or single-dose Ciprofloxacin. " "S. pneumoniae = most common overall cause of bacterial meningitis in adults." ), "source": "Harrison's Principles of Internal Medicine; Goldman-Cecil Medicine" }, { "num": 16, "topic": "COPD Exacerbation", "question": "A 65-year-old chronic smoker with COPD has increased breathlessness, purulent sputum. ABG: pH 7.30, pCO2 65, pO2 52. First-line management?", "options": ["A) High-flow oxygen 15 L/min", "B) Controlled O2 (28%, 1-2 L/min) + bronchodilators + antibiotics", "C) IV methylprednisolone alone", "D) Immediate intubation"], "answer": "B) Controlled O2 + bronchodilators + antibiotics", "explanation": ( "COPD patients are chronic CO2 retainers with HYPOXIC DRIVE. " "High-flow O2 removes this drive causing respiratory depression (worsening hypercapnia). " "AECOPD management: Controlled O2 targeting SpO2 88-92%; " "Bronchodilators (Salbutamol + Ipratropium nebulized); " "Oral/IV prednisolone 5-7 days; " "Antibiotics (Amoxicillin/Doxycycline/Azithromycin) for purulent sputum; " "NIV (BiPAP) if pH <7.35 and pCO2 elevated after initial therapy. " "Intubation only if NIV fails." ), "source": "Goldman-Cecil Medicine; Harrison's Principles of Internal Medicine" }, { "num": 17, "topic": "H. pylori Triple Therapy", "question": "A 45-year-old has a duodenal ulcer on endoscopy. H. pylori is positive. What is the standard triple therapy?", "options": ["A) Omeprazole + Metronidazole + Tinidazole", "B) Omeprazole + Clarithromycin + Amoxicillin for 14 days", "C) Ranitidine + Ciprofloxacin + Doxycycline", "D) Lansoprazole + Tetracycline alone"], "answer": "B) Omeprazole + Clarithromycin + Amoxicillin (14 days)", "explanation": ( "Standard H. pylori eradication (OCA triple therapy): " "PPI + Clarithromycin + Amoxicillin for 14 days. " "If penicillin allergy: Replace amoxicillin with Metronidazole. " "Confirm eradication 4 weeks after: Urea breath test (preferred) or stool antigen test. " "H. pylori: Gram-negative, urease-positive, spiral rod. Type B (antral) gastritis. " "Eradication reduces ulcer recurrence from 80% to <10%." ), "source": "Goldman-Cecil Medicine" }, { "num": 18, "topic": "Spontaneous Bacterial Peritonitis (SBP)", "question": "A cirrhotic patient with ascites develops fever and abdominal pain. Ascitic fluid PMN = 300 cells/mm3. What is the treatment?", "options": ["A) IV Ampicillin + Cloxacillin", "B) IV Cefotaxime (3rd gen cephalosporin)", "C) Oral Ciprofloxacin", "D) Paracentesis alone"], "answer": "B) IV Cefotaxime", "explanation": ( "SBP diagnosis: Ascitic fluid PMN >= 250 cells/mm3 (even without positive culture = culture-negative SBP). " "Most common organisms: E. coli, Klebsiella, S. pneumoniae (gut flora translocation). " "Treatment: IV Cefotaxime 2g q8h for 5 days (or IV Ceftriaxone). " "Add IV Albumin (1.5 g/kg day 1, 1 g/kg day 3) to prevent hepatorenal syndrome. " "Long-term secondary prophylaxis: Norfloxacin 400 mg OD." ), "source": "Goldman-Cecil Medicine; Harrison's Principles of Internal Medicine" }, { "num": 19, "topic": "Ischemic Stroke - Thrombolysis", "question": "A 60-year-old hypertensive presents within 2 hours with sudden left hemiplegia. CT shows NO hemorrhage. Definitive treatment if eligible?", "options": ["A) Aspirin 300 mg immediately", "B) IV Alteplase (tPA) thrombolysis", "C) IV Heparin infusion", "D) Warfarin loading"], "answer": "B) IV Alteplase (tPA)", "explanation": ( "IV tPA (Alteplase) is indicated within 4.5 HOURS of symptom onset in ischemic stroke. " "Dose: 0.9 mg/kg IV (max 90 mg) - 10% as bolus, 90% over 60 minutes. " "Eligibility: No hemorrhage on CT, BP <185/110, no recent surgery/bleeding. " "Contraindications: Hemorrhagic stroke, uncontrolled BP, platelets <100,000, INR >1.7. " "Mechanical thrombectomy: For large vessel occlusion, up to 24 hours in selected patients. " "Aspirin: Given 24 hours AFTER tPA." ), "source": "Harrison's Principles of Internal Medicine; Goldman-Cecil Medicine" }, { "num": 20, "topic": "Falciparum Malaria", "question": "A 25-year-old returns from Assam with fever every 48 hrs, jaundice, and black urine (hemoglobinuria). Blood film shows BANANA-SHAPED gametocytes. Diagnosis and treatment?", "options": ["A) P. vivax - Chloroquine", "B) P. falciparum - Artemisinin-based Combination Therapy (ACT)", "C) P. malariae - Primaquine", "D) P. ovale - Quinine"], "answer": "B) P. falciparum - ACT (Artemether-Lumefantrine)", "explanation": ( "Banana/crescent-shaped gametocytes = PATHOGNOMONIC for P. falciparum. " "Blackwater fever (hemoglobinuria) = complication of falciparum malaria. " "Treatment: Artemether-Lumefantrine (Coartem) or Artesunate-based ACT for uncomplicated cases. " "Severe/cerebral malaria: IV Artesunate (preferred over IV quinine). " "P. vivax/ovale: Chloroquine + Primaquine (to eliminate liver hypnozoites, prevent relapse). " "Chloroquine-resistant P. falciparum is now widespread worldwide." ), "source": "Harrison's Principles of Internal Medicine; Goldman-Cecil Medicine" }, ] # Summary table data summary_data = [ ["Q#", "Topic", "Key Answer"], ["1", "Altitude Sickness", "Acetazolamide (prophylaxis)"], ["2", "Anion Gap", "AG = Na-(Cl+HCO3); normal = 12"], ["3", "ALS", "UMN + LMN signs; NO sensory loss"], ["4", "DKA", "IV Fluids FIRST, then insulin"], ["5", "Thyroid Storm", "Propranolol (also blocks T4->T3)"], ["6", "Nephrotic Syndrome", "MCD - normal LM, foot process effacement EM"], ["7", "IE in IVDU", "Tricuspid valve; S. aureus"], ["8", "Hypertensive Emergency", "IV antihypertensives; reduce MAP 25% in 1 hr"], ["9", "Pulmonary Embolism", "CTPA gold standard; D-dimer rules out"], ["10", "HFrEF", "Carvedilol, ACEi, Spironolactone, SGLT2i"], ["11", "AF Anticoagulation", "CHA2DS2-VASc >= 2 -> DOAC"], ["12", "Wilson's Disease", "Penicillamine; KF rings"], ["13", "Addison's Disease", "Hyperpigmentation + hypoNa + hyperK"], ["14", "Rheumatoid Arthritis", "Methotrexate (anchor DMARD)"], ["15", "Meningococcal Meningitis", "N. meningitidis; petechial rash"], ["16", "COPD Exacerbation", "Controlled O2 (88-92%); NOT high-flow"], ["17", "H. pylori Therapy", "OCA triple therapy x 14 days"], ["18", "SBP in Cirrhosis", "PMN >= 250; IV Cefotaxime"], ["19", "Ischemic Stroke", "tPA within 4.5 hours"], ["20", "Falciparum Malaria", "Banana gametocytes; ACT"], ] # ---- Build Story ---- story = [] # Cover / Header story.append(Spacer(1, 0.5*cm)) story.append(Paragraph("FMGE June 2026", title_style)) story.append(Paragraph("Medicine Subject - 20 Memory-Based Questions with Explanations", subtitle_style)) story.append(Paragraph("(Based on Recalled Topics from June 28, 2026 Examination)", subtitle_style)) story.append(Spacer(1, 0.3*cm)) # Info box info_data = [ ["Exam", "FMGE June 2026 (held June 28, 2026)"], ["Conducted by", "NBEMS (National Board of Examinations in Medical Sciences)"], ["Subject", "Medicine (High-Yield Questions)"], ["Format", "MCQ with Explanation"], ["Difficulty", "Moderate to Difficult (Paper 1 tougher)"], ["Note", "NBEMS does not release official papers; questions are memory-based"], ] info_table = Table(info_data, colWidths=[4.5*cm, 12*cm]) info_table.setStyle(TableStyle([ ('BACKGROUND', (0,0), (0,-1), colors.HexColor('#1a3c6b')), ('TEXTCOLOR', (0,0), (0,-1), colors.white), ('FONTNAME', (0,0), (0,-1), 'Helvetica-Bold'), ('FONTSIZE', (0,0), (-1,-1), 9.5), ('BACKGROUND', (1,0), (1,-1), colors.HexColor('#eef3fb')), ('ROWBACKGROUNDS', (1,0), (1,-1), [colors.HexColor('#eef3fb'), colors.HexColor('#f9fbff')]), ('GRID', (0,0), (-1,-1), 0.5, colors.HexColor('#b0c4de')), ('VALIGN', (0,0), (-1,-1), 'MIDDLE'), ('PADDING', (0,0), (-1,-1), 5), ])) story.append(info_table) story.append(Spacer(1, 0.5*cm)) story.append(HRFlowable(width="100%", thickness=2, color=colors.HexColor('#1a3c6b'))) story.append(Spacer(1, 0.4*cm)) # Questions for q in questions: # Question number header bar q_header_data = [[ Paragraph(f"Q{q['num']}", q_num_style), Paragraph(f"<b>{q['topic']}</b>", ParagraphStyle('th', parent=styles['Normal'], fontSize=12, textColor=colors.white, fontName='Helvetica-Bold', alignment=TA_LEFT)) ]] q_header_table = Table(q_header_data, colWidths=[1.5*cm, 15*cm]) q_header_table.setStyle(TableStyle([ ('BACKGROUND', (0,0), (-1,-1), colors.HexColor('#1a3c6b')), ('VALIGN', (0,0), (-1,-1), 'MIDDLE'), ('PADDING', (0,0), (-1,-1), 7), ('ROUNDEDCORNERS', [4,4,4,4]), ])) story.append(q_header_table) story.append(Spacer(1, 0.2*cm)) # Question text story.append(Paragraph(q['question'], question_style)) # Options for opt in q['options']: story.append(Paragraph(opt, option_style)) story.append(Spacer(1, 0.2*cm)) # Answer answer_data = [[Paragraph(f"✔ ANSWER: {q['answer']}", ParagraphStyle('ans', parent=styles['Normal'], fontSize=11, textColor=colors.HexColor('#1a6b2e'), fontName='Helvetica-Bold'))]] ans_table = Table(answer_data, colWidths=[16.5*cm]) ans_table.setStyle(TableStyle([ ('BACKGROUND', (0,0), (-1,-1), colors.HexColor('#e8f5e9')), ('BOX', (0,0), (-1,-1), 1.5, colors.HexColor('#2e7d32')), ('PADDING', (0,0), (-1,-1), 8), ])) story.append(ans_table) story.append(Spacer(1, 0.2*cm)) # Explanation story.append(Paragraph("<b>Explanation:</b>", section_head_style)) story.append(Paragraph(q['explanation'], explanation_style)) # Source story.append(Paragraph(f"Source: {q['source']}", source_style)) story.append(Spacer(1, 0.4*cm)) story.append(HRFlowable(width="100%", thickness=0.5, color=colors.HexColor('#cccccc'))) story.append(Spacer(1, 0.3*cm)) # Summary table on new page story.append(PageBreak()) story.append(Paragraph("Quick Revision Summary", ParagraphStyle('sumtitle', parent=styles['Normal'], fontSize=16, textColor=colors.HexColor('#1a3c6b'), fontName='Helvetica-Bold', alignment=TA_CENTER, spaceAfter=10))) story.append(HRFlowable(width="100%", thickness=2, color=colors.HexColor('#1a3c6b'))) story.append(Spacer(1, 0.3*cm)) sum_table = Table(summary_data, colWidths=[1.3*cm, 5.5*cm, 9.7*cm]) sum_table.setStyle(TableStyle([ ('BACKGROUND', (0,0), (-1,0), colors.HexColor('#1a3c6b')), ('TEXTCOLOR', (0,0), (-1,0), colors.white), ('FONTNAME', (0,0), (-1,0), 'Helvetica-Bold'), ('FONTSIZE', (0,0), (-1,-1), 9.5), ('ROWBACKGROUNDS', (0,1), (-1,-1), [colors.HexColor('#eef3fb'), colors.white]), ('GRID', (0,0), (-1,-1), 0.5, colors.HexColor('#b0c4de')), ('VALIGN', (0,0), (-1,-1), 'MIDDLE'), ('PADDING', (0,0), (-1,-1), 5), ('FONTNAME', (0,1), (0,-1), 'Helvetica-Bold'), ('TEXTCOLOR', (0,1), (0,-1), colors.HexColor('#1a3c6b')), ('ALIGN', (0,0), (0,-1), 'CENTER'), ])) story.append(sum_table) story.append(Spacer(1, 1*cm)) story.append(Paragraph("All the best for your FMGE preparation!", ParagraphStyle('footer', parent=styles['Normal'], fontSize=11, textColor=colors.HexColor('#2e6da4'), fontName='Helvetica-Bold', alignment=TA_CENTER))) # Build doc.build(story) print(f"PDF created: {output_path}") PYEOF echo "Script written"
cd /tmp/workspace/fmge-2026 && python generate_pdf.py
ls -lh /tmp/workspace/fmge-2026/FMGE_June2026_Medicine_20Questions.pdf
FMGE June2026 Medicine 20Questions
PDF Document · PDF