Se III Comp Nov 2022[1]

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 13

Paper / Subject Code: / Discrete Structures & Graph Theory

(3 Hours) [Total Marks : 80

N.B.
l) Q.l is compulsory.
2) Solve any 3 questions out of remaining 5 questions.
3) Assumptions made should be clearly stated. 4) Draw the figures
wherever required.
Q.l Solve any four of the following questions.
a) Prove using Mathematical Induction that n3+2n is divisible by 3 for all n 5
b) Explain the following terms with suitable example: 5
i) Partition set
ii) Power set.
c) State the Pigeonhole principle and show that if any five numbers from I to 8 are
chosen, then two of them will add to 9. 5

d) Consider the function f(x) = 2x-3. Find a formula for the composition functions
5
1
i) f = f0 f ii) P = f o fo f
e) Explain the bipartite graph with suitable example. 5

Q.2

a) What is a transitive closure? Find the transitive closure of R using Warshall's algorithm
where A={l, 2, 3, 4, 5 } & R={(x,y) I x-y 10

b) What is a ring? Let A= {0, l, 2, 3, 4, 5, 6, 7}. Detemine whether a set A with addition
modulo 8 & multiplication modulo 8 is a commutative ring? Justify your answer. 10

Q.3

a) A survey in 1986 asked households whetherthey had a VCR, a CD player or cable TV. 40
had a VCR. 60 had a CD player; and 50 had cable TV. 25 owned VCR and CD player. 30
owned a CD player and had cable TV. 35 owned a VCR and had cable TV. 10 households
had all three. How many households had at least one of the three? How many of them had
only CD

player? 8
b) Find the complete solution of a recurrence relation 6
an +2an-l = n+ 3 for and with ao =3 6

1 FF
11566 Page 1 of 3
D048D42621
Paper / Subject Code: / Discrete Structures & Graph Theory
c) Obtain CNF & DNF for the following expression:

50922

Q.4

a) What is a group? Let A={3, 6 ,9, 12} 10


i) Prepare the composition
table w.r.t. the operation of
multiplication modulo 15. ii)
Whether it is an abelian group?
Justify your answer. iii) Find the
inverses of all the elements. iv)
Whether it is a cyclic group?

b) What are the isomorphic graphs? Determine whether following graphs are isomorphic. 10
a b s

a) Let 2, 3, 6, 24, 36} & R e R x divides y} 10


i) Write the pairs in a relation set R.
ii) Construct the Hasse diagram.
iii) What are the Maximal and Minimal elements?
iv) Mention Chains and Ant chains from above set.
v) Is this poset a lattice?

b) Define the term bijective function. 5


2x - 3
Let f: (7/5) R bc defined by f(x) =
5x -7
Whether a function is bijectiVe? Justify your answer.

c) Define minimum hamming distance. Consider e : B 3—+B6. Find the code words generated
by the parity check matrix H given below. 5

111
110
Oil 1
00
010
001

11566 Page 2 of 3
D048D42621
Paper / Subject Code: / Discrete Structures & Graph Theory
Q.6

a) Define with example Euler path, •Euler circuit, Hamiltonian path, and Hamiltonian circuit.
Determine if the following diagram has Euler circuit and Hamiltonian circuit. Mention the
path/circuit. 6

5
4 3

50922

b) Let p denote the statement 'The food is good', q


denote the statement 'The service is good' & r
denote the statement 'The rating is 3 star. '
Write the following statements in a symbolic form
Either food is good or service is good or both. The
food is good but service is not good.
iii) If both food & service are good then the rating is 3 star.
iv) It is not true that a 3 star rating always means good food & good service.

c) Find out the incidence matrix of following graphs.

11566 Page 3 of 3
D048D42621
Paper / Subject Code: / Discrete Structures & Graph Theory
2FF

11566 Page 4 of 3
D048D42621
Paper / Subject Code: 50921 /

(b) Calculate S earman's rank correlation coefficient forthe followin data:


x 32 55 49 60 43 37 43 49 10 20

Y 40 30 70 20 30 50 72 60 45 25

(c) Find inverse Laplace transform of 2s—1 [5]


+8S+29

(d) If f(z)= qx2y+2x2+ry3-2y2-i(px3 -4xy-3xy2) is analytic, find the values of p, q, and r [5]

Q2 (a) [6]
Find Laplace transform of e 3t f(t) where f(t)= 3 — t,
0, otherwise

(b) Two unbiased dice are thrown. If X represents sum of the numbers on the two dice. [6]

Write probability distribution of the random variable X and find mean, standard
deviation , and P(lX-7123 )

(c) Obtain Fourier series for f(x) = x sinx in the interval 0 S x S 27t. [8]
Paper / Subject Code: /

terms of z where u+v = e(cosy+siny) +

Q4 (a) Find Laplace transform of e

11988
(b) (b)

(c)

Q5 a
()
Paper / Subject Code: 50923 /

Given regression lines 6y=5x+90, 15x=8y+130, cx 2


Find i) rand j, ii) r, iii) cy 2 .and iv) angle between the regression lines

Can the function u= r + cose be considered aSreal or imaginary part of an analytic


[6] function? If yes, find the corresponding analytic function.

An unbiased coin is tossed three times. If Xdenotes the absolute difference between
the number of heads and the number of tails, find moment generating function
of X and hence obtain the first moment about origin and the second moment about mean.
Q6 (a)

Evaluate Jo cosht Jo 11 2 sinhu coshudu dt

(b) Find
inverse

(c)
Find
half
range
sine
series
for f(x)
Laplace transform of using method of partial fractions [6]
Hence
deduce
that If a continuous
random variable X
has the following
probability density
function [6] f(x) =
ke 4
for x > 0

11)
Paper / Subject Code: /

Find half range cosine series for f(x) = x,


0
Hence deduce that i)
,

e
l
s
e

w
h
e
r
e
(3 Hours) Total Marks: 80
N.B: (1) Question No. 1 is compulsory.
(2) Attempt any three questions out of the remaining:five questions.
(3) Figures to the right indicate full marks.
(4) Make suitable assumptions wherever necessary.
Paper / Subject Code: 50925 /

Q.l (a) Compare linear and non-linear data structures.


(b) Explain the advantage of circular queue over linear queue. Write a function in C
language to insert an element in circular queue.
(c) Define binary search tree. Discuss the case of deletion of a node in binary search
tree if node has both the children.
(d) Write a C function to search a node in doubly linked-list.

Q.2 (a) Construct AVL tree for the following sequence:


1 122

(b) Write algorithm for postfix evaluation. Demonstrate the same step
by step for the expression: 9 6 7 * 2/ -

Q.3 (a) Write a program to perform following operations on a circular linked list: [10]
i) insert a node from the end of the list, ii) delete first node, iii) count the
number of nodes with even values, iv) display the list. (b) Write a C program
to simulate linear queue as linked list.

Construct Huffman tree and find the Huffman-codes for each symbol given below
with fre uenc of occurrence:

Symbol P i

Frequency 20 17 33 25 40
(b) Explain the various ways to represent graph in the memory with example.

(c) Construct bina search tree from iven traversal se uences:


Gv

In-order traversal D E B A C F 1 H J
Pre-order
traversal
Q.5 (a) Apply linear probing to hash the following values in a hash table of size I I and find
the number of collisions:
(b) Define topological sorting. Perform topological sorting for the following
graph:
Paper / Subject Code: /

Q.6 (a) Construct a B tree of order 3 by inserting the following given elements as: [10]

Show the B tree at each step of insertion.


(b) Write a function in C for DFS traversal of graph. Explain DFS graph traversal with
suitable example.

12055 Page 1 of 1

OOF72FAl CD38503
50927

CBC"
N.B. 1. Question No. 1 is compulsory
2. Attempt any three questions from remaining five questions
3. Assume suitable data if necessary and justify the assumptions
4. Figures to the right indicate full marks

A Convert 05
i) 123 in to binary ii)
(AB9)16 in to Decimal
iii) (351)8 in to decimal
iv) 129 in to BCD
v) 64 in to gray code

B Draw the single and double precision format for representing floating point number 05
using IEEE 754 standards and explain the various fields c Explain SR Flip Flop 05
D Differentiate between Hardwired control unit and Micro programmed control unit 05

A Draw the flow chart of Booths algorithm for signed multiplication and Perform 10
5 x 2 using booths algorithm

B Explain the different addressing modes. 10

A For 132.65 obtain the IEEE 754 standards of Single precision and Double precision 10 format
B Explain Micro instruction format and write a microprogram for the instruction 10 ADD
RI , R2

A Consider a 4-way set associative mapped •ache with block size 4 KB. The size of the
10 main memory is 16 GB and there are 10 bits in the tag. Find-
1. Size of cache memory
2. Tag directory size

B Explain Flynn's classification 10

A Explain different types Distributed and Centralized bus arbitration methods 10

B Describe the detailed Von-Neumann Model with a neat block diagram 05

C Describe the characteristics of Memory. 05

Q6 Write Short notes on20


a) Grey code, BCD, Excess-3 Code with example
b) Encoder and Decoder
c) Cache coherence
d) Instruction Pipelining
Paper / Subject Code: 50928 /
14070 1

El ECE34BC95251E12DlOE8CEBAB2C193
I I la (20QJL-
Paper / Subject Code: / Computer Graphics gel
comp ) I CBCGS' Ice
Q? -1001 1 gs-k
(3 Hours) Total Marks: 80
N.B: 1. Question No. I is compulsory
2. Attempt any 3 from remaining questions
3. Assume any suitable data if necessary and justify the assumptions
Q. I Attempt any Four. 20

a) Give difference between random scan display and raster scan display.
b) Define Aliasing, Describe different antialiasing techniques.
c) Compare DDA and BRESENHAM line drawing algorithm.

d) Explain point clipping algorithm.

e) Give fractal dimension for KOCH curve.

Q.2 a) Derive formula for mid-point circle algorithm. 10


b) Given a line AB where A(3,l) and B(O,O) calculate all the points of line AB using 10
DDA algorithm.

Q.3 a) With neat diagram explain Composite transformation. 10


b) Describe what is Homogeneous coordinates. 10

Q.4 a) With neat diagram explain window to viewport coordinate transformation. 10


b) With neat diagram explain Sutherland Hodgman polygon clipping algorithm. 10

Q.5 a) Define projection, with neat diagram describe planar geometric projection. 10
b) Describe properties of BEZIER curve. 10

Q.6 a) Describe various principles of traditional animation. 10


b) Write short note on Depth buffer algorithm. 10

1 1857
50929
B7E456B27D5ED157DC53AF352BC555A

You might also like