prepare 5 mcq questions with key on the topic of carbohydrates for first year biochemistry ppt

Reading File
Reading File
Reading File
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Reading File
Finding Sources
Reading File
Running Command

ls -la /home/daytona/workspace/ 2>/dev/null || echo "workspace not found"

Running Command

mkdir -p /home/daytona/workspace/carbohydrates-mcq

Writing File

~/carbohydrates-mcq/create_pptx.js

const pptxgen = require("pptxgenjs");
const pres = new pptxgen();
pres.layout = "LAYOUT_16x9";
pres.title = "Carbohydrates MCQ - First Year Biochemistry";

// ─── THEME ───────────────────────────────────────────────────────────────────
const DARK_BG   = "1A2340";   // deep navy
const ACCENT    = "F4A623";   // amber/gold
const WHITE     = "FFFFFF";
const LIGHT_BG  = "EFF3FC";
const CORRECT   = "27AE60";   // green
const OPT_BG    = "253055";   // slightly lighter navy for option boxes
const SUBTITLE  = "A8BAD4";
const HEADING_FONT = "Calibri";
const BODY_FONT    = "Calibri";

// ─── SLIDE 1 — TITLE ─────────────────────────────────────────────────────────
const title = pres.addSlide();
title.background = { color: DARK_BG };

// decorative top bar
title.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 0.12, fill: { color: ACCENT }, line: { color: ACCENT } });

// molecule icon (decorative hexagons)
title.addShape(pres.shapes.HEXAGON, { x: 8.0, y: 0.6, w: 0.7, h: 0.7, fill: { color: "2A3F6F" }, line: { color: ACCENT, width: 1.5 } });
title.addShape(pres.shapes.HEXAGON, { x: 8.7, y: 0.9, w: 0.7, h: 0.7, fill: { color: "2A3F6F" }, line: { color: ACCENT, width: 1.5 } });
title.addShape(pres.shapes.HEXAGON, { x: 8.0, y: 1.5, w: 0.7, h: 0.7, fill: { color: "2A3F6F" }, line: { color: ACCENT, width: 1.5 } });

// main title
title.addText("CARBOHYDRATES", {
  x: 0.5, y: 1.2, w: 7.2, h: 1.0,
  fontSize: 46, bold: true, color: WHITE, fontFace: HEADING_FONT,
  charSpacing: 4, valign: "middle"
});

// subtitle
title.addText("MCQ Assessment — First Year Biochemistry", {
  x: 0.5, y: 2.3, w: 7.5, h: 0.55,
  fontSize: 22, color: ACCENT, fontFace: HEADING_FONT, valign: "middle"
});

// divider line
title.addShape(pres.shapes.RECTANGLE, { x: 0.5, y: 3.0, w: 4.0, h: 0.04, fill: { color: ACCENT }, line: { color: ACCENT } });

// info pills
title.addText("5 Questions  |  Answer Key Included  |  Based on Harper's & Basic Medical Biochemistry", {
  x: 0.5, y: 3.2, w: 9, h: 0.4,
  fontSize: 13, color: SUBTITLE, fontFace: BODY_FONT, italic: true
});

// bottom bar
title.addShape(pres.shapes.RECTANGLE, { x: 0, y: 5.3, w: 10, h: 0.325, fill: { color: "111827" }, line: { color: "111827" } });
title.addText("First Year MBBS  ·  Biochemistry Department", {
  x: 0, y: 5.3, w: 10, h: 0.325,
  fontSize: 12, color: SUBTITLE, fontFace: BODY_FONT, align: "center", valign: "middle"
});

