(b) Refractive index decreases with the increase in temperature of the medium. The speed of light in that medium increases with increase in temperature. Hence, the refractive index = [velocity of light in vacuum / velocity of light in medium] decreases.
(ii) In glass, the speed of red light is more than that of blue light. The refractive index is c / v. Therefore the refractive index of glass for red light will decrease as compared to blue light.