Question: This question has options. Does the word "keep" have the same definition in the next 2 sentences?

I keep my specimens under glass to protect them.

Keep on working!
Answer: the same meaning

Question: This question has options. Does the word "time" have the same definition in the next 2 sentences?

It took more than half my time.

I didn't have time to finish.
Answer: the same meaning

Question: This question has options. Does the word "life" have the same definition in the next 2 sentences?

While there's life there's hope.

I have known him all his life.
Answer:
different meanings