What is "Keep Alive Memory" (KAM) and how is it different from RAM?
From what I read over the internet, it is kept alive even after the ignition is OFF, but isn't that what a ROM is supposed to do?
KAM remains powered when the ignition is off due to the fact it receives power from the battery. It is the same as RAM in the sense that it is a volatile form of memory and will lose its data if power is lost, this is what makes it different to ROM which is non-volatile and does not require power to store data.
The KAM stores details about vehicle usage such a fuel tables and is reset by disconnecting the battery and allowing them to discharge.
Another useful example are radio presets, these are lost when the battery is disconnected.
This makes it far more convenient over ROM as disconnecting a battery is far simpler than connecting to the ECU and performing a wipe of the ROM.
From what I have seen, "Keep Alive Memory" can be cleared by removing power from the car by disconnecting the battery. ROM is "Read Only Memory" and is permanent at the chip level. Yes there are various kinds of ROM that can be rewritten but at the highest level the chip itself retains the contents and requires no power to do this. Keep Alive Memory requires power to keep the memory contents.