JNTU
JNTU MCA I MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE Previous Question Paper (October/ November - 2020 - R15)
Answer any five questions
All questions carry equal marks
Main
Give the formal definition of a well-formed formula in predicate calculus with examples of formulae that are well-formed and not-well-formed.
Answer
A Well-Formed Formula (WFF) in predicate calculus is defined recursively as follows:
- Any atomic formula (a predicate symbol applied to a sequence of terms) is a WFF.
- If P is a WFF, then ¬P is a WFF.
- If P and Q are WFFs, then (P ∧ Q), (P ∨ Q), (P → Q), and (P ↔ Q) are WFFs.
- If P is a WFF and x is a variable, then (∀x)P and (∃x)P are WFFs.
- 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).
Show that B is tautologically implied by
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:
- Negated expression: (( ( A ∧ B ) → ( C ∧ ¬C ) ) ∨ ¬A) ∧ ¬B
- Simplify the implication (P → Q ≡ ¬P ∨ Q): (¬(A ∧ B) ∨ (C ∧ ¬C)) ∨ ¬A
- Apply De Morgan's Law: (¬A ∨ ¬B ∨ (C ∧ ¬C)) ∨ ¬A
- Simplify using associativity and idempotency: (¬A ∨ ¬B ∨ (C ∧ ¬C))
- Now consider the full conjunction: (¬A ∨ ¬B ∨ (C ∧ ¬C)) ∧ ¬B
- Since (C ∧ ¬C) is a contradiction (False), the expression simplifies to: (¬A ∨ ¬B ∨ False) ∧ ¬B
- This reduces to: (¬A ∨ ¬B) ∧ ¬B
- Using the distributive law: (¬A ∧ ¬B) ∨ (¬B ∧ ¬B)
- Which simplifies to: (¬A ∧ ¬B) ∨ ¬B
- 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.
Show that
Answer
Sign in to view the complete answer paper.
Find a CNF for
Answer
Sign in to view the complete answer paper.
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.
Answer
Sign in to view the complete answer paper.
Define the following properties of binary relations with examples:
- i) Reflexive
- ii) Symmetric
- iii) Anti symmetric
- iv) Transitive.
Answer
Sign in to view the complete answer paper.
Find all group homomorphisms from Z4 into Z10.
Answer
Sign in to view the complete answer paper.
Define the following terms with examples:
- i) Semigroup
- ii) Monoid
- iii) Group
- iv) Abelian group.
Answer
Sign in to view the complete answer paper.
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?
Answer
Sign in to view the complete answer paper.
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?
Answer
Sign in to view the complete answer paper.
Determine the values of n and r in the following expressions:
- i) nP2 = 56
- ii) 11Cr = 3 × 11Cr-1
Answer
Sign in to view the complete answer paper.
Obtain the coefficient of x99y60z14 in (2x + y - z)100 using multinomial theorem.
Answer
Sign in to view the complete answer paper.
Use generating functions to solve the following recurrence relation: an = 5an-1 - 6an-2 for n ≥ 2, a0 = 0 and a1 = 3.
Answer
Sign in to view the complete answer paper.
Determine whether the graphs shown in the following figure are isomorphic.
Answer
Sign in to view the complete answer paper.
Find the chromatic number of the given graph.
Answer
Sign in to view the complete answer paper.