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

It ended on a sour note.

There was a note of gaiety in her manner.
Answer: the same meaning
Question: "come" used in the same way in the following two sentences?

Melons come from a vine.

Understanding comes from experience.
Answer: the same meaning
Question: "set" used in the same way in the following two sentences?

A set of teeth.

A set of books.
Answer: the same meaning
Question: "take" used in the same way in the following two sentences?

You can't take credit for this!

We took an apartment on a quiet street.
Answer:
different meanings