GATE1998
GATE1998
h I A
00 01 10 II
~- 2
d. 4 0 I 0 0 I
('(m~iclenbe l(liiQwing cletennon~Jll I I 0 0 I
A•
l v
~~ :1
~
lt,
b.
A.B
.W~BC, C't\
<:1. B ;Ji C
d. A.BC
Which of Ihe rollowing r>n fuolor of A 'I Which of the Jo llowing nperation.' is
u. a- h commutative but uol a.,.ocialive
h. 1- b
a_ At'ID
~. arb- tt
b. OR
d. obc c. NAI'lD
Ouo binnryrelation R = l(ll)l, (:!, 1), (2,
d. lLXOR
21, <~.>). <2. 4). (J.I), (3, :n <3. 3) (3A) J -14. Fomtalllug uf • floppy ~jsk refcr.o to
on these[ A(, t,:!,3,4} is
a. niTIInginJ! tho dnla nn lhe disk ln
,,, Reflexive, 5)11tnte1ric and lran.s itive
contiguous fJtShion
b. I'/either ll!llct•dH:, nor irreflcxlvo hhl b. writing llu: ilirc.;tory
t.mtl~ili\lc
c. erasing the sy!ltum ur~
c. Rt:tlexiv~ 1ymmctric tiJJd tnmsltl\·e
d. writing identitici•tiun intin'Tl1r•tiun em
cl. tn-elle.'live 1md anti·•Yflll11elnc lllltuol.s and sooton;.
ln a roo111. conwining :!8 people. tl11:re are
lltc addross 5P""" of 80$6 rrtt is
1M people who •peak l!nglisiL IS Jh'Opltt
n" one Mcgabyh:
who speak Hindi and 1:! people who •JX;•k
b. :!56 Kilobytes
Kannada. 9 peroons ~peak bo.th Enghsh
c. I K tvlegabytes
and Hlndi. Ll persons speak both Hindi
d. 64 .Kilobvtes
and Knnnada \\ h~,..,s 13 Jlt:TSOos $pettk -16. A complete· 11 nry t.r\:4: ~ am: m ~\~llich
botlt Kt~ttnado nod English llo•• man~
every node Ito$ 0 or ~ ~On$. lf X t• the
people ~peak ollthe lliree language$?
• . !)
number of internal nodes of A complele n-
ary lo't:C:. Ihe olll11bCO' of leaves in it i.• sivcn
b. &
by
1!4 7 a. ;~;(n - J ) ~ I
d 6
b. ;~;n- 1
~0. l.t:t l, be Ihe ~ctuf all hinacy strin~ who,.,
c. xn • J
l""t lwro symhvl~ uo'e Ihe same The nuonll<..,- d. ~(n~l}
of •tnt<:%~ '" lhc minimum •lute -17, What ' "" I'"' .vould the tollowin~ function
clctenninil;tjc fjnit~stnte aulum~lon
11:1urn lbr I he input X = 95?
UC!lCJlling I, i~.
function 1\ln (X ! i~leger) : Ullegc:r,
''b.· :!
5
begin
Ifx .,. J()() Uum fun : = x- 10
g, 8
F.lse fun : llm(funlx"'" Il l)
cl. :0'
atd:
41. \Vl1iuh of l.b c following s ll!lcJT1cnlb i~
• . 89
Inhe? b. !>0
3 n LlS
c, 91 c, IQ KB
d. 'J2 d. RKB
·18. Whnt is lhe result tit' the following 52. Consider 1t processes sltnringthc CPU io a
progtnm? round-robin f11shion. 1\s.~uming that ouch
I'll+-~ ('oopa. Olllpll); p113ccs~ switeh cokes s seconds, wllllt mliSt
- X. ..... : ialcFr. he lhc quonmm sL,c q such thnl ihc
ovcrhClld rcsnlling fro m process '1wiwhing
r-a...r c_,. , .....,): ~
is mini111izell lmt. nt tlu~ "'tme time, e:tch
....... process is ~uaruntec:d 1<1 ~et its u~rn ul tlte
CI'U nt le<.c.l c\•ery l seconds'/
/ - 11.'1
a. qs--
n- 1
f - IlS
x .:• j
b. lj ?::.-
11 - l
'
.-It': - l(x) • (:a); , r- us
c. q,.- -
u +l
....
1L 5
Wlbda (laah);
·'
u
1- u.v
., ~ --
11 +I
I ~\ 5 produCtiOQ$ rules.
c. Is~ ulhcrenU)I!rllb>guous "