// ─── HELPER: build a question slide ─────────────────────────────────────────
function addQuestionSlide(qNum, qText, options, correctIndex) {
  const s = pres.addSlide();
  s.background = { color: DARK_BG };

  // top bar
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 0.12, fill: { color: ACCENT }, line: { color: ACCENT } });

  // question number badge
  s.addShape(pres.shapes.ROUNDED_RECTANGLE, {
    x: 0.35, y: 0.22, w: 1.1, h: 0.55,
    fill: { color: ACCENT }, line: { color: ACCENT }, rectRadius: 0.08
  });
  s.addText(`Q ${qNum}`, {
    x: 0.35, y: 0.22, w: 1.1, h: 0.55,
    fontSize: 18, bold: true, color: DARK_BG, fontFace: HEADING_FONT,
    align: "center", valign: "middle", margin: 0
  });

  // "of 5" label
  s.addText(`of 5`, { x: 1.5, y: 0.30, w: 0.6, h: 0.35, fontSize: 11, color: SUBTITLE, fontFace: BODY_FONT });

  // question text box
  s.addShape(pres.shapes.RECTANGLE, {
    x: 0.35, y: 0.87, w: 9.3, h: 1.35,
    fill: { color: OPT_BG }, line: { color: "3A5080", width: 1 }
  });
  s.addText(qText, {
    x: 0.5, y: 0.92, w: 9.0, h: 1.25,
    fontSize: 16.5, color: WHITE, fontFace: BODY_FONT,
    valign: "middle", wrap: true, margin: 4
  });

  // options
  const labels = ["A", "B", "C", "D"];
  const optX = [0.35, 5.2];
  const optY = [2.42, 3.55];
  const optW = 4.5;
  const optH = 0.9;

  options.forEach((opt, i) => {
    const row = Math.floor(i / 2);
    const col = i % 2;
    const x = optX[col];
    const y = optY[row];

    // box
    s.addShape(pres.shapes.ROUNDED_RECTANGLE, {
      x, y, w: optW, h: optH,
      fill: { color: OPT_BG },
      line: { color: "3A5080", width: 1 },
      rectRadius: 0.08,
      shadow: { type: "outer", color: "000000", blur: 4, offset: 2, angle: 135, opacity: 0.2 }
    });

    // label bubble
    s.addShape(pres.shapes.ELLIPSE, {
      x: x + 0.1, y: y + 0.2, w: 0.5, h: 0.5,
      fill: { color: "2A3F6F" }, line: { color: ACCENT, width: 1 }
    });
    s.addText(labels[i], {
      x: x + 0.1, y: y + 0.2, w: 0.5, h: 0.5,
      fontSize: 13, bold: true, color: ACCENT, fontFace: HEADING_FONT,
      align: "center", valign: "middle", margin: 0
    });

    // option text
    s.addText(opt, {
      x: x + 0.7, y, w: optW - 0.8, h: optH,
      fontSize: 14, color: WHITE, fontFace: BODY_FONT,
      valign: "middle", wrap: true, margin: 4
    });
  });

  // bottom instruction bar
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 5.3, w: 10, h: 0.325, fill: { color: "111827" }, line: { color: "111827" } });
  s.addText("Select the single best answer", {
    x: 0, y: 5.3, w: 10, h: 0.325,
    fontSize: 11, color: SUBTITLE, fontFace: BODY_FONT,
    align: "center", valign: "middle", italic: true
  });
}

// ─── HELPER: build an answer key slide ──────────────────────────────────────
function addAnswerSlide(qNum, qTextShort, correctLetter, correctText, explanation) {
  const s = pres.addSlide();
  s.background = { color: DARK_BG };

  // top bar
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 0.12, fill: { color: CORRECT }, line: { color: CORRECT } });

  // ANSWER KEY label
  s.addText("✔  ANSWER KEY", {
    x: 0.35, y: 0.15, w: 3, h: 0.45,
    fontSize: 15, bold: true, color: CORRECT, fontFace: HEADING_FONT, valign: "middle"
  });
  s.addText(`Question ${qNum} of 5`, {
    x: 7.0, y: 0.15, w: 2.7, h: 0.45,
    fontSize: 13, color: SUBTITLE, fontFace: BODY_FONT, align: "right", valign: "middle"
  });

  // question short text
  s.addShape(pres.shapes.RECTANGLE, {
    x: 0.35, y: 0.7, w: 9.3, h: 0.85,
    fill: { color: OPT_BG }, line: { color: "3A5080", width: 1 }
  });
  s.addText(qTextShort, {
    x: 0.5, y: 0.72, w: 9.0, h: 0.82,
    fontSize: 14.5, color: SUBTITLE, fontFace: BODY_FONT,
    valign: "middle", wrap: true, margin: 4, italic: true
  });

  // correct answer box
  s.addShape(pres.shapes.ROUNDED_RECTANGLE, {
    x: 0.35, y: 1.7, w: 9.3, h: 0.95,
    fill: { color: "1A3D2B" }, line: { color: CORRECT, width: 2 }, rectRadius: 0.1
  });
  s.addText(`Correct Answer:  ${correctLetter}.  ${correctText}`, {
    x: 0.55, y: 1.72, w: 9.0, h: 0.9,
    fontSize: 17, bold: true, color: CORRECT, fontFace: HEADING_FONT,
    valign: "middle", wrap: true, margin: 4
  });

  // explanation box
  s.addShape(pres.shapes.RECTANGLE, {
    x: 0.35, y: 2.8, w: 9.3, h: 2.3,
    fill: { color: "1E2D50" }, line: { color: "3A5080", width: 1 }
  });
  s.addText("Explanation:", {
    x: 0.55, y: 2.85, w: 9.0, h: 0.38,
    fontSize: 13, bold: true, color: ACCENT, fontFace: HEADING_FONT, valign: "middle"
  });
  s.addText(explanation, {
    x: 0.55, y: 3.22, w: 9.0, h: 1.75,
    fontSize: 13.5, color: WHITE, fontFace: BODY_FONT,
    valign: "top", wrap: true, margin: 4
  });

  // bottom bar
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 5.3, w: 10, h: 0.325, fill: { color: "111827" }, line: { color: "111827" } });
  s.addText("First Year MBBS  ·  Biochemistry Department", {
    x: 0, y: 5.3, w: 10, h: 0.325,
    fontSize: 11, color: SUBTITLE, fontFace: BODY_FONT, align: "center", valign: "middle"
  });
}

