JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech II Year MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE Previous Question Paper (September/October - 2023 - R13)
Note: i) Question paper consists of Part A, Part B.
ii) Part A is compulsory, which carries 25 marks. In Part A, Answer all questions.
iii) In Part B, Answer any one question from each unit. Each question carries 10 marks and may have a, b as sub questions.
Part A
List the applications of propositional logic.
Answer
Propositional logic is used in circuit design for simplifying logic gates, in artificial intelligence for knowledge representation and automated reasoning, and in software engineering for formal verification and specification of program requirements.
Write Converse, opposite for the statement “If 2+2=8 then sun rises in the east”.
Answer
Given the statement: If P then Q, where P is '2+2=8' and Q is 'sun rises in the east'.
Converse (If Q then P): If the sun rises in the east, then 2+2=8.
Contrapositive (If not Q then not P): If the sun does not rise in the east, then 2+2 is not 8.
Define a Function.
Answer
Sign in to view the complete answer paper.
Represent the following relation R on the set X={1,2,3} in matrix form and graph form R = {(1,1),(2,2),(3,3),(2,3),(3,1),(1,3)}.
Answer
Sign in to view the complete answer paper.
List the applications of Pigeonhole principle.
Answer
Sign in to view the complete answer paper.
How many 4-digit numbers are possible with the digits 1,3,4,6,7,9 if repetition of digits are allowed.
Answer
Sign in to view the complete answer paper.
A sequence is given as 1,1,1,2,2,2,3,4,4,5. Compute generating function for this sequence.
Answer
Sign in to view the complete answer paper.
Solve the following recurrence relation by substitution method : an = an-1 + n.
Answer
Sign in to view the complete answer paper.
A connected graph G contains 5 vertices and 10 edges. What is the number of edges that has to be deleted from G to form a tree?
Answer
Sign in to view the complete answer paper.
Graph can be represented with adjacency matrix and adjacency list. Give differences between these two methods.
Answer
Sign in to view the complete answer paper.
Part B
Convert (P→Q) ∧ (P→¬Q) in principal conjunctive normal form.
Answer
Sign in to view the complete answer paper.
Show that R → S can be derived from the premises P → ( Q → S ) , ¬R ∨ P and Q.
Answer
Sign in to view the complete answer paper.
Derive P → ¬S from P → (Q ∨ R) , Q → ¬P , S → ¬R , P by applying inference rules.
Answer
Sign in to view the complete answer paper.
Obtain Principal Conjunctive Normal Form (PCNF) for the following formula: (P∨Q) ∧ (¬Q∨R) ∧ (Q→R).
Answer
Sign in to view the complete answer paper.
Draw the Hasse diagram for the divisibility on the set {1,2,3,6,12,24,36,48,96}.
Answer
Sign in to view the complete answer paper.
Consider the following relation R on the set {1, 2, 3, 4}. Determine whether it is reflexive, irreflexive, symmetric, anti-symmetric and transitive : R={(1,1),(2,2),(2,3),(2,4),(3,2),(3,3),(3,4)}.
Answer
Sign in to view the complete answer paper.
Let X = {1,2,3,4,5,6} and relation R on set X is defined as R = {(a,b) | a-b is divisible by 3} . Show that R is an equivalence relation.
Answer
Sign in to view the complete answer paper.
Show that the relation R = {(a,b) | if a divides b} on set X={1,2,3,4,6,8,12,16,32,36} is partial ordered relation and draw Hasse diagram for it.
Answer
Sign in to view the complete answer paper.
Find the number of ways of distributing 50-similar balls into 4 distinct boxes such that first two boxes should contain atleast two balls and next two boxes must contain atleast three ball.
Answer
Sign in to view the complete answer paper.
List 3-combinations and 3-permutations of {4a,5b,1c,2d}.
Answer
Sign in to view the complete answer paper.
Expand the multinomial (2x1+4x2+x3)4.
Answer
Sign in to view the complete answer paper.
Find the number of integral solutions to x1+x2+x3+x4 = 50, where x1 ≥ 4, x2 ≥ 7, x3 ≥ 1, x4 ≥ 10.
Answer
Sign in to view the complete answer paper.
Solve the following recurrence relation using generating function: an - 5 an-1 + 6 an-2 = 0 for n ≥ 2, and a0 = 1 and a1 = - 2.
Answer
Sign in to view the complete answer paper.
Solve the following recurrence relation Fn = Fn-1 + Fn-2, where F0=1, F1=1.
Answer
Sign in to view the complete answer paper.
Solve an - an-1 = 2n for n ≥ 1, where a0 = 2.
Answer
Sign in to view the complete answer paper.
Find a general expression for an using generating functions an - 2an-1 + an-2 = 0, n ≥ 2.
Answer
Sign in to view the complete answer paper.
Verify the graphs K5 (Complete Graph with 5 vertices), K4(Complete Graph with 4 vertices), K4,3 (Complete Bi-Partite Graph), K2,4(Complete Bi-Partite Graph) are planar graphs or not? Explain.
Answer
Sign in to view the complete answer paper.
Verify whether the following two graphs are isomorphic or not? Justify your answer.
Answer
Sign in to view the complete answer paper.
Apply Kruskal's algorithm and Prime's algorithm to find minimal spanning tree on the following graph and compare these two methods.
Answer
Sign in to view the complete answer paper.
Define Chromatic number of a graph. Compute the chromatic number of the following graph.
Answer
Sign in to view the complete answer paper.