i am having a mcq test tomorrow on anatomy of musculoskeletal system, give the required notes for the test

Reading File
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Reading File
Reading File
Reading File
Excellent! I now have comprehensive content from the THIEME Atlas. The offset 800 section includes the bones/joints/muscles sections (pages 39+). I have enough rich content to compile comprehensive MCQ notes. Let me now compile these into a well-organized study guide based on everything I've gathered from the textbook.
Based on the THIEME Atlas of Anatomy (General Anatomy and Musculoskeletal System) and Gray's Anatomy, here are comprehensive MCQ notes for your test:

🦴 Musculoskeletal Anatomy β€” MCQ Study Notes

Source: THIEME Atlas of Anatomy β€” General Anatomy & Musculoskeletal System

1. CLASSIFICATION OF BONES

By Shape

TypeExampleKey Feature
Long bonesFemur, humerus, tibiaDiaphysis + 2 epiphyses
Short bonesCarpals, tarsalsRoughly cuboid
Flat bonesSkull, sternum, scapulaThin, protective
Irregular bonesVertebrae, hip boneComplex shape
Sesamoid bonesPatellaEmbedded in tendons
Pneumatic bonesFrontal, maxillaContain air cells

Bone Structure

  • Periosteum: outer fibrous layer (has osteoblasts, pain fibers, blood supply) β€” important for bone repair
  • Endosteum: lines medullary cavity; contains osteoblasts + osteoclasts
  • Compact (cortical) bone: dense outer layer; haversian (osteon) system
  • Cancellous (trabecular/spongy) bone: inner lattice; trabeculae align with stress lines
  • Medullary cavity: contains yellow (fat) marrow in adults; red (hematopoietic) marrow in ribs, sternum, vertebrae, proximal long bones
  • Epiphyseal (growth) plate: hyaline cartilage; zone of proliferation β†’ zone of hypertrophy β†’ zone of calcification
  • Nutrient foramen: oblique canal; artery enters diaphysis; directed away from the growing end ("toward the elbow, away from the knee")

Bone Cells

CellOriginFunction
OsteoblastMesenchymalBone formation; secretes osteoid
OsteocyteOsteoblast (trapped)Mechanosensing; maintains bone matrix
OsteoclastMonocyte/macrophage lineageBone resorption; multinucleated

2. CLASSIFICATION OF JOINTS (ARTICULATIONES)

By Structure

TypeTissue Uniting BonesExample
Fibrous joints (synarthroses)Fibrous CTSkull sutures, syndesmosis (tibiofibular), gomphosis (teeth)
Cartilaginous jointsCartilagePrimary: epiphyseal plate (hyaline); Secondary: pubic symphysis, intervertebral discs (fibrocartilage)
Synovial joints (diarthroses)Synovial cavityMost limb joints

Synovial Joint Structure

  • Articular cartilage: hyaline cartilage (no perichondrium, no nerves, avascular β€” heals poorly)
  • Joint capsule: outer fibrous layer + inner synovial membrane
  • Synovial membrane: type B cells secrete synovial fluid (hyaluronic acid + ultrafiltrate of plasma)
  • Synovial fluid functions: lubrication, nutrition of avascular cartilage, phagocytosis of debris
  • Bursae: synovial fluid sacs near joints to reduce friction (clinically: prepatellar bursitis = "housemaid's knee")
  • Tendon sheaths: elongated bursae around tendons

Synovial Joint Classification by Axes of Movement

TypeAxesMovementExample
Plane (gliding)NonaxialGlide onlyAcromioclavicular, intercarpal
Hinge (ginglymus)UniaxialFlexion/extensionElbow (humeroulnar), ankle (talocrural), knee (primarily)
Pivot (trochoid)UniaxialRotation onlyAtlantoaxial (C1–C2), proximal radioulnar
Condyloid (ellipsoidal)BiaxialFlex/ext + abd/addRadiocarpal (wrist), MCP joints
Saddle (sellar)BiaxialFlex/ext + abd/add + opposition1st carpometacarpal (thumb CMC)
Ball-and-socket (spheroidal)MultiaxialAll planes + circumductionHip, shoulder (glenohumeral)

3. MUSCLES β€” GENERAL ANATOMY

Types of Muscle Tissue

FeatureSkeletalCardiacSmooth
StriationsYesYesNo
NucleiPeripheral, multinucleatedCentral, 1–2/cellCentral, uninucleated
ControlVoluntaryInvoluntaryInvoluntary
RegenerationLimited (satellite cells)Very limitedGood

Skeletal Muscle Architecture

  • Parallel (strap): sartorius β€” long fibers, large range of motion, less force
  • Pennate: fibers oblique to pull direction; more force, less ROM
    • Unipennate: extensor digitorum longus
    • Bipennate: rectus femoris
    • Multipennate: deltoid
  • Sphincter: orbicularis oris, external anal sphincter

Muscle Attachments

  • Origin: proximal/fixed attachment (less mobile bone)
  • Insertion: distal/mobile attachment
  • Tendons: dense regular CT; collagen type I; attaches muscle to bone; can store elastic energy
  • Aponeuroses: flat tendinous sheets (e.g., external oblique aponeurosis, plantar aponeurosis)

Functional Roles

RoleDescription
Agonist/prime moverPrimary muscle producing movement
AntagonistOpposes the agonist
SynergistAssists agonist; neutralizes unwanted movements
FixatorStabilizes proximal segment

4. UPPER LIMB β€” KEY HIGH-YIELD ANATOMY

Shoulder Girdle & Glenohumeral Joint

  • Shoulder girdle bones: clavicle + scapula (connected to axial skeleton only at sternoclavicular joint)
  • Glenohumeral joint: most mobile joint in body; ball-and-socket; multiaxial
    • Stability: glenoid labrum deepens socket; SITS muscles (rotator cuff)
    • Rotator cuff (SITS): Supraspinatus, Infraspinatus, Teres minor, Subscapularis
    • Supraspinatus: initiates abduction (0–15Β°); most commonly torn
    • Full abduction: deltoid (15–90Β°) + trapezius/serratus anterior (scapular rotation, 90–180Β°)

Scapular Movements

