Elimination approach:
(A) describes rocks such as granite that crystallise from cooled magma, which can only be an igneous rock category, ruling out any option pairing (A) with a sedimentary or metamorphic label. (B), rocks like limestone formed from sediment deposited in the sea, must be marine sedimentary. (C), rocks like gneiss transformed by heat and pressure, must be metamorphic. (D), material such as volcanic ash that settles and accumulates on land, is classed as terrestrial sedimentary. Testing these four assignments against the given choices, only the option reading (A)-(II), (B)-(III), (C)-(IV), (D)-(I) satisfies every pairing, confirming it as correct.