General formula of the compound that will be formed, when oxygen reacts with an alkali metal, is :
Which among the following compounds are formed when an alkali metal reacts with hydrogen and halogen respectively?