MovementMuscles
ElevationUpper trapezius, levator scapulae
DepressionLower trapezius, pectoralis minor
Protraction (abduction)Serratus anterior, pectoralis minor
Retraction (adduction)Middle trapezius, rhomboids
Upward rotationSerratus anterior + upper/lower trapezius
Downward rotationRhomboids, levator scapulae

Elbow Joint

  • Humeroulnar (hinge): flexion/extension; most stable part
  • Humeroradial: flexion/extension
  • Proximal radioulnar (pivot): pronation/supination
  • Flexors: biceps brachii (supinated), brachialis (any position β€” "workhorse of elbow"), brachioradialis
  • Supinator + biceps brachii = supination; Pronator teres + pronator quadratus = pronation
  • Carrying angle: ~170Β° (valgus); angle between humerus and forearm axes

Wrist & Hand

  • Radiocarpal joint: between radius + articular disc and proximal carpal row (scaphoid, lunate, triquetrum)
    • Pisiform articulates with triquetrum β€” NOT part of radiocarpal joint
  • Carpal bones mnemonic: "So Long To Pinch That Could Hurt" = Scaphoid, Lunate, Triquetrum, Pisiform, Trapezium, Trapezoid, Capitate, Hamate
  • Carpal tunnel contents: FPL, 4 FDP, 4 FDS tendons (9 tendons) + median nerve (NOT ulnar nerve)
  • Ulnar nerve: passes through Guyon's canal (ulnar canal) at wrist
  • Most commonly fractured carpal = scaphoid (risk of avascular necrosis due to retrograde blood supply)
  • Most commonly dislocated carpal = lunate

5. LOWER LIMB β€” KEY HIGH-YIELD ANATOMY

Hip Joint

  • Ball-and-socket: head of femur + acetabulum; most stable joint
  • Acetabulum deepened by acetabular labrum
  • Ligaments (all extracapsular except ligamentum teres):
    • Iliofemoral (Y-ligament of Bigelow): strongest ligament in body; prevents hyperextension
    • Pubofemoral: limits abduction and extension
    • Ischiofemoral: limits internal rotation
    • Ligamentum teres (intracapsular): carries artery to femoral head (from obturator artery)
  • Femoral angle of inclination: ~126Β° (coxa valga >135Β°; coxa vara <120Β°)
  • Femoral anteversion: ~12–15Β°

Hip Muscles

MovementPrimary Muscles
FlexionIliopsoas (main), rectus femoris, sartorius
ExtensionGluteus maximus (power), hamstrings
AbductionGluteus medius + minimus (key!), TFL
AdductionAdductor longus, brevis, magnus; gracilis; pectineus
Internal rotationGluteus medius/minimus (anterior fibers), TFL
External rotation"6 short ERs": piriformis, obturator int/ext, superior/inferior gemelli, quadratus femoris
  • Trendelenburg sign: weak gluteus medius β†’ pelvis drops on unsupported side when standing on affected leg
  • Gluteus medius innervated by superior gluteal nerve (L4, L5, S1)

