Civil Engineering (CE) Exam  >  Civil Engineering (CE) Tests  >  Engineering Mathematics  >  Test: Propositional Logic - Civil Engineering (CE) MCQ

Test: Propositional Logic - Civil Engineering (CE) MCQ


Test Description

10 Questions MCQ Test Engineering Mathematics - Test: Propositional Logic

Test: Propositional Logic for Civil Engineering (CE) 2024 is part of Engineering Mathematics preparation. The Test: Propositional Logic questions and answers have been prepared according to the Civil Engineering (CE) exam syllabus.The Test: Propositional Logic MCQs are made for Civil Engineering (CE) 2024 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Test: Propositional Logic below.
Solutions of Test: Propositional Logic questions in English are available as part of our Engineering Mathematics for Civil Engineering (CE) & Test: Propositional Logic solutions in Hindi for Engineering Mathematics course. Download more important topics, notes, lectures and mock test series for Civil Engineering (CE) Exam by signing up for free. Attempt Test: Propositional Logic | 10 questions in 30 minutes | Mock test for Civil Engineering (CE) preparation | Free important questions MCQ to study Engineering Mathematics for Civil Engineering (CE) Exam | Download free PDF with solutions
Test: Propositional Logic - Question 1

What is logically equivalent to the following statements? "I pass only if you pass" (Note that fail is equivalent to not pass.)

Detailed Solution for Test: Propositional Logic - Question 1

Concept:
Logically Equivalent: Two expressions are logically equivalent provided that they have the same truth value for all possible combinations of truth values for all variables appearing in the two expressions. In this case, we write X≡Y and say that X and Y are logically equivalent.

The given expression is,
 "I pass only if you pass"
P = I pass.
¬P = I fail.
Q = you pass.
¬Q = you fail.
 "I pass only if you pass" = P ⇒ Q = ¬P ∨ Q
Option 1: You pass only if I pass
False,  Q ⇒ P = ¬Q ∨ P
Option 2: If you fail then I fail
True, ¬Q ⇒ ¬P = Q∨ ¬P
Option 3: If you pass then I pass.
False, Q ⇒ P = ¬Q ∨ P
Option 4: You fail if I pass.
False, ¬Q ⇒ P = Q ∨ P
Hence the correct answer is If you fail then I fail.

Test: Propositional Logic - Question 2

P: The population of Hyderabad is more than Delhi.
Q: Last year, the number of months with 31 days are 7.
choose the correct option based on the truth value of the statements?

Detailed Solution for Test: Propositional Logic - Question 2

Option 1: P→Q is True

True, In general, P→ Q is false, only when P is true and Q is false.

If q is true, then irrespective of the P value, it holds true.

 The population of Hyderabad is more than Delhi we can not predict which city is more polluted. So it may be True or False. 

Here, ‘Q’ is true, as Jan, Mar, May, Jul, Aug, Oct, Dec months have 31 days. 

P→Q is True.

Option 2: (P→Q)→ Q is False

False, As Q is true, P→Q and (P→Q )→Q holds true.

Option 3: Q→ (P→Q ) is False

False, As P→Q is true, Q→ ( P→Q) holds true.

Option 4: ¬(P→Q) is True

True, This complement of  (P→Q). As (P→Q) is true then ¬(P→Q) is False.

Hence the correct answer is P→Q is True

1 Crore+ students have signed up on EduRev. Have you? Download the App
Test: Propositional Logic - Question 3

Which of the following is correct?
F: (p ↔ q)∧(¬ p ↔ q)
F2 : (p∨¬q)∧(¬ p∨q) ∧(¬ p∨¬q)

Detailed Solution for Test: Propositional Logic - Question 3

