In terms of electronegativities:
1) Why is the oxidation number of hydrogen +1 in compounds with C,N.O and Cl, but -1 in compounds with metals like Li, Na and Al
2) Why does chlorine have a negative oxidation number in CCl4 but a positive oxidation number in HClO