Knee Joint

  • Largest + most complex synovial joint
  • Primarily hinge, but allows slight rotation when flexed
  • Medial meniscus: C-shaped, attached to medial collateral ligament β†’ more commonly injured
  • Lateral meniscus: more circular, more mobile, less commonly injured
  • ACL: prevents anterior tibial translation; taut in extension; most common ligament injury
  • PCL: prevents posterior tibial translation; strongest ligament of knee
  • MCL: resists valgus stress; superficial fibers attached to medial meniscus
  • LCL: resists varus stress; NOT attached to lateral meniscus
  • Unhappy triad (O'Donoghue): ACL + MCL + medial meniscus injury

Popliteal Fossa Contents (medial β†’ lateral, superficial β†’ deep)

  • Boundaries: semimembranosus/semitendinosus (medial), biceps femoris (lateral), gastrocnemius heads (inferior)
  • Contents (lateral β†’ medial): common fibular nerve, tibial nerve, popliteal vein, popliteal artery (deepest β€” "NAVY" from lateral)

Ankle & Foot

  • Talocrural (ankle) joint: hinge; talus + tibia + fibula; dorsiflexion/plantarflexion
  • Subtalar (talocalcaneal) joint: inversion/eversion
  • Transverse tarsal (Chopart) joint: between talus/calcaneus and navicular/cuboid
  • Medial longitudinal arch: talus (keystone), calcaneus, navicular, 3 cuneiforms, 3 metatarsals; supported by tibialis posterior, FHL, plantar aponeurosis
  • Lateral malleolus extends more distally than medial β†’ ankle more stable in eversion than inversion β†’ lateral ligaments more commonly sprained
  • Most commonly sprained ankle ligament: anterior talofibular ligament (ATFL)

Leg Compartments (4)

CompartmentMusclesNerveAction
AnteriorTibialis anterior, EHL, EDL, fibularis tertiusDeep fibular (peroneal)Dorsiflexion, toe extension
Lateral (fibular)Fibularis longus + brevisSuperficial fibularEversion, plantarflexion
Superficial posteriorGastrocnemius, soleus, plantarisTibialPlantarflexion
Deep posteriorTibialis posterior, FHL, FDL, popliteusTibialPlantarflexion, inversion, toe flexion
  • Compartment syndrome: increased pressure cuts off blood supply; hallmark = pain with passive stretch

6. VERTEBRAL COLUMN

Vertebral Counts & Curves

  • Cervical: 7 (C1–C7); Thoracic: 12 (T1–T12); Lumbar: 5 (L1–L5); Sacral: 5 fused; Coccygeal: 3–5 fused
  • Primary curves (kyphotic, present at birth): thoracic, sacral
  • Secondary curves (lordotic, develop postnatally): cervical (with head lifting), lumbar (with walking)
  • Scoliosis = lateral curvature

Special Vertebrae

VertebraKey Feature
C1 (Atlas)No body, no spinous process; ring-like; supports skull
C2 (Axis)Has dens (odontoid process); atlantoaxial pivot joint
C7 (Vertebra prominens)Longest, most prominent spinous process
L1–L5Massive bodies; no costal facets; no transverse foramina

Intervertebral Discs

  • Annulus fibrosus: outer fibrocartilage rings (type I collagen)
  • Nucleus pulposus: inner gelatinous core (notochord remnant; type II collagen + water)
  • Disc herniation most common at L4–L5 and L5–S1
  • Posterolateral herniation most common (PLL weakest posterolaterally)

Ligaments of the Spine

LigamentLocationNote
Anterior longitudinal (ALL)Anterior vertebral bodiesPrevents hyperextension; strongest spinal ligament
Posterior longitudinal (PLL)Posterior vertebral bodies (inside canal)Prevents hyperflexion; narrower at disc level
Ligamentum flavumBetween laminaeYellow, elastic; thickens β†’ spinal stenosis
SupraspinousBetween spinous process tips
InterspinousBetween spinous processes
Nuchal ligamentCervical supraspinous extension

7. HIGH-YIELD NERVE INJURIES

NerveInjury MechanismDeformity / Sign
Axillary (C5–C6)Anterior shoulder dislocation, surgical neck humerus fractureFlat shoulder, loss of deltoid; loss of sensation regimental badge area
Radial (C5–T1)Midshaft humerus fracture ("Saturday night palsy")Wrist drop; loss of finger/wrist extension
Musculocutaneous (C5–C7)Rare; proximal humerus injuryLoss of elbow flexion (in supination)
Median (C6–T1)Supracondylar humerus fracture (children) / carpal tunnel"Benediction hand"; ape hand (thenar wasting); loss of thumb opposition
Ulnar (C8–T1)Medial epicondyle fracture / cubital tunnelClaw hand (4th–5th digits); loss of intrinsics
Long thoracic (C5–C7)Mastectomy, serratus anterior paralysisWinged scapula
Femoral (L2–L4)Femoral triangle compressionLoss of knee extension; loss of patellar reflex
Obturator (L2–L4)Obturator hernia, pelvic fractureWeakness of hip adduction
Superior gluteal (L4–S1)Hip surgeryTrendelenburg gait
Inferior gluteal (L5–S2)Posterior hip dislocationWeakness of hip extension; difficulty climbing stairs
Common fibular (L4–S2)Fibular neck fracture, prolonged squattingFoot drop; loss of eversion; high-stepping gait
Tibial (L4–S3)Popliteal fossa injuryLoss of plantarflexion, loss of toe flexion; "rocker-bottom foot"
Lateral femoral cutaneous (L2–L3)Inguinal ligament compressionMeralgia paresthetica (burning lateral thigh)

8. BLOOD SUPPLY β€” HIGH-YIELD POINTS

  • Femoral head: mainly from medial circumflex femoral artery (branch of profunda femoris); this is why femoral neck fractures β†’ avascular necrosis
  • Scaphoid: proximal pole supplied retrogradely β†’ risk of AVN with waist fractures
  • Humerus surgical neck fractures: risk to anterior circumflex humeral artery
  • Popliteal artery: most commonly injured in posterior knee dislocation
  • Anterior tibial artery: first branch of popliteal; passes through interosseous membrane to anterior compartment

9. QUICK MCQ TRAPS

  1. Serratus anterior (long thoracic nerve) β€” protracts scapula AND rotates it upward; paralysis = winged scapula
  2. Biceps brachii is a supinator (not just a flexor) β€” strongest in supinated position
  3. Brachialis is the only pure elbow flexor (regardless of position)
  4. Gracilis is an adductor AND a knee flexor (used in hamstring grafts)
  5. Iliopsoas passes under inguinal ligament; bursa communicates with hip joint in 15% (can mimic joint effusion)
  6. Pectineus β€” dual innervation: femoral AND obturator nerve
  7. Piriformis exits sciatic foramen with sciatic nerve β€” piriformis syndrome mimics sciatica
  8. Plantaris tendon β€” used for tendon repair; absence confirmed intraoperatively
  9. Subscapularis is the only rotator cuff muscle on the anterior (costal) surface of scapula; internal rotator
  10. Flexor pollicis longus is the only muscle with a belly in the forearm that acts on the distal phalanx of the thumb
  11. Tibialis posterior is the primary invertor of the foot (NOT tibialis anterior)
  12. Trendelenburg test: the contralateral pelvis drops β†’ problem is on the stance side (where hip abductors are weak)
  13. Lateral meniscus is more circular and more mobile; medial meniscus is more firmly attached and more commonly torn
  14. Coracobrachialis is pierced by the musculocutaneous nerve (unique landmark)
  15. L4 reflex: patellar tendon (knee jerk); S1 reflex: Achilles tendon (ankle jerk)

10. DERMATOMES & REFLEXES SUMMARY

LevelSensation areaReflex
C5Lateral armBiceps jerk
C6Lateral forearm, thumbBrachioradialis jerk
C7Middle fingerTriceps jerk
C8Medial forearm, little fingerβ€”
L2–L3Anterior thighβ€”
L4Medial leg, great toeKnee jerk
L5Lateral leg, dorsum footβ€”
S1Lateral foot, heelAnkle jerk
S2–S4Perianal, genitaliaAnal wink / cremasteric

Best of luck on your test! Focus particularly on joint classification, nerve injuries, rotator cuff, knee ligaments, compartments of the leg, and dermatomes β€” these are perennial MCQ favourites in musculoskeletal anatomy.
Sources: THIEME Atlas of Anatomy: General Anatomy and Musculoskeletal System (ISBN 9781626237186); Gray's Anatomy for Students (ISBN 9780323934237); Miller's Review of Orthopaedics 9e (ISBN 9780443112140)

give me 40 questions of mcqs in pdf format based on this topic

Reading File
Running Command

ls -la /home/daytona/workspace/ 2>/dev/null || mkdir -p /home/daytona/workspace

Running Command

mkdir -p /home/daytona/workspace/msk-mcq && python3 -c "from reportlab.lib.pagesizes import A4; print('reportlab ok')"

Writing File

~/msk-mcq/generate_mcq_pdf.py

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, KeepTogether
)
from reportlab.lib.enums import TA_LEFT, TA_CENTER, TA_JUSTIFY

OUTPUT = "/home/daytona/workspace/msk-mcq/MSK_Anatomy_MCQ_40Q.pdf"

