Question: "application" used in the same way in the following two sentences?

The application of indexes to tables of data.

Massage has far-reaching medical applications.
Answer: the same meaning
Question: "ensure" used in the same way in the following two sentences?

This nest egg will ensure a nice retirement for us.

The circumstances ensured a good outcome for him.
Answer: the same meaning
Question: "head" used in the same way in the following two sentences?

The beer had a large head of foam.

Pour me a fresh beer; this one has no head.
Answer: the same meaning
Question: "come" used in the same way in the following two sentences?

Come down here!

He came through the door.
Answer:
the same meaning