I want you, can you make AP? DF for these questions with the answers. Short note containing 12 pages and S.A. containing 4 pages with flow chart diagram. Anyone in required? I want to in simple English. I want to write it in exam. I want to read and write within today's my university exam. I want to read this all questions shortly. Simply understandable English. With a great answer that fetch more remarks.

Reading File
Running Command

cd /tmp/workspace/attachments/ddc9fa04-e99b-42aa-b9a5-90b807e30e74/ && python3 -c " import pdfplumber with pdfplumber.open('Biochemistrytop50.pdf') as pdf: print(f'Total pages: {len(pdf.pages)}') for i, page in enumerate(pdf.pages): text = page.extract_text() print(f'--- PAGE {i+1} ---') print(text) print() "

Asking for Preferences
Reading File
Running Command

mkdir -p /tmp/workspace/biochem-exam && echo "Directory ready"

Is the p d f ready

Too slow

Running Command

cat > /tmp/workspace/biochem-exam/generate.py << 'PYEOF' from reportlab.lib.pagesizes import A4 from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle from reportlab.lib.units import cm from reportlab.lib.colors import HexColor, black, white from reportlab.platypus import SimpleDocTemplate, Paragraph, Spacer, Table, TableStyle, PageBreak, HRFlowable from reportlab.lib.enums import TA_LEFT, TA_CENTER, TA_JUSTIFY from reportlab.platypus.flowables import KeepTogether doc = SimpleDocTemplate( "/tmp/workspace/biochem-exam/Biochemistry_Top50_ExamNotes.pdf", pagesize=A4, rightMargin=1.8*cm, leftMargin=1.8*cm, topMargin=1.5*cm, bottomMargin=1.5*cm ) styles = getSampleStyleSheet() W = A4[0] - 3.6*cm # Custom styles title_style = ParagraphStyle('Title', fontSize=20, textColor=HexColor('#1a237e'), alignment=TA_CENTER, fontName='Helvetica-Bold', spaceAfter=6) subtitle_style = ParagraphStyle('Subtitle', fontSize=11, textColor=HexColor('#37474f'), alignment=TA_CENTER, fontName='Helvetica', spaceAfter=14) part_style = ParagraphStyle('Part', fontSize=16, textColor=white, alignment=TA_CENTER, fontName='Helvetica-Bold', spaceBefore=8, spaceAfter=8) q_style = ParagraphStyle('Q', fontSize=13, textColor=HexColor('#0d47a1'), fontName='Helvetica-Bold', spaceBefore=10, spaceAfter=4) h2_style = ParagraphStyle('H2', fontSize=11, textColor=HexColor('#1565c0'), fontName='Helvetica-Bold', spaceBefore=6, spaceAfter=2) body_style = ParagraphStyle('Body', fontSize=10, textColor=HexColor('#212121'), fontName='Helvetica', spaceAfter=3, leading=15, alignment=TA_JUSTIFY) bullet_style = ParagraphStyle('Bullet', fontSize=10, textColor=HexColor('#212121'), fontName='Helvetica', spaceAfter=2, leading=14, leftIndent=14, bulletIndent=4) note_style = ParagraphStyle('Note', fontSize=9, textColor=HexColor('#4a148c'), fontName='Helvetica-Oblique', spaceAfter=3, leftIndent=8) def section_banner(text, color='#1a237e'): data = [[Paragraph(text, part_style)]] t = Table(data, colWidths=[W]) t.setStyle(TableStyle([ ('BACKGROUND', (0,0), (-1,-1), HexColor(color)), ('ROUNDEDCORNERS', [6,6,6,6]), ('TOPPADDING', (0,0), (-1,-1), 6), ('BOTTOMPADDING', (0,0), (-1,-1), 6), ])) return t def q_box(num, text, color='#e3f2fd'): data = [[Paragraph(f"<b>Q{num}. {text}</b>", ParagraphStyle('qb', fontSize=12, textColor=HexColor('#0d47a1'), fontName='Helvetica-Bold'))]] t = Table(data, colWidths=[W]) t.setStyle(TableStyle([ ('BACKGROUND', (0,0), (-1,-1), HexColor(color)), ('LEFTPADDING', (0,0), (-1,-1), 10), ('RIGHTPADDING', (0,0), (-1,-1), 10), ('TOPPADDING', (0,0), (-1,-1), 5), ('BOTTOMPADDING', (0,0), (-1,-1), 5), ('BOX', (0,0), (-1,-1), 1, HexColor('#1565c0')), ])) return t def flow_table(steps, color='#e8f5e9'): rows = [] for i, s in enumerate(steps): rows.append([Paragraph(s, ParagraphStyle('ft', fontSize=9.5, fontName='Helvetica', textColor=HexColor('#1b5e20')))]) if i < len(steps)-1: rows.append([Paragraph('<b>↓</b>', ParagraphStyle('arr', fontSize=12, fontName='Helvetica-Bold', alignment=TA_CENTER, textColor=HexColor('#388e3c')))]) t = Table(rows, colWidths=[W*0.7]) t.setStyle(TableStyle([ ('BACKGROUND', (0,0), (-1,-1), HexColor(color)), ('BOX', (0,0), (-1,-1), 0.5, HexColor('#388e3c')), ('INNERGRID', (0,0), (-1,-1), 0.3, HexColor('#a5d6a7')), ('ALIGN', (0,0), (-1,-1), 'CENTER'), ('TOPPADDING', (0,0), (-1,-1), 3), ('BOTTOMPADDING', (0,0), (-1,-1), 3), ('LEFTPADDING', (0,0), (-1,-1), 8), ])) return t def bullet(text): return Paragraph(f"• {text}", bullet_style) def body(text): return Paragraph(text, body_style) def h2(text): return Paragraph(text, h2_style) def sp(n=4): return Spacer(1, n) story = [] # ─── COVER ─── story.append(sp(30)) story.append(Paragraph("BIOCHEMISTRY", title_style)) story.append(Paragraph("TOP 50 Questions — Complete Exam Notes", subtitle_style)) story.append(Paragraph("Simple English | Exam-Ready | High Marks", subtitle_style)) story.append(sp(10)) data = [[Paragraph("<b>PART A: ESSAY QUESTIONS (16 Topics)</b>", ParagraphStyle('c1',fontSize=11,textColor=white,fontName='Helvetica-Bold',alignment=TA_CENTER))], [Paragraph("<b>PART B: SHORT NOTES (34 Topics)</b>", ParagraphStyle('c2',fontSize=11,textColor=white,fontName='Helvetica-Bold',alignment=TA_CENTER))]] t = Table(data, colWidths=[W]) t.setStyle(TableStyle([ ('BACKGROUND', (0,0), (0,0), HexColor('#1565c0')), ('BACKGROUND', (0,1), (0,1), HexColor('#283593')), ('TOPPADDING', (0,0), (-1,-1), 8), ('BOTTOMPADDING', (0,0), (-1,-1), 8), ('ROWBACKGROUNDS', (0,0), (-1,-1), [HexColor('#1565c0'), HexColor('#283593')]), ])) story.append(t) story.append(PageBreak()) # ════════════════════════════════════════════ # PART A — ESSAY QUESTIONS # ════════════════════════════════════════════ story.append(section_banner("PART A — ESSAY QUESTIONS (Long Notes)", '#0d47a1')) story.append(sp(8)) # ─── Q1. ENZYMES ─── story.append(q_box(1, "ENZYMES")) story.append(h2("Definition")) story.append(body("Enzymes are biological catalysts (proteins) that speed up chemical reactions in the body without being consumed.")) story.append(h2("Properties")) for b in ["Protein in nature (except ribozymes which are RNA)", "Speed up reactions — do NOT change the final product", "They are specific — one enzyme for one substrate", "They are reusable — not used up in the reaction", "Work best at optimal pH and temperature"]: story.append(bullet(b)) story.append(h2("Structure")) story.append(body("<b>Apoenzyme</b> (protein part) + <b>Cofactor</b> (non-protein part) = <b>Holoenzyme</b> (active enzyme)")) story.append(body("• Active site — region where substrate binds and reaction occurs")) story.append(body("• Cofactors: metal ions (Mg²⁺, Zn²⁺) or coenzymes (vitamins like NAD, FAD)")) story.append(h2("Enzyme Kinetics — Michaelis-Menten")) story.append(body("<b>Km (Michaelis constant)</b> = substrate concentration at half Vmax. Low Km = high affinity.")) story.append(body("<b>Vmax</b> = maximum rate of reaction when enzyme is fully saturated.")) story.append(h2("Types of Inhibition")) data = [["Type","Effect on Km","Effect on Vmax","Example"], ["Competitive","Increased","No change","Methotrexate"], ["Non-competitive","No change","Decreased","Heavy metals"], ["Uncompetitive","Decreased","Decreased","Some pesticides"]] t = Table(data, colWidths=[W*0.28, W*0.24, W*0.24, W*0.24]) t.setStyle(TableStyle([ ('BACKGROUND',(0,0),(-1,0),HexColor('#1565c0')), ('TEXTCOLOR',(0,0),(-1,0),white), ('FONTNAME',(0,0),(-1,0),'Helvetica-Bold'), ('FONTSIZE',(0,0),(-1,-1),9), ('GRID',(0,0),(-1,-1),0.5,HexColor('#90caf9')), ('ROWBACKGROUNDS',(0,1),(-1,-1),[HexColor('#e3f2fd'),white]), ('ALIGN',(0,0),(-1,-1),'CENTER'), ('TOPPADDING',(0,0),(-1,-1),4), ('BOTTOMPADDING',(0,0),(-1,-1),4), ])) story.append(t) story.append(h2("Regulation of Enzymes")) for b in ["Allosteric regulation — activators/inhibitors bind away from active site", "Covalent modification — phosphorylation ON/OFF switch", "Zymogen activation — inactive precursor activated by cleavage (e.g., pepsinogen → pepsin)", "Feedback inhibition — end product inhibits the first enzyme"]: story.append(bullet(b)) story.append(h2("Flowchart: Enzyme Action")) story.append(flow_table([ "SUBSTRATE enters", "Binds to ACTIVE SITE of enzyme → forms Enzyme-Substrate Complex", "Chemical reaction occurs", "PRODUCT is released", "Enzyme is FREE again (reusable)" ])) story.append(sp(6)) # ─── Q2. HMP SHUNT ─── story.append(q_box(2, "HMP SHUNT PATHWAY (Pentose Phosphate Pathway)")) story.append(h2("What is it?")) story.append(body("An alternative pathway of glucose oxidation that occurs in CYTOPLASM. Does NOT produce ATP directly.")) story.append(h2("Two Phases")) story.append(body("<b>Phase 1 — Oxidative (irreversible):</b> Produces NADPH and Ribulose-5-phosphate")) story.append(body("<b>Phase 2 — Non-oxidative (reversible):</b> Interconverts sugars; connects back to glycolysis")) story.append(h2("Key Products & Their Uses")) data = [["Product","Use"], ["NADPH","Fatty acid synthesis, keeps glutathione reduced, steroid synthesis"], ["Ribose-5-phosphate","DNA/RNA synthesis (nucleotides)"], ["NADPH (in RBCs)","Prevents oxidative damage — protects hemoglobin"]] t = Table(data, colWidths=[W*0.35, W*0.65]) t.setStyle(TableStyle([ ('BACKGROUND',(0,0),(-1,0),HexColor('#2e7d32')), ('TEXTCOLOR',(0,0),(-1,0),white), ('FONTNAME',(0,0),(-1,0),'Helvetica-Bold'), ('FONTSIZE',(0,0),(-1,-1),9), ('GRID',(0,0),(-1,-1),0.5,HexColor('#a5d6a7')), ('ROWBACKGROUNDS',(0,1),(-1,-1),[HexColor('#e8f5e9'),white]), ('TOPPADDING',(0,0),(-1,-1),4),('BOTTOMPADDING',(0,0),(-1,-1),4), ])) story.append(t) story.append(h2("Key Enzyme")) story.append(body("<b>Glucose-6-phosphate dehydrogenase (G6PD)</b> — first and rate-limiting enzyme.")) story.append(body("<b>G6PD deficiency</b>: Cannot make NADPH → RBCs burst (hemolytic anemia) when exposed to oxidants (drugs like primaquine, fava beans).")) story.append(h2("Flowchart")) story.append(flow_table([ "Glucose-6-Phosphate", "G6PD enzyme → + NADPH produced", "6-Phosphogluconate → + NADPH produced", "Ribulose-5-Phosphate", "Phase 2: → Ribose-5-P (for DNA/RNA) OR back to Glycolysis" ])) story.append(sp(6)) # ─── Q3. GLUCOSE HOMEOSTASIS ─── story.append(q_box(3, "GLUCOSE HOMEOSTASIS")) story.append(h2("Normal Blood Glucose")) story.append(body("Fasting: <b>70–100 mg/dL</b> | Postprandial (2 hr): <b>&lt;140 mg/dL</b>")) story.append(h2("After a Meal (Blood glucose RISES)")) for b in ["Pancreatic β-cells release INSULIN", "Insulin promotes: Glycogenesis (glucose → glycogen), Glycolysis, Fatty acid synthesis", "Glucose enters cells (muscle, liver, fat)", "Blood glucose falls back to normal"]: story.append(bullet(b)) story.append(h2("During Fasting (Blood glucose FALLS)")) for b in ["Pancreatic α-cells release GLUCAGON", "Glucagon promotes: Glycogenolysis (glycogen → glucose), Gluconeogenesis", "Liver releases glucose into blood", "Blood glucose rises back to normal"]: story.append(bullet(b)) story.append(h2("Hormones Involved")) data = [["Hormone","Source","Action"], ["Insulin","β-cells of pancreas","Lowers blood glucose"], ["Glucagon","α-cells of pancreas","Raises blood glucose"], ["Cortisol","Adrenal cortex","Raises blood glucose"], ["Epinephrine","Adrenal medulla","Raises blood glucose (stress)"], ["GH","Pituitary","Raises blood glucose"]] t = Table(data, colWidths=[W*0.3, W*0.35, W*0.35]) t.setStyle(TableStyle([ ('BACKGROUND',(0,0),(-1,0),HexColor('#e65100')), ('TEXTCOLOR',(0,0),(-1,0),white), ('FONTNAME',(0,0),(-1,0),'Helvetica-Bold'), ('FONTSIZE',(0,0),(-1,-1),9), ('GRID',(0,0),(-1,-1),0.5,HexColor('#ffcc80')), ('ROWBACKGROUNDS',(0,1),(-1,-1),[HexColor('#fff3e0'),white]), ('ALIGN',(0,0),(-1,-1),'CENTER'), ('TOPPADDING',(0,0),(-1,-1),4),('BOTTOMPADDING',(0,0),(-1,-1),4), ])) story.append(t) story.append(h2("Flowchart")) story.append(flow_table([ "Blood glucose HIGH → Insulin released", "Insulin: Glycogenesis + Lipogenesis + Cell uptake", "Blood glucose NORMAL (70-100 mg/dL)", "Blood glucose LOW → Glucagon released", "Glucagon: Glycogenolysis + Gluconeogenesis", "Blood glucose back to NORMAL" ])) story.append(sp(6)) # ─── Q4. KETONE BODIES ─── story.append(q_box(4, "KETONE BODIES")) story.append(h2("What are Ketone Bodies?")) story.append(body("Ketone bodies are water-soluble fuel molecules made in the LIVER from fatty acids when glucose is not available (starvation, diabetes).")) story.append(h2("Three Types")) for b in ["Acetoacetate (main one)", "β-Hydroxybutyrate (most in blood)", "Acetone (exhaled — fruity breath)"]: story.append(bullet(b)) story.append(h2("Where Made & Where Used")) story.append(body("Made in: <b>LIVER</b> (but liver cannot use them!)")) story.append(body("Used in: <b>Brain, heart, muscle</b> as energy during starvation")) story.append(h2("Ketogenesis — Steps")) story.append(flow_table([ "Excess Acetyl-CoA (from fatty acid β-oxidation)", "2 Acetyl-CoA → Acetoacetyl-CoA", "+ HMG-CoA synthase → HMG-CoA (rate-limiting step)", "HMG-CoA lyase → Acetoacetate", "Reduction → β-Hydroxybutyrate OR Decarboxylation → Acetone" ])) story.append(h2("Ketoacidosis (Diabetic DKA)")) for b in ["In uncontrolled Type 1 Diabetes — no insulin → massive fat breakdown", "Ketone bodies accumulate → blood becomes ACIDIC", "Symptoms: fruity breath, nausea, vomiting, Kussmaul breathing, coma", "Treatment: Insulin + IV fluids + electrolytes"]: story.append(bullet(b)) story.append(sp(6)) # ─── Q5. CHOLESTEROL ─── story.append(q_box(5, "CHOLESTEROL")) story.append(h2("What is Cholesterol?")) story.append(body("A sterol lipid found in all cell membranes. It is essential but too much causes heart disease.")) story.append(h2("Functions")) for b in ["Cell membrane structure and fluidity", "Precursor of steroid hormones (cortisol, estrogen, testosterone)", "Precursor of bile acids (for fat digestion)", "Precursor of Vitamin D", "Myelin sheath formation"]: story.append(bullet(b)) story.append(h2("Synthesis (in LIVER, cytoplasm + smooth ER)")) story.append(flow_table([ "Acetyl-CoA + Acetyl-CoA → Acetoacetyl-CoA", "→ HMG-CoA", "HMG-CoA Reductase (RATE LIMITING — blocked by statins!)", "→ Mevalonate", "→ Squalene → Lanosterol → CHOLESTEROL" ])) story.append(h2("Transport in Blood")) data = [["Lipoprotein","Function"], ["Chylomicrons","Carry dietary fat from gut → tissues"], ["VLDL","Liver fat → peripheral tissues"], ["LDL ('Bad')","Delivers cholesterol to tissues — causes plaques"], ["HDL ('Good')","Removes cholesterol from tissues → liver (reverse transport)"]] t = Table(data, colWidths=[W*0.3, W*0.7]) t.setStyle(TableStyle([ ('BACKGROUND',(0,0),(-1,0),HexColor('#b71c1c')), ('TEXTCOLOR',(0,0),(-1,0),white), ('FONTNAME',(0,0),(-1,0),'Helvetica-Bold'), ('FONTSIZE',(0,0),(-1,-1),9), ('GRID',(0,0),(-1,-1),0.5,HexColor('#ef9a9a')), ('ROWBACKGROUNDS',(0,1),(-1,-1),[HexColor('#ffebee'),white]), ('TOPPADDING',(0,0),(-1,-1),4),('BOTTOMPADDING',(0,0),(-1,-1),4), ])) story.append(t) story.append(sp(6)) # ─── Q6. BETA OXIDATION ─── story.append(q_box(6, "BETA OXIDATION OF FATTY ACIDS (Palmitic Acid)")) story.append(h2("Where does it occur?")) story.append(body("<b>Mitochondrial matrix</b>. Fatty acids must first be activated and transported into mitochondria.")) story.append(h2("Activation of Fatty Acid")) story.append(flow_table([ "Fatty Acid + CoA + ATP → Fatty Acyl-CoA (activation in cytoplasm)", "Carnitine shuttle transports Fatty Acyl-CoA into mitochondria", "Beta-oxidation begins inside mitochondria" ])) story.append(h2("One Turn of Beta-Oxidation (4 steps)")) data = [["Step","Enzyme","Product"], ["1. Oxidation","Acyl-CoA dehydrogenase","FADH₂"], ["2. Hydration","Enoyl-CoA hydratase","—"], ["3. Oxidation","3-Hydroxy acyl-CoA dehydrogenase","NADH"], ["4. Thiolysis","Thiolase","Acetyl-CoA + shorter Acyl-CoA"]] t = Table(data, colWidths=[W*0.3, W*0.4, W*0.3]) t.setStyle(TableStyle([ ('BACKGROUND',(0,0),(-1,0),HexColor('#4a148c')), ('TEXTCOLOR',(0,0),(-1,0),white), ('FONTNAME',(0,0),(-1,0),'Helvetica-Bold'), ('FONTSIZE',(0,0),(-1,-1),9), ('GRID',(0,0),(-1,-1),0.5,HexColor('#ce93d8')), ('ROWBACKGROUNDS',(0,1),(-1,-1),[HexColor('#f3e5f5'),white]), ('ALIGN',(0,0),(-1,-1),'CENTER'), ('TOPPADDING',(0,0),(-1,-1),4),('BOTTOMPADDING',(0,0),(-1,-1),4), ])) story.append(t) story.append(h2("Energy from Palmitic Acid (C16)")) story.append(body("Palmitic acid has 16 carbons → needs <b>7 turns</b> of beta-oxidation")) story.append(body("Produces: 8 Acetyl-CoA + 7 FADH₂ + 7 NADH")) story.append(body("Each Acetyl-CoA → 10 ATP (via TCA cycle)")) story.append(body("<b>Total ATP = 106 ATP</b> (net ~129 ATP including TCA)")) story.append(sp(6)) # ─── Q7. UREA CYCLE ─── story.append(q_box(7, "UREA CYCLE")) story.append(h2("Purpose")) story.append(body("Converts toxic ammonia (NH₃) into non-toxic urea for excretion in urine. Occurs mainly in LIVER.")) story.append(h2("Flowchart of Urea Cycle")) story.append(flow_table([ "NH₃ + CO₂ + 2ATP → Carbamoyl phosphate (Mitochondria)", "Carbamoyl phosphate + Ornithine → Citrulline (exits to cytoplasm)", "Citrulline + Aspartate + ATP → Argininosuccinate", "Argininosuccinate → Arginine + Fumarate", "Arginine + H₂O → Ornithine + UREA (by Arginase)", "Ornithine re-enters mitochondria (cycle continues)", "UREA → excreted in URINE" ])) story.append(h2("Key Points")) for b in ["Occurs partly in mitochondria, partly in cytoplasm", "Uses 3 ATP per cycle", "Fumarate connects to TCA cycle (Krebs-Henseleit cycle link)", "Enzyme deficiency → hyperammonemia (brain toxicity)"]: story.append(bullet(b)) story.append(sp(6)) # ─── Q8. PHENYLALANINE & TYROSINE ─── story.append(q_box(8, "PHENYLALANINE & TYROSINE METABOLISM")) story.append(h2("Normal Pathway")) story.append(flow_table([ "Phenylalanine", "Phenylalanine hydroxylase + BH4 → TYROSINE", "Tyrosine → multiple products (see below)" ])) story.append(h2("Products of Tyrosine")) for b in ["<b>Melanin</b> — skin pigment (tyrosinase enzyme)", "<b>Thyroid hormones</b> — T3, T4", "<b>Catecholamines</b> — Dopamine, Norepinephrine, Epinephrine", "<b>Fumarate + Acetoacetate</b> — energy"]: story.append(bullet(b)) story.append(h2("Disorders")) data = [["Disease","Deficient Enzyme","Result"], ["PKU (Phenylketonuria)","Phenylalanine hydroxylase","Mental retardation, musty odor"], ["Alkaptonuria","Homogentisate oxidase","Dark urine, joint disease"], ["Albinism","Tyrosinase","No melanin, white skin"], ["Tyrosinemia","Various","Liver damage"]] t = Table(data, colWidths=[W*0.28, W*0.38, W*0.34]) t.setStyle(TableStyle([ ('BACKGROUND',(0,0),(-1,0),HexColor('#004d40')), ('TEXTCOLOR',(0,0),(-1,0),white), ('FONTNAME',(0,0),(-1,0),'Helvetica-Bold'), ('FONTSIZE',(0,0),(-1,-1),9), ('GRID',(0,0),(-1,-1),0.5,HexColor('#80cbc4')), ('ROWBACKGROUNDS',(0,1),(-1,-1),[HexColor('#e0f2f1'),white]), ('TOPPADDING',(0,0),(-1,-1),4),('BOTTOMPADDING',(0,0),(-1,-1),4), ])) story.append(t) story.append(sp(6)) # ─── Q9. AMMONIA ─── story.append(q_box(9, "AMMONIA — Metabolism & Toxicity")) story.append(h2("Sources of Ammonia")) for b in ["Amino acid deamination (glutamate → α-ketoglutarate + NH₃)", "Intestinal bacteria acting on dietary protein", "Purine/pyrimidine catabolism"]: story.append(bullet(b)) story.append(h2("Transport of Ammonia in Blood")) story.append(body("<b>Glutamine</b> — main transport form in blood (non-toxic). Made in muscles/brain.")) story.append(body("<b>Alanine</b> — from muscle to liver (glucose-alanine cycle).")) story.append(h2("Removal of Ammonia")) for b in ["Liver converts NH₃ → UREA (urea cycle) — main route", "Kidney converts NH₃ → NH₄⁺ and excretes it in urine", "Brain converts NH₃ → Glutamine (temporary storage)"]: story.append(bullet(b)) story.append(h2("Hyperammonemia")) story.append(body("Excess ammonia is NEUROTOXIC. Symptoms: tremors, slurred speech, confusion, coma.")) story.append(body("Causes: liver failure, urea cycle enzyme defects. Treatment: low-protein diet, lactulose, neomycin.")) story.append(sp(6)) # ─── Q10. TCA CYCLE ─── story.append(q_box(10, "TCA CYCLE (Krebs Cycle / Citric Acid Cycle)")) story.append(h2("Where?")) story.append(body("<b>Mitochondrial matrix</b>. Final common oxidative pathway for carbs, fats, and proteins.")) story.append(h2("Steps of TCA Cycle")) story.append(flow_table([ "Acetyl-CoA (2C) + Oxaloacetate (4C) → CITRATE (6C) [Citrate synthase]", "Citrate → Isocitrate [Aconitase]", "Isocitrate → α-Ketoglutarate + CO₂ + NADH [Isocitrate dehydrogenase — rate limiting]", "α-Ketoglutarate → Succinyl-CoA + CO₂ + NADH [α-KG dehydrogenase]", "Succinyl-CoA → Succinate + GTP [Succinyl-CoA synthetase]", "Succinate → Fumarate + FADH₂ [Succinate dehydrogenase]", "Fumarate → Malate [Fumarase]", "Malate → Oxaloacetate + NADH [Malate dehydrogenase]", "Oxaloacetate accepts new Acetyl-CoA → CYCLE REPEATS" ])) story.append(h2("Products per Turn (1 Acetyl-CoA)")) story.append(body("3 NADH + 1 FADH₂ + 1 GTP + 2 CO₂ → Total ~10 ATP per turn")) story.append(sp(6)) # ─── Q11. ELECTRON TRANSPORT CHAIN ─── story.append(q_box(11, "ELECTRON TRANSPORT CHAIN (ETC) & Oxidative Phosphorylation")) story.append(h2("Where?")) story.append(body("<b>Inner mitochondrial membrane</b>. Purpose: Generate ATP using electrons from NADH and FADH₂.")) story.append(h2("Complexes")) data = [["Complex","Name","Function","Inhibitor"], ["I","NADH dehydrogenase","NADH → electron transfer","Rotenone"], ["II","Succinate dehydrogenase","FADH₂ entry point","Malonate"], ["III","Cytochrome bc1","Electron transfer","Antimycin A"], ["IV","Cytochrome c oxidase","O₂ → H₂O (final step)","Cyanide/CO"], ["V","ATP synthase","ADP+Pi → ATP","Oligomycin"]] t = Table(data, colWidths=[W*0.12, W*0.28, W*0.33, W*0.27]) t.setStyle(TableStyle([ ('BACKGROUND',(0,0),(-1,0),HexColor('#37474f')), ('TEXTCOLOR',(0,0),(-1,0),white), ('FONTNAME',(0,0),(-1,0),'Helvetica-Bold'), ('FONTSIZE',(0,0),(-1,-1),9), ('GRID',(0,0),(-1,-1),0.5,HexColor('#90a4ae')), ('ROWBACKGROUNDS',(0,1),(-1,-1),[HexColor('#eceff1'),white]), ('ALIGN',(0,0),(-1,-1),'CENTER'), ('TOPPADDING',(0,0),(-1,-1),3),('BOTTOMPADDING',(0,0),(-1,-1),3), ])) story.append(t) story.append(h2("ATP Yield")) story.append(body("1 NADH → 2.5 ATP | 1 FADH₂ → 1.5 ATP")) story.append(body("Glucose complete oxidation → <b>30–32 ATP</b>")) story.append(h2("Uncouplers")) story.append(body("Uncouplers (e.g., DNP, thermogenin in brown fat) dissipate proton gradient → heat instead of ATP.")) story.append(sp(6)) # ─── Q12. BLOOD ─── story.append(q_box(12, "BLOOD — Composition & Functions")) story.append(h2("Composition of Blood")) story.append(body("<b>Plasma (55%)</b>: Water (90%), proteins, glucose, ions, hormones, waste")) story.append(body("<b>Formed elements (45%)</b>: RBCs, WBCs, Platelets")) story.append(h2("Blood Proteins (Plasma)")) data = [["Protein","Made In","Function"], ["Albumin","Liver","Oncotic pressure, transport"], ["Globulins","Liver + Plasma cells","Immunity (Ig), transport"], ["Fibrinogen","Liver","Clotting"], ["Prothrombin","Liver","Clotting"]] t = Table(data, colWidths=[W*0.3, W*0.25, W*0.45]) t.setStyle(TableStyle([ ('BACKGROUND',(0,0),(-1,0),HexColor('#c62828')), ('TEXTCOLOR',(0,0),(-1,0),white), ('FONTNAME',(0,0),(-1,0),'Helvetica-Bold'), ('FONTSIZE',(0,0),(-1,-1),9), ('GRID',(0,0),(-1,-1),0.5,HexColor('#ef9a9a')), ('ROWBACKGROUNDS',(0,1),(-1,-1),[HexColor('#ffebee'),white]), ('TOPPADDING',(0,0),(-1,-1),4),('BOTTOMPADDING',(0,0),(-1,-1),4), ])) story.append(t) story.append(h2("Hemoglobin")) story.append(body("Hb = 4 globin chains + 4 heme groups. Each heme has Fe²⁺ that binds O₂.")) story.append(body("Normal adult Hb: <b>HbA (α₂β₂)</b>. HbA₁c = glycated Hb → marker of 3-month glucose control.")) story.append(h2("Blood Clotting")) story.append(flow_table([ "Vessel injury", "Platelet plug (primary hemostasis)", "Coagulation cascade: Intrinsic + Extrinsic pathway", "Both → Common pathway → Thrombin", "Thrombin converts Fibrinogen → FIBRIN", "Stable clot formed" ])) story.append(sp(6)) # ─── Q13. VITAMINS A, C, D ─── story.append(q_box(13, "VITAMINS — A, C, D")) story.append(h2("VITAMIN A (Fat-soluble, Retinol)")) for b in ["Sources: Liver, egg yolk, milk, fish oil, carrots (β-carotene)", "Functions: Vision (rhodopsin in rods), skin maintenance, immune function, growth", "Deficiency: Night blindness, xerophthalmia, Bitot's spots, keratomalacia", "Toxicity: Headache, liver damage, teratogenic (avoid in pregnancy)"]: story.append(bullet(b)) story.append(h2("VITAMIN C (Water-soluble, Ascorbic Acid)")) for b in ["Sources: Citrus fruits, tomatoes, amla (richest source)", "Functions: Collagen synthesis (hydroxylation of proline/lysine), antioxidant, Fe²⁺ absorption, wound healing", "Deficiency: SCURVY — bleeding gums, perifollicular hemorrhage, corkscrew hairs, poor wound healing"]: story.append(bullet(b)) story.append(h2("VITAMIN D (Fat-soluble, Calciferol)")) story.append(flow_table([ "Sunlight on skin → Cholecalciferol (D3) formed", "Liver hydroxylation → 25-OH-D3 (storage form)", "Kidney hydroxylation → 1,25-(OH)₂D3 = CALCITRIOL (active form)" ])) for b in ["Functions: Calcium absorption from gut, bone mineralization, regulates Ca²⁺ and PO₄³⁻", "Deficiency: Rickets (children — bowed legs), Osteomalacia (adults — soft bones)", "Toxicity: Hypercalcemia, calcification of soft tissues"]: story.append(bullet(b)) story.append(sp(6)) # ─── Q14. CALCIUM ─── story.append(q_box(14, "CALCIUM METABOLISM")) story.append(h2("Normal Serum Calcium: 9–11 mg/dL")) story.append(h2("Functions of Calcium")) for b in ["Bone and teeth formation (as hydroxyapatite)", "Muscle contraction", "Nerve impulse transmission", "Blood clotting (cofactor for clotting factors)", "Enzyme activation"]: story.append(bullet(b)) story.append(h2("Regulation — 3 Key Hormones")) data = [["Hormone","Effect on Ca²⁺","Action"], ["PTH (parathyroid)","Raises Ca²⁺","↑ bone resorption, ↑ kidney reabsorption, ↑ Vit D activation"], ["Calcitriol (Vit D active)","Raises Ca²⁺","↑ intestinal absorption of Ca²⁺"], ["Calcitonin (thyroid C cells)","Lowers Ca²⁺","↓ bone resorption"]] t = Table(data, colWidths=[W*0.28, W*0.22, W*0.5]) t.setStyle(TableStyle([ ('BACKGROUND',(0,0),(-1,0),HexColor('#1b5e20')), ('TEXTCOLOR',(0,0),(-1,0),white), ('FONTNAME',(0,0),(-1,0),'Helvetica-Bold'), ('FONTSIZE',(0,0),(-1,-1),9), ('GRID',(0,0),(-1,-1),0.5,HexColor('#a5d6a7')), ('ROWBACKGROUNDS',(0,1),(-1,-1),[HexColor('#e8f5e9'),white]), ('TOPPADDING',(0,0),(-1,-1),4),('BOTTOMPADDING',(0,0),(-1,-1),4), ])) story.append(t) story.append(h2("Clinical Conditions")) story.append(body("<b>Hypocalcemia:</b> Tetany (Trousseau's sign, Chvostek's sign), tingling, seizures")) story.append(body("<b>Hypercalcemia:</b> Stones, bones, groans, moans (kidney stones, bone pain, constipation, depression)")) story.append(sp(6)) # ─── Q15. REPLICATION, TRANSCRIPTION, TRANSLATION ─── story.append(q_box(15, "REPLICATION, TRANSCRIPTION, TRANSLATION")) story.append(h2("Central Dogma: DNA → RNA → Protein")) story.append(h2("1. REPLICATION (DNA → DNA)")) story.append(flow_table([ "Helicase unwinds DNA double helix", "Primase adds RNA primer", "DNA Polymerase III adds nucleotides (5'→3')", "Leading strand: continuous | Lagging strand: Okazaki fragments", "DNA Ligase seals gaps", "New double-stranded DNA (semiconservative)" ], '#e8eaf6')) story.append(h2("2. TRANSCRIPTION (DNA → mRNA)")) story.append(flow_table([ "RNA Polymerase binds promoter region (TATA box in eukaryotes)", "DNA template read 3'→5' → mRNA synthesized 5'→3'", "mRNA processing (eukaryotes): 5' cap, 3' poly-A tail, splicing (remove introns)" ], '#e8eaf6')) story.append(h2("3. TRANSLATION (mRNA → Protein)")) story.append(flow_table([ "Ribosome (small subunit) binds mRNA at AUG (start codon)", "tRNA brings amino acids (anticodon matches codon)", "Peptide bond formed — elongation", "Stop codon (UAA, UAG, UGA) → release factor → protein released" ], '#e8eaf6')) story.append(sp(6)) # ─── Q16. GLYCINE ─── story.append(q_box(16, "GLYCINE METABOLISM")) story.append(h2("What is Glycine?")) story.append(body("Simplest amino acid (H as R group). Both glucogenic and ketogenic. Non-essential.")) story.append(h2("Synthesis")) story.append(body("Serine + THF (tetrahydrofolate) → Glycine + 5,10-methylene THF [Serine hydroxymethyltransferase]")) story.append(h2("Key Functions of Glycine")) for b in ["Heme synthesis (succinyl-CoA + Glycine → ALA — first step of heme)", "Purine synthesis (N7, C4, C5 of purine ring)", "Creatine synthesis (Glycine + Arginine + Methionine)", "Bile acid conjugation (glycocholic acid)", "Collagen (Gly-X-Y repeat — every 3rd amino acid is glycine)", "Neurotransmitter (inhibitory in spinal cord)", "Glutathione synthesis (Gly + Cys + Glu)"]: story.append(bullet(b)) story.append(h2("Disorder: Non-ketotic Hyperglycinemia")) story.append(body("Deficiency of glycine cleavage enzyme → glycine accumulates → seizures, mental retardation.")) story.append(PageBreak()) # ════════════════════════════════════════════ # PART B — SHORT NOTES # ════════════════════════════════════════════ story.append(section_banner("PART B — SHORT NOTES (34 Topics)", '#1b5e20')) story.append(sp(8)) def sn(num, title, content_fn): items = [] items.append(q_box(num, title, '#f1f8e9')) content_fn(items) items.append(sp(5)) return items def add_sn(num, title, lines): story.append(q_box(num, title, '#f1f8e9')) for line in lines: if line.startswith('##'): story.append(h2(line[2:].strip())) elif line.startswith('•'): story.append(bullet(line[1:].strip())) elif line.startswith('FLOW:'): steps = line[5:].strip().split('|') story.append(flow_table(steps)) else: story.append(body(line)) story.append(sp(5)) add_sn(1, "Structure & Denaturation of Proteins", [ "## Structure", "• 1° structure: Sequence of amino acids (peptide bonds)", "• 2° structure: Local folding — α-helix (H-bonds within chain), β-pleated sheet (H-bonds between chains)", "• 3° structure: 3D overall shape — disulfide bonds, hydrophobic interactions, H-bonds", "• 4° structure: Multiple polypeptide chains together (e.g., Hb = 4 subunits)", "## Denaturation", "Loss of 3° and 4° structure (NOT primary) — protein unfolds and loses function.", "Causes: Heat, pH extremes, organic solvents, urea, heavy metals.", "Usually IRREVERSIBLE (e.g., cooked egg white). Denatured proteins are more digestible.", ]) add_sn(2, "Structure & Function of Mitochondria", [ "## Structure", "• Outer membrane: permeable to small molecules (porins/VDAC channels)", "• Inner membrane: IMPERMEABLE — contains ETC complexes + ATP synthase", "• Intermembrane space: Protons accumulate here (chemiosmotic gradient)", "• Matrix: Contains TCA enzymes, mtDNA, ribosomes, beta-oxidation enzymes", "• Cristae: Folds of inner membrane → increase surface area for ATP synthesis", "## Functions", "• ATP production (ETC + oxidative phosphorylation)", "• Beta-oxidation of fatty acids", "• TCA cycle", "• Apoptosis initiation (releases cytochrome c)", "• Calcium homeostasis", "• Has own DNA (maternal inheritance)" ]) add_sn(3, "Phospholipids", [ "Phospholipids = Glycerol + 2 fatty acids + Phosphate + Polar head group", "## Key Feature", "AMPHIPATHIC: Hydrophilic head (polar) + Hydrophobic tails (non-polar) → forms bilayer membranes", "## Types", "• Phosphatidylcholine (lecithin) — most common; lung surfactant", "• Phosphatidylethanolamine — in brain/nerve membranes", "• Phosphatidylserine — inner leaflet; apoptosis signal when flipped", "• Phosphatidylinositol — second messenger (IP3/DAG pathway)", "• Sphingomyelin — contains sphingosine (not glycerol); abundant in myelin", "## Clinical", "• Surfactant deficiency (premature infants) → Respiratory Distress Syndrome (NRDS)", ]) add_sn(4, "Galactosemia", [ "## Definition", "Inability to metabolize galactose due to enzyme deficiency.", "## Types", "• Classical (most common): Galactose-1-phosphate uridyl transferase deficiency", "• Galactokinase deficiency: Only cataracts", "## Clinical Features", "• Jaundice, vomiting, poor feeding in neonates on breast milk", "• Liver damage (cirrhosis), cataracts, mental retardation", "• E. coli sepsis in neonates (classic association)", "## Diagnosis", "Reducing substances in urine (Clinitest positive, but dipstick negative — not glucose)", "## Treatment", "Galactose-free diet (no milk/lactose)" ]) add_sn(5, "Structure & Function of Insulin", [ "## Structure", "• Polypeptide: 51 amino acids, 2 chains (A-chain 21 aa + B-chain 30 aa) linked by disulfide bonds", "• Made in β-cells of pancreatic islets of Langerhans", "• Synthesized as Preproinsulin → Proinsulin → Insulin + C-peptide", "• C-peptide: marker of endogenous insulin secretion", "## Actions (ANABOLIC HORMONE)", "• Promotes glucose uptake (GLUT4 in muscle/fat)", "• Glycogenesis (glucose → glycogen)", "• Lipogenesis (glucose → fat)", "• Protein synthesis", "• Inhibits glycogenolysis, gluconeogenesis, lipolysis, ketogenesis", "## Mechanism", "Insulin → binds receptor → Tyrosine kinase activation → GLUT4 translocation to cell surface" ]) add_sn(6, "Glycogen Storage Diseases (GSD)", [ "## What is it?", "Hereditary enzyme deficiencies causing abnormal glycogen accumulation in tissues.", "## Key GSDs (Must Know Table)", "• Type I (Von Gierke): Glucose-6-phosphatase deficiency → hypoglycemia, hepatomegaly, lactic acidosis", "• Type II (Pompe): Lysosomal acid maltase (α-1,4-glucosidase) → cardiomegaly, floppy baby, fatal", "• Type III (Cori): Debranching enzyme deficiency → hepatomegaly, hypoglycemia", "• Type IV (Andersen): Branching enzyme deficiency → cirrhosis", "• Type V (McArdle): Muscle phosphorylase deficiency → muscle cramps on exercise, no lactate rise", "• Type VI (Hers): Liver phosphorylase deficiency → hepatomegaly", ]) add_sn(7, "Lipids — Classification", [ "## Simple Lipids", "• Fatty acids (saturated — no double bonds; unsaturated — has double bonds)", "• Triglycerides (TG) = glycerol + 3 fatty acids — main energy storage", "## Compound Lipids", "• Phospholipids (glycerophospholipids + sphingomyelin)", "• Glycolipids (e.g., gangliosides, cerebrosides) — in nerve tissue", "## Derived Lipids", "• Cholesterol, steroids, bile acids, fat-soluble vitamins (A, D, E, K)", "## Essential Fatty Acids (must come from diet)", "• Linoleic acid (ω-6) → Arachidonic acid → Prostaglandins", "• Linolenic acid (ω-3) → EPA, DHA → anti-inflammatory", "Deficiency: Dermatitis, poor wound healing, growth failure" ]) add_sn(8, "Prostaglandins", [ "## What are they?", "Local hormones (autocoids) made from arachidonic acid. Act near site of production.", "## Synthesis", "FLOW: Membrane phospholipids|Phospholipase A2 → Arachidonic acid|Cyclooxygenase (COX-1, COX-2) → PGG2 → PGH2|Various prostaglandins (PGE2, PGI2, TXA2)", "## Types & Functions", "• PGE2, PGF2α: Uterine contraction, fever, pain, inflammation", "• PGI2 (Prostacyclin, from endothelium): Vasodilator, inhibits platelet aggregation", "• TXA2 (Thromboxane, from platelets): Vasoconstrictor, promotes platelet aggregation", "## Clinical", "• NSAIDs (aspirin, ibuprofen) block COX → reduce inflammation, fever, pain", "• Aspirin: irreversibly inhibits COX (acetylation)" ]) add_sn(9, "Lipoproteins", [ "## What are they?", "Complexes of lipid + protein (apoprotein) for transporting lipids in blood.", "## Types (density increases as lipid content decreases)", "• Chylomicrons: Dietary fat from intestine → tissues. Apo: B-48", "• VLDL: Liver fat → peripheral tissues. Apo: B-100, C, E", "• IDL: Intermediate between VLDL and LDL", "• LDL ('Bad'): Cholesterol to tissues. Apo: B-100. ↑LDL = atherosclerosis", "• HDL ('Good'): Reverse cholesterol transport (tissues → liver). Apo: A-I", "## Key Enzymes", "• Lipoprotein lipase (LPL): Hydrolyzes TG in chylomicrons/VLDL (activated by Apo C-II)", "• LCAT: Cholesterol esterification in HDL", "• CETP: Transfers cholesterol from HDL to LDL/VLDL" ]) add_sn(10, "Transamination Reaction", [ "## Definition", "Transfer of an amino group from an amino acid to a keto acid. Links amino acid metabolism to TCA cycle.", "## Key Feature", "Requires pyridoxal phosphate (PLP) = Vitamin B6 as coenzyme for all aminotransferases.", "## Important Reactions", "• Alanine + α-ketoglutarate ↔ Pyruvate + Glutamate [ALT / SGPT — liver enzyme]", "• Aspartate + α-ketoglutarate ↔ Oxaloacetate + Glutamate [AST / SGOT — liver + heart]", "## Clinical", "• ALT/AST elevated in liver damage (hepatitis, cirrhosis)", "• AST:ALT > 2:1 suggests alcoholic liver disease", "• Glutamate is central collector of all amino groups → then enters urea cycle" ]) add_sn(11, "Alkaptonuria", [ "## Definition", "Autosomal recessive disorder of tyrosine catabolism.", "## Enzyme Deficient", "Homogentisate-1,2-dioxygenase (homogentisic acid oxidase)", "## What Accumulates", "Homogentisic acid → accumulates in blood → excreted in urine", "## Features (3 Cardinal Signs)", "• Dark urine on standing (homogentisic acid oxidizes → dark polymer)", "• Ochronosis: Blue-black pigment deposition in connective tissue (sclera, ear cartilage, tendons)", "• Arthritis: Pigment deposits in joint cartilage → ochronotic arthropathy", "## Diagnosis", "Ferric chloride test: urine turns black/dark. Urine darkens on alkalization.", "## Treatment", "Nitisinone (blocks pathway upstream), Vitamin C (antioxidant), low-protein diet" ]) add_sn(12, "Isoenzymes", [ "## Definition", "Multiple molecular forms of the SAME enzyme that catalyze the same reaction but differ in physical/chemical properties.", "## Examples", "• LDH (Lactate Dehydrogenase): 5 isoforms (LDH1-5) made from H and M subunits", " → LDH1 (HHHH): Heart & RBC (rises in MI)", " → LDH5 (MMMM): Liver & skeletal muscle (rises in liver disease)", "• CK (Creatine Kinase): 3 isoforms (BB, MB, MM)", " → CK-MM: Skeletal muscle", " → CK-MB: Heart (marker of MI — rises 4-6 hours after MI)", " → CK-BB: Brain", "• Alkaline Phosphatase: Liver, bone, intestine, placenta isoforms", "## Clinical Use", "Isoenzymes are used for organ-specific diagnosis of tissue damage." ]) add_sn(13, "Methionine Metabolism", [ "## What is Methionine?", "Essential amino acid, sulfur-containing. Donates methyl groups as SAM.", "## Key Product: SAM (S-Adenosylmethionine)", "SAM = most important methyl group donor in the body", "Methylation reactions: creatine synthesis, epinephrine synthesis, DNA methylation, methylation of norepinephrine", "FLOW: Methionine + ATP → SAM|SAM donates CH3 → SAH (S-adenosylhomocysteine)|SAH → Homocysteine", "## Homocysteine Fate", "• Remethylation: Homocysteine + 5-methylTHF + B12 → Methionine (methionine synthase)", "• Transsulfuration: Homocysteine + Serine + B6 → Cystathionine → Cysteine", "## Homocystinuria", "Cystathionine β-synthase deficiency (B6-dependent) → homocysteine accumulates", "Features: Lens dislocation (downward), Marfanoid features, DVT, mental retardation" ]) add_sn(14, "Oxidative Phosphorylation", [ "## Definition", "Process of ATP synthesis using the proton gradient generated by ETC. Occurs on inner mitochondrial membrane.", "## Mechanism (Chemiosmotic Theory — Mitchell)", "FLOW: NADH/FADH₂ donate electrons to ETC|Electrons pass through Complexes I→II→III→IV|Protons (H⁺) pumped into intermembrane space|Electrochemical gradient created|H⁺ flows back through ATP synthase (Complex V)|ATP synthesized from ADP + Pi", "## P:O Ratio", "• NADH → 2.5 ATP | FADH₂ → 1.5 ATP", "## Inhibitors", "• Complex I: Rotenone, Metformin | Complex III: Antimycin A", "• Complex IV: Cyanide, CO, H₂S | ATP Synthase: Oligomycin", "## Uncouplers", "2,4-DNP, thermogenin (brown fat) — dissipate gradient → heat, no ATP" ]) add_sn(15, "Chemiosmotic Hypothesis (Mitchell's Theory)", [ "## Proposed by: Peter Mitchell (1961) — Nobel Prize 1978", "## Concept", "ATP synthesis is driven by the electrochemical gradient of protons (H⁺) across the inner mitochondrial membrane.", "## Steps", "• Electrons from NADH/FADH₂ pass through ETC complexes", "• At Complexes I, III, IV: H⁺ pumped OUT (from matrix → intermembrane space)", "• This creates: Proton motive force = ΔpH + Δψ (membrane potential)", "• H⁺ flows back through F0F1-ATP synthase (driven by gradient)", "• Energy of flow synthesizes ATP (rotational catalysis of F1 subunit)", "## Key Points", "• Uncouplers allow H⁺ to bypass ATP synthase → energy lost as heat", "• Example of uncoupler: Thermogenin in brown fat (body warming mechanism)" ]) add_sn(16, "Components & Inhibitors of Respiratory Chain", [ "## Components", "• Complex I (NADH dehydrogenase): FMN, Fe-S centers", "• Complex II (Succinate dehydrogenase): FAD, Fe-S centers (does NOT pump H⁺)", "• Ubiquinone (CoQ10): Mobile electron carrier between I/II and III", "• Complex III (Cytochrome bc1): Cytochromes b, c1, Fe-S", "• Cytochrome c: Mobile carrier between III and IV", "• Complex IV (Cytochrome c oxidase): Cytochromes a, a3, Cu centers — uses O₂", "• Complex V (ATP synthase): F0 (membrane) + F1 (matrix) subunits", "## Inhibitors", "• Rotenone/Amytal: Block Complex I", "• Antimycin A: Block Complex III", "• Cyanide/CO/H₂S/Azide: Block Complex IV", "• Oligomycin: Block Complex V (ATP synthase)" ]) add_sn(17, "Porphyrias", [ "## What are Porphyrias?", "Group of disorders due to enzyme deficiencies in heme synthesis pathway.", "## Heme Synthesis (Key Steps)", "FLOW: Glycine + Succinyl-CoA → ALA [ALA synthase — rate limiting; requires B6]|ALA → Porphobilinogen (PBG)|PBG → Uroporphyrinogen|→ Coproporphyrinogen|→ Protoporphyrin IX + Fe²⁺ → HEME", "## Key Porphyrias", "• Acute Intermittent Porphyria (AIP): PBG deaminase deficiency — 5 P's: Pain (abdomen), Polyneuropathy, Psychological, Pink urine, Precipitated by drugs", "• Congenital Erythropoietic Porphyria: Uroporphyrinogen III synthase deficiency — photosensitivity, red teeth (erythrodontia)", "• Porphyria Cutanea Tarda: Uroporphyrinogen decarboxylase deficiency — most common; skin blistering on sun exposure", "• Lead poisoning: Inhibits ALA dehydratase + Ferrochelatase → basophilic stippling of RBCs" ]) add_sn(18, "Antioxidants", [ "## What are Antioxidants?", "Substances that neutralize free radicals (ROS/RNS) and protect cells from oxidative damage.", "## Types", "## Enzymatic Antioxidants:", "• Superoxide dismutase (SOD): O2•⁻ → H₂O₂ (requires Mn/Cu/Zn)", "• Catalase: H₂O₂ → H₂O + O₂ (in peroxisomes)", "• Glutathione peroxidase: H₂O₂ + GSH → H₂O (requires Se)", "## Non-enzymatic Antioxidants:", "• Vitamin E (tocopherol): Lipid-soluble; protects cell membranes from peroxidation", "• Vitamin C (ascorbic acid): Regenerates Vitamin E; aqueous phase", "• Glutathione (GSH): NADPH keeps it reduced (HMP shunt connection)", "• Carotenoids: β-carotene (Vit A precursor); quenches singlet oxygen", "• Selenium: Part of glutathione peroxidase" ]) add_sn(19, "Wilson's Disease", [ "## Definition", "Autosomal recessive disorder of COPPER metabolism. Gene: ATP7B (chromosome 13).", "## Defect", "Deficiency of ceruloplasmin (copper-binding protein) + impaired biliary copper excretion → copper accumulates in liver, brain, cornea, kidney.", "## Features", "• Liver: Hepatitis, cirrhosis, liver failure", "• Brain/Neurological: Tremors, dysarthria, personality change, psychosis", "• Eyes: Kayser-Fleischer rings (green-gold rings in cornea — pathognomonic)", "• Kidney: Renal tubular acidosis (Fanconi syndrome)", "• Hemolytic anemia (Coombs negative)", "## Investigations", "↓ Serum ceruloplasmin, ↑ urinary copper, ↑ liver copper, Kayser-Fleischer rings on slit lamp", "## Treatment", "D-penicillamine (chelator), Trientine, Zinc (blocks intestinal absorption)" ]) add_sn(20, "Respiratory & Metabolic Acidosis", [ "## Normal ABG Values", "pH: 7.35-7.45 | PaCO₂: 35-45 mmHg | HCO₃⁻: 22-26 mEq/L", "## Respiratory Acidosis", "Cause: CO₂ retention (hypoventilation) → ↑PaCO₂ → ↓pH", "Causes: COPD, sleep apnea, neuromuscular disease, drug overdose", "Compensation: Kidneys retain HCO₃⁻ (takes days)", "## Metabolic Acidosis", "Cause: ↑ acid production or ↓ HCO₃⁻ → ↓pH, ↓HCO₃⁻", "Causes: DKA, lactic acidosis, renal failure, diarrhea (losing HCO₃⁻)", "Calculate Anion Gap: Na⁺ − (Cl⁻ + HCO₃⁻). Normal: 8-12", "High AG: DKA, lactic acidosis, uremia, salicylate poisoning", "Normal AG: Diarrhea, RTA, saline infusion", "Compensation: Hyperventilation (Kussmaul breathing) to blow off CO₂ — immediate" ]) add_sn(21, "Electrophoresis", [ "## Definition", "Technique to separate charged molecules (proteins, DNA, RNA) based on size and charge in an electric field.", "## Principle", "Charged molecules migrate toward opposite pole. Smaller molecules move faster.", "## Types", "• Cellulose acetate electrophoresis: Separates serum proteins", "• SDS-PAGE: Denatures proteins, separates by size only", "• Agarose gel: Separates DNA/RNA fragments", "• Isoelectric focusing: Separates by isoelectric point (pI)", "## Serum Protein Electrophoresis — Band Order (anode → cathode)", "Albumin → α1-globulin → α2-globulin → β-globulin → γ-globulin", "## Clinical Applications", "• Monoclonal band (M-spike) in γ region: Multiple myeloma", "• Bisalbuminemia, analbuminemia", "• HbS vs HbA separation in sickle cell diagnosis" ]) add_sn(22, "Iron Metabolism", [ "## Absorption", "Fe³⁺ (dietary) reduced to Fe²⁺ by vitamin C → absorbed in duodenum via DMT-1 transporter", "Heme iron (from meat) absorbed more efficiently than non-heme iron", "## Transport in Blood", "Fe²⁺ → oxidized to Fe³⁺ → binds TRANSFERRIN (β-globulin) → carried to bone marrow/liver", "## Storage", "FERRITIN (in liver, spleen, marrow) — main storage form", "HEMOSIDERIN — insoluble storage, seen in iron overload", "## Clinical", "• Iron deficiency anemia: Microcytic hypochromic anemia, ↓ferritin, ↑TIBC, ↓serum iron", "• Hemochromatosis: Iron overload — bronze diabetes, cirrhosis, cardiomyopathy; HFE gene mutation", "• Labs in IDA: ↓Hb, ↓MCV, ↓serum Fe, ↓ferritin, ↑TIBC" ]) add_sn(23, "Basal Metabolic Rate (BMR)", [ "## Definition", "Minimum energy required by the body at REST to maintain basic life functions (breathing, circulation, cell repair).", "## Normal BMR", "Men: ~1600-1800 kcal/day | Women: ~1300-1500 kcal/day", "## Factors Affecting BMR", "• Increases: Hyperthyroidism, fever (↑13% per 1°C rise), stress, pregnancy, children, tall/muscular", "• Decreases: Hypothyroidism, starvation, old age, sleep, malnutrition", "## Measurement", "• Direct calorimetry: Measure heat output in a calorimeter", "• Indirect calorimetry: Measure O₂ consumption (RQ = CO₂ produced / O₂ consumed)", "Normal RQ: Carbohydrate = 1.0 | Fat = 0.7 | Mixed diet = 0.85", "## Regulatory Factor", "Thyroid hormone is the MAIN regulator of BMR" ]) add_sn(24, "PEM (Protein Energy Malnutrition)", [ "## Two Main Types", "## Kwashiorkor (Protein deficiency)", "• Adequate calories but very low protein", "• Age: 1-3 years (after weaning)", "• Features: Edema (pitting), pot belly, fatty liver, skin/hair changes (flag sign), normal or increased weight", "• Edema due to: ↓Albumin → ↓oncotic pressure → fluid leaks", "## Marasmus (Calorie + Protein deficiency)", "• Both calories and protein severely deficient", "• Age: <1 year", "• Features: Severe wasting, monkey facies, loose skin, NO edema, very low weight, alert but irritable", "• Looks like 'old man' — wizened appearance", "## Comparison", "Kwashiorkor: Edema + Fatty liver + Normal-high weight vs Marasmus: Wasting + No edema + Very low weight" ]) add_sn(25, "Balanced Diet", [ "## Definition", "Diet that provides all essential nutrients in correct proportions for optimal health.", "## Recommended Daily Intake (approximate)", "• Carbohydrates: 55-60% of total calories", "• Proteins: 10-15% (0.8 g/kg/day for adults; higher in children, pregnancy)", "• Fats: 25-30% (saturated <10%, PUFA >10%)", "• Fiber: 25-30 g/day", "• Water: 2-3 liters/day", "## Essential Components", "• Macronutrients: Carbs, proteins, fats", "• Micronutrients: Vitamins, minerals", "• Roughage (fiber): Prevents constipation, reduces colon cancer risk", "## Reference Man (ICMR)", "55 kg adult male, moderate work: ~2425 kcal/day", "Reference Woman: 55 kg, moderate work: ~1875 kcal/day" ]) add_sn(26, "Purine Salvage Pathway", [ "## What is it?", "Reuse of free purines (adenine, guanine, hypoxanthine) from DNA/RNA breakdown — saves energy compared to de novo synthesis.", "## Key Enzymes", "• APRT (adenine phosphoribosyl transferase): Adenine + PRPP → AMP", "• HGPRT (hypoxanthine-guanine phosphoribosyl transferase): Hypoxanthine → IMP; Guanine → GMP", "## Lesch-Nyhan Syndrome", "HGPRT deficiency (X-linked) → purines cannot be salvaged → excess → uric acid", "Features: Gout, intellectual disability, self-mutilation (lip/finger biting), choreoathetosis", "## PRPP (Phosphoribosyl pyrophosphate)", "Required for both salvage and de novo purine synthesis. Provides ribose-5-phosphate backbone." ]) add_sn(27, "GOUT", [ "## Definition", "Disorder of purine metabolism with raised serum uric acid (hyperuricemia) → urate crystal deposition.", "## Pathogenesis", "Purines → Xanthine → Uric acid [Xanthine oxidase enzyme]", "Uric acid crystals (monosodium urate) deposit in joints, kidney, soft tissues", "## Features", "• Acute gouty arthritis: Sudden severe pain, swollen red joint (1st MTP joint — great toe = Podagra)", "• Tophi: Urate deposits in pinnae, tendons", "• Gouty nephropathy, uric acid kidney stones", "## Investigations", "↑ Serum uric acid (>7 mg/dL men, >6 mg/dL women), needle-shaped negatively birefringent crystals in joint fluid", "## Treatment", "• Acute: Colchicine, NSAIDs, corticosteroids", "• Chronic/prevention: Allopurinol (xanthine oxidase inhibitor), Febuxostat, Uricosurics (probenecid)" ]) add_sn(28, "Structure & Function of rRNA", [ "## What is rRNA?", "Ribosomal RNA — most abundant type of RNA. Forms the structural and catalytic core of ribosomes.", "## Ribosome Structure", "• Prokaryote (70S): 50S (23S + 5S rRNA) + 30S (16S rRNA)", "• Eukaryote (80S): 60S (28S + 5.8S + 5S rRNA) + 40S (18S rRNA)", "(Remember: 70S = 50S + 30S | 80S = 60S + 40S)", "## Functions of rRNA", "• Structural scaffold of ribosome", "• Peptidyl transferase activity (23S rRNA in bacteria — is a ribozyme!)", "• Decoding mRNA codons", "## Clinical", "Many antibiotics target prokaryotic ribosomes (NOT eukaryotic):", "• 30S inhibitors: Tetracyclines, Aminoglycosides (streptomycin)", "• 50S inhibitors: Chloramphenicol, Erythromycin, Linezolid, Clindamycin" ]) add_sn(29, "Genetic Code", [ "## Definition", "The rules by which nucleotide triplets (codons) in mRNA specify amino acids.", "## Properties of Genetic Code", "• Triplet code: 3 nucleotides = 1 codon → codes for 1 amino acid", "• Non-overlapping: Each nucleotide read only once", "• Universal: Same in all organisms (except mitochondria)", "• Degenerate (redundant): Multiple codons for same amino acid (64 codons for 20 amino acids)", "• Commaless/continuous: No gaps between codons", "• Start codon: AUG (codes for Methionine — first amino acid)", "• Stop codons: UAA, UAG, UGA (no amino acid — terminate protein synthesis)", "• Wobble hypothesis (Crick): Third base of codon is flexible in pairing" ]) add_sn(30, "PCR (Polymerase Chain Reaction)", [ "## What is PCR?", "A technique to amplify (make millions of copies of) a specific DNA sequence in vitro.", "## Three Steps (Thermal Cycling)", "FLOW: Denaturation (94°C): Double-stranded DNA separates into single strands|Annealing (50-65°C): Primers bind to complementary sequences on each strand|Extension (72°C): Taq polymerase synthesizes new DNA strand from primer", "## Key Components", "• Template DNA, Primers (specific oligonucleotides), Taq polymerase (heat-stable), dNTPs, Buffer", "## Types of PCR", "• RT-PCR: RNA → cDNA first (for gene expression studies, COVID-19 diagnosis)", "• qPCR (Real-time PCR): Quantifies DNA in real-time", "• Multiplex PCR: Multiple primer pairs at once", "## Applications", "Genetic disease diagnosis, forensics, paternity testing, infection diagnosis (COVID-19, TB), DNA fingerprinting" ]) add_sn(31, "Immunoglobulins", [ "## Structure", "Y-shaped glycoprotein: 2 Heavy chains + 2 Light chains linked by disulfide bonds", "Regions: Fab (antigen binding — variable region), Fc (constant — effector functions)", "## Five Types", "• IgG: Most abundant; crosses placenta (maternal immunity to newborn); secondary response", "• IgA: In secretions (tears, saliva, breast milk, gut) — mucosal immunity; dimer", "• IgM: Largest (pentamer); first Ig in primary response; ABO blood group antibodies", "• IgE: Binds mast cells/basophils → allergic reactions and parasitic defense", "• IgD: On surface of naive B cells; function unclear", "## Clinical", "• Multiple myeloma: Excess monoclonal Ig (M-spike on electrophoresis)", "• Bruton's agammaglobulinemia: No B cells → no Igs → recurrent bacterial infections" ]) add_sn(32, "Chromatography", [ "## Definition", "Technique to separate mixtures based on differential distribution between a stationary phase and mobile phase.", "## Types", "• Paper chromatography: Stationary = water on paper, mobile = organic solvent. Used for amino acids, sugars.", "• Thin-layer chromatography (TLC): Silica on glass plate.", "• Ion-exchange chromatography: Separates by charge (+ or −). Used for amino acid sequencing.", "• Gel filtration (size exclusion): Separates by SIZE. Large molecules elute first.", "• Affinity chromatography: Separates by specific binding (e.g., ligand-receptor). Highly specific.", "• HPLC (High Performance Liquid Chromatography): High resolution, fast. Used in HbA1c measurement.", "## Rf Value (Paper/TLC)", "Rf = distance moved by substance / distance moved by solvent. Range 0 to 1. Each compound has characteristic Rf." ]) add_sn(33, "Tumour Markers", [ "## Definition", "Substances (proteins, hormones, enzymes) produced by tumours or the body in response to tumours. Used for screening, monitoring treatment, and detecting recurrence.", "## Key Tumour Markers", "• AFP (Alpha-fetoprotein): Hepatocellular carcinoma (HCC), testicular germ cell tumours, neural tube defects", "• CEA (Carcinoembryonic antigen): Colorectal cancer (monitoring), lung, breast, pancreatic", "• PSA (Prostate-specific antigen): Prostate cancer (screening + monitoring)", "• CA 125: Ovarian cancer", "• CA 19-9: Pancreatic cancer", "• CA 15-3: Breast cancer", "• hCG (β-hCG): Choriocarcinoma, hydatidiform mole, testicular tumours", "• Calcitonin: Medullary thyroid carcinoma", "• S100: Melanoma", "• Note: No tumour marker is 100% specific — used alongside other investigations" ]) add_sn(34, "Van den Bergh Test", [ "## Definition", "Test to measure serum bilirubin and distinguish between direct (conjugated) and indirect (unconjugated) bilirubin.", "## Principle", "Bilirubin + Diazo reagent (Ehrlich's diazonium compound) → pink/purple azobilirubin colour", "## Types", "## Direct Reaction (Direct Bilirubin = Conjugated):", "React DIRECTLY with diazo reagent in aqueous solution", "Normal: <0.3 mg/dL. Elevated in: obstructive jaundice, hepatocellular jaundice (post-hepatic)", "## Indirect Reaction (Indirect Bilirubin = Unconjugated):", "Needs alcohol to dissolve (water insoluble) before reacting", "Indirect = Total − Direct bilirubin", "Normal: <1.0 mg/dL. Elevated in: hemolytic jaundice, Gilbert's syndrome, neonatal jaundice", "## Clinical Interpretation", "• Pre-hepatic (hemolysis): ↑ Indirect bilirubin", "• Post-hepatic (obstruction): ↑ Direct bilirubin (dark urine, pale stools)", "• Hepatocellular (liver disease): Both ↑" ]) # BUILD PDF doc.build(story) print("PDF created successfully!") PYEOF python3 /tmp/workspace/biochem-exam/generate.py

Running Command

mkdir -p /tmp/workspace/biochem-exam && ls /tmp/workspace/biochem-exam/

This is a shared conversation. Sign in to Orris to start your own chat.