i. Cl and Br belong to the same group of halogens with Br having higher atomic number than CL As the atomic number increases down the group, the effective nuclear charge decreases. The increased shielding effect of core electrons can be noticed. The electron has to be added to a farther shell, which releases less energy and thus, electron gain enthalpy becomes less negative down the group.
Therefore, Cl has more negative electron gain enthalpy than Br.
ii. F and O belong to the same second period with F having higher atomic number than O. As the atomic number increases across a period, atomic radius decreases, effective nuclear charge increases and electron can be added more easily. Therefore, more energy is released with gain of an electron as we move towards right in a period.
Therefore, F has more negative electron gain enthalpy than O.