Seet 1: D) The Only Odd Prime Number Is 2
Seet 1: D) The Only Odd Prime Number Is 2
sheet 2
1- A compound proposition that is always ___________ is called a contradiction.
a) True b) False
2. If A is any statement, then which of the following is a tautology?
a) A ∧ F b) A ∨ F c) A ∨ ¬A d) A ∧ T
3. A compound proposition that is neither a tautology nor a contradiction is called a ____
a) Contingency b) Equivalence c) Condition d)Inference
4. ¬ (𝐴 ∨ 𝑞) ∧ (𝐴 ∧ 𝑞) is a ___________
a) Tautology b) Contradiction c) Contingency d) None the mentioned
5. (𝐴 ∨ ¬𝐴) ∨ (𝑞 ∨ 𝑇) is a __________
a) Tautology b) Contradiction c) Contingency d) None of the mentioned
6. (𝐴 ∨ 𝐹) ∨ (𝐴 ∨ 𝑇) is always _________
a) True b) False
7. 𝐴 → (𝐴 ∨ 𝑞) is a __________
a) Tautology b) Contradiction c) Contingency d) None of the mentioned
8. A → (A ∨ q) is a __________
a) Tautology b) Contradiction c) Contingency d) None of the mentioned
9. The compound propositions p and q are called logically equivalent if _____ is a
tautology.
a) 𝑝 ↔ 𝑞 b) 𝑝 → 𝑞 c) ¬ (𝑝 ∨ 𝑞) d) ¬𝑝 ∨ ¬𝑞
10. p ∨ q is logically equivalent to ________
a) ¬𝑞 → ¬𝑝 b) 𝑞 → 𝑝 c) ¬𝑝 → ¬𝑞 d) ¬𝑝 → 𝑞
a) 𝑝 ↔ ¬𝑞 b) ¬𝑝 ↔ 𝑞 c) ¬𝑝 ↔ ¬𝑞 d) ¬𝑞 ↔ ¬�
Quiz 1
1. Which of the following statement is a proposition?
a) How are you? b) 3 x = 5. c) My name is Tom. d) Thank you.
2. Suppose p: I live in Cairo. q: I play tennis.Then q→ p(q impliesp) is?
a) If I don’t live in Cairo, then I play tennis
b) I don’t play tennis when I live in Cairo
c) If I don’t play tennis then I live in Cairo
d) I play tennis when I don’t live in Cairo
3. Which of the following option is suitable, if A is “10110110”, B
is”11100011” and C is”
10100010”?
a) C = A ∨ B b) C = ¬ A c) C = ¬ B d) C = A ∧ B
[1 pt] When to proof p→q true, we proof if not q then not p, that type of proof is known
as
a) Direct proof b) Proof by Contradiction
c) proof by contraposition d) Mathematical Induction
6. [1 pt] Let P(x) denote the statement “x = x + 2.” What is the truth value of the
quantification ∃!xP(x), where the domain consists of all real numbers?
a) True b) False
7. [1 pt] Which of the following statement is correct?
a) p ∨ F ≡ P ∧ T b) (p ∨ q) ∧ r ≡ p ∨ (q ∧ r)
c) ¬ (p ∧ q) ≡ ¬ p ∨ q d) All of mentioned
8. [1 pt] If p is any proposition, then which of the following is a tautology?
a) P ∨ ¬p b) P ∧ F c) p ∧ T d) P ∨ F
middddd
1 If 𝒑 is any proposition, then which of the following is not a contradiction?
(a) p ∨ ¬ p (b) ¬ p ∧ F (c) p ∧ F (d) p ∧ ¬ p
2 If 𝒑 and 𝒒 are two propositions, then ¬ ( 𝐩 ∨ 𝐪 ) ∧ ( 𝐩 ∧ 𝐪) is a
(a) Tautology (b) Contradiction (c) Contingency (d) None of mentioned
3 What is the contrapositive of the conditional statement “Ali will find a decent job when
he studies hard.”?
(a) “If Ali studies hard, then he will find a decent job.”
(b) “If Ali will find a decent job, then he studieshard.”
(c) “If Ali will not find a decent job, then he does not study hard.”
(d) “If Ali does not study hard, then he will not find a decent job.”
4 If 𝑷(𝒙) denotes "𝟕𝒙𝟐 = 𝟐𝟖" and the domain consists of all integers, then the negation of
there exists at least an 𝒙 for which 𝑷(𝒙) denotes by
(a) ∃! 𝑥𝑃(𝑥) (b) ∃𝑥𝑃(𝑥) (c) ∀𝑥𝑃(𝑥) (d) ∀𝑥¬ 𝑃(𝑥)
5The compound proposition ¬ (𝐩 ∧ ( ¬ 𝐩 ∨ 𝐪) ) logically equivalence to
(a) p ∧ q (b) ¬(q ∧ p) (c) ¬ q ∧ p (d) ¬ q ∧ ¬ p
6 The Translation of “you are an administrator when you can edit a protected Wikipedia
entry”into propositional logic is …, Express your answer in terms of p: “You can edit a
protected Wikipedia entry” and q: “You are an administrator.”
(a) 𝑝 → 𝑞 (b) ¬ 𝑞 → 𝑝 (c) 𝑝 → ¬𝑞 (d) ¬ 𝑝 → 𝑞
7 How many bit strings of length ten either start with a 1 bit or end with the three bits
100?
(a) 640 (b) 576 (c) 512 (d) 1088
8 In a class, there are 30 boys and 18 girls. The teacher wants to select one boy and one
girl torepresent the class for quiz competition. In how many ways can the teacher make
this selection?
(a) 25 (b) 125 (c) 540 (d) 625
Sheet 3