Mention two differences between ram and rom

1. Volatility: RAM (Random Access Memory) is volatile, which means its contents are lost when the power is turned off, while ROM (Read-Only Memory) is non-volatile, meaning its contents are retained even when the power is switched off.

2. Writability: RAM is a read/write memory, which means data can be both read and written to it, whereas ROM is read-only, which means data can only be read from it and cannot be written or modified.