My house was built in 1952, and all original 120 volt receptacles were 2 prong. As the years went on, a few new circuits were added, with the 3 prong grounding type installed. When I started the renovation, I removed all the existing wiring except for an abandoned circuit in the one room where I didn't remove the wall surface. Therefore, I have one 2 prong receptacle left in the house, though not in service. I plan to do some work in there, and it will be replaced with a new receptacle and cable.
As to 240 volt 4 wire receptacles for ranges and dryers, this is required because some parts of those appliances operate at 120 volts. That would be lights on a range, and older models used 120 for low heat settings. Dryer motors operate at 120 volts. If the appliance operates solely on 240 volts, such as an air conditioner or heater, the cord and plug are only 3 wire.
While the code started requiring 4 wire circuits for all new 120/240 installations in the 90's, it was required many years earlier in certain circumstances. One of these was in mobile homes, and another was any 120/240 volt circuit originating in a panelboard OTHER than the MAIN SERVICE ENTRANCE. The high school I attended, which was built in 1966, had 4 prong receptacles for all the ranges and dryers in the home-ec room. Other places they were found was in commercial buildings and large homes that had numerous panelboards throughout the building.