Concept:An amphoteric oxide reacts with both acids and bases to form salt and water.Explanation:Among the given oxides, only beryllium oxide (BeO) is amphoteric.The oxides of calcium, magnesium, and barium are basic metallic oxides.Beryllium oxide reacts with an acid as a base:BeO+2HCl→BeCl2+H2OIt also reacts with a base as an acid:BeO+2NaOH→Na2BeO2+H2OTherefore, BeO shows both acidic and basic character.Answer:D. BeO