Finite State Machine DFSM,NFSM and Mealy-Moore Machine (Help - Explain)

Can any one explain me about Finite State Machine with simulation like -> dog barking when see squirel because i dont understand with q and biner symbols

like this image

http://learnyousomeerlang.com/static/img/fsm_dog.png

not like

https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcRrq9i6s-3RjKZc5rLCd3NbKuEjvCVLSkNoh5739McGTb5hEpAu2Q