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

I give you credit for owning up to your mistake.

He arrived five minutes late, but to his credit he did work an extra ten minutes at the end of his shift.
Answer: the same meaning
Question: "hall" used in the same way in the following two sentences?

The drinking fountain was out in the hall.

The elevators were at the end of the hall.
Answer: the same meaning
Question: "make" used in the same way in the following two sentences?

To make like a deer caught in the headlights.

Make merry.
Answer: the same meaning
Question: "extension" used in the same way in the following two sentences?

Most BASIC files use the filename extension .BAS.

A text file will have a file extension of .txt.
Answer:
the same meaning