# ── 40 Questions ─────────────────────────────────────────────────────────────
questions = [
    # BONES
    {
        "n": 1, "topic": "Bones β€” Classification",
        "q": "Which of the following is classified as a sesamoid bone?",
        "opts": ["A. Scaphoid", "B. Patella", "C. Pisiform", "D. Hamate"],
        "ans": "B",
        "exp": "The patella is the largest sesamoid bone in the body, embedded in the quadriceps/patellar tendon. The pisiform is a sesamoid-like carpal but technically classified as a short bone."
    },
    {
        "n": 2, "topic": "Bones β€” Structure",
        "q": "The nutrient foramen of long bones is directed:",
        "opts": ["A. Toward the growing end (epiphysis)", "B. Away from the growing end", "C. Perpendicular to the bone axis", "D. Toward the nearest joint"],
        "ans": "B",
        "exp": "The nutrient canal/foramen is directed away from the growing end β€” classically 'toward the elbow, away from the knee.' This is a well-known anatomical rule."
    },
    {
        "n": 3, "topic": "Bones β€” Cells",
        "q": "Which bone cell is derived from monocyte/macrophage lineage and is responsible for bone resorption?",
        "opts": ["A. Osteoblast", "B. Osteocyte", "C. Osteoclast", "D. Chondroblast"],
        "ans": "C",
        "exp": "Osteoclasts are large, multinucleated cells derived from monocyte/macrophage precursors (hematopoietic lineage). They resorb bone via acidification and proteolytic enzymes in the ruffled border."
    },
    {
        "n": 4, "topic": "Bones β€” Marrow",
        "q": "Red (hematopoietic) bone marrow is retained in adults in all of the following EXCEPT:",
        "opts": ["A. Sternum", "B. Vertebral bodies", "C. Diaphysis of femur", "D. Iliac crest"],
        "ans": "C",
        "exp": "In adults, the diaphysis of long bones contains yellow (fatty) marrow. Red marrow is retained in flat bones (sternum, iliac crest, skull), ribs, vertebrae, and the proximal epiphyses of long bones (humerus, femur)."
    },
    # JOINTS
    {
        "n": 5, "topic": "Joints β€” Classification",
        "q": "The pubic symphysis is an example of which type of joint?",
        "opts": ["A. Synovial joint", "B. Primary cartilaginous (synchondrosis)", "C. Secondary cartilaginous (symphysis)", "D. Fibrous (syndesmosis)"],
        "ans": "C",
        "exp": "Secondary cartilaginous joints (symphyses) are united by fibrocartilage β€” e.g., pubic symphysis, intervertebral discs, manubriosternal joint. Primary cartilaginous joints use hyaline cartilage (e.g., epiphyseal plates, costochondral joints)."
    },
    {
        "n": 6, "topic": "Joints β€” Synovial",
        "q": "Which component of a synovial joint receives nutrition primarily by diffusion from synovial fluid, making it avascular and therefore poorly healing?",
        "opts": ["A. Synovial membrane", "B. Articular (hyaline) cartilage", "C. Joint capsule fibrous layer", "D. Subchondral bone"],
        "ans": "B",
        "exp": "Articular hyaline cartilage is avascular, aneural, and alymphatic. It has no perichondrium and relies entirely on diffusion from synovial fluid for nutrition β€” hence its poor intrinsic healing capacity."
    },
    {
        "n": 7, "topic": "Joints β€” Synovial Types",
        "q": "The 1st carpometacarpal joint (thumb CMC) is classified as which type of synovial joint?",
        "opts": ["A. Ball-and-socket", "B. Condyloid (ellipsoidal)", "C. Saddle (sellar)", "D. Hinge (ginglymus)"],
        "ans": "C",
        "exp": "The 1st CMC joint is a saddle (sellar) joint β€” each articular surface is concave in one plane and convex in the other. It allows flexion/extension, abduction/adduction, and opposition (combined movement)."
    },
    {
        "n": 8, "topic": "Joints β€” Pivot",
        "q": "Which of the following joints is correctly classified as a pivot (trochoid) joint?",
        "opts": ["A. Radiocarpal joint", "B. Atlantoaxial (C1–C2) joint", "C. Glenohumeral joint", "D. Talocrural (ankle) joint"],
        "ans": "B",
        "exp": "The atlantoaxial joint is a pivot joint β€” C1 rotates around the dens of C2, allowing ~50% of total cervical rotation. The proximal radioulnar joint is another classic pivot joint."
    },
    # SHOULDER
    {
        "n": 9, "topic": "Shoulder β€” Rotator Cuff",
        "q": "Which rotator cuff muscle initiates abduction of the arm (0–15Β°) and is most commonly torn?",
        "opts": ["A. Infraspinatus", "B. Subscapularis", "C. Supraspinatus", "D. Teres minor"],
        "ans": "C",
        "exp": "Supraspinatus initiates abduction from 0–15Β°. The deltoid takes over from 15–90Β°. Supraspinatus is the most commonly torn rotator cuff muscle β€” tears occur at the 'critical zone' near its insertion on the greater tubercle."
    },
    {
        "n": 10, "topic": "Shoulder β€” Rotator Cuff",
        "q": "Which rotator cuff muscle originates from the subscapular fossa (anterior/costal surface of scapula) and is the only internal rotator in the group?",
        "opts": ["A. Supraspinatus", "B. Infraspinatus", "C. Teres minor", "D. Subscapularis"],
        "ans": "D",
        "exp": "Subscapularis is the only rotator cuff muscle on the anterior (costal) surface of the scapula. It inserts on the lesser tubercle and is the primary internal rotator. The other three (SITS minus S) are posterior and are external rotators/abductors."
    },
    {
        "n": 11, "topic": "Shoulder β€” Nerves",
        "q": "Fracture of the surgical neck of the humerus most commonly injures which nerve, causing loss of deltoid function and a 'flat shoulder' appearance?",
        "opts": ["A. Radial nerve", "B. Musculocutaneous nerve", "C. Axillary nerve", "D. Suprascapular nerve"],
        "ans": "C",
        "exp": "The axillary nerve (C5–C6) winds around the surgical neck of the humerus. Injury causes paralysis of deltoid (abduction loss) and teres minor, plus sensory loss over the 'regimental badge' area (lateral arm)."
    },
    {
        "n": 12, "topic": "Shoulder β€” Scapular Movement",
        "q": "Which muscle is primarily responsible for protracting the scapula AND rotating it upward, and its paralysis leads to a winged scapula?",
        "opts": ["A. Trapezius", "B. Serratus anterior", "C. Rhomboid major", "D. Levator scapulae"],
        "ans": "B",
        "exp": "Serratus anterior (long thoracic nerve, C5–C7) holds the scapula against the thorax, protracts it, and rotates it upward. Paralysis causes a 'winged scapula' β€” medial border lifts away from thorax, especially when pushing against a wall."
    },
    # ELBOW & FOREARM
    {
        "n": 13, "topic": "Elbow β€” Muscles",
        "q": "Which muscle is considered the 'workhorse' of elbow flexion because it acts regardless of forearm position (pronated or supinated)?",
        "opts": ["A. Biceps brachii", "B. Brachialis", "C. Brachioradialis", "D. Pronator teres"],
        "ans": "B",
        "exp": "Brachialis is the only pure elbow flexor β€” it inserts on the coronoid process and ulnar tuberosity and acts in all forearm positions. Biceps brachii is more powerful in supination. Brachioradialis is most efficient in the mid-prone position."
    },
    {
        "n": 14, "topic": "Elbow β€” Nerve Injury",
        "q": "A midshaft fracture of the humerus ('Holstein-Lewis fracture') injures the radial nerve in the radial groove. Which finding would you expect?",
        "opts": ["A. Loss of elbow flexion", "B. Wrist drop and loss of finger extension", "C. Thenar wasting and loss of thumb opposition", "D. Claw hand deformity of digits 4–5"],
        "ans": "B",
        "exp": "Radial nerve injury causes wrist drop (inability to extend wrist) and loss of finger/thumb extension (but intrinsics mostly spared via ulnar/median). Sensation is lost over dorsal first web space."
    },
    # WRIST & HAND
    {
        "n": 15, "topic": "Wrist β€” Carpal Bones",
        "q": "Which carpal bone is most commonly fractured and at risk of avascular necrosis due to its retrograde blood supply?",
        "opts": ["A. Lunate", "B. Triquetrum", "C. Scaphoid", "D. Capitate"],
        "ans": "C",
        "exp": "The scaphoid is the most commonly fractured carpal bone (fall on outstretched hand). Its blood supply enters distally β€” fractures at the waist can disrupt supply to the proximal pole, causing avascular necrosis."
    },
    {
        "n": 16, "topic": "Wrist β€” Carpal Tunnel",
        "q": "Which structure passes through the carpal tunnel MOST medially and is at risk in carpal tunnel syndrome?",
        "opts": ["A. Ulnar nerve", "B. Median nerve", "C. Radial artery", "D. Flexor carpi radialis tendon"],
        "ans": "B",
        "exp": "The carpal tunnel contains 9 flexor tendons (4 FDS, 4 FDP, 1 FPL) and the median nerve. The ulnar nerve and artery travel through Guyon's canal (ulnar tunnel), which is outside the carpal tunnel."
    },
    {
        "n": 17, "topic": "Hand β€” Nerve Injury",
        "q": "Injury to the ulnar nerve at the wrist produces a 'claw hand' involving primarily:",
        "opts": ["A. Digits 1–3", "B. Digits 2–3", "C. Digits 4–5", "D. All 5 digits equally"],
        "ans": "C",
        "exp": "Ulnar nerve injury at the wrist causes clawing of the 4th and 5th digits (ring and little fingers) due to loss of the medial two lumbricals and hypothenar muscles. The 'intrinsic minus' hand cannot flex at MCPs and extend at IPs."
    },
    {
        "n": 18, "topic": "Hand β€” Median Nerve",
        "q": "Injury to the median nerve at the elbow (e.g., supracondylar fracture) results in which classic deformity when asked to make a fist?",
        "opts": ["A. Wrist drop", "B. Claw hand of digits 4–5", "C. 'Benediction hand' β€” digits 2–3 extended, 4–5 flexed", "D. Loss of little finger abduction only"],
        "ans": "C",
        "exp": "High median nerve injury at the elbow: FDS, FDP (digits 2–3), and FPL are lost. When making a fist, digits 2–3 remain extended ('pointing') while 4–5 flex (supplied by ulnar). This is the 'papal blessing/benediction' hand."
    },
    # HIP
    {
        "n": 19, "topic": "Hip β€” Ligaments",
        "q": "Which ligament of the hip joint is considered the strongest ligament in the human body and prevents hyperextension?",
        "opts": ["A. Pubofemoral ligament", "B. Ischiofemoral ligament", "C. Ligamentum teres", "D. Iliofemoral ligament (Y-ligament of Bigelow)"],
        "ans": "D",
        "exp": "The iliofemoral ligament (inverted Y-shape) is the strongest ligament in the body. It tightens in extension and external rotation, preventing hyperextension of the hip during standing."
    },
    {
        "n": 20, "topic": "Hip β€” Blood Supply",
        "q": "Which artery is the primary blood supply to the femoral head in adults, making femoral neck fractures liable to avascular necrosis?",
        "opts": ["A. Inferior gluteal artery", "B. Medial circumflex femoral artery", "C. Lateral circumflex femoral artery", "D. Obturator artery via ligamentum teres"],
        "ans": "B",
        "exp": "The medial circumflex femoral artery (branch of the profunda femoris) provides ~80% of blood to the femoral head via retinacular vessels. Its disruption in femoral neck fractures is the primary cause of AVN."
    },
    {
        "n": 21, "topic": "Hip β€” Muscles",
        "q": "A patient stands on the right leg and the left side of the pelvis drops. Which muscle on which side is weak?",
        "opts": ["A. Right hip adductors", "B. Left hip abductors (gluteus medius)", "C. Right hip abductors (gluteus medius)", "D. Left hip flexors (iliopsoas)"],
        "ans": "C",
        "exp": "Positive Trendelenburg sign: the unsupported (contralateral) side drops. The problem is on the stance (ipsilateral) side β€” right gluteus medius is weak. The superior gluteal nerve (L4–S1) innervates gluteus medius/minimus."
    },
    {
        "n": 22, "topic": "Hip β€” External Rotators",
        "q": "How many 'short external rotators' of the hip are there, and which is the most superior?",
        "opts": ["A. 4; obturator internus", "B. 5; piriformis", "C. 6; piriformis", "D. 6; quadratus femoris"],
        "ans": "C",
        "exp": "There are 6 short external rotators: piriformis (most superior), superior gemellus, obturator internus, inferior gemellus, obturator externus, and quadratus femoris (most inferior). All insert on/near the greater trochanter."
    },
    # KNEE
    {
        "n": 23, "topic": "Knee β€” Ligaments",
        "q": "Which ligament of the knee prevents anterior translation of the tibia on the femur and is most commonly injured in sports?",
        "opts": ["A. Posterior cruciate ligament (PCL)", "B. Medial collateral ligament (MCL)", "C. Anterior cruciate ligament (ACL)", "D. Lateral collateral ligament (LCL)"],
        "ans": "C",
        "exp": "The ACL prevents anterior tibial translation and is taut in extension. It is the most commonly injured knee ligament in sports (pivoting, cutting movements). Lachman's test (at 20–30Β° flexion) is the most sensitive test."
    },
    {
        "n": 24, "topic": "Knee β€” Menisci",
        "q": "Why is the medial meniscus more commonly torn than the lateral meniscus?",
        "opts": ["A. It is more circular and mobile", "B. It is firmly attached to the medial collateral ligament, reducing its mobility", "C. It is thicker and less vascular", "D. It is in contact with the patella"],
        "ans": "B",
        "exp": "The medial meniscus is C-shaped and firmly attached to the MCL. This restricts its mobility, making it more susceptible to shearing forces. The lateral meniscus is more circular and freely mobile (no LCL attachment), so it moves with the tibia and avoids injury."
    },
    {
        "n": 25, "topic": "Knee β€” Unhappy Triad",
        "q": "O'Donoghue's 'unhappy triad' involves injury to which three structures?",
        "opts": [
            "A. ACL + LCL + lateral meniscus",
            "B. ACL + MCL + medial meniscus",
            "C. PCL + MCL + medial meniscus",
            "D. ACL + PCL + lateral meniscus"
        ],
        "ans": "B",
        "exp": "The unhappy triad (O'Donoghue) = ACL + MCL + medial meniscus. A valgus force on the flexed knee (e.g., clipping tackle) injures all three, because the MCL is attached to the medial meniscus and the ACL fails with tibial anterior translation."
    },
    {
        "n": 26, "topic": "Knee β€” Nerve in Popliteal Fossa",
        "q": "Fracture of the fibular neck most commonly injures which nerve, producing foot drop and loss of eversion?",
        "opts": ["A. Tibial nerve", "B. Common fibular (peroneal) nerve", "C. Saphenous nerve", "D. Sural nerve"],
        "ans": "B",
        "exp": "The common fibular nerve winds around the neck of the fibula, making it vulnerable to fractures here. Its deep branch supplies the anterior compartment (dorsiflexion); its superficial branch supplies the lateral compartment (eversion). Foot drop + loss of eversion = complete injury."
    },
    # ANKLE & FOOT
    {
        "n": 27, "topic": "Ankle β€” Joints",
        "q": "Inversion and eversion of the foot primarily occur at which joint?",
        "opts": ["A. Talocrural (tibiotalar) joint", "B. Subtalar (talocalcaneal) joint", "C. Transverse tarsal (Chopart) joint", "D. Tarsometatarsal (Lisfranc) joint"],
        "ans": "B",
        "exp": "The subtalar joint (between talus and calcaneus) is the primary joint for inversion and eversion. The talocrural (ankle) joint is a hinge for dorsiflexion/plantarflexion only."
    },
    {
        "n": 28, "topic": "Ankle β€” Ligament Injury",
        "q": "The most commonly sprained ligament in the ankle during a lateral inversion injury is the:",
        "opts": ["A. Deltoid ligament", "B. Calcaneofibular ligament", "C. Posterior talofibular ligament", "D. Anterior talofibular ligament (ATFL)"],
        "ans": "D",
        "exp": "ATFL is the weakest and most anterior of the lateral ankle ligaments. In a typical inversion sprain, it tears first, followed by the calcaneofibular ligament. The deltoid ligament is medial and much stronger."
    },
    {
        "n": 29, "topic": "Leg β€” Compartments",
        "q": "A patient develops pain, pallor, and loss of dorsiflexion after a tibial fracture. Pressure is elevated in which compartment?",
        "opts": ["A. Lateral (fibular) compartment", "B. Superficial posterior compartment", "C. Anterior compartment", "D. Deep posterior compartment"],
        "ans": "C",
        "exp": "The anterior compartment contains tibialis anterior, EHL, EDL (dorsiflexion/toe extension), and the deep fibular nerve. It is the most common site of compartment syndrome. Classic sign: pain with passive plantarflexion (stretches anterior compartment muscles)."
    },
    {
        "n": 30, "topic": "Leg β€” Muscles",
        "q": "Which muscle is the PRIMARY invertor of the foot?",
        "opts": ["A. Tibialis anterior", "B. Tibialis posterior", "C. Flexor hallucis longus", "D. Peroneus (fibularis) longus"],
        "ans": "B",
        "exp": "Tibialis posterior is the primary invertor of the foot. It also plantarflexes the ankle and supports the medial longitudinal arch (dysfunction β†’ pes planus). Tibialis anterior also inverts but is primarily a dorsiflexor."
    },
    # SPINE
    {
        "n": 31, "topic": "Spine β€” Vertebrae",
        "q": "Which cervical vertebra has a dens (odontoid process) and forms a pivot joint with C1?",
        "opts": ["A. C1 (Atlas)", "B. C2 (Axis)", "C. C3", "D. C7 (Vertebra prominens)"],
        "ans": "B",
        "exp": "C2 (Axis) has the dens, which articulates with the anterior arch of C1, forming the atlantoaxial pivot joint responsible for ~50% of cervical rotation. C1 (Atlas) is ring-shaped with no body and no spinous process."
    },
    {
        "n": 32, "topic": "Spine β€” Curves",
        "q": "Which spinal curves are 'primary' (present at birth, concave anteriorly)?",
        "opts": ["A. Cervical and lumbar", "B. Thoracic and sacral", "C. Cervical and thoracic", "D. Lumbar and sacral"],
        "ans": "B",
        "exp": "Primary (kyphotic) curves β€” thoracic and sacral β€” are present at birth and reflect the fetal C-shaped posture. Secondary (lordotic) curves β€” cervical (develops with head lifting ~3 months) and lumbar (develops with walking) β€” develop postnatally."
    },
    {
        "n": 33, "topic": "Spine β€” Intervertebral Disc",
        "q": "The nucleus pulposus is a remnant of which embryological structure?",
        "opts": ["A. Notochord", "B. Neural crest", "C. Sclerotome", "D. Myotome"],
        "ans": "A",
        "exp": "The nucleus pulposus is derived from the notochord. It is rich in type II collagen and water (up to 90% in young adults), giving it a gel-like consistency that resists compressive forces."
    },
    {
        "n": 34, "topic": "Spine β€” Disc Herniation",
        "q": "Posterior-lateral disc herniation at L4–L5 most commonly compresses which nerve root?",
        "opts": ["A. L4", "B. L5", "C. S1", "D. L3"],
        "ans": "B",
        "exp": "At each lumbar level, the nerve that exits (numbered nerve root) has already exited above the disc. A posterolateral herniation at L4–L5 compresses the L5 root (the descending root heading to the next foramen). L5–S1 disc herniates β†’ S1 root."
    },
    {
        "n": 35, "topic": "Spine β€” Ligaments",
        "q": "Which spinal ligament lies between the laminae, is highly elastic (yellow colour), and when thickened contributes to spinal stenosis?",
        "opts": ["A. Anterior longitudinal ligament", "B. Posterior longitudinal ligament", "C. Ligamentum flavum", "D. Supraspinous ligament"],
        "ans": "C",
        "exp": "Ligamentum flavum (Latin: yellow ligament) is rich in elastin, runs between adjacent laminae. With age/degeneration it hypertrophies and can narrow the spinal canal posteriorly β€” a common cause of lumbar spinal stenosis."
    },
    # DERMATOMES & REFLEXES
    {
        "n": 36, "topic": "Dermatomes",
        "q": "Loss of sensation over the dorsum of the foot and lateral leg, with weakness of ankle dorsiflexion and great toe extension, indicates injury at which nerve root level?",
        "opts": ["A. L3", "B. L4", "C. L5", "D. S1"],
        "ans": "C",
        "exp": "L5 dermatome: lateral leg, dorsum of foot, and medial 3 toes. L5 myotome: dorsiflexion (tibialis anterior), great toe extension (EHL), and hip abduction. L5 has no deep tendon reflex (unlike L4-knee jerk, S1-ankle jerk)."
    },
    {
        "n": 37, "topic": "Reflexes",
        "q": "Which nerve root mediates the Achilles tendon (ankle jerk) reflex?",
        "opts": ["A. L3–L4", "B. L4–L5", "C. S1–S2", "D. L5–S1"],
        "ans": "C",
        "exp": "The ankle jerk (Achilles reflex) is mediated by S1–S2, testing the gastrocnemius/soleus via the tibial nerve. The knee jerk (patellar reflex) tests L3–L4, and the biceps reflex tests C5–C6."
    },
    # MIXED HIGH-YIELD
    {
        "n": 38, "topic": "Muscles β€” Architecture",
        "q": "Which type of muscle pennation arrangement provides the greatest force production at the cost of range of motion?",
        "opts": ["A. Parallel (strap) arrangement", "B. Multipennate arrangement", "C. Fusiform arrangement", "D. Circular (sphincter) arrangement"],
        "ans": "B",
        "exp": "Pennate muscles pack more fibers into a given volume (higher physiological cross-sectional area), generating greater force. Multipennate (e.g., deltoid) has the most fibers per volume. Parallel muscles (e.g., sartorius) have longer fibers and greater range of motion."
    },
    {
        "n": 39, "topic": "Shoulder β€” Abduction",
        "q": "Full overhead abduction (0–180Β°) of the arm requires a coordinated 'scapulohumeral rhythm.' The glenohumeral-to-scapular rotation ratio is approximately:",
        "opts": ["A. 1:1", "B. 2:1", "C. 3:1", "D. 4:1"],
        "ans": "B",
        "exp": "Scapulohumeral rhythm: for every 3Β° of total abduction, 2Β° occur at the glenohumeral joint and 1Β° occurs as scapular upward rotation. This 2:1 ratio maintains optimal deltoid muscle length-tension throughout the arc."
    },
    {
        "n": 40, "topic": "Knee β€” Locking Mechanism",
        "q": "Which muscle 'unlocks' the knee from its fully extended (close-packed/screw-home) position by internally rotating the tibia?",
        "opts": ["A. Biceps femoris", "B. Semimembranosus", "C. Popliteus", "D. Gastrocnemius"],
        "ans": "C",
        "exp": "In full extension, the tibia is externally rotated relative to the femur (screw-home mechanism). Popliteus internally rotates the tibia (or externally rotates the femur) to 'unlock' this position and initiate flexion. It is innervated by the tibial nerve."
    },
]

