They're all OK, but mean different things. For example:
On the other side of the room I saw two little boys. The little boy [who was] humming a song came towards me.
(That is, in the second of each pair, the clause with the -ing form is defining.)
- For Teachers