It's also worth noting that if the transponder is switched off you generally only lose two pieces of information: the flight identification (mode A & mode S data) and altitude (mode C data). Primary radar will still paint a target (albeit unidentified) as long as the aircraft is within radar range.