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

Our children attend a public school in our neighborhood.

Harvard University is a famous American postsecondary school.
Answer: the same meaning
Question: "piece" used in the same way in the following two sentences?

It was a nice piece of work.

It is down the road a piece.
Answer: different meanings
Question: "object" used in the same way in the following two sentences?

The object of my affection.

Objects of thought.
Answer: the same meaning
Question: "job" used in the same way in the following two sentences?

He gave it up as a bad job.

She did an outstanding job as Ophelia.
Answer:
the same meaning