Final answer:
The percent composition of oxygen in a vial containing 20.0g of pure oxygen gas is 100% because the sample is entirely composed of oxygen.
Step-by-step explanation:
The question asks for the percent composition of oxygen in a given sample. When we have a vial containing pure oxygen gas, the percent composition is simply 100%, because it is composed entirely of oxygen and nothing else.
Questions about percent composition are typically found in chemistry topics, and calculating the mass percent of an element in a compound involves knowing both the total mass of the compound and the mass of the specific element of interest. However, in this case, since the vial contains oxygen gas, and no other elements or compounds are mentioned, the percent composition is 100% oxygen by mass.