So in NF3 and OF2 the dipole moment is less because flourine is not a central atom. Now in NH3 and H2O, oxygen is more electronegative than nitrogen, as both are central atom in their respective compounds therefore dipole moment of H2O will be more than NH3. Therefore maximum dipole moment can be observed in H2O.
OF2: 8 valence electrons, 2 bonds, hence 2 lone pairs, hence non-linear, therefore OF2 WILL have a dipole moment. SOCl2: 10 valence electrons, 4 bonds, hence 1 lone pair, hence pyramidal, therefore SOCl2 WILL have a dipole moment.
VSEPR Theory (Molecular Shapes) A = the central atom, X = an atom bonded to A, E = a lone pair on A Note: There are lone pairs on X or other atoms, but we don't care. Scl4 Molecular Geometry