a) The resonating structure of carboxylic group are as shown.
b) Chemical reaction to obtain the following.
i) Carboxylic acid from Grignard reagent.
R−MgX+CO2→R−COO−MgXH2O−−→R−COOH+Mg(OH)Xii) Benzoic acid from ethyl benzoate.
PhCOOEtNaOH−−−−−→−EtOHPhCOONaHCl−−−−→−NaClPhCOOHiii) Benzamide from benzoic acid.
PhCOOH+NH3⇌PhCOO−NH+4Δ−→PhCONH2+H2Oc) The resonating structures of propenoic acid are as shown.
d) To distinguish aldehyde, ketone & carboxylic acid:
Carboxylic acid will give effervescence with sodium hydrogen carbonate.
Aldehdye will give positive test with Tollen's reagent (ammoniacal silver nitrate solution) which will produce silver mirror.
The remaining compound will be ketone.