Based on the image provided, here is a table of topics categorized by their respective chapters: | Chapter | Topic Name | Repetitions | Years Asked | Priority | | :---------------------------------- | :---------------------------------------------------- | :---------- | :--------------------------------- | :-------- | | **Clinical & Organ Function Tests** | Liver Function Tests & Jaundice (Bilirubin) | 7 | 2018, '19, '20, '21, '22, '23, '25 | Very High | | | Tumor Markers & Oncogenes | 7 | 2018, '19, '20, '21, '22, '23, '25 | Very High | | | Renal Function Tests (Creatinine/ Urea clearance) | 5 | 2019, '21, '22, '23, '25 | Very High | | | Thyroid Function Tests | 4 | 2019, '21, '22, '23 | High | | **Molecular Biology (Genetics)** | Transcription & Post-transcriptional Mods | 6 | 2018, '19, '20, '21, '22, '25 | Very High | | | PCR and its Applications | 6 | 2018, '20, '21, '22, '23, '25 | Very High | | | Recombinant DNA Tech & Vectors | 6 | 2018, '19, '21, '22, '23, '25 | Very High | | | Genetic Code & Wobble Hypothesis | 5 | 2018, '19, '21, '22, '23 | Very High | | | DNA Repair Mechanisms (e.g., Xeroderma Pigmentosum) | 4 | 2018, '19, '21, '22 | High | | | Mutations | 4 | 2018, '19, '20, '21 | High | | | Translation & Inhibitors | 3 | 2019, '21, '22 | High | | | Operon Concept (Lac Operon) | 3 | 2019, '21, '22 | High | | **Carbohydrate Metabolism** | Diabetes Mellitus / Blood Glucose Reg. / Ketoacidosis | 7 | 2018, '19, '20, '21, '22, '23, '25 | Very High | | | Glycogen Storage Diseases (e.g., Von Gierke's) | 5 | 2018, '19, '21, '22, '23 | Very High | | | Glycolysis & RBC Metabolism | 3 | 2018, '20, '23 | High | | | HbA1c (Glycosylated Hemoglobin) | 3 | 2019, '20, '21 | High | | | Cori's Cycle | 2 | 2023, '23 | Moderate | | **Lipid Metabolism** | Lipoproteins (HDL, LDL, VLDL, Chylomicrons) | 5 | 2018, '19, '21, '22, '23 | Very High | | | Ketone Bodies / Ketogenesis / Ketosis | 5 | 2019, '20, '21, '22, '23 | Very High | | | Cholesterol Synthsis & Regulation (HMG CoA) | 4 | 2018, '19, '23, '25 | High | | | Atherosclerosis | 4 | 2018, '19, '22, '23 | High | | | Beta-Oxidation of Fatty Acids | 3 | 2018, '19, '22 | High | | | Essential Fatty Acids | 4 | 2018, '20, '21, '22 | High | | | Fatty Liver & Lipotropic Factors | 4 | 2018, '19, '21, '22 | High | | **Protein & Amino Acid Metabolism** | Phenylketonuria (PKU) | 6 | 2018, '19, '20, '21, '22, '23 | Very High | | | Urea Cycle & Ammonia Toxicity | 5 | 2018, '19, '21, '23, '25 | Very High | | | Protein Energy Malnutrition (Kwashiorkor/ Marasmus) | 4 | 2018, '19, '22, '23 | High | | | Transamination | 2 | 2022, '23 | Moderate | | | Tyrosine Metabolism / Alkaptonuria | 2 | 2019, '20 | Moderate | | **Enzymes & Immunology** | Competitive Enzyme Inhibition | 6 | 2018, '19, '20, '22, '23, '25 | Very High | | | Diagnostic Significance of Isoenzymes | 6 | 2018, '19, '21, '22, '23, '25 | Very High | | | Immunoglobulins (Structure, Types, Functions) | 6 | 2018, '20, '21, '22, '23, '25 | Very High | | | Monoclonal Antibodies | 2 | 2022, '23 | Moderate | | **Vitamins & Minerals** | Vitamin D (Functions, Hormone role, Deficiency) | 6 | 2018, '19, '20, '22, '23, '25 | Very High | | | Vitamin C (Collagen, Scurvy, Antioxidant) | 5 | 2018, '19, '21, '22, '23 | Very High | | | Antioxidant Vitamins / Free Radicals / Vit E | 5 | 2020, '21, '22, '23, '25 | Very High | | | Folic Acid & Inhibitors (Methotrexate) | 4 | 2019, '21, '22, '23 | High | | | Calcium Homeostasis | 3 | 2019, '22, '23 | High | | | Iron Metabolism | 3 | 2018, '19, '22 | High | | **Miscellaneous** | Acid-Base Balance & Buffers | 6 | 2018, '19, '20, '22, '23, '25 | Very High | | | Detoxification / Xenobiotics | 6 | 2018, '19, '20, '21, '22, '23 | Very High | | | Heme Synthesis, Degradation & Porphyrias | 5 | 2018, '19, '21, '23, '25 | Very High | | | Purine Catabolism & Gout / Lesch-Nyhan | 5 | 2019, '20, '21, '22, '23 | Very High | | | Biological Oxidation / ETC / Uncouplers | 5 | 2018, '19, '20, '22, '23 | Very High |

Asking for Preferences
Asking for Preferences
Reading File
Running Command

ls -la /tmp/workspace/ 2>/dev/null || echo "workspace empty or missing"

Running Command

mkdir -p /tmp/workspace/biochem-pdf && python3 << 'EOF' from reportlab.lib.pagesizes import A4, landscape from reportlab.lib import colors from reportlab.lib.units import cm from reportlab.platypus import SimpleDocTemplate, Table, TableStyle, Paragraph, Spacer from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle from reportlab.lib.enums import TA_CENTER, TA_LEFT from reportlab.platypus import KeepTogether output_path = "/tmp/workspace/biochem-pdf/Biochemistry_Exam_Topics.pdf" doc = SimpleDocTemplate( output_path, pagesize=landscape(A4), rightMargin=1.5*cm, leftMargin=1.5*cm, topMargin=2*cm, bottomMargin=2*cm, title="Biochemistry Exam Topics - Priority Table", author="Orris" ) styles = getSampleStyleSheet() title_style = ParagraphStyle( "Title", parent=styles["Title"], fontSize=16, textColor=colors.HexColor("#1a1a2e"), spaceAfter=4, alignment=TA_CENTER, ) subtitle_style = ParagraphStyle( "Subtitle", parent=styles["Normal"], fontSize=9, textColor=colors.HexColor("#555555"), spaceAfter=14, alignment=TA_CENTER, ) cell_style = ParagraphStyle( "Cell", parent=styles["Normal"], fontSize=8, leading=11, ) chapter_style = ParagraphStyle( "Chapter", parent=styles["Normal"], fontSize=8, leading=11, textColor=colors.white, fontName="Helvetica-Bold", ) header_style = ParagraphStyle( "Header", parent=styles["Normal"], fontSize=9, leading=12, textColor=colors.white, fontName="Helvetica-Bold", alignment=TA_CENTER, ) # Priority color map priority_colors = { "Very High": colors.HexColor("#d62828"), "High": colors.HexColor("#f77f00"), "Moderate": colors.HexColor("#2a9d8f"), } priority_text_colors = { "Very High": colors.white, "High": colors.white, "Moderate": colors.white, } # Chapter header colors (alternating) chapter_bg_colors = [ colors.HexColor("#1a1a2e"), colors.HexColor("#16213e"), colors.HexColor("#0f3460"), colors.HexColor("#1a4568"), colors.HexColor("#2c3e50"), colors.HexColor("#1b4332"), colors.HexColor("#370617"), colors.HexColor("#3d405b"), ] # ── DATA ────────────────────────────────────────────────────────────────────── chapters = [ { "name": "Clinical & Organ Function Tests", "topics": [ ("Liver Function Tests & Jaundice (Bilirubin)", 7, "2018, '19, '20, '21, '22, '23, '25", "Very High"), ("Tumor Markers & Oncogenes", 7, "2018, '19, '20, '21, '22, '23, '25", "Very High"), ("Renal Function Tests (Creatinine / Urea clearance)", 5, "2019, '21, '22, '23, '25", "Very High"), ("Thyroid Function Tests", 4, "2019, '21, '22, '23", "High"), ], }, { "name": "Molecular Biology (Genetics)", "topics": [ ("Transcription & Post-transcriptional Modifications", 6, "2018, '19, '20, '21, '22, '25", "Very High"), ("PCR and its Applications", 6, "2018, '20, '21, '22, '23, '25", "Very High"), ("Recombinant DNA Technology & Vectors", 6, "2018, '19, '21, '22, '23, '25", "Very High"), ("Genetic Code & Wobble Hypothesis", 5, "2018, '19, '21, '22, '23", "Very High"), ("DNA Repair Mechanisms (e.g., Xeroderma Pigmentosum)", 4, "2018, '19, '21, '22", "High"), ("Mutations", 4, "2018, '19, '20, '21", "High"), ("Translation & Inhibitors", 3, "2019, '21, '22", "High"), ("Operon Concept (Lac Operon)", 3, "2019, '21, '22", "High"), ], }, { "name": "Carbohydrate Metabolism", "topics": [ ("Diabetes Mellitus / Blood Glucose Reg. / Ketoacidosis", 7, "2018, '19, '20, '21, '22, '23, '25", "Very High"), ("Glycogen Storage Diseases (e.g., Von Gierke's)", 5, "2018, '19, '21, '22, '23", "Very High"), ("Glycolysis & RBC Metabolism", 3, "2018, '20, '23", "High"), ("HbA1c (Glycosylated Hemoglobin)", 3, "2019, '20, '21", "High"), ("Cori's Cycle", 2, "2022, '23", "Moderate"), ], }, { "name": "Lipid Metabolism", "topics": [ ("Lipoproteins (HDL, LDL, VLDL, Chylomicrons)", 5, "2018, '19, '21, '22, '23", "Very High"), ("Ketone Bodies / Ketogenesis / Ketosis", 5, "2019, '20, '21, '22, '23", "Very High"), ("Cholesterol Synthesis & Regulation (HMG CoA)", 4, "2018, '19, '23, '25", "High"), ("Atherosclerosis", 4, "2018, '19, '22, '23", "High"), ("Beta-Oxidation of Fatty Acids", 3, "2018, '19, '22", "High"), ("Essential Fatty Acids", 4, "2018, '20, '21, '22", "High"), ("Fatty Liver & Lipotropic Factors", 4, "2018, '19, '21, '22", "High"), ], }, { "name": "Protein & Amino Acid Metabolism", "topics": [ ("Phenylketonuria (PKU)", 6, "2018, '19, '20, '21, '22, '23", "Very High"), ("Urea Cycle & Ammonia Toxicity", 5, "2018, '19, '21, '23, '25", "Very High"), ("Protein Energy Malnutrition (Kwashiorkor / Marasmus)", 4, "2018, '19, '22, '23", "High"), ("Transamination", 2, "2022, '23", "Moderate"), ("Tyrosine Metabolism / Alkaptonuria", 2, "2019, '20", "Moderate"), ], }, { "name": "Enzymes & Immunology", "topics": [ ("Competitive Enzyme Inhibition", 6, "2018, '19, '20, '22, '23, '25", "Very High"), ("Diagnostic Significance of Isoenzymes", 6, "2018, '19, '21, '22, '23, '25", "Very High"), ("Immunoglobulins (Structure, Types, Functions)", 6, "2018, '20, '21, '22, '23, '25", "Very High"), ("Monoclonal Antibodies", 2, "2022, '23", "Moderate"), ], }, { "name": "Vitamins & Minerals", "topics": [ ("Vitamin D (Functions, Hormone role, Deficiency)", 6, "2018, '19, '20, '22, '23, '25", "Very High"), ("Vitamin C (Collagen, Scurvy, Antioxidant)", 5, "2018, '19, '21, '22, '23", "Very High"), ("Antioxidant Vitamins / Free Radicals / Vit E", 5, "2020, '21, '22, '23, '25", "Very High"), ("Folic Acid & Inhibitors (Methotrexate)", 4, "2019, '21, '22, '23", "High"), ("Calcium Homeostasis", 3, "2019, '22, '23", "High"), ("Iron Metabolism", 3, "2018, '19, '22", "High"), ], }, { "name": "Miscellaneous", "topics": [ ("Acid-Base Balance & Buffers", 6, "2018, '19, '20, '22, '23, '25", "Very High"), ("Detoxification / Xenobiotics", 6, "2018, '19, '20, '21, '22, '23", "Very High"), ("Heme Synthesis, Degradation & Porphyrias", 5, "2018, '19, '21, '23, '25", "Very High"), ("Purine Catabolism & Gout / Lesch-Nyhan", 5, "2019, '20, '21, '22, '23", "Very High"), ("Biological Oxidation / ETC / Uncouplers", 5, "2018, '19, '20, '22, '23", "Very High"), ], }, ] # Column widths (landscape A4 usable ~ 25.7 cm) col_widths = [5.8*cm, 10.5*cm, 2.0*cm, 5.5*cm, 2.8*cm] # Build table rows table_data = [] table_style_cmds = [] # Header row header_row = [ Paragraph("Chapter", header_style), Paragraph("Topic Name", header_style), Paragraph("Reps", header_style), Paragraph("Years Asked", header_style), Paragraph("Priority", header_style), ] table_data.append(header_row) table_style_cmds += [ ("BACKGROUND", (0, 0), (-1, 0), colors.HexColor("#1a1a2e")), ("ROWBACKGROUND", (0, 0), (-1, 0), colors.HexColor("#1a1a2e")), ("TEXTCOLOR", (0, 0), (-1, 0), colors.white), ("FONTNAME", (0, 0), (-1, 0), "Helvetica-Bold"), ("FONTSIZE", (0, 0), (-1, 0), 9), ("ALIGN", (0, 0), (-1, 0), "CENTER"), ("VALIGN", (0, 0), (-1, 0), "MIDDLE"), ("TOPPADDING", (0, 0), (-1, 0), 7), ("BOTTOMPADDING", (0, 0), (-1, 0), 7), ] current_row = 1 for ch_idx, chapter in enumerate(chapters): ch_color = chapter_bg_colors[ch_idx % len(chapter_bg_colors)] ch_start = current_row for t_idx, (topic, reps, years, priority) in enumerate(chapter["topics"]): p_bg = priority_colors.get(priority, colors.grey) p_tc = priority_text_colors.get(priority, colors.white) # Chapter cell only in first topic row if t_idx == 0: ch_cell = Paragraph(chapter["name"], chapter_style) else: ch_cell = Paragraph("", cell_style) row = [ ch_cell, Paragraph(topic, cell_style), Paragraph(str(reps), ParagraphStyle("center_cell", parent=cell_style, alignment=TA_CENTER)), Paragraph(years, cell_style), Paragraph(priority, ParagraphStyle("priority_cell", parent=cell_style, textColor=p_tc, fontName="Helvetica-Bold", alignment=TA_CENTER)), ] table_data.append(row) # Row background (alternating light shades within chapter) row_bg = colors.HexColor("#f0f4ff") if t_idx % 2 == 0 else colors.HexColor("#e8edf7") table_style_cmds.append(("BACKGROUND", (1, current_row), (-2, current_row), row_bg)) table_style_cmds.append(("BACKGROUND", (-1, current_row), (-1, current_row), p_bg)) table_style_cmds.append(("TEXTCOLOR", (-1, current_row), (-1, current_row), p_tc)) current_row += 1 ch_end = current_row - 1 # Chapter column: span all rows of this chapter, chapter background table_style_cmds.append(("BACKGROUND", (0, ch_start), (0, ch_end), ch_color)) table_style_cmds.append(("SPAN", (0, ch_start), (0, ch_end))) table_style_cmds.append(("VALIGN", (0, ch_start), (0, ch_end), "MIDDLE")) table_style_cmds.append(("ALIGN", (0, ch_start), (0, ch_end), "CENTER")) # Thick border between chapters if ch_idx < len(chapters) - 1: table_style_cmds.append(("LINEBELOW", (0, ch_end), (-1, ch_end), 1.5, colors.HexColor("#888888"))) # Global table style table_style_cmds += [ ("GRID", (0, 0), (-1, -1), 0.4, colors.HexColor("#bbbbbb")), ("VALIGN", (0, 0), (-1, -1), "MIDDLE"), ("LEFTPADDING", (0, 0), (-1, -1), 5), ("RIGHTPADDING", (0, 0), (-1, -1), 5), ("TOPPADDING", (0, 1), (-1, -1), 4), ("BOTTOMPADDING", (0, 1), (-1, -1), 4), ("FONTNAME", (1, 1), (3, -1), "Helvetica"), ("FONTSIZE", (1, 1), (-1, -1), 8), ] t = Table(table_data, colWidths=col_widths, repeatRows=1) t.setStyle(TableStyle(table_style_cmds)) # Legend table legend_data = [ [ Paragraph("<b>Priority Legend:</b>", ParagraphStyle("leg", parent=styles["Normal"], fontSize=8)), Paragraph("Very High (asked 5-7 times)", ParagraphStyle("leg_vh", parent=styles["Normal"], fontSize=8, textColor=colors.white, backColor=priority_colors["Very High"], fontName="Helvetica-Bold")), Paragraph("High (asked 3-4 times)", ParagraphStyle("leg_h", parent=styles["Normal"], fontSize=8, textColor=colors.white, backColor=priority_colors["High"], fontName="Helvetica-Bold")), Paragraph("Moderate (asked 1-2 times)", ParagraphStyle("leg_m", parent=styles["Normal"], fontSize=8, textColor=colors.white, backColor=priority_colors["Moderate"], fontName="Helvetica-Bold")), ] ] legend_table = Table(legend_data, colWidths=[3.5*cm, 4.5*cm, 4*cm, 5*cm]) legend_table.setStyle(TableStyle([ ("BACKGROUND", (1, 0), (1, 0), priority_colors["Very High"]), ("BACKGROUND", (2, 0), (2, 0), priority_colors["High"]), ("BACKGROUND", (3, 0), (3, 0), priority_colors["Moderate"]), ("VALIGN", (0, 0), (-1, -1), "MIDDLE"), ("TOPPADDING", (0, 0), (-1, -1), 4), ("BOTTOMPADDING", (0, 0), (-1, -1), 4), ("LEFTPADDING", (0, 0), (-1, -1), 6), ("RIGHTPADDING", (0, 0), (-1, -1), 6), ("GRID", (0, 0), (-1, -1), 0.4, colors.HexColor("#bbbbbb")), ])) elements = [ Paragraph("Biochemistry Exam Topics - Priority Reference Table", title_style), Paragraph("Topics ranked by frequency of appearance in past exams (2018-2025)", subtitle_style), t, Spacer(1, 0.4*cm), legend_table, ] doc.build(elements) print("PDF created successfully at:", output_path) EOF

Your PDF is ready! Here's what's included:

Biochemistry Exam Topics

PDF Document · PDF

What's in the file:
  • Landscape A4 format for easy reading
  • All 8 chapters with color-coded chapter headers (each chapter gets its own dark color band)
  • All 44 topics with repetition counts and years asked
  • Priority column color-coded: red = Very High, orange = High, teal = Moderate
  • A priority legend at the bottom
  • Alternating row shading within chapters for readability
  • Repeating column headers if the table spans pages
This is a shared conversation. Sign in to Orris to start your own chat.