Electronic dipole moment and static polarizability functions for some diatomic molecules (H2, N2, O2, NO, OH, CO, CH, HF and HCl) that are important for combustion and atmospheric chemistry are calculated by using ab initio methods over a broad range of internuclear distances. Using the ab initio calculated data on the electric properties and potential energy functions, the effective values of dipole moment and static polarizability as well as the energy levels of these molecules in individual vibrational and rotational states until the dissociation threshold are determined. It is revealed that, for the ground electronic states of molecules under study, the excitation of molecule vibrations can affect the averaged dipole moment and static polarizability substantially, whereas the effect of excitation of the rotational states is less pronounced.