0% found this document useful (0 votes)
77 views3 pages

R P Q P R Q P: (Common To CSE, IT)

This document contains 8 questions that assess mathematical foundations of computer science concepts. It begins with a 10-part Part A assessing logic, relations, counting principles, and graph theory. Part B contains 6 additional questions on logic, set theory, groups, relations, counting, and recurrence relations. The document provides context for exam questions in these core CS mathematical topics.

Uploaded by

Sai Ram
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
77 views3 pages

R P Q P R Q P: (Common To CSE, IT)

This document contains 8 questions that assess mathematical foundations of computer science concepts. It begins with a 10-part Part A assessing logic, relations, counting principles, and graph theory. Part B contains 6 additional questions on logic, set theory, groups, relations, counting, and recurrence relations. The document provides context for exam questions in these core CS mathematical topics.

Uploaded by

Sai Ram
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

JJ

Injntu.com
JJ JJ JJInjntu.com
JJ JJ JJInjntu.com
J
Code No: 133BC R16
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
B.Tech II Year I Semester Examinations, April/May - 2018

JJ JJ JJ JJ
MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE

Time: 3 Hours
(Common to CSE, IT)
JJ JJ
Max. Marks: 75
JJ J
Note: This question paper contains two parts A and B.
Part A is compulsory which carries 25 marks. Answer all questions in Part A.

m
Part B consists of 5 Units. Answer any one full question from each unit.

JJ JJ JJ JJ JJ JJ JJ J
Each question carries 10 marks and may have a, b, c as sub questions.

PART- A
(25 Marks)
1.a) Construct the truth table for the following formula:
( P  (Q  R))  (( P  Q)  ( P  R))

co
[2]
b) Explain duality law. [3]

JJ JJ JJ JJ JJ JJ JJ J
c) Give the formal definition for the composition of binary relations. [2]
d) What are the properties of a group? [3]
e) State addition principle and give an example of a problem solved by addition principle.
[2]
f) State pigeon-hole principle. [3]
g) What is the general form of a first-order recurrence relation? [2]
What is the generating function of 1,1,1,1,...
u.
h) [3]

JJ JJ JJ JJ JJ JJ JJ J
i) If a simple graph G contains n vertices and m edges, how many number of edges are
present in Graph G' (complement of G). [2]
j) How many edges are present in a complete graph with n vertices? Explain. [3]

PART- B
(50 Marks)
nt
2.a) Show the following equivalence without constructing the truth table.
(( P  Q  A)  C)  ( A  ( P  Q  C))  ( A  ( P  Q))  C

JJ b)
JJ JJ JJ JJ JJ
Without constructing a truth table, show that A  E is not a valid consequence of
A  B B  (C  D) C  ( A  E) A  E
OR
JJ
[5+5] J
3.a) Obtain the principal disjunctive and conjunctive normal form of the following formula.
j

( P  (Q  R))  (P  (Q  R))


For the following formulas, let the universe be ℝ. Translate each of the following
in

b)
sentences into a formula (using quantifiers):

JJ JJ JJ
i) There is a smallest number.
JJ JJ JJ JJ
ii) Every positive number has a square root. (Do not use the square root symbol; use only
multiplication.) [5+5]
J

JJ
Injntu.com
JJ JJ JJ JJ JJ JJInjntu.com
J
JJ
Injntu.com
JJ JJ JJInjntu.com
JJ JJ JJ Injntu.com
J
4.a) Consider the following Hasse diagram of a partially ordered set P, R , where
P  {x1 , x2 , x3 , x4 , x5 } . Find the least and greatest members in P if they exist. Also find

JJ JJ JJ JJ JJ JJ JJ J
the maximal and minimal elements of P . Find the upper and lower bounds of
{x2 , x3 , x4 } , {x2 , x4 , x5 } and {x1 , x2 , x3 } . Also indicate the LUB and GLB of these subsets
if they exist.
b) Let n  N  and G1 , G2 ,..., Gn be groups, and consider
n

G : G1  G2  ...  Gn  {(a1 , a 2 ,..., a n ) : ai  Gi i  1,2,..., n} with the operation †

m
i
i 1

JJ JJ JJ JJ JJ JJ JJ J
where if x  (a1, a2 ,..., an ) and y  (b1, b2 ,..., bn ) , then x† y  (a1b1 , a2 b2 ,..., an bn ), where
each product ai bi is performed according to the operation of the group Gi . Show
n
that G
i 1
i is a group. [5+5]

co
OR
5.a) Find the transitive closure of the relation R  {(1,2), (2,3), (3,4), (4,1)} . Show R i for all

JJ JJ JJ JJ JJ JJ JJ J
values of i that give new elements of the transitive closure.
b) Find all the subgroups of (i) ( Z12 ,12 ) ; and (ii) ( Z 7* ,7 ) . [5+5]

6. In the United States and Canada, a telephone number is a 10-digit number of the
form NXX  NXX  XXXX where N  {2,3,..,9} and X  {0,1,2,...,9} . How many
telephone numbers are possible? The first three digits of a telephone number are called an
u.
area code. How many different area codes must a city with 23,000,000 phones have? A

JJ JJ JJ JJ JJ JJ JJ J
previous scheme for forming a telephone numbers required a format of
NYX  NXX  XXXX where N and X are defined as above and Y is either a 0 or a 1. How
many more phone numbers are possible under the new format than under the old format?
[10]
OR
nt
7.a) How many four letter words can be formed using the letters a, a, a, b, b, c, c, c, c, d , d ?
b) Expand (2 x  y) 7 using the Binomial Theorem. [5+5]

JJ 8.a)
b)
JJ JJ JJ JJ JJ
Solve the recurrence relation an  2an1  3an2 for n  2 where a0  2 and a1  2 .
Using generating function find a n in terms of n if a0  1, a1  2 and
JJ J
an 2  5an1  4an for n  0 .
j

[5+5]
OR
in

9.a) Solve the recurrence relation T (n)  4T (n  1)  2 n , with T (0)  6 .

JJ b)
JJ JJ JJ
Find the coefficient of x 2005 in the generating function
JJ1
(1  5 x) 2
.
JJ
[5+5]
JJ J

JJ
Injntu.com
JJ JJ JJ JJ JJ JJ Injntu.com
J
JJ
Injntu.com
JJ JJ JJInjntu.com
JJ JJ JJInjntu.com
J
10.a) Determine whether the given pair of graphs is isomorphic?

JJ JJ JJ JJ JJ JJ JJ J
b) Determine whether the following graph has an Euler circuit or path. [5+5]

m
JJ JJ JJ JJ JJ JJ JJ J

co
OR

JJ JJ JJ JJ JJ JJ JJ J
11.a) How do you test the planarity of a graph? Explain.
b) What are the chromatic numbers of the graph G and H? [5+5]
u.
JJ JJ JJ JJ ---oo0oo---JJ JJ JJ J
nt

JJ JJ JJ JJ JJ JJ JJ J
j
in

JJ JJ JJ JJ JJ JJ JJ J

JJ
Injntu.com
JJ JJ JJ JJ JJ JJInjntu.com
J

You might also like