Question: is altitude a state function?
Answer: Critically, it didn't matter how you got to the top of the mountain, the change in altitude was the same. This is an example of a state function, which is a property whose value does not depend on the path taken to reach that specific value.