JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech II MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE Previous Question Paper (November/December - 2017 - R16)

B.Tech | II | I | R16 | November/December - 2017

Answer PaperPaper Code: 133BCMaximum Marks: 75Time: 3 Hours

Note: This question paper contains two parts A and B. Part A is compulsory which carries 25 marks. Answer all questions in Part A. Part B consists of 5 Units. Answer any one full question from each unit.

Part A

1a

Represent the proposition “If you have the flee then you miss the final examination” into symbolic form and also its negation.

2 marks

Answer

  • Let p be the proposition "You have the flu".
  • Let q be the proposition "You miss the final examination".
  • The given statement is a conditional proposition of the form "If p, then q", which is represented symbolically as p → q.
  • The negation of a conditional statement p → q is defined as ¬(p → q). Using the logical equivalence p → q ≡ ¬p ∨ q, the negation becomes ¬(¬p ∨ q). By applying De Morgan's Law, this simplifies to p ∧ ¬q.
  • In natural language, the negation is: "You have the flu and you do not miss the final examination."
1b

Provide a proof by direct method of the following statement, “If x is odd then x2 is odd”.

3 marks

Answer

To prove the statement "If x is odd, then x2 is odd" using a direct proof, we proceed as follows:

  • Assume the hypothesis is true: Let x be an odd integer.
  • By the definition of an odd integer, there exists an integer k such that x = 2k + 1.
  • To find x2, we square the expression: x2 = (2k + 1)2.
  • Expanding the square, we get x2 = 4k2 + 4k + 1.
  • We can factor out a 2 from the first two terms: x2 = 2(2k2 + 2k) + 1.
  • Let m = 2k2 + 2k. Since k is an integer, m must also be an integer because the set of integers is closed under addition and multiplication.
  • Substituting m back into the equation, we have x2 = 2m + 1.
  • By definition, any number that can be written in the form 2m + 1 for some integer m is an odd integer.
  • Therefore, x2 is odd, which completes the proof.
1c

Differentiate partial ordering and total ordering relations.

2 marks

Answer

Sign in to view the complete answer paper.

1d

Define lattice and write its properties.

3 marks

Answer

Sign in to view the complete answer paper.

1e

Find out how many 5-digit numbers greater than 30,000 can be formed from the digits 1, 2, 3, 4 and 5.

2 marks

Answer

Sign in to view the complete answer paper.

1f

In how many ways can we draw a heart or queen from a pack of cards.

3 marks

Answer

Sign in to view the complete answer paper.

1g

Define recurrence relation and explain recurrence relation for towers of Hanoi.

2 marks

Answer

Sign in to view the complete answer paper.

1h

Solve recurrence relation an - 4an-1 + 4an-2 = 0, a0 = 0, a1 = 1.

3 marks

Answer

Sign in to view the complete answer paper.

1i

Define complete graph and wheel graph.

2 marks

Answer

Sign in to view the complete answer paper.

1j

Define planar graph and write conditions for testing planarity of the graph.

3 marks

Answer

Sign in to view the complete answer paper.

Part B

210 marks
a

State and explain the rules that can generate a well formed formula.

5 marks

Answer

Sign in to view the complete answer paper.

b

Show that R → S can be derived from premises, P → (Q → S), (~R ∨ P) and Q.

5 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

Define PDNF and find PDNF for (~P « R) ∧ (Q « P).

5 marks

Answer

Sign in to view the complete answer paper.

b

Prove or disprove the validity of the following arguments using the rules of inference: All men are fallible, All kings are men, Therefore, all kings are fallible.

5 marks

Answer

Sign in to view the complete answer paper.

410 marks
a

If a, b are any two elements of a group (G, .) which commute, show that a-1 and b commute, b-1 and a commute, a-1 and b-1 commute.

5 marks

Answer

Sign in to view the complete answer paper.

b

Let A = {1,2,3,4,6,8,12,24}, show that the relation 'divides' is partial ordering on A and draw Hasse diagram.

5 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

Let G = {-1, 0, 1}, verify whether G forms a group under usual addition.

5 marks

Answer

Sign in to view the complete answer paper.

b

Show that the sets of even numbers and odd numbers are both recursive.

5 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

Find the number of integers between 1 and 250 which are divisible by any of the integers 2, 3, 5 or 7 and hence find the number of integers between 1 and 250 which are not divisible by 2, 3, 5 or 7.

5 marks

Answer

Sign in to view the complete answer paper.

b

State and prove binomial theorem.

5 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

The letters of the word VICTORY are rearranged in all possible ways and the words thus obtained are arranged as in a dictionary, what is the rank of the given word?

5 marks

Answer

Sign in to view the complete answer paper.

b

Use multinomial theorem to expand (x1+x2+x3+x4)4.

5 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

Solve the recurrence relation an – 5an-1 + 6an-2 = (n+1)2, a0=0, a1=1.

5 marks

Answer

Sign in to view the complete answer paper.

b

Solve the recurrence relation an – 7an-1 + 10an-2 = 4n, a0=0, a1=1.

5 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a

Explain Fibonacci relation with suitable examples and also solve it.

5 marks

Answer

Sign in to view the complete answer paper.

b

Solve an – 7an-1 + 10an-2 = 0, a0=10, a1=41 using generating functions.

5 marks

Answer

Sign in to view the complete answer paper.

1010 marks
a

In any planar graph, show that |V| – |E| + |R| = 2.

5 marks

Answer

Sign in to view the complete answer paper.

b

Prove that complete graph of 5 vertices is non planar.

5 marks

Answer

Sign in to view the complete answer paper.

OR
1110 marks
a

Write an algorithm for breadth-first search spanning tree.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write Kruskal’s Algorithm and explain it with an example.

5 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the question paper of MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE from JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD for B.Tech IT II I, November/December - 2017, R16.

For the solved question paper with answers, switch to the Answer Paper tab.

Other papers in MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE

Loading Question Papers

Fetching data from database...