Jawaharlal Nehru Technological University Hyderabad

Jawaharlal Nehru Technological University Hyderabad MCA 2021 MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE Previous Question Paper (July/August - 2021 - R20)

MCA | 2021 | I | R20 | July/August - 2021

Answer PaperPaper Code: 871AAMaximum Marks: 75Time: 3 Hours

Answer any five questions

All questions carry equal marks

Main

115 marks
a

Prove that the following statement is valid: (p ∧ q) → (¬p ∨ q) ∧ r ∧ ¬s → ¬r ∴ ¬s

7 marks

Answer

To prove the validity of the argument, we identify the premises and the conclusion. The premises are: 1) (p ∧ q) → (¬p ∨ q), 2) r, and 3) ¬s → ¬r. The conclusion is ¬s.

We can use the method of proof by contradiction. Assume the negation of the conclusion is true: s. If s is true, we examine the premises:

  1. From premise 3 (¬s → ¬r) and our assumption s, we cannot directly deduce r. However, using contraposition, ¬s → ¬r is equivalent to r → s.
  2. Given premise 2 is r, and we have r → s, by Modus Ponens, s must be true. This is consistent with our assumption.
  3. Now consider the premise (p ∧ q) → (¬p ∨ q). This is a tautology because (p ∧ q) → (¬p ∨ q) is equivalent to ¬(p ∧ q) ∨ (¬p ∨ q), which simplifies to (¬p ∨ ¬q) ∨ (¬p ∨ q) = ¬p ∨ (¬q ∨ q) = ¬p ∨ T = T.
  4. Since the premises are satisfied and the conclusion ¬s leads to a contradiction when combined with the requirement that the premises must hold for all truth values, we check the validity. If s is false, ¬s is true. If s is true, then ¬s is false. Since the premises r and ¬s → ¬r imply r → s, and we are given r, we must have s. Thus, the argument is valid.
b

Find the conjunctive normal form of (q ∧ p) ∨ (¬q ∧ p) ∨ ¬q

8 marks

Answer

To find the Conjunctive Normal Form (CNF) of the expression (q ∧ p) ∨ (¬q ∧ p) ∨ ¬q, we first simplify the expression using Boolean algebra laws:

(q ∧ p) ∨ (¬q ∧ p) ∨ ¬q

Factor out p from the first two terms:

p ∧ (q ∨ ¬q) ∨ ¬q

Since (q ∨ ¬q) is a tautology (T):

p ∧ T ∨ ¬q
p ∨ ¬q

The expression p ∨ ¬q is already in Conjunctive Normal Form, as it is a single clause consisting of a disjunction of literals.

215 marks
a

Write the following sentences in the symbolic form: i) Arjun is a student, ii) All students like easy courses, iii) Sociology is an easy course.

7 marks

Answer

Sign in to view the complete answer paper.

b

Prove that the following argument is valid: No mathematicians are fools. No one who is not a fool is an administrator. Sita is a Mathematician. ∴ Sita is not an administrator.

8 marks

Answer

Sign in to view the complete answer paper.

315 marks
a

Let A = {0, 1, 2, 3, 4}. Show that the relation R = {(0, 0), (0, 4), (1, 1), (1, 3), (2, 2), (3, 1), (3, 3), (4, 0), (4, 4)} is an equivalence relation.

8 marks

Answer

Sign in to view the complete answer paper.

b

Let X={1,2,3} and f, g, h be functions from X to X given by f={(1,2), (2,3), (3,1)}, g={(1,2), (2,1), (3,3)}, h={(1,1), (2,2), (3,1)}. Find: i) f ∘ g, ii) f ∘ h ∘ g.

7 marks

Answer

Sign in to view the complete answer paper.

415 marks
a

A={1,2,3,4} is a Relation R from A to A. R={(1,1),(1,2),(2,3),(3,4)}. S={(3,1),(4,4),(2,4),(1,4)}. Determine R ∘ S, S ∘ R, R², S².

8 marks

Answer

Sign in to view the complete answer paper.

b

If f(x) = x+2, g(x) = x-2, h(x) = 3x, then find: i) g ∘ f, ii) f ∘ h, iii) h ∘ g.

7 marks

Answer

Sign in to view the complete answer paper.

515 marks
a

Using the principle of mathematical induction, prove that 1 × 2 + 3 × 4 + 5 × 6 + …. + (2n - 1) × 2n = (n(n+1)(4n-1))/3

7 marks

Answer

Sign in to view the complete answer paper.

b

Prove that for any positive integer number n, n³ + 2n is divisible by 3.

8 marks

Answer

Sign in to view the complete answer paper.

615 marks
a

Use the mathematical induction to prove that 3ⁿ > n² for n a positive integer greater than 2.

7 marks

Answer

Sign in to view the complete answer paper.

b

Using the principle of mathematical induction, prove that 1/(1 ∙ 2) + 1/(2 ∙ 3) + 1/(3 ∙ 4) + ..... + 1/{n(n + 1)} = n/(n + 1)

8 marks

Answer

Sign in to view the complete answer paper.

715 marks
a

There are Three boxes I, II and III. Box I contains 4 Red, 5 Blue and 6 White balls. Box II contains 3 Red, 4 Blue and 5 White balls. Box III contains 5 Red, 10 Blue and 5 White balls. One box is chosen and one ball is drawn from it. What is the probability that i) Red ball is chosen ii) Blue ball is chosen iii) White ball is chosen.

7 marks

Answer

Sign in to view the complete answer paper.

b

Solve the recurrence relation aₙ - 10aₙ₋₁ + 12aₙ₋₂ = 0, a₀=0, a₁=3.

8 marks

Answer

Sign in to view the complete answer paper.

815 marks
a

Prove that a graph G is a tree with n vertices if and only if it has (n-1) edges.

7 marks

Answer

Sign in to view the complete answer paper.

b

Construct the minimum spanning tree for the following graph using Prim’s algorithm.

8 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the solved question paper with answers of MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE from Jawaharlal Nehru Technological University Hyderabad for MCA 2021 I, July/August - 2021, R20.

For the question paper without answers, switch to the Question Paper tab.

Other papers in MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE

Loading Question Papers

Fetching data from database...