Solve the following logic problems. Remember, everyoneyou meet is either a knight or a knave, knights make truestatements, and knaves make false statements. Give your reasoningfor each problem. p,q,r and T/F truth table format.
You meet two residents, Alex and Bill. They say the following:Alex: I’m a knight. Bill: Alex is a knight, but I’m a knave. IsAlex a knight or a knave? Is Bill a knight or a knave?
You meet Clara and Davis, who are all like: Clara: One of us isa knight and the other is a knave. Davis: Clara is a knave. IsClara a knight or a knave? Is Davis a knight or a knave?
You meet Edith and Frank, though only Edith speaks. Edith: BothFrank and I are knaves. Is Edith a knight or a knave? Is Frank aknight or a knave? (Note: Frank’s silence gives no indication ofhis type, but you can figure out from Edith’s statement.)
You meet Gina, Herbert, and Ichabod. Gina: Ichabod is a knave,if and only if I’m a knight. Herbert: Ichabod is a knight, if andonly if I’m a knave. Ichabod: I like pudding. Does Ichabod likepudding?