# ── Build PDF ─────────────────────────────────────────────────────────────────
doc = SimpleDocTemplate(
    OUTPUT,
    pagesize=A4,
    rightMargin=2*cm, leftMargin=2*cm,
    topMargin=2.2*cm, bottomMargin=2*cm,
    title="Musculoskeletal Anatomy – 40 MCQs",
    author="Orris Medical"
)

styles = getSampleStyleSheet()

# Custom styles
title_style = ParagraphStyle(
    "TitleStyle", parent=styles["Title"],
    fontSize=18, textColor=colors.HexColor("#1a3c5e"),
    spaceAfter=4, leading=22
)
subtitle_style = ParagraphStyle(
    "SubtitleStyle", parent=styles["Normal"],
    fontSize=10, textColor=colors.HexColor("#5a7a9a"),
    spaceAfter=2, alignment=TA_CENTER
)
topic_style = ParagraphStyle(
    "TopicStyle", parent=styles["Normal"],
    fontSize=8, textColor=colors.HexColor("#7f8c8d"),
    fontName="Helvetica-Oblique", spaceAfter=2
)
question_style = ParagraphStyle(
    "QuestionStyle", parent=styles["Normal"],
    fontSize=11, fontName="Helvetica-Bold",
    textColor=colors.HexColor("#1a1a2e"),
    spaceAfter=4, leading=15
)
option_style = ParagraphStyle(
    "OptionStyle", parent=styles["Normal"],
    fontSize=10.5, fontName="Helvetica",
    textColor=colors.HexColor("#2c3e50"),
    spaceAfter=2, leftIndent=14, leading=14
)
answer_style = ParagraphStyle(
    "AnswerStyle", parent=styles["Normal"],
    fontSize=9.5, fontName="Helvetica",
    textColor=colors.HexColor("#27ae60"),
    spaceAfter=1, leading=13
)
exp_style = ParagraphStyle(
    "ExpStyle", parent=styles["Normal"],
    fontSize=9, fontName="Helvetica-Oblique",
    textColor=colors.HexColor("#555555"),
    spaceAfter=6, leftIndent=10, leading=13
)
ans_header_style = ParagraphStyle(
    "AnsHeaderStyle", parent=styles["Heading2"],
    fontSize=13, textColor=colors.HexColor("#1a3c5e"),
    spaceAfter=6, spaceBefore=14
)

