Hard logic questions with answers