Question: how are ram and rom different?
Answer: RAM is a volatile memory which could store the data as long as the power is supplied. ROM is a non-volatile memory which could retain the data even when power is turned off. Data stored in RAM can be retrieved and altered. Data stored in ROM can only be read.