Question: Sentence 1: The boulder came to rest just behind the house after rolling down the mountain.
Sentence 2: A body will continue in a state of rest until acted upon.
Does rest mean the same thing in these two sentences?
============
Answer: the same meaning

Question: Sentence 1: The price of gasoline.
Sentence 2: I paid a high price for my folly.
Does price mean the same thing in these two sentences?
============
Answer: the same meaning

Question: Sentence 1: Loss of blood is an important cause of shock.
Sentence 2: Electricians get accustomed to occasional shocks.
Does shock mean the same thing in these two sentences?
============
Answer:
different meanings