Let’s pair each joint type with its correct location through direct reasoning. A ball and socket joint allows movement in multiple directions, like the shoulder, which is between the humerus and pectoral girdle (scapula)—so A matches II.
A hinge joint permits movement in one plane, like the knee, which is the knee joint—thus B matches V.
A pivot joint allows rotation, such as between the atlas and axis vertebrae in the neck, enabling head rotation—so C matches IV.
A gliding joint involves flat surfaces sliding over each other, like the intercarpal joints between wrist bones—hence D matches I.
Matching Summary: A–II, B–V, C–IV, D–I, which corresponds to option (3).