FirstRanker.com
Firstranker's choice
--- Content provided by FirstRanker.com ---
R19
Code No: 861AA
--- Content provided by FirstRanker.com ---
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
MCA I Semester Examinations, October/ November - 2020
MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE
Time: 2 Hours Max.Marks:75
--- Content provided by FirstRanker.com ---
Answer any five questions
All questions carry equal marks
- a) Show that (p?q) ? (p?q) is a tautology using logical equivalences and truth table.
b) Let p and q be the propositions.
p : You drive over 65 miles per hour.--- Content provided by FirstRanker.com ---
q : You get a speeding ticket.
Write these propositions using p and q and logical connectives (including negations).
I) You do not drive over 65 miles per hour.
II) You drive over 65 miles per hour, but you do not get a speeding ticket.
III) You will get a speeding ticket if you drive over 65 miles per hour.--- Content provided by FirstRanker.com ---
IV) If you do not drive over 65 miles per hour, then you will not get a speeding ticket.
V) Driving over 65 miles per hour is sufficient for getting a speeding ticket. [7+8] - a) Let p and q be the propositions.
p : I bought a lottery ticket this week.
q : I won the million dollar jackpot.--- Content provided by FirstRanker.com ---
Express each of these propositions as an English sentence.
I) p?q II) p?q III) p?q IV) ¬p?q V) ¬p?q
b) Show that the premises “A student in this class has not read the book” and “Everyone in this class passed the first exam” imply the conclusion “Someone who passed the first exam has not read the book”. [7+8] - a) Let A ={0,2,4,6,8}, B ={0,1,2,3,4}, and C ={0,3,6,9}. What are (A?B?C) and (AnBnC)?
b) Draw the Venn diagrams for each of these combinations of the sets A, B, and C.--- Content provided by FirstRanker.com ---
I) An(B-C) II) (AnB) ? (AnC)
c) Define one-to-one and on-to functions. [6+6+3] - a) Find fog and gof, where f(x)=2x +1 and g(x)= x2+ 1, are functions from R to R.
b) How can we produce the terms of a sequence if the first 10 terms are 5, 11, 17, 23, 29, 35, 41, 47, 53, 59?
c) Let R={(a,b), (b,c), (c,d), (d,e), (c,a), (a,c), (e,b)} be a relation on the set A = {a,b,c,d,e}. Find the transitive closure of the relation R. [5+5+5] - FirstRanker.com
Firstranker's choice
a) Determine whether each of the functions 2n and 22n is O(2n).
b) Give a recursive algorithm for computing the greatest common divisor of two non-negative integers a and b with a < b. [7+8] - Find the probability that a hand of five cards in poker contains four cards of one kind.
--- Content provided by FirstRanker.com ---
What is the probability that a positive integer selected at random from the set of positive integers not exceeding 100 is divisible by either 2 or 5?
Define conditional probability. [6+6+3] - Find the solution to the recurrence relation: an = 6an-1 -11an-2 +6an-3 with the initial conditions a0 =2, a1 = 5, and a2 = 15.
Use generating functions to find the number of k-combinations of a set with n elements. Assume that the binomial theorem has already been established. [7+8] - Devise the algorithms for DFS and BFS and explain the differences between them with an illustrative example. [15]
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
---00000---
This download link is referred from the post: JNTUH MCA 1st Sem Last 10 Years 2023-2013 Question Papers R20-R09 || Jawaharlal nehru technological university
--- Content provided by FirstRanker.com ---