JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech II Year DISCRETE STRUCTURES Previous Question Paper (March - 2022 - R18)
Answer any five questions. All questions carry equal marks.
Main
Verify whether the propositional function
Answer
To determine if the propositional function ((p→q)∧(r→s)∧(p∨r))→(q∨s) is a tautology, we construct a truth table or use logical equivalence. Using truth table analysis, we evaluate the expression for all 16 combinations of p, q, r, and s.
This expression is a form of the constructive dilemma rule in propositional logic. If we assume the antecedent ((p→q)∧(r→s)∧(p∨r)) is true, then (p→q) is true, (r→s) is true, and (p∨r) is true. If p is true, then q must be true. If r is true, then s must be true. Since (p∨r) is true, at least one of p or r must be true, which forces at least one of q or s to be true, making (q∨s) true. Since the implication holds true for all possible truth values of the variables, the expression is a tautology.
Demonstrate that S is valid inference from the premises:
Answer
To demonstrate that S is a valid inference, we apply rules of inference to the given premises:
- P → ~Q (Premise 1)
- Q ∨ R (Premise 2)
- ~S → P (Premise 3)
- ~R (Premise 4)
- Q (From 2 and 4 using Disjunctive Syllogism)
- ~P (From 1 and 5 using Modus Tollens)
- S (From 3 and 6 using Modus Tollens)
Since we have derived S from the given premises, the inference is valid.
Use indirect method to show that
Answer
Sign in to view the complete answer paper.
Prove that the premises
Answer
Sign in to view the complete answer paper.
Define a function. Let
Answer
Sign in to view the complete answer paper.
Verify the relation R that is “divide” on the set
Answer
Sign in to view the complete answer paper.
For each of the following relation on the set {1,2,3,4}, determine whether it is reflexive, symmetric, anti-symmetric and transitive.
i)
ii)
iii)
Answer
Sign in to view the complete answer paper.
Show that the relation
Answer
Sign in to view the complete answer paper.
Show that Natural numbers under addition cannot form a group.
Answer
Sign in to view the complete answer paper.
Develop a recursive algorithm to find a factorial of a given number.
Answer
Sign in to view the complete answer paper.
Consider
Answer
Sign in to view the complete answer paper.
What is the need of recursive algorithms? Differentiate recursive algorithms and non-recursive algorithms.
Answer
Sign in to view the complete answer paper.
Solve the following linear recurrence relation
Answer
Sign in to view the complete answer paper.
Develop generating function for the sequence 1, 1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4...
Answer
Sign in to view the complete answer paper.
What is Chromatic number? Apply an algorithm to find Chromatic number of the following graph shown in figure 1.
Answer
Sign in to view the complete answer paper.
Define Euler path and Euler circuit. What is the condition to have Euler path, Euler circuit in a graph? Verify whether the following graph shown in figure 2 has Euler path, Euler circuit or neither.
Answer
Sign in to view the complete answer paper.