JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD MCA 1 MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE Previous Question Paper (October/November - 2022 - R20)

MCA | 1 | I | R20 | October/November - 2022

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

Answer any five questions. All questions carry equal marks.

Main

115 marks
a

Construct a truth table for each of these compound propositions:

i) (P ↔ q) ⊕ (p ↔ ¬q)

ii) (p ⊕ q) → (p ⊕ ¬q)

8 marks

Answer

i) Truth table for (p ↔ q) ⊕ (p ↔ ¬q):

pqp ↔ q¬qp ↔ ¬q(p ↔ q) ⊕ (p ↔ ¬q)
TTTFFT
TFFTTT
FTFFTT
FFTTFT

ii) Truth table for (p ⊕ q) → (p ⊕ ¬q):

pqp ⊕ q¬qp ⊕ ¬q(p ⊕ q) → (p ⊕ ¬q)
TTFFTT
TFTTFF
FTTFTT
FFFTTT
b

State the converse, contrapositive and inverse of each of these conditional statements:

i) If it snows tonight, then I will stay at home.

ii) I go to the beach whenever it is a sunny summer day.

7 marks

Answer

i) If it snows tonight, then I will stay at home.

  • Converse: If I stay at home, then it snows tonight.
  • Contrapositive: If I do not stay at home, then it does not snow tonight.
  • Inverse: If it does not snow tonight, then I will not stay at home.

ii) I go to the beach whenever it is a sunny summer day (If it is a sunny summer day, then I go to the beach).

  • Converse: If I go to the beach, then it is a sunny summer day.
  • Contrapositive: If I do not go to the beach, then it is not a sunny summer day.
  • Inverse: If it is not a sunny summer day, then I do not go to the beach.
215 marks
a

What do you mean by a logical equivalence? Give identity, idempotent, commutative, associative, distributive and De Morgan’s laws of Boolean algebra.

8 marks

Answer

Sign in to view the complete answer paper.

b

Use of rules of inference to show that ∀x (P(x) → (Q(x) ∧ S(x))) and ∀x(P(x) ∧ R(x)) are true, then ∀x (R(x) ∧ S(x)) is true.

7 marks

Answer

Sign in to view the complete answer paper.

315 marks
a

Let A = {a, b, c}, B = {x, y}, and C = {0, 1}. Find A × B × C and C × B × A.

7 marks

Answer

Sign in to view the complete answer paper.

b

Let A, B, and C be sets. Show that

A ∪ (B ∩ C)‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ = (C‾ ∪ B)‾ ∩ A‾

8 marks

Answer

Sign in to view the complete answer paper.

415 marks
a

Give examples of different types of correspondences.

5 marks

Answer

Sign in to view the complete answer paper.

b

Find a8 of the sequence {an} if an equals

1 + (-1)^n
.

5 marks

Answer

Sign in to view the complete answer paper.

c

Determine whether relation R = [[1, 1, 1], [0, 1, 1], [1, 1, 1]] is an equivalence relation or not.

5 marks

Answer

Sign in to view the complete answer paper.

515 marks
a

Demonstrate with an example bubble sort algorithm.

8 marks

Answer

Sign in to view the complete answer paper.

b

Explain big-omega and big-theta notations with examples.

7 marks

Answer

Sign in to view the complete answer paper.

615 marks
a

Prove that the sum of first n positive odd integers is

n^2
by mathematical induction.

8 marks

Answer

Sign in to view the complete answer paper.

b

Give a recursive definition of the set of positive integers that are multiples of 5.

7 marks

Answer

Sign in to view the complete answer paper.

715 marks
a

Explain the following:

i) Conditional probability

ii) Independence of events

8 marks

Answer

Sign in to view the complete answer paper.

b

What is the Tower of Hanoi problem? Let Hn denote the number of moves needed to solve the Tower of Hanoi problem with n disks. Give a recurrence relation for the sequence {Hn}.

7 marks

Answer

Sign in to view the complete answer paper.

815 marks
a

What are complete and planar graphs? Is K4 a planar graph? If so give non-planar embedding of K4.

6 marks

Answer

Sign in to view the complete answer paper.

b

Give the order of vertices visited in pre-order, in-order and post-order traversal of the following tree.

9 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 1 I, October/November - 2022, R20.

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