
CS1050 HW 1
24. Construct a truth table for each of the following compound propositions
b) (p q) r
d) (p q) r
f) (p q) r
On the following questions, construct a truth table to illustrate your conclusions.
40. Five friends have access to a chat room. Is it possible to determine who is chatting
if the following information is known? Either Kevin or Heather, or both, are chatting.
Either Randy or Vijay, but not both, are chatting. If Abby is chatting, so is Randy. Vijay
and Kevin are either both chatting or neither is. If Heather is chatting, then so are Abby
and Kevin. Explain your reasoning.
42. Four friends have been identified as suspects for an unauthorized access into a
computer system. They have made statements to the investigating authorities.
Alice said “Carlos did it.” John said “I did not do it.” Carlos said “Diana did
it.” Diana said “Carlos lied when he said I did it.”
a) If the authorities also know that exactly one of the four suspects is telling
the truth, who did it? Explain your answer.
b) If the authorities also know that exactly one is lying, who did it? Explain
your answer.