story = []

# Header
story.append(Paragraph("Musculoskeletal System Anatomy", title_style))
story.append(Paragraph("40 Multiple Choice Questions with Answers &amp; Explanations", subtitle_style))
story.append(Paragraph("Source: THIEME Atlas of Anatomy | Gray's Anatomy for Students | Miller's Review of Orthopaedics", subtitle_style))
story.append(Spacer(1, 0.3*cm))
story.append(HRFlowable(width="100%", thickness=2, color=colors.HexColor("#1a3c5e")))
story.append(Spacer(1, 0.3*cm))

# Questions
story.append(Paragraph("SECTION A β€” QUESTIONS", ans_header_style))
story.append(Spacer(1, 0.2*cm))

for q in questions:
    block = []
    block.append(Paragraph(f"<font color='#7f8c8d'><i>{q['topic']}</i></font>", topic_style))
    block.append(Paragraph(f"<b>Q{q['n']}. {q['q']}</b>", question_style))
    for opt in q["opts"]:
        block.append(Paragraph(opt, option_style))
    block.append(Spacer(1, 0.25*cm))
    story.append(KeepTogether(block))

story.append(Spacer(1, 0.5*cm))
story.append(HRFlowable(width="100%", thickness=1.5, color=colors.HexColor("#1a3c5e")))
story.append(Spacer(1, 0.3*cm))

