Mathorio
Answer key
The NOT Operation
Show your work for each problem.
- 1.If is true, what is ?
- a)False
- b)True
- c)Both true and false
- d)It depends on Q
Answer: False
NOT turns true into false, so is false. NOT has only one input, so Q plays no role.
- 2.With 1 for true and 0 for false, what is NOT 1? Type 1 or 0.
Answer: 0
NOT 1 = 0. You can also use the trick : .
- 3.Which sentence is the negation of "Tom likes football"?
- a)Tom likes football a lot
- b)Tom hates football
- c)Tom likes basketball
- d)Tom does not like football
Answer: Tom does not like football
"Tom does not like football" is the negation. "Tom hates football" says much more: Tom could simply not care about football, and then he neither likes nor hates it.
- 4.What is ? Type 1 or 0 (1 = true, 0 = false).
Answer: 1
and then . Two NOTs cancel out, so you get back the starting value 1.
- 5.Let P = "". Find the value of P and of , using 1 for true and 0 for false.
Answer: 0
- Is P true (1) or false (0)? 1
- What is ? 0
- 6.Use the trick to compute NOT 0 and NOT 1.
Answer: 1, 0
- Compute NOT 0 = 1
- Compute NOT 1 = 0
- 7.What is the negation of "All birds can fly"?
- a)Some birds can fly
- b)All birds are unable to fly
- c)Not all birds can fly
- d)No bird can fly
Answer: Not all birds can fly
One bird that cannot fly (a penguin) already makes the claim false, so the negation is "Not all birds can fly". "No bird can fly" is false too, because most birds can fly.
- 8.P = 0 and Q = 0. What is ? Type 1 or 0 (1 = true, 0 = false).
Answer: 1
, and then , because OR needs only one true input.
- 9.The negation of "" is:
- a)
- b)
- c)
- d)
Answer:
A number is either greater than 5 or not. "Not greater than 5" means smaller than 5 or equal to 5, so the negation is . The choice forgets the number 5.
- 10.P = 1 and Q = 0. Evaluate , then compare it with (1 = true, 0 = false).
Answer: 1
- What is ? 0
- What is ? 1
- Now compute 0
- 11.P = "10 is divisible by 3" and Q = "10 is even". Evaluate (1 = true, 0 = false).
Answer: 1
- What is P? 0
- What is ? 1
- What is Q? 1
- What is ? 1
- 12.What is (three NOTs in a row)? Type 1 or 0 (1 = true, 0 = false).
Answer: 1
, , . An odd number of NOTs flips the value, an even number keeps it.
- 13.Let S = "Mia speaks French", and S is true. What is the value of the sentence "It is not true that Mia does not speak French"? Use 1 for true and 0 for false.
Answer: 1
- What is the value of S? 1
- "Mia does not speak French" is . What is its value? 0
- The whole sentence is . What is its value? 1
- 14.Which expression always has the same value as ?
- a)
- b)
- c)
- d)
Answer:
By De Morgan's law, : "neither P nor Q". Check P = 1, Q = 0: and , while is different.
- 15.P = 1, Q = 0 and R = 1. What is ? Type 1 or 0 (1 = true, 0 = false).
Answer: 0
, so and . Also . Then .
- 16.P = 1 and Q = 0. Compute and and check that they are equal (De Morgan).
Answer: 1
- What is ? 0
- What is ? 1
- What is ? 0
- What is ? 1
- What is ? 1
- 17.With 1 and 0, AND is multiplication and NOT P is . Compute NOT (1 AND 0) as , then check the result with .
Answer: 1
- What is 1 AND 0 = ? 0
- What is ? 1
- Check: what is ? 1
- 18.A garden sprinkler runs when is true, where R = "it is raining" and W = "the soil is already wet". By De Morgan this is the same as . Today R = 0 and W = 1. Does the sprinkler run? Use 1 for yes (true) and 0 for no (false).
Answer: 0
- What is ? 1
- What is ? 0
- What is ? 0
- Now the other form. What is ? 1
- What is ? 0