Q: Does the word "neck" mean the same thing in "The banjo had a long neck." and "The bottle had a wide neck."?

A: the same meaning

Q: Does the word "patter" mean the same thing in "The patter of mice." and "The patter of tiny feet."?

A: the same meaning

Q: Does the word "formation" mean the same thing in "A formation of planes." and "The formation of sentences."?

A: different meanings

Q: Does the word "shot" mean the same thing in "His parting shot was 'drop dead'." and "I caught him with a solid shot to the chin."?

A:
different meanings