OctoberNovember 2022
OctoberNovember 2022
JN
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
MCA I Semester Examinations, October/November - 2022
MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE
Time: 3 Hours Max.Marks:75
TU
Answer any five questions
All questions carry equal marks
---
H
1.a) Construct a truth table for each of these compound propositions.
i) (𝑃 ↔ 𝑞) ⊕ (𝑝 ↔ ¬𝑞)
ii) (𝑝 ⊕ 𝑞) → (𝑝 ⊕ ¬𝑞)
U
b) State the converse, contrapositive and inverse of each of these conditional statements.
i) If it snows tonight, then I will stay at home.
SE
ii) I go to the beach whenever it is a sunny summer day. [8+7]
2.a) What do you mean by a logical equivalence? Give identity, idempotent, commutative,
associative, distributive and De Morgan’s laws of Boolean algebra.
D
b) Use of rules of inference to show that ∀𝑥 (𝑃(𝑥) → (𝑄(𝑥) ∧ 𝑆(𝑥))) and ∀𝑥(𝑃(𝑥) ∧
𝑅(𝑥)) are true, then ∀𝑥 (𝑅(𝑥) ∧ 𝑆(𝑥)) is true. [8+7]
PA
3.a) Let 𝐴 = {𝑎, 𝑏, 𝑐}, 𝐵 = {𝑥, 𝑦}, and 𝐶 = {0,1}. Find 𝐴 × 𝐵 × 𝐶 and 𝐶 × 𝐵 × 𝐴.
b) Let 𝐴, 𝐵, and 𝐶 be sets. Show that ̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅ ̅̅̅̅ ∩ 𝐴̅.
𝐴 ∪ (𝐵 ∩ 𝐶) = (𝐶̅ ∪ 𝐵) [7+8]
6.a) Prove that the sum of first n positive odd integers is 𝑛2 by mathematical induction.
20
b) Give a recursive definition of the set of positive integers that are multiples of 5. [8+7]