Q: Does the word "credit" mean the same thing in "He arrived five minutes late, but to his credit he did work an extra ten minutes at the end of his shift." and "Give her credit for trying."?

A: the same meaning

Q: Does the word "pull" mean the same thing in "Pull your knees towards your chin." and "Pull the string gently."?

A: the same meaning

Q: Does the word "life" mean the same thing in "Life depends on many chemical and physical processes." and "The battery had a short life."?

A: different meanings

Q: Does the word "connect" mean the same thing in "This computer will connect well to the network." and "Our computers connected."?

A:
the same meaning