Discrete Structures Mid Exam SP 2024 Final Solution
Discrete Structures Mid Exam SP 2024 Final Solution
Note:-Don’t write anything on Question Paper except your name & Reg. No.
All students are required to undertake the "Honor Pledge" and beware that they would be held accountable
in the court of Allah for their deeds and misconducts "In the name of Allah the most beneficent and merciful,
I affirm that I will not give or receive any unauthorized help on this exam, and that all work will be my own.”
Signature:-------------------
a. What is the negation for “b ≤ 5”. Use De Morgan’s law and solve the inequality to justify
your choice. (03)
1. ~ ( ~p ∧ q) → q
2. ~q → ( ~p ∧ q)
3. ~q → ~ ( p v ~q)
4. q → ~ ( ~p ∧ q)
5. None of These
c. Fill in the Truth Table and prove the validity of the Argument. (05)
a. Which of the following expression(s) is true? Justify your choice by providing the solution.
(02)
1. pq≡t
2. (p q) p ≡ t
3. ( (p q) p) p ≡ t
4. None of These
[ ( ( ~x v y ) ∧ ~y ) ∧ ( ~x v z ) ] v [ (x ∧ (~y v ~z) ) ]
[ ( ~x ∧ ~y ) ∧ ( ~x v z ) ] v [ (x ∧ (~y v ~z) ) ]
[ ( ~x ∧ ~y ) ∧ ( ~x v z ) ] v [ ( x ∧ ~y ) v (x ∧ ~z) ]
[ [ ( ~x ∧ ~y ) ∧ ( ~x v z ) ] v ~ ( ~x v z ) ] v ( x ∧ ~y )
( ~x ∧ ~y ) v ( x ∧ ~z ) v ( x ∧ ~y )
( ~y ∧ ( ~x v x ) ) v (x ∧ ~z)
( ~y v (x ∧ ~z) )
X Y XvY
x y Z ~x ~y ~ ( ~x v ~ ( y v ( x ∧ ~z ) ) (x ∧ ~ (y ∧ z) ) ( ~x v y ) ∧ ~ ( y v ( x ∧ ~z ) FINAL
z y)
0 0 0 1 1 1 1 1 0 1 1
0 0 1 1 1 0 1 1 0 1 1
0 1 0 1 0 1 1 0 0 0 0
0 1 1 1 0 0 1 0 0 0 0
1 0 0 0 1 1 0 0 1 0 1
1 0 1 0 1 0 0 1 1 0 1
1 1 0 0 0 1 1 0 1 0 1
1 1 1 0 0 0 1 0 0 0 0
Good Luck