// ═══════════════════════════════════════════════════════════════════════════════
// MCQ DATA
// ═══════════════════════════════════════════════════════════════════════════════

const questions = [
  {
    q: "Q1. Which of the following is the PRIMARY storage form of glucose in the human body?",
    opts: ["Starch", "Glycogen", "Cellulose", "Sucrose"],
    correct: 1, // B
    short: "Primary storage form of glucose in the human body?",
    explanation:
      "Glycogen is the body's storage form of glucose, found mainly in liver and skeletal muscle. It is a branched polysaccharide structurally similar to starch (the plant storage form). During fasting, liver glycogen is broken down (glycogenolysis) to maintain blood glucose levels.\n\n" +
      "— Basic Medical Biochemistry (6e), Fig. 1.4"
  },
  {
    q: "Q2. Sucrose is hydrolyzed in the intestinal brush border into which two monosaccharides?",
    opts: ["Glucose + Galactose", "Glucose + Fructose", "Galactose + Fructose", "Glucose + Glucose"],
    correct: 1, // B
    short: "Products of sucrose hydrolysis by intestinal sucrase?",
    explanation:
      "Sucrose (table sugar) is a disaccharide cleaved by sucrase into glucose and fructose. By contrast, lactose is cleaved by lactase into glucose + galactose, and maltose is cleaved by maltase into two glucose molecules.\n\n" +
      "— Costanzo Physiology (7e), Chapter 8; Basic Medical Biochemistry (6e)"
  },
  {
    q: "Q3. The committed (rate-limiting) step of glycolysis is catalyzed by which enzyme?",
    opts: ["Hexokinase", "Pyruvate kinase", "Phosphofructokinase-1 (PFK-1)", "Phosphoglucose isomerase"],
    correct: 2, // C
    short: "Which enzyme catalyzes the committed step of glycolysis?",
    explanation:
      "Phosphofructokinase-1 (PFK-1) converts fructose-6-phosphate to fructose-1,6-bisphosphate and is the committed, rate-limiting step of glycolysis. It is allosterically inhibited by ATP and citrate (high energy state) and activated by AMP and fructose-2,6-bisphosphate.\n\n" +
      "— Basic Medical Biochemistry (6e), Chapter 22; Harper's Illustrated Biochemistry (32e)"
  },
  {
    q: "Q4. Which monosaccharide is transported across the intestinal apical membrane by FACILITATED DIFFUSION (not sodium-coupled transport)?",
    opts: ["Glucose", "Galactose", "Fructose", "Mannose"],
    correct: 2, // C
    short: "Which monosaccharide uses facilitated diffusion (not Na⁺-coupled) for intestinal absorption?",
    explanation:
      "Fructose crosses the intestinal apical membrane via GLUT5 by facilitated diffusion, independent of sodium. Glucose and galactose are absorbed via SGLT1, a sodium-dependent cotransporter. This distinction is clinically relevant in glucose-galactose malabsorption syndrome.\n\n" +
      "— Medical Physiology (Boron & Boulpaep), Box 45-2; Costanzo Physiology (7e)"
  },
  {
    q: "Q5. How many kilocalories of energy are yielded per gram of carbohydrate when completely oxidized in the body?",
    opts: ["2 kcal/g", "4 kcal/g", "7 kcal/g", "9 kcal/g"],
    correct: 1, // B
    short: "Caloric yield per gram of carbohydrate completely oxidized?",
    explanation:
      "Carbohydrates yield approximately 4 kcal/g upon complete oxidation to CO₂ and H₂O. This is the same caloric density as proteins (4 kcal/g). Fats yield 9 kcal/g and alcohol 7 kcal/g. Carbohydrates are already partially oxidized due to their oxygen content, hence their lower caloric density compared to fats.\n\n" +
      "— Basic Medical Biochemistry (6e), Table 1.1"
  }
];

