(b) Phosphorus is pentavalent, so $n$-type semiconductor is formed.
Physics Educator & NEET/JEE Specialist
Ph.D. in Physics with 19+ years of teaching experience.