# Answer Key table
story.append(Paragraph("SECTION B β€” ANSWER KEY", ans_header_style))

# Build answer key table
ak_data = [["Q", "Ans", "Q", "Ans", "Q", "Ans", "Q", "Ans"]]
row = []
for i, q in enumerate(questions):
    row.append(f"Q{q['n']}")
    row.append(q["ans"])
    if (i + 1) % 4 == 0:
        ak_data.append(row)
        row = []
if row:
    while len(row) < 8:
        row.append("")
    ak_data.append(row)

ak_table = Table(ak_data, colWidths=[1.2*cm]*8)
ak_table.setStyle(TableStyle([
    ("BACKGROUND", (0, 0), (-1, 0), colors.HexColor("#1a3c5e")),
    ("TEXTCOLOR", (0, 0), (-1, 0), colors.white),
    ("FONTNAME", (0, 0), (-1, 0), "Helvetica-Bold"),
    ("FONTSIZE", (0, 0), (-1, -1), 9.5),
    ("ALIGN", (0, 0), (-1, -1), "CENTER"),
    ("VALIGN", (0, 0), (-1, -1), "MIDDLE"),
    ("ROWBACKGROUNDS", (0, 1), (-1, -1), [colors.HexColor("#eaf4fb"), colors.white]),
    ("GRID", (0, 0), (-1, -1), 0.5, colors.HexColor("#bdc3c7")),
    ("ROWHEIGHT", (0, 0), (-1, -1), 18),
    ("FONTNAME", (1, 1), (1, -1), "Helvetica-Bold"),
    ("FONTNAME", (3, 1), (3, -1), "Helvetica-Bold"),
    ("FONTNAME", (5, 1), (5, -1), "Helvetica-Bold"),
    ("FONTNAME", (7, 1), (7, -1), "Helvetica-Bold"),
    ("TEXTCOLOR", (1, 1), (1, -1), colors.HexColor("#27ae60")),
    ("TEXTCOLOR", (3, 1), (3, -1), colors.HexColor("#27ae60")),
    ("TEXTCOLOR", (5, 1), (5, -1), colors.HexColor("#27ae60")),
    ("TEXTCOLOR", (7, 1), (7, -1), colors.HexColor("#27ae60")),
]))
story.append(ak_table)
story.append(Spacer(1, 0.6*cm))

# Explanations
story.append(HRFlowable(width="100%", thickness=1.5, color=colors.HexColor("#1a3c5e")))
story.append(Spacer(1, 0.3*cm))
story.append(Paragraph("SECTION C β€” DETAILED EXPLANATIONS", ans_header_style))
story.append(Spacer(1, 0.2*cm))

for q in questions:
    block = []
    block.append(Paragraph(f"<font color='#7f8c8d'><i>{q['topic']}</i></font>", topic_style))
    block.append(Paragraph(f"<b>Q{q['n']}. {q['q']}</b>", question_style))
    block.append(Paragraph(f"<b><font color='#27ae60'>βœ“ Correct Answer: {q['ans']}</font></b>", answer_style))
    block.append(Paragraph(q["exp"], exp_style))
    story.append(KeepTogether(block))

# Build
doc.build(story)
print(f"PDF saved to: {OUTPUT}")
Running Command

cd /home/daytona/workspace/msk-mcq && python3 generate_mcq_pdf.py

Running Command

ls -lh /home/daytona/workspace/msk-mcq/MSK_Anatomy_MCQ_40Q.pdf

You've run out of free credits. Sign up for a free account to continue using Orris.
This is a shared conversation. Sign in to Orris to start your own chat.