I'm having trouble understanding how a simple flip flop circuit works. Firstly - can a logic gate work only connected with one wire? I don't actually understand what happen's when you press a button inside the circuit when the circuit is in the unknown state. When the circuit is in a stable position, all is clear, but when we wire up the wires and we set it for the first time then it does not makes sense... I want to know what's happening with the flip flop in the picture below. Sorry for my poor english grammar. Thank you!