(a) The charge of magnitude +q present inside the spherical shell induces a charge of magnitude −q 0n the inner part of the shell. Therefore, for the charge on the inner part, the surface charge density will be due to −q.
It is given by:
σ1=Totalchargesurface area of inner part
⇒−q4πr21
The charge on the outer shell will be +q and the surface charge density at the outer part will be due to sum of q and Q charges present on the outer shell.
σ2=TotalchargeOutersurfacearea=Q+q4πr22 ...(ii)
(b) If we consider a loop inside an irregular conductor, then will be no work done on it as there is no field present inside the cavity. So, there will be no field inside the cavity even if it is irregular in shape.