Answer the following question given this paragraph: 

Contact metamorphism occurs when a rock is altered by heat from a nearby magma.


Q: When a rock is altered by heat from a nearby magma, what occurs?


A:
contact metamorphism