Professional Documents
Culture Documents
EST Question Paper
EST Question Paper
EST Question Paper
Thapar In nstitute of E
Engineeringg & Technollogy, Patiala a
Departtment of Commputer Scieence and Enggineering
END SEM MESTER EXA AMINATION N
B.. E. (Second Year): Sem
mester-III (20 020/21) Couurse Code: UCS405
U
(C
COE, CSE) Couurse Name: Discrete
D Maathematical Structures
Daate: Januaryy 25, 2021 Tim
me: 11:00 AMM – 13:00 PM M
Duuration: 2 Hours,
H M. Maarks: 50 Namme of Facultty: MJU, SMAA, RPK, VG
Note: Attemptt all questio
ons in a prop per sequencce with justtification.
Assume missing da ata, if any, suitably.
Attemptt any five ouut of seven questions.
1
1/2
Q4 Consider a university with five building’s blocks A, B, C, D, and E. The blocks need to be connected (4+3+3)
so that computer network of each building block is accessible to the network in the other building
blocks. The distance between building blocks is given in the table as:
A B C D E
A - 1 8 1 3
B 1 - 12 2 9
C 8 12 - 7 6
D 1 2 7 - 2
E 3 9 6 2 -
The university needs to schedule the final exams in one building block of the students enrolled in
Math 115, Math 116, Math 185, Math 195, CS 101, CS 102, CS 273, and CS 473 subjects. There are
no students taking both Math 115 and CS 473, both Math 116 and CS 473, both Math 195 and CS
101, both Math 195 and CS 102, both Math 115 and Math 116, both Math 115 and Math 185, and
both Math 185 and Math 195, but there are students in every other pair of subjects. Find the
following:
i. The shortest path from building block-B to all other building blocks.
ii. The length of minimum network from building block-D that require to connect all the
buildings using prim’s algorithm.
iii. The minimum number of different time slots required to conduct the exam.
Q5(a) Based on the given premises below, show that the conclusion is true. Give reasons along with the (4)
proper steps.
Premises: p ∨q →r
r→ s∨t
s∧ u
u→ t
Conclusion : p
Q5(b) Let Dx = N and Dy = N0. Define P(x, y) as “x divides y". (6)
Find the truth values along with proper reasons for the following quantified predicates:
i. ∀x P(x, 0)
ii. ∀x P(x, x)
iii. ∀y ∃x P(x, y)
iv. ∃y∀x P(x, y)
v. ∀x∀y [(P(x, y) ∧ P(y, x)) → (x = y)]
vi. ∀x∀y∀x [(P(x, y) ∧ P(y, x)) → P(x, z)]
2/2