// ─── BUILD SLIDES ─────────────────────────────────────────────────────────────
const labels = ["A", "B", "C", "D"];

// Question slides
questions.forEach((q, i) => {
  addQuestionSlide(i + 1, q.q, q.opts, q.correct);
});

// Separator slide before answer key
const sep = pres.addSlide();
sep.background = { color: DARK_BG };
sep.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 0.12, fill: { color: ACCENT }, line: { color: ACCENT } });
sep.addText("ANSWER KEY", {
  x: 0, y: 1.8, w: 10, h: 1.2,
  fontSize: 52, bold: true, color: WHITE, fontFace: HEADING_FONT,
  align: "center", valign: "middle", charSpacing: 8
});
sep.addShape(pres.shapes.RECTANGLE, { x: 2.5, y: 3.2, w: 5, h: 0.06, fill: { color: ACCENT }, line: { color: ACCENT } });
sep.addText("Correct answers with explanations follow", {
  x: 0, y: 3.4, w: 10, h: 0.5,
  fontSize: 16, color: SUBTITLE, fontFace: BODY_FONT, align: "center", italic: true
});
sep.addShape(pres.shapes.RECTANGLE, { x: 0, y: 5.3, w: 10, h: 0.325, fill: { color: "111827" }, line: { color: "111827" } });

// Answer key slides
questions.forEach((q, i) => {
  addAnswerSlide(
    i + 1,
    q.short,
    labels[q.correct],
    q.opts[q.correct],
    q.explanation
  );
});

// ─── WRITE FILE ───────────────────────────────────────────────────────────────
pres.writeFile({ fileName: "/home/daytona/workspace/carbohydrates-mcq/Carbohydrates_MCQ_Biochemistry.pptx" })
  .then(() => console.log("Done: Carbohydrates_MCQ_Biochemistry.pptx"))
  .catch(e => { console.error(e); process.exit(1); });
Running Command

cd /home/daytona/workspace/carbohydrates-mcq && node create_pptx.js

Editing File

~/carbohydrates-mcq/create_pptx.js

Successfully replaced 1 instance(s) of the string in '/home/daytona/workspace/carbohydrates-mcq/create_pptx.js'
Running Command

node -e "const p = require('pptxgenjs'); const pres = new p(); console.log(Object.keys(pres.shapes).filter(k => k.toLowerCase().includes('hex') || k.toLowerCase().includes('elli')))"

Running Command

cd /home/daytona/workspace/carbohydrates-mcq && node create_pptx.js

The presentation is ready. Here's a summary of what's included:

Carbohydrates MCQ — First Year Biochemistry PPT

Carbohydrates MCQ Biochemistry

Presentation · PPTX

The deck has 12 slides in a professional dark navy + amber theme:
#Slide typeContent
1Title slideTopic, subtitle, department info
2–6Question slides (Q1–Q5)MCQ with 4 options (A–D) in a clean 2×2 grid
7Separator"Answer Key" divider
8–12Answer key slides (Q1–Q5)Correct answer highlighted in green + textbook-sourced explanation

The 5 Questions at a Glance

QTopicAnswer
1Primary storage form of glucose in the human bodyB. Glycogen
2Products of sucrose hydrolysis by intestinal sucraseB. Glucose + Fructose
3Committed/rate-limiting step enzyme of glycolysisC. Phosphofructokinase-1 (PFK-1)
4Monosaccharide absorbed by facilitated diffusion (not Na⁺-coupled)C. Fructose
5Caloric yield per gram of carbohydrateB. 4 kcal/g
All explanations are sourced from Basic Medical Biochemistry (6e), Harper's Illustrated Biochemistry (32e), Costanzo Physiology (7e), and Medical Physiology (Boron & Boulpaep).

Search for recent research on carbohydrate metabolism disorders and glycogen storage diseases questions

Reading File
Finding Sources
Searching PubMed

"glycogen storage disease" treatment

Searching PubMed

"carbohydrate metabolism disorders" diagnosis management

Searching the Web

recent advances glycogen storage diseases treatment 2024 2025

Reading File
Reading File
Reading Article

PMID: 37679331

Reading Article

PMID: 37476587

Reading Article

PMID: 37421310

Your credits are exhausted. Your daily credits reset tomorrow, or you can purchase a top-up for more.
This is a shared conversation. Sign in to Orris to start your own chat.