To identify all functional groups of an antibiotic contaminant, the technique must provide detailed molecular information.
Infrared (IR) spectroscopy detects characteristic bond vibrations and is widely used for identifying functional groups.
Nuclear Magnetic Resonance (NMR) provides detailed chemical shift information that reveals functional groups and molecular structure. Together, IR and NMR can accurately identify all functional groups present.
Circular Dichroism (CD) primarily measures chiral or secondary structural properties and does not identify functional groups.
UV-Visible spectroscopy detects only conjugated systems and cannot identify all functional groups.
Thus, only IR (P) and NMR (R) satisfy the requirement, making the correct answer (B).