Satisfiable: A compound proposition that is not a contradiction is said to be satisfiable.
Tautology (Valid): A compound proposition that is always true is called tautology (valid).
Contradiction: A compound proposition that is always false is called a contradiction.
F1 : (p ↔ q)∧(¬ p ↔ q)
We know that ¬ (p ↔ q)= (¬ p ↔ q)
So, if (p ↔ q) is assumed of A.
Then A∧¬A = 0 or False
Means (p ↔ q)∧(¬ p ↔ q) is unsatisfiable.
F2 : (p∨¬q)∧(¬ p∨q) ∧(¬ p∨¬q)
= (p+q¯)(p¯+q)(p¯+q¯)
= (p+q¯)(p¯+qq¯)
= (p+q¯)(p¯)
= p¯q¯
Which is not valid but satisfiable. 
So, F1 is unsatisfiable but F2 is satisfiable.
Hence the correct answer is F1 is unsatisfiable, F2 is satisfiable.

*Answer can only contain numeric values
Test: Propositional Logic - Question 4

Let p, q, r, s represents the following propositions.
p: x ∈ {8, 9, 10, 11, 12}
q: x is a composite number
r: x is a perfect square
s: x is a prime number
The integer x ≥ 2 which satisfies ¬ ((p ⇒ q) ∧ (¬ r ∨ ¬ s)) is __________ 


Detailed Solution for Test: Propositional Logic - Question 4

Data:
p: x ∈ {8, 9, 10, 11, 12}
q: x is a composite number
r: x is a perfect square
s: x is a prime number
Explanation:
p ⇒ q means p̅ + q
As, q is composite number So, p ⇒ results in {8, 9, 10, 12}
As, r: x is a perfect square, ¬ r results in all the numbers which are not perfect square
So, ¬ r: {8, 10, 11, 12}
¬ s: {8, 9, 10, 12}
¬ r ∨ ¬ s = {8, 9, 10, 11, 12}
Now, (p ⇒ q) ∧ (¬ r ∨ ¬ s) = {8, 9, 10, 12}
¬ ((p ⇒ q) ∧ (¬ r ∨ ¬ s)) results in a number which is not present in ((p ⇒ q) ∧ (¬ r ∨ ¬ s))
¬ ((p ⇒ q) ∧ (¬ r ∨ ¬s)) will give {11}.

Test: Propositional Logic - Question 5

Consider the following two statements.
S1: If a candidate is known to be corrupt, then he will not be elected
S2: If a candidate is kind, he will be elected
Which one of the following statements follows from S1 and S2 as per sound inference rules of logic?

Detailed Solution for Test: Propositional Logic - Question 5

Concept:
Hypothetical syllogism,
If p → q and q → r then p → r
Formula:
p → q ≡ ¬ q → ¬ p ≡ ¬ p ∨ q 

Explanation:
C(x): x is known to be corrupt
E(x): x will be elected
K(x): x is kind
Statement S1 can be written as:
S1 ≡ C(x) → ¬E(x) 
S2 can be written as:
S2 ≡ K(x) → E(x) ≡ ¬E(x) →¬K(x) 
By using hypothetical syllogism,
From S1 and S2, the conclusion is
C(x) → ¬K(x) ≡ K(x) → ¬C(x)
If a person is kind, then he is not known to be corrupt.

Test: Propositional Logic - Question 6

Let p, q, and r be propositions and the expression (p → q) → r be a contradiction. Then the expression (r → p) → q is

Detailed Solution for Test: Propositional Logic - Question 6

(p → q) → r is a contradiction which is possible only when r is false and (p → q) is true.
Now, from here we can clearly say that option 4 is correct as (r → p) → q means ¬ (r → p) ∨ q.
Since r is false, (r → p) is true and ¬ (r → p) becomes false.
So, it becomes (false ∨ q). Now it totally depends on q. Whenever q is true, this value will always be true.
Alternate Method:
Let X ≡ p → q, Y ≡ (p → q) → r ≡ X → r,
Z ≡ r → p and W ≡ (r → p) → q ≡ Z → p
Using Truth table

So, from truth table also, it is clear that (r → p) → q is always true when q is true, and Y is false.

Test: Propositional Logic - Question 7

