Concept:
Color tests are widely used in forensic chemistry for the presumptive identification of drugs, especially alkaloids and narcotics.
Step 1: Marquis Test (A).
Marquis reagent produces a purple to violet coloration in presence of opiates such as morphine and heroin.
Thus, A $\rightarrow$ II.
Step 2: Mecke’s Test (B).
Mecke’s reagent gives a deep green color with opiates.
Thus, B $\rightarrow$ III.
Step 3: Frohde Test (C).
Frohde reagent produces a yellow coloration initially, which may darken with time.
Thus, C $\rightarrow$ I.
Step 4: Nitric Acid Test (D).
Nitric acid produces a greyish-purple coloration with certain alkaloids.
Thus, D $\rightarrow$ IV.
Step 5: Final matching.
\[
A-II,\quad B-III,\quad C-I,\quad D-IV
\]
Final Conclusion:
Hence, the correct answer is option (4).