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

This wood has the ability to fight off insects, fungus, and mold for a considerable time.

This phone has the ability to have its software upgraded wirelessly.

OPTIONS:
- different meanings
- the same meaning
Answer: the same meaning
Question: "practice" used in the same way in the following two sentences?

You should practice playing piano every day.

Pianists practice scales.

OPTIONS:
- different meanings
- the same meaning
Answer: the same meaning
Question: "denial" used in the same way in the following two sentences?

Every time we asked for an interview we got a denial.

It resulted in a complete denial of his privileges.

OPTIONS:
- different meanings
- the same meaning
Answer: the same meaning
Question: "set" used in the same way in the following two sentences?

The film is set in Africa.

Set the tray down.

OPTIONS:
- different meanings
- the same meaning
Answer:
different meanings