Q: Does the word "application" mean the same thing in "The application of indexes to tables of data." and "Massage has far-reaching medical applications."?

A: the same meaning

Q: Does the word "avoid" mean the same thing in "Her former friends now avoid her." and "I try to avoid the company of gamblers."?

A: the same meaning

Q: Does the word "way" mean the same thing in "Come this way and I'll show you a shortcut." and "Do you know the way to the airport?"?

A: the same meaning

Q: Does the word "head" mean the same thing in "His horse won by a head." and "He is two heads taller than his little sister."?

A:
the same meaning