Q: Does the word "system" mean the same thing in "In a static system oil can not be replaced by water on a surface." and "A vast system of production and distribution and consumption keep the country going."?

A: different meanings

Q: Does the word "roam" mean the same thing in "The cattle roam across the prairie." and "The gypsies roamed the woods."?

A: the same meaning

Q: Does the word "mess" mean the same thing in "A mess of porridge." and "She brought back a mess of fish to fix for supper."?

A: different meanings

Q: Does the word "credit" mean the same thing in "I give you credit for owning up to your mistake." and "Give her credit for trying."?

A:
the same meaning