JNTU

JNTU MCA I MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE Previous Question Paper (October/ November - 2020 - R15)

MCA | I | I | R15 | October/ November - 2020

Answer PaperPaper Code: 821AAMaximum Marks: 75Time: 2 Hours

Answer any five questions

All questions carry equal marks

Main

115 marks
a

Give the formal definition of a well-formed formula in predicate calculus with examples of formulae that are well-formed and not-well-formed.

7 marks

Answer

A Well-Formed Formula (WFF) in predicate calculus is defined recursively as follows:

  1. Any atomic formula (a predicate symbol applied to a sequence of terms) is a WFF.
  2. If P is a WFF, then ¬P is a WFF.
  3. If P and Q are WFFs, then (P ∧ Q), (P ∨ Q), (P → Q), and (P ↔ Q) are WFFs.
  4. If P is a WFF and x is a variable, then (∀x)P and (∃x)P are WFFs.
  5. A string is a WFF if and only if it can be constructed by a finite number of applications of the above rules.

Examples:

  • WFF: (∀x)(P(x) → Q(x))
  • Not a WFF: (∀x)P ∨ Q(x) (missing parentheses or scope definition) or P(x, y) ∧ (missing operand).
b

Show that B is tautologically implied by

( ( A ∧ B ) → ( C ∧ ¬C ) ) ∨ ¬A
using automatic theorem proving.

8 marks

Answer

To show that B is tautologically implied by ( ( A ∧ B ) → ( C ∧ ¬C ) ) ∨ ¬A, we must show that the implication (( ( A ∧ B ) → ( C ∧ ¬C ) ) ∨ ¬A) → B is a tautology. Using the resolution method, we negate the implication and check for unsatisfiability:

  1. Negated expression: (( ( A ∧ B ) → ( C ∧ ¬C ) ) ∨ ¬A) ∧ ¬B
  2. Simplify the implication (P → Q ≡ ¬P ∨ Q): (¬(A ∧ B) ∨ (C ∧ ¬C)) ∨ ¬A
  3. Apply De Morgan's Law: (¬A ∨ ¬B ∨ (C ∧ ¬C)) ∨ ¬A
  4. Simplify using associativity and idempotency: (¬A ∨ ¬B ∨ (C ∧ ¬C))
  5. Now consider the full conjunction: (¬A ∨ ¬B ∨ (C ∧ ¬C)) ∧ ¬B
  6. Since (C ∧ ¬C) is a contradiction (False), the expression simplifies to: (¬A ∨ ¬B ∨ False) ∧ ¬B
  7. This reduces to: (¬A ∨ ¬B) ∧ ¬B
  8. Using the distributive law: (¬A ∧ ¬B) ∨ (¬B ∧ ¬B)
  9. Which simplifies to: (¬A ∧ ¬B) ∨ ¬B
  10. By absorption law: ¬B

Since the negation of the implication is not a contradiction (it is true when B is false), the original statement does not tautologically imply B. However, if we assume the premise is true, then (¬A ∨ ¬B) must be true. If A is true, B must be false; if A is false, the premise is satisfied regardless of B. Thus, B is not tautologically implied.

215 marks
a

Show that

( (a ∨ ¬b) ∧ (¬c ∨ ¬a) ∨ (b ∨ ¬a) )
is not a tautology.

7 marks

Answer

Sign in to view the complete answer paper.

b

Find a CNF for

(p → r) ↔ (¬r → ¬p)
.

8 marks

Answer

Sign in to view the complete answer paper.

315 marks
a

Let R be the following equivalence relation on the set A = {1,2,3,4,5,6}. R = {(1,1),(1,5),(2,2),(2,3),(2,6),(3,2),(3,3),(3,6),(4,4),(5,1),(5,5),(6,2),(6,3),(6,6)}. Find the partition of A induced by R.

7 marks

Answer

Sign in to view the complete answer paper.

b

Define the following properties of binary relations with examples:

  • i) Reflexive
  • ii) Symmetric
  • iii) Anti symmetric
  • iv) Transitive.
8 marks

Answer

Sign in to view the complete answer paper.

415 marks
a

Find all group homomorphisms from Z4 into Z10.

7 marks

Answer

Sign in to view the complete answer paper.

b

Define the following terms with examples:

  • i) Semigroup
  • ii) Monoid
  • iii) Group
  • iv) Abelian group.
8 marks

Answer

Sign in to view the complete answer paper.

515 marks
a

Using the digits 1, 2, 3 and 5, how many 4 digit numbers can be formed if:

  • i) The first digit must be 1 and repetition of the digits is allowed?
  • ii) The first digit must be 1 and repetition of the digits is not allowed?
  • iii) The number must be divisible by 2 and repetition is allowed?
  • iv) The number must be divisible by 2 and repetition is not allowed?
7 marks

Answer

Sign in to view the complete answer paper.

b

How many different arrangements of the word ELLIPSE are possible if:

  • i) There are no restrictions?
  • ii) The arrangement starts with S?
  • iii) Both L’s are together?
  • iv) The letters are in alphabetical order?
8 marks

Answer

Sign in to view the complete answer paper.

615 marks
a

Determine the values of n and r in the following expressions:

  • i) nP2 = 56
  • ii) 11Cr = 3 × 11Cr-1
7 marks

Answer

Sign in to view the complete answer paper.

b

Obtain the coefficient of x99y60z14 in (2x + y - z)100 using multinomial theorem.

8 marks

Answer

Sign in to view the complete answer paper.

7

Use generating functions to solve the following recurrence relation: an = 5an-1 - 6an-2 for n ≥ 2, a0 = 0 and a1 = 3.

15 marks

Answer

Sign in to view the complete answer paper.

815 marks
a

Determine whether the graphs shown in the following figure are isomorphic.

7 marks

Answer

Sign in to view the complete answer paper.

b

Find the chromatic number of the given graph.

8 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 JNTU for MCA I I, October/ November - 2020, 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...