logic questions