Those two are the same, yes. And yes, those are possible, but you should use && and || instead of AND and OR. AND/OR are for bit operations.