DM Tut 1,2,3

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

Tutosial -1

) Find the iowes sel of fa.h,c d?


NoLE

of a given st is tolled o Poun


loule Rsei: Set af all subsete

sal f, ca), (6), (c),(d) ;, (a,b),(a,)(a.d) be),bd), (,a),(o,bt)(a.d,b),

(ibid), (a.b(id)3

) Uf,2, t,4, 5,6,4,83, n:fu243,6 {34,5,6},C- f34.a?, Rind

o) (Ang) v(Anc) b) (A-e)' ) A- (Buc) d) (Ave)'

b) A-B:,23 > (n-e) ,S,6,2,8{

) A-(av)

3) Dhaus tha Ven diagzams tos follouwing.

a-)u(a-) b) A-(su) )ave'.


Sol

4 Whát oill be the Casdinaliy of Hhe poes Se of faib,(,d,e3


Sal Afa.b,c, de? 2.37
a pesons, 2 peope con spuak englich and 43 (an
gooup of leo
Speak fench tloo rony con sruak engüch any tow mony lan Squak
fench orly and how nany lon Sraak both Engish
ond Fsench?
sol nC) uorls syrsa k engish 92
n(8): sench L3
n(Ane): LoD
n(a 8): Sqak enly engish
n(8 R) Syeak only faerneh

n(AvE) n(a)nts)-n(ang)
(oo 42 + 43-n(Ang)

n(Ans): 15-(oo

: na)- n(Ant): 42-lS


paole spok only
People

-54 i.
englih.
spuat botlk

peole
englih and seneh
n(e)-nlnng).43-15 -28

seak ony foench.

) In a
SusVey So wag found hat 3s reorde Saod

awsfae H, 20 lad neosraro T, I5 Suead vesDsflanon I, 5 suod

both H and I,lo sead both H and T, 9 soad Goth T and I, 4 sacd

all thaee newsraesy- find the wnbes oe noonle who cad at lagt

n (9):

n(e):

n (ang)
n (en).
both H T : lo

n(en)
n (aneng all Hhoee

n(avBu) :?
=>n(a)n(e) +n(c)- n (ang)- n (An)- n(en)+n (ansn)
35+20 4|5-lo -S-44 4
Fruad atleagt

9 How ony notsal wunbeos nslooo ae divisible by ay ef 2,s?

Sol
lot na) be numbess whieh ass netobofdiisiblo by 2.
and nle) 5.

n(A). 0o0 -Goo


n(Ars) (000
SX2
n (Aus) n(a)«nle) -n(Ang)
Tutosial-2

fnd the seqe


doain
cad songe of ha funtony f)'t)
Dona'n

dona'n: (-o,-t)ul,)
(oo,o)uo,)

ach flowig a knton with dokain


i) Detes nine whetao of the ic

{u2,s,u. 1f tis not a konetion exybin ad Qve teoon.

Sol o)R. {C),e.);6.);6:):&.:)3


Abi ofneton , becawse the input hos teoo drfesnt oututs i1 3
n afnction,each inqut wist. have exacliy ons cutot

This is a ncion, os eoch inpt has exaly ore oujut.


) R3 f,4:);6.) ;6)3
Tlis ic a foncon, o3 ea ch input ho, exacly

This is a fncion, o eoch ingut has exacty One otjut.

Totoaial3

ose dekined by - f0e), (3),kus);(e.0;6,)j and gf6);6.0;k:); 6a)s)}


Hhon Rad fog, fof, gef and gog i tay exist.

3: {02):6.);6.) ;6,3) ;GD}


f(3)(xs6):!
=) (2)e fog
fog o);t:);(0.) ;6,1);(6.0}
b) g > 9P0) g(s) doesn exit
- in g doroin
3(i(): 9():

9(()) g(i): S (4)é gof


9(f): gY2 -) (2,2) e gof
gof doenn4

)) fof
gok
St0;(2,);(G)3
f(o)f(e) tnH exist in f donai n,

g(9(:) -g):2 =) G.de gog


9(9(): q)2 -5 )e gog

g(6(s)) =9):2-)6.) 9eg

2) tet R ard s be ta kollawing salationg on B-fa.b,cd4.

sol )Ros 2(s(6):pla) :a,c s ba); (b.)e Pos.


e(:l) p (o):b,d s,);Cde Ros
i) Soe :s(R) sla) :doesnt exit n dona'n cf

s(R(). s(b) a )Ca) E SoP


-s(d): a
S(R(G) - s(6) : a (da)eSor

e(Rlc) e(b) doesn'! exis4 in doneoh efp

PoR faa,6b) (a.c)fa.d); G)3.

()Sos :s(c(6)- s(a) :doesnd exat in 4ho copain ef s.

Sos
by fl).:?x15.
ee fonetio n
F:RR delintd
invesse of
7)find he

let fo)y

y:345

S).find foq and qof,whese fu)-x ond gt) : t2, are fundong

Col f):x|,g):x42.
a st A:$23,4s3 t the st c :5t:

Sel i *:2 y : b,to

x :3,y:3,6

then efty»); x4tk3

q) let R be the eltion defintd on the sel of sieal nunbey

- Such that os (o,b) belongs to Ri i ond cny ab>o

Aor all (a,b) belong! to Rn Ilesak that R, is Refexive.

net tiansitie.
Synacbie but

P. is Said to be alerie if (o,a) eR,

e, is said to be Suenchie if (a,b)eR, & (b.a)ee,

i! 14ab >0 then (4 ba >0 fos (ab)eR,

Cbiel (;-)ee be (awse.


:|-% :h>0
bt ac) () R, beteuse

alalas
Totoial-4

Sypibol: P:sstdy for tho exan.

RJ an
barry
Sonlonos -
thon nags tha exene
2 will be hary and only i J pasg the exaM.
3 1 do not study oy
exan, Han
the S oill not rass tho Bxo
ond s oill not be hayy.
.S:ther 3 stdy os the exoM Os J do not
lass the eran
S 3 will be harny only T J ras fhe exan.

5. aR
2Conuet tho kolleuing Syr bobe exfuseins into plain Sngbs; h
stotorarts. Ue the fellung hanngs for the Vaniabley
P:d

: oill
foy
St is aining

You might also like