Mathorio
Answer key
Compound Boolean Statements
Show your work for each problem.
- 1.Let : "The dog is hungry" and : "The dog is tired". Which symbols mean "The dog is hungry and tired"?
- a)
- b)
- c)
- d)
Answer:
Both parts are claimed to be true and joined with *and*, so the statement is .
- 2.is true and is false. What is the truth value of ? Write 1 for true and 0 for false.
Answer: 1
: one true part is enough for OR.
- 3.Let : "It is snowing" and : "School is closed". Which sentence matches ?
- a)It is not snowing and school is closed.
- b)It is snowing and school is not closed.
- c)It is not true that it is snowing and that school is closed.
- d)It is not snowing or school is closed.
Answer: It is not snowing and school is closed.
is "it is not snowing", and joins it with using *and*. The last choice would be .
- 4.Let : "" and : " is an even number". What is the truth value of ? Write 1 for true and 0 for false.
Answer: 0
and because is odd. : AND needs both parts to be true.
- 5.Let : "" and : " is an odd number". Find the truth value of (1 = true, 0 = false).
Answer: 1
- What is the value of ? 1
- What is the value of ? 0
- What is the value of ? 1
- What is the value of ? 1
- 6.Let : "Mia has a cat" and : "Mia has a dog". Mia has no pets at all. Find the truth value of "Mia has neither a cat nor a dog" (1 = true, 0 = false).
Answer: 1
- What is the value of ? 0
- Neither ... nor is . What is the value of ? 1
- What is the value of ? 1
- What is the value of ? 1
- 7.Which sentence is the negation of "Leo plays the guitar and Leo sings"?
- a)Leo does not play the guitar and Leo sings.
- b)It is not true that Leo both plays the guitar and sings.
- c)Leo neither plays the guitar nor sings.
- d)Leo plays the guitar but does not sing.
Answer: It is not true that Leo both plays the guitar and sings.
With : Leo plays the guitar and : Leo sings, the negation is : it is true in 3 of the 4 cases, whenever at least one of the two is missing. "Neither ... nor" is true in only 1 case, so it is not the negation.
- 8.is false and is true. What is the truth value of ? Write 1 for true and 0 for false.
Answer: 0
, and : the statement is false.
- 9.In how many of the 4 cases of and is true?
Answer: 3
Cases (, ): 00 gives , 01 gives , 10 gives , 11 gives . True in 3 cases.
- 10.Ana goes to the party and Ben goes to the party. Is the statement "Ana goes or Ben goes" true in logic?
- a)It cannot be decided
- b)Yes, because OR is true when at least one part is true
- c)No, because OR means exactly one of them
- d)No, because both of them go
Answer: Yes, because OR is true when at least one part is true
In logic OR is inclusive: . The statement would be false only if neither Ana nor Ben went.
- 11.Find the truth value of for , and .
Answer: 0
- What is the value of ? 0
- What is the value of ? 0
- What is the value of ? 0
- 12.Let : " is divisible by " and : " is divisible by ". Find the truth value of " is divisible by or by , but not by both", written (1 = true, 0 = false).
Answer: 1
- What is the value of ? 1
- What is the value of ? 0
- What is the value of ? 1
- What is the value of the whole statement? 1
- 13.In how many of the 4 cases of and is true?
Answer: 1
- How many cases are there for and ? 4
- In how many cases is true? 2
- Of those cases, in how many is also true? 1
- 14.Let : "It is cold", : "It is windy", : "It is sunny". Which symbols mean "It is sunny, and it is neither cold nor windy"?
- a)
- b)
- c)
- d)
Answer:
Neither cold nor windy means: it is not true that it is cold or windy, , which is true only when and . Joined with sunny by *and*: .
- 15.In how many of the 8 cases of , and is true?
Answer: 5
When the statement is always true: 4 cases. When it needs and : 1 more case. Total .
- 16.Let : "", : " is a prime number", : "". Find the truth value of (1 = true, 0 = false).
Answer: 0
- What is the value of ? 1
- What is the value of ? 0
- What is the value of ? 0
- What is the value of ? 0
- 17.In how many of the 8 cases of , and is true?
Answer: 3
- How many cases are there for 3 statements? 8
- In how many of them is true? 4
- Of the 4 combinations of and , in how many is true? 3
- In how many cases is true? 3
- 18.Let : "The bus is late" and : "It is raining". Negate and find in how many of the 4 cases the negation is true.
Answer: 1
- In how many cases is true? 3
- In the case where is false, what is the value of ? (1 = true, 0 = false) 0
- And what is the value of in that case? 0
- In how many cases is true? 1