“If X, then Y unless Z” is represented by which of the following formulae in propositional logic?
(“¬” is negation “^” is conjunction, and “→” is implication)

Detailed Solution for Test: Propositional Logic - Question 7

The statement “If X then Y unless Z” means, if Z doesn’t occur, X implies Y i.e. ¬Z→(X→Y), which is equivalent to Z ∨ (X→Y)

(since P→Q ≡ ¬P ∨ Q), which is then equivalent to Z ∨ (¬X ∨ Y). Now we can look into options which one matches with this.

So option (a) is (X∧¬Z)→Y = ¬( (X∧¬Z) ) ∨ Y = (¬X∨Z) ∨ Y, which matches our expression. So option (A) is correct.

Test: Propositional Logic - Question 8

Consider the following logical inferences.
I1: If it rains then the cricket match will not be played.
The cricket match was played.
Inference: There was no rain.

I2: If it rains then the cricket match will not be played.
It did not rain
Inference: The cricket match was played.

Which of the following is TRUE?

Detailed Solution for Test: Propositional Logic - Question 8

I1 states that:
Statement
Consider A = it rains,
B = match played
So, If (it rains) then (match will not be played) that means,
A → (¬ B)
Inference states that “there was no rain” means A = false (F)
Therefore, for any F → (¬ B) i.e. for any "F that implies not B" is true.
So this inference is valid.
Here the only condition is if it rains the match will not be played. That doesn’t mean if it will not rain then the match will be played.
If the match was played then it means it doesn’t rain.
So this inference is valid.

I2 states that:
Statement
Consider A = it rains,
B = match played
So, If (it rains) then (match will not be played) that means,
A → (¬ B)
Inference states that “the match was played”.
Here the only condition is if it rains the match will not be played. If the match was played then it means it doesn’t rain.
That doesn’t mean if it will not rain then the match will be played.
So this inference is invalid.
Hence, the correct answer is "option b".

Test: Propositional Logic - Question 9

p is the proposition “ Indian army moves back”
q is the proposition “ Chinese army moves back”
r is the proposition “ There is no war”
Then what is the contrapositive of the statement “ If Indian army moves back and Chinese army moves back, then there is no war”

Detailed Solution for Test: Propositional Logic - Question 9

If the statement is true, then the contrapositive is also logically true.

The given statement is,
"If Indian army moves back and Chinese army moves back, then there is no war”
For the compound statement p→q, the contrapositive is ~q→~p.
The given statement is in the form ( p∧q) →r
So contrapositive is ~r→~(p∧q).
Hence the correct answer is ​~r→~(p∧q).

Test: Propositional Logic - Question 10

If p = a number from {8, 9, 10, 11, 12}
q = not a composite number
r = a square number
s = a prime number
then what is the value of ~((p → ~q)∧(~r ∨~S) )

Detailed Solution for Test: Propositional Logic - Question 10

Given that, If p = a number from {8, 9, 10, 11, 12}
q = not a composite number
r = a square number
s = a prime number
~((p→~ q)∧(~r ∨~S) )
¬((p→¬q)∧(¬r∨¬S))
¬(¬p∨¬q)∨¬(¬r∨¬S)
(p∧q)∨(r∧s)
p∧ q = {8, 9, 10, 11, 12} ∧  {11 } = {11}
(r ∧ s) = { a square number }∧{ a prime number}
(r ∧ s) = {9} ∧ {11} = { }
(p∧ q) ∨ (r ∧ s)= {11} ∨ { } = {11}
Hence the correct answer is 11.

65 videos|120 docs|94 tests
Information about Test: Propositional Logic Page
In this test you can find the Exam questions for Test: Propositional Logic solved & explained in the simplest way possible. Besides giving Questions and answers for Test: Propositional Logic, EduRev gives you an ample number of Online tests for practice

Top Courses for Civil Engineering (CE)

65 videos|120 docs|94 tests
Download as PDF

Top Courses for Civil Engineering (CE)