JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD MCA 2017 MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE Previous Question Paper (August - 2017 - R15)

MCA | 2017 | I | R15 | August - 2017

Answer PaperPaper Code: 821AAMaximum Marks: 75Time: 3hrs

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. Each question carries 10 marks and may have a, b, c as sub questions.

Part A

5 × 5 Marks = 25

125 marks
a

What do you mean by a well-formed formula? Give examples of formulas that are well-formed and not well-formed.

5 marks

Answer

A well-formed formula (WFF) in propositional logic is a string of symbols generated by a specific set of recursive rules. These rules ensure that the logical structure is unambiguous and syntactically correct. A formula is a WFF if it is an atomic proposition, or if it is formed by applying logical connectives (like ¬, ∧, ∨, →, ↔) to existing WFFs according to defined syntax rules.

Examples of WFFs: (P ∧ Q), ¬(P → R), (P ↔ (Q ∨ R)).

Examples of non-WFFs: (P ∧), ¬P ∨, (P → Q)R.

b

What do you mean by a lattice? List the properties of a lattice.

5 marks

Answer

A lattice is a partially ordered set (poset) (L, ≤) in which every pair of elements {a, b} has a unique least upper bound (join, denoted a ∨ b) and a unique greatest lower bound (meet, denoted a ∧ b).

The properties of a lattice include:

  • Idempotent laws: a ∨ a = a and a ∧ a = a
  • Commutative laws: a ∨ b = b ∨ a and a ∧ b = b ∧ a
  • Associative laws: a ∨ (b ∨ c) = (a ∨ b) ∨ c and a ∧ (b ∧ c) = (a ∧ b) ∧ c
  • Absorption laws: a ∨ (a ∧ b) = a and a ∧ (a ∨ b) = a
c

What are the two basic counting principles.

5 marks

Answer

Sign in to view the complete answer paper.

d

Give the generating functions for the sequences C(k,n), a^n, (-1)^n and n.

5 marks

Answer

Sign in to view the complete answer paper.

e

Is there a graph with degree sequence (1,3,3,3,5,6,6)? Justify your answer.

5 marks

Answer

Sign in to view the complete answer paper.

Part B

210 marks
a

Show the following equivalences:
i) (P → C) ∨ (A → C) ⇔ (P ∧ A) → C
ii) (P → Q) ∧ (P → C) ⇔ P → (Q ∧ C)

5 marks

Answer

Sign in to view the complete answer paper.

b

Show that the following premises are inconsistent:
i) If Jack misses many classes through illness, then he fails high school.
ii) If Jack fails high school, then he is uneducated.
iii) If Jack reads a lot of books, then he is not uneducated.
iv) Jack misses many classes through illness and reads a lot of books.

5 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

Obtain a principal conjunctive normal form of each of the following formulas:
i) ¬(P → R) ∧ (Q ↔ P)
ii) P ∧ (P → Q) → P

5 marks

Answer

Sign in to view the complete answer paper.

b

Show that (x)(P(x) → Q(x)) ∧ (x)(Q(x) → R(x)) ⇒ (x)(P(x) → R(x))

5 marks

Answer

Sign in to view the complete answer paper.

410 marks
a

Let X = {1, 2, ..., 7} and R = {(x, y) | x - y is divisible by 3}. Show that R is an equivalence relation. Draw the graph of R.

5 marks

Answer

Sign in to view the complete answer paper.

b

Show that in a group (G, *), if for any a, b ∈ G, (a * b)^2 = a^2 * b^2, then (G, *) must be abelian.

5 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

Let f(x) = x + 2, g(x) = x - 2, and h(x) = 3x for x ∈ R, where R is the set of real numbers. Find g ∘ f, f ∘ g, f ∘ f, g ∘ g, f ∘ h ∘ g.

5 marks

Answer

Sign in to view the complete answer paper.

b

Find all the subgroups of (Z12, +12) and (Z7*, ×7).

5 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

How many ways are there to distribute 10 balls into 6 boxes with at most 4 balls in the first 2 boxes if:
i) The balls are indistinguishable
ii) The balls are distinguishable

5 marks

Answer

Sign in to view the complete answer paper.

b

Verify that C(n + 3, r) - 3C(n + 2, r) + 3C(n + 1, r) - C(n, r) = C(n, r - 3)

5 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

Find the number of integral solutions for the following:
i) x1 + x2 + x3 + x4 + x5 = 10 where xi ≥ 0
ii) x1 + x2 + x3 + x4 = 50 where x1 ≥ -4, x2 ≥ 7, x3 ≥ -14, x4 ≥ 10

5 marks

Answer

Sign in to view the complete answer paper.

b

Determine the coefficient of x^5 in (a + bx + cx^2)^10 and (x - 7y)^15.

5 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

Build a generating function for ar = the number of integral solutions to the equation x1 + x2 + x3 = r
i) 0 ≤ xi ≤ 3 for each i
ii) 2 ≤ xi ≤ 5 for each i

5 marks

Answer

Sign in to view the complete answer paper.

b

Write a generating function for na, the number of ways of obtaining the sum n when tossing 9 distinguishable dice. Then find 25a.

5 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a

Solve the following recurrence relations using the characteristic roots:
i) an - 3an-1 - 4an-2 = 0 for n ≥ 2 and a0 = a1 = 1.
ii) an - 12an-2 + an-1 = 0 for n ≥ 2 and a0 = 4, a1 = 16/3.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write the general form of a particular solution Pan to the following recurrence relations:
i) an - 7an-1 + 12an-2 = n
ii) an - 7an-1 + 12an-2 = 2^n

5 marks

Answer

Sign in to view the complete answer paper.

1010 marks
a

Demonstrate with an example breadth-first search algorithm.

5 marks

Answer

Sign in to view the complete answer paper.

b

Are the graphs shown below isomorphic? Justify your answer.

5 marks

Answer

Sign in to view the complete answer paper.

OR
1110 marks
a

Obtain the minimal spanning tree for the following graph.

5 marks

Answer

Sign in to view the complete answer paper.

b

Draw a full regular tree of degree 2 and height 3.

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 MCA 2017 I, August - 2017, R15.

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...