logic design mcq questions