Sem 3 Major
Sem 3 Major
(3x5=15)
Attempt any five:
t¥ Define well ordering principle and strong induction.
(b) Define pigeonhole principle.
LE) What is a POSET and Lattice? 2an-2 With ao=2
What is the solution of the recurrence relation an = an-1 +
and aj=7?
MEj Prove that in a group, inverse and identity elements are unique.
() Prove that a cyclic group is always abelian
t State and prove Euler's formula for plane graph. connected
)Briefly explain the algorithm (Kosarju) to comnpute strongly
Component (SCC)
UNIT-I
Q2
Define Transitive closure. Prove that the complexity of Warshall's algorithm
to compute transitive closure is O(n3). (15)
Define Modus ponens and Modus tollens. Check the validity of the following
argument: if Rohit has completed B.Tech or MBA, then he is assured of a
good job. If Rohit is assured of a good job, he is ahppy. Rohit is not happy.
So Rohit has not completed MBA. (15)
UNIT-I
State Master's theorem (Without proof). Find the solution of following
both.
recurrence relation by recursion tree method and Master's theorem,
T(n) =2 T(n/2) + cn. (15)
What is the generating function of the infinite series; 1,1,1, 1, ...? solve the
recurrence an = 2an-1 + 4an-2 with ao = 1, and a1 3 using generating
function. (15)
UNIT-III
t1s}.find
State and prove Lagrange's theorem. Let H =(0,5,10} and G = Z15,
all Left cosets of H in Z15. (15)
intersection of
Q7 Define Normal subgroup and Quotient Group. Prove that the (15)
two normal subgroups of a group G is normal in G.
UNIT-IV
Q8 Define Euler and Hamiltonian circuit (Give examples). Prove that If Gis a
group with p >= 3vertices such that for all non adjacent vertices u and v,
deg u + deg v >= p, then G is hamiltonian. (15)
a
using
is is is registers
the
how
Differentiate
evaluated
Explain zero
address
relativeaddress
the
Determinestep
5-bit 128
multiplication
2048 has
of
many
access
computer
main an an
o0 )
What address the Assume capacityto is is
Explain
WhatWhat an Show 0.9. WhatDMA
and with How uscd aand What
an
A at of A is
a b} a) b) c)
Q7 Q9
a) b a
b)
Q7
C++
Ustng
75
Marks: (5x3-15)
Maximum and
object-oriented
object-oriented integers(7.5)operators
function. (7.5) be (7.5) (7.5) Also,
function 100.(7.5) (7.5) of (7.5)
conversion and(7.5) members? a (7.5) P.T.O.
more(7.5)
which
scompulsory. to
implications of
classes operator area
rules C++.and examples. be polymorphism.
reference.
Explain. two will the
a of
Roll
Bxam
No. Programning to the and in 1betweenof
destructors. unary
private
of swaparguments
types Destructor calculate
derivation
END
TERM
EXAMINATIONand of working objx);? are types the
by overriding
function
contrast suitableand
2024 to different What are a
untt. programming
applications
return program numbersdifferent overloading derivation.
Whatfunction? protected to run-time
JANUARY-Q.Nol the and passing identifiers. and private prograrn
Object each
Oriented and with
tnchuding
from
and
demonstrates
x,
obj aWite
vaue of
Eplain constructors
primeExplain
Constructor
functions? Ilustrate thepublicusing TCT-&
SNESTERBTECH.] the
procedural between between
virtual betweena
UNIT-II
method and
examples. UNIT-I
queston by
UNIT-I C++? display whichWrite triange
Explain call reference? conversion? to
keywords, pure operator?
virtualdifferences compared
polynorphism?
questions
Subject: detal.
in difference reference
programmming
that between in identifiers?
for
foloed between of diference
in
use
between
one questions. program
operators
C++ith
utiedn to a
function situationand
00P? by appropriate
program need rectangle,
N Select tokens.
and Type
examples.
with binary as
ne prOgammine. Diferentiate
any call by Differentiate
overioeding. the
Roll THIRD Difierentiate we the appropriate
Bm
CT209
Code:
Paper the is call are Cormpare makinga
are a
ng there is using
a objects Defne a is do a is Discuss is circie,
all What Wite What What What Why What
Make
WIIte of What What
Attempt Is that
3Time
Hours Attempt
yo
wrtte
b) a b)
Note:
Plecse
(Please writeyour Exam RollNo.)
Exam Roll No. ...
UNIT-I
OR
(2x7.5 = 15)
palExplain different states of a process' using process state transition diagram.
Comment on the statement
"Process switching is an overhead though it is
unavoidable.
bY What is multithreading and multicore system? How does
multithreading over
multicore systerm support concurrency and parallelism? Explain with suitable
example.
UNIT I
(2x7.5 = 15)
a) Compute the CPUutilization, average waiting and
turnaround time of each
process in the following case using round robin and preemptive SJF
CPU
scheduling algorithms. Assume duration of time quantum and process
switching overhead time is 2time units each.
P.T.O.
scheduling 15)
Therequest {in SSTP (15) tages (3z5
1s) in
(3 it.
pagjng 4999. distance
using advan for
is users?
previous
order used
disk
their
demand to requests
0000 FIFO total its methods
a
the withof for
numberedin the performance UNIX
of andrequests these along two
performance
2150 356
compute
used. in any
2. 1618, process rnethods trolled
pending
RAIDcylinders explain
cylinder themethod
544, position,
to con
the & that
allocation nethods?
1RAID at the2800, move allocation are and
(-3-] affect 5000 algorithm.>ass3
and
C-SCAN Justify
request
of UNIT-IV managerment
operations
head
will
has queue
2296, access
0,
page RAID fileFurther,OR
arm
drivea The current variousfile
a serving1212, disk fileaccess
of disk 1805. by
of affected space
various
features disadvantages.
size 2069,thethe
currently detail,
memory?
vtual a cylinder file free
the that that
from
the in is are does
cylinders) algorithm is
does
o Suppose
Explain is at Starting Explain What
HowWhat
How drivewas and
a) b) c)
a) t
Q9.