GATE Information Technology 2007
GATE Information Technology 2007
I INFORMATION TECHNOLOGY
ONE MARKS QUESTIONS (1·20) b DB repository
c. Aircrafl night controller
d Signal ーイ ッセウゥ ョ ァ@
Suppose there are two colns. The firSt com () A processor takes L2 」セ ᄋ 」ャ 」ウ@ to complete rut
gives beads wilh probabilily 5/8 " hen
inwuclion 1, 11te corresponding p1pehned
エ ッウNセ・、@ while the second coin !;ives beads
processor uses (, stnges willt llto cyecutidn
om
1\;_ch probability t/4. One of セj ・@ two coins
times or 3, 1. 5. -1. ,.; and 2 cycles
is picked up al rnndom with eq unl
pn)babifill nnd tossed.. What is the respec\ivel> What is llte aov'111ptotic
probability of obtaimng bends? speedup assuming !hat セ@ vel) large
a, 7/8 number ofinslructio11s are to be execu1ed'/
b, 1/2 a 1.83
.c
c. 7/i(. b 2
d 5/J2
c. 3
d セ@
セ@ セ@ J Wh'al IS the Whicb of the follo\110!: tnput sequences
ce
1 Lei A be I he malrix [ 7
for a cross·coupled R-S lltj>-flop realized
maxin,tun. 1·alue of X 1A." whefe lhe '' all1 II\ o NAND gates rna) lead lo an
ma."'imum is taken over all .x !hat are uQセ@ oscillation'/
1utlt eigenvectors of A'? a. It, Oo
ra il. 5
5+../5
b \11 , 10
Co 10.01
b -- d. 00, II
The followioll circuit. implementS. a two-
m
r- 3 input AND g<Ue usill/,\ 111'0 2-1
d. - -
5- $ mulliple.xers
2 • I
xa
Itt the Spirnl model of sofiware disambiguated version D. Let ll1e language
del'elopment. tho pnmnty delerminant in recognized by the t"\\o grammars be
selecting acul'ilies In each tteralion is deooted 1>.)' L(G) nnd L(D) respectil'ely
w
om
(ii) Tlu.s may lead wa dtllJdlock. sender ser!ds l wo segmentS back ャ セ^@ back.
Whloh of tlie f<illowing .bold>? Tlte. sequence number:< of ihe 1irs1 and
a. HゥIセヲ。ャ・ョ、@ (Ii)is lrue seCQnil segments セイ・@ セIP@ and 290
\), Both (i) and (ii) are fillse Je$11ectively. The ヲオセエ@ セ・ァュョエ@ wns losl,
c, (i) is 1roe and ( ti) is .fulse but the second .segment was .reoeh-ed
cl. Both (i) and {ii) are true 」ッセoケ@ by the reociver: Let X: he tlte
.c
IL Let a 1nemocy l tavc four Jrc-e blocks of aruollllt of dala carried ln ihe .first segment
size$ ·lk; 8k, 'ZOk, 2k. These blocks are (in byte§). and Y be 6te AGK rumt ber sent
allocated foU.owing Ote 「セ エMヲゥ エ@ sb:aregy, by dte receiver 'The value$ of X and Yin
ce
The aUocation reqoesll' arc stored in a Utat order) lll'e
quene11S sho!"n below, a. 60 ana 290
raItt IJ I&IJIJIJ iセ@ lflp& I
The time at which ll1e requ<:St J'br J1 1Vill
b. 230 and 191
c. 60 nnd 23J
d. 60 muJ 230
be completed will be 15. Coru.-idcrlhe following rwo statements:
a H\ (i) A hasl1 function (tltese are often osed
b. 19 far セュー。エゥョァ@ digiml sigtuJtnrell} is an
m
ll. 20 injective fun.:tioil
d. 37 (ji) An l'llCrypti.on technique such a!l DES
Jセ M The add=s seguence geuernted by lradng ·perfomos a penuufati<)lt,OtL t.be etemen.ts qf
xa
a. 0 a. .5
b. 4 b. 8
c. 7 q, l2
w
d. s il. 16
13. Consider the follawing shit.erroe.ols ah.,ut 17 Rxponeoliation ゥセ@ aJwavlly used operation
tlle limeoul カ セ、オ ・@ used iu1'CI'. in public key cJyptogtllphy. \\rtUch of Ute
(i) 11le timeout value is set to Ute RIT following options ts tile ti.ghtesr opper
(R01mtl Trip 11rne) measured during 'I'CI' l1ound oR 1ho JtwnbeJ· of mulnpllcations
セx^ ョ イッ ・」jゥHャ ッ@ esl•blistl!Denl f<>r the ・セ エ エゥ イ・@ rcqnll·ci! ro compute l>" n•odulo 111, OS!>,
duralion pf lite OOMectiM. ns m1
(li) Appropriate ltFr e!lfitnation algorithm " · OQog 11)
is used to set the timeout '\oalue of a TCP b. oc..{; >
CQIUlectlOIL c . Oqlflog n)
セ@ ul I.\
'L O(n) .-c'Oftlcnt>
18. A lirewall i$ to be eontigured to ol1011 One: ッャGュ セョ ケ@ lmc•
ャ ッウャセ@ in ·a privotc network to freely Open </Cocttent >
TCP C<llltlt ction• nml ftcn.d ーョ」ォNMZャセ@ nn TOC.
open cc>nnection•. However. it will nn)} One of mnn)' content ・ョ エ イ ゥ セ@
:•llow \Zjセ エ・ュ。 ャ@ ィ ッセエ@ tn s'-nd ー。 セ ォ ・エウ@ Oll < TO\>
\ZjセェLエゥ ョ ァ@ open TCP eoru1ct:tion• or \jbMッセ _@
COIIJlCctiOn$ lhat Ol't' being oー\[N Gエャ セ 、@ (by Comider the XPath C:.'\'ptc$8ion. • [not
ゥョエ・イセ@ I ィ ッセィI@ bnl not aiiQII them lo open Hセ・ ャ ヲ Z@ TOC) J
rCP cQnnectiQM ICI h()SL< in lhc ーイゥカョエセZ@ What wouhl l•c the resu II ul' the: セゥカ」ョ@
om
oul\vor.l-. To achic<.e lhis dee minimum .KPlltb <.'l<jlr<OibiOn wh<:tc the current nude ;,
c..pnbillty ufthe ャイセキッu@ ghuuld he thot of bッ\セォ _@
Nセ@ A oombinotiotwl cirwil a. l'he Title and Content element•
b. A finite automaton b. !'h.: Content Mtd TUC elemenlll
c. A pushdown outomuton wl!b one セ lャ 」 ォ@ c. The: Tltlc lUld TOC olcimc:nlli
d.. A pushdown automnton with two d. !'he 'J'itle Content :mel TOC elements
.c
ウエョ」 ォセ@
I fl Gi\'eo below ate some ャZ ャ セil@ lb1e>,
img,
src upicl.. jpg... widlh •'-250'
ce
haight="'256" border=\)" uUczPQッー セ ]@ ュー
?. I, \Vhioh one; <>I' tl1e.<e ャゥオエM\Zセイ」・@ l<1gic
ャGヲョ オ 「セ@ is- \'ulid1
\ ュ\セZー N ョ 。ュ・]@ ャ ュ。ー セ@
..::.area セ ィ。ーセ@ セーッャケLN@ u. "•(P(<)=> <.>1 -•1) => (I ""TP(.rl)-=> (<'>t)(r)l)
ra 75.
Cords= ".SO. 50. 50. IOU. 100. lUO. 15.
nlmve, cHュセ ゥ 、・イ@ the エ「 ャ ォャLセゥョァ@ ヲイ、・ョエセ N@ Con.•ider lbe followms values for the step
(il C'li<k ing un the: poinl セ ウッN@ 75> dQ<:S not size h.
b•,•e uny effect (il h イセ@
(ii) 11tC \1 Ch brOI\8ef C3n ldctUiJ)' the セAQャ@ (ii) 10 J
.e
セ オーャゥ 」NQ ィ ャ ・@
within th" tO the ュ ッオセ・エャ」ォ@ (iii) 10-'
imnge nnd the ; ub.<C<jUCiit actitm to bt> (ill) 10-$
tnkcn without addilional te.<pltn"" lionu For which of !hese yulucs of the セエ」 ー@ •ize
h, is the computed value gnarontu d lo be
w
El<acily how marly of the ウエセ」イ ョ」ヲ^ャ ^@ giutn c (ii), (iii) •nd (iv) only
above •re com::ct? d. (i), ( il). (iii)1md ( iv)
23, A panial order P i$ dclin.:.l un t)lc sci nl'
"·
b
()
1 nul\lr•l numb<:tll Nエセ@ ヲッャゥB セ ᄋ@ H•'fC x/y
c. 2 u,·rwtO!I ゥョャ・セ@ di\'isio.n.
d. 3 (l) (0,0) £ p
20. cG ッ ョ セゥ、・イ@ tho XML document fr•gmcnl (ii) (a.b) セ@ I, if and only if a•o 10· b0 ,\ 10
given below: and (a 'JO, b' LO) "' P.
<Book> CoMider Ute foUo•' lng ordered pain!
<l'itlcPOAl'E 2K7 ャ NAク 。ュー ャ 」 セ ヲャG ゥエャ ッ^@ (i) ( 10 1. 22)
I nt j,l
rii) m. tOt) function, consider u.e following
(iii) ( 14j, 26.S) sulemenl8.
!lVI tO. IS3) (i) tィセ@ funetion 1 tCJminol<'i fur tinoleh
\\1tich uf lhc<e mdcroo ''"""" nf ョッャオセ@ many different' • Iue. of ョ セN l@
numhCillarc: contained ゥセ@ f>l {ti) The funQtion flenninale$ lor infmitcl)
a (i) and (iii) many differml v:>lue< of IL I
b. (ii (JIId (i\) (iii) Til<> function f does nol lmnioatr for
セ@ (i)Qnd(h) finitelv man\ different \'3lues of II?L
d (ui) .lnd (I\) (IV) The rur;clion f docs DOl lcrmin•te for
A deplh-linn sean:h o; P•-rfunncd ''" セ@ infinitely many dilfcrt:nl ,......,. nf n_ l
om
•lircctcd 。セ」ャゥNA@ I!T•ph. l.<-1 dful .ICJwl.c lhc Whtcll 1me of Ihe folln\Oing O(llmn.< ,. 1n1c
11me at \\hich \crt.,; 11 ;. \i<dcd fQf lh, nflhc ohove1
finottomc •nd flu I the IJme at" hieh the dff a. (i} ood (iiil
.::til 10 01c vcrtc:x b t•Tmlll31C:S. \\'h.:h of b fi) and (i>·J
the foUo"in! ;tattm<nh is ィ。セウ@ Qjセ@ for c. liihnd (iii)
.u cdga tu.'l in the gnplt'/
.c
d. (oi) md (i\1
• dl•J d[\ I 28. Consider a h•.!Ch function that di.,tnuuh:o
h d[uJ fl' I key• unifonnly The h•.to table セゥコ」@ iK 20.
c.. Jlu] flvJ Aller h•shing nf hnw mony kc:vs will the
ce
ct f\u l qvl t•robability lllal any """ セ@ hu•hcd
.lS \\hat is the l•rgcol ゥョセ・ァ」イ@ m such ャQセエ@ <:ollide, witJ1 IIJ1 exi;ting l)l)C Cl(CCild (),5
.:very slmpl.l connccltd grJph \\ 11h n a. j
ra , c:rtlc:cs ttnd n odg.c:'! c.ontnln;. Dt ャ」セオ エ@ m b 6
dil'fcrcnt!pnrumiJ:! ln:<:ll'l \!. 7
n. 1 d. 10
b. 2 29. When seorching fqr tho: key voluo (o(l in a
1!. 3 hinan ウ・\セイ」 ィ@ エイセ・ N@ nodes セッ ョ セQゥ ョ ュァ@ the
m
d, n k<lV セ ャ オ Nウ@ 10. 20. 40, 50. 7(}. 80, C)() DI'C
20. fons ider " joh• J 1, ):. , .... . '• セオ」N ィ@ tlllll job エ セᄋ」 、 N@ not noccssarily in U1c ot"da'
J. ィ エオセ@
tJ.'<cC.ull<u' timu t1 o111d a nnn·tl<:gutivc: gi'nm. How many diflCn:nt onlcl'll "'"
ャ@ "1. ll>u wlliglucd mcnn
xa
,L
... w c. 128
d. 50.10
time ot';nh J. aセウQョゥァ@ エィ^ エ ィ・イセ@ 1• unl)
セP N@ Sllj)pos<: vou are gi\1:n an unplem.:nt>IIOn
one rrrn:e.«nr ., ailuhh:, '" \\ h.tl l>rd..r
w
om
d. Euttltitl! Ute <tucuc Q 33. c」AャNセゥ、Zヲ@ tbc pi<J!Iram hclow in. a
3L Coll5idcr lh<: C progr.uu givoabelow: hypotlwticallanguag.: wluclt :ttlows globnl
¥indllde \ ウ 。、ゥ ッ N ィセ@ カッイゥ。「ャセ@ :tnd" c:hoice nf c:o 11 by ref=ce
!nt main ( ) 1 or c.'lll by va lue ュ・エィッ、 セ@ of ーセイ。ュ・ エ 。イ@
int sum 0. maxsum 0, i. n 6: passin_g.
int a( .I - (2. Z.- l 3,·L2); in1 ェ セ@
.c
f'or ( i = 0; i " n; •++ J I
ifli = 0 IIulil--.o It セlゥj@ '-illi-111 { Ji l ogr'ilrn ma in()
if(sum mo.uwn) mA.uum •UW: j iutj GO:
ce
sum = (n[lJ - 0) 'I a[i) ; 0; ,: 51);
} calllllJ);
e l.s esum • a(J I; pnol iJ:
ra l
if (5wn ,. maxsnm) max-sum = .sum:
pnntC イセゥN、 | ョ BN@ maxsum}: procedure llx.y)
f f I LOO:
What is tho ''aluc pritlli."tl out when lhi> X 10:
m
progrnm i• executed? y = y + 1:
i\. 9
h. 8 Which ono: of the following options
c. 7
xa
voicl ーオ セ ィHェョエI [@ 1• ーオセ ィ@ lhe argument on th" h. Call by vatu.: i=SO. j=liO: Call by
セ エN。 」ォ@ •t int pctp(VIIidt: 1° pop the hlp ul tho> rtfcrc;nec: i=SO. j=70
$ lUCk • 1 c. Call b}' vulucr. ゥ セ@ 10, ェ セ WP [@ Coli by
w
om
35 Early binding refers to a 「 ゥ ョ、ュセ@ WhatiS ·thc func:U i1111 finally renhzt:d1
perfonncd lit compile hme lind late a, I
binding refers to a bmdmg performed at
execution Ltme Coo.s1der U1e followmg b ii +h ·H' +d
suuements c. i'i+b +IT+d
( 1) Static sctJpe facJiirutes !!:1. bmdings d li+h H-rtf
.c
(U ) Dynamk scope requtres 11':1 bindings 39 Datta fQrwatdmg techniques can be ャ ャセ\、@ ttl
(nil Early bmdings 113 execution speed Lip tl1e operation in presence of datn
cfliciency, dependencies, Consider エィセZ@ follow.ng
ce
(1\1) l。エセ@ bmd.rngs w./ exccu1ion effocl(mcy, rllp(3cemenls of Ll-1s With RH.S
The nght choaces of wl . \Y.!, w3 and w4 ( i) RH L.oc, l, oc-tR2"' R iセ r R L r@ i-t l. oc
(in U1at order) are (il) riセlN ッ 」NlセrR] r iセ N rR@
a. EarJy, ャ 。エ・ L セ・ 」イ・。ウL@
ra 1uorcase (in) R1 ->l oc.R2->Loc " Rl->Loc
b. Late, セFMャケL@ increase., 、 ・」イN。ウセ@ (iv) R I->Lqc,R2-> I. CK! =Rl->1.-oc
c. Late. early, decrease.. mcrease lo whach of the fnli()\Vllig qphons. w11l the
d. EarJy, ·late. mcrease. decrease イ・ウ オ ャエッヲ・セ」オゥウ@ the·RJLS 0e IJ1e same as
36 The floating pomt unli of a processor Llsmg cxecuJ,ing the LllS ittcspectave of the
m
a desagn D takes 1 t cycles compared lot ゥョウ エ イオ」エゥッ ョ セ@ that follow?
cycles taken by the tixed porm umt There a, (i)&(m)
are two more des•gn sugsesuons Dl and b (i) & (IV)
0 2. Dl uses 30% more cycles (or fi>ted
xa
c. (Ti)&(llt)
pollll. wut but 30'% less cycles for t1oatutg d (ai ) & (iv)
poUlt umt as compared to des1gn 0 02 uses What IS 1he fmnl value stored in the lmeiar
セ PBOッ@ less cycles tor rllCed Jl0l11l IUllt but feedback セィ ゥ ヲャN@ reg1ster if the 111put IS
I0"/o mote. cycles for Jloating poim llltit as 101 JO.l2
.e
om
u. 13
G'l:l!vcry x is foUowcd by ol leus t one
d. jセ@
.u. (CIJI2.2S)H- ( 101 11 W I11U. Il)1 A N セ [@
b.
\'
C\1 :Noy oppean; before any x
•. (135 103.1! 12)"
02: No'< nppea:" before nny)
b. (S64-1 11 -l12)"
c. 0 L No 'l appe;Jrs oflenmy x
c. (56-l-ll1.205}'
.c
02! E\"')' x i> Iilii Owed b;r ut lcust Otic
"· (135103.205)" • y
·D. .\n error cotTOCtmg codo: has the follo\\o'mg
d. Gl : No y uppenrll nfler ony セ@
code w|^ イ、N セ Z@ 00000000. 0000 I I I I,
G'l: Eve.-y y 1$ fiJ!Iowt:d n)' "' le:ISI nne
ce
0101010 1. 10 1111010, 111 10000. Whm ;,
'<
tha mrudmum numl)ef or hil CIT(Jf5 lhftt Bセ BG@
-17 C'ortJider ャィ ・ゥッ ャ 。キゥ ョ セ@ DFA h1 キャエセ ィ@ s., ゥセ@
be corrected'/
tlt.Oii;hut ウ ャ 。 エ セ@ 1111d ; 1• SJ Life' thcdinlll stalos.
ra ᄋb.セ@ 0
1
o. 2
u :;
4-1. -\ hurd djsl( セケウ エ 」 ュ@ JiltS lhe following
m
イセ、ュ」 ャ ・ョャ N@
T ime token by the hand 10 move from one o. All strings of x and y
エ イ。セォ@ to n<!J•c"" 1 1rack = I ms b. All siTing• or "' and y wh•ch ha\·e
RoMion sp<:«l : flO\) rpm. either even number or '( and even
w ィセ エ@ ゥセ@ the uvcr"'i!c ti!Jtc Iuken for 1\Utl\ber or )' {>r udd num ber 11r X 3n d
odd nuutber of)
.e
イセ キ SfB @
w
S-:d3 1) t\
A ..... x l xS i yAA
B -. Y1 yS I y B B
w
セ@
D. (i). (iii) . nnd (i\•)
· 19. Cons ider the loll<l\\,.;ng .grnmmn111. Nomes
セ・ ョャゥ QNALャ」[ュ QゥョZッャ @ hnve hc:en •pc:cil·i ed
in capilllll.cUers.
G l: セ ャGュョ@ セwhile@ (o)(f)t)Oiulnt
51.
•
I he lo iiO\Iing table shqws the hn1e
lx:twe"n faiJUNS for a solh\UN セ | Gャゥ エ ・ュN@
s lntnt _,.()'J'l:IER
Error Nwnbt;r I 2 3 -1 5
C;(Jlf セ@ llJ
Tlmo since ャ。セ@ 4
R S
G2: • l'm nl-7 WI fiLE \e:<pr) Mmnl 6 6
om
lnitun: •on"'
>IDlJI t ..... OTI IER The rcllabilily of llie system for 0t1e hour
cxpc -+ expr f expr of opemtlon Msnmlns nn cxponemlal
」セカイ@ ._,. 」 ^Z エ ^セ@ "' 」Z セ Gp@ mil\lel is
lll<Jlr - ID u. !lAS
ャGセオ、Q@ one of U1e following stntom<mt!l •• b. 0.63
.c
tme'1 c. 11.84
n. 0 1 i• o\xャ ャ ・セc エ ヲイ・@ h11l not reg\dnr and d. 0.95
(his n:gulur 52 Given the followiog algorithm for «'<tins
b. G, I< <!()nlo;d·fr= buJ rtOI イ」ァ オNャ セイ@ 1111d
ce
:m amry X oi'N nlln\1.1.-rs;
G 1 i• 11:'S" lilT SL1BROUTIJ'lE sortP\NセQ@
c. Both G,. Md G:: ure regulnr IF 0-i • 2)
d. Both G t •nd O, are contexl·l'fee but RETL'R.N
ra neither of them is regulnr forH ゥ セ@ TON INCREMENT BY I)
SO. Consider the follo,.i.ng Jitute automalll I' FOR (i = I TO i INCREMENT BY l )
and 0 owr tl•e nlphalx:l !11. b. c 1. Tho t l•rt lr (XJi 1 X<IJJ)
ollltes Ql'<l indiuru.ed by • double セイッキ@ and <:ONTINUE
m
finn) <lutes are iudil>(•ttld by n doublo TF..\ W X[il
circle. Lcl the lnngungcs recognized by X[iJ - X[tl
them t>e denoted b.v L(P) nnd L(Q) X[j] = T!!lviP
イ セ@
P.NOFOR
xa
fiND f OR
liND セlt iZr outine@
A good approximation <If Halstead's
• q csliruntad prognlm lcnglb Is-
.e
b.
w
•l , d i セ@
Th.e hrunch CO'-'erage i$ Wnit (oruJI<:X)
... 3/4
b. 2/3 re..>t.dCi)u.nt = re:tdc.ount + f
c. )(.! o.l' n:adcount = I then S I
d J/R S2-
54. Cnnsi(lec !he CPM セ」エ ゥ カャエケ@
chart wl)ere Ul1
arc oonnee1lug twu 1nlles:l0ncs b; ャZNウィ・ ャ セ、@ rt:ndtng. is. p.:rfo nm:d
'"iU1 3 エ セエN[ォ@ identifier and t.he t•ml! セォ」ZL@ 111 '\3
om
days. For oxnmplc m ordcc to go from A to rcadcounl = re.1dcount - l
13, task ·r•r take. r セu@ day•. A dashed line ifrc.adc.ount =II obcn £4
depl.ns on n..IJ itlunul dependency that ls sigJt<1I ( n1UlC><)
(:tJUIVUICnl lu U セc イh@ tlmc task,
n. u Th.: wluo;S vi' S I, S2, Sl. S4 (Ill tlJnt ,,ruor)
arc
a. ,;igoaJ(multx), wait(wrt), sigoaJ(wrt),
.c
f), I
wuit!mutcx)
b. s ignal ( wrl) , sfgna l(mutox),
wait( mute><) . wail ( wrll
ce
c . wait(wrt), Slgrutll m ute-"X), wiul(mute,x),
セゥァョ ョャH キョI@
d sigmll(mut"x), wail(mutcx),
•lgnal(mutcx), wui((nnolcx:)
ln u multi-user オセイッエュウL@ :,.-y.slem, •\rt an
ra
l11c li4.:t of u-.:llviUes thut lie on the critk"tll
ーセオィ@
u
n.rc
1'1,1'2, 1'8,T t tl
uvcrng-c.. 2H rt;quests nr(: mru.Je to usc u
rx-rtlcular J'CSt)UrCQ per h\.lllt n1c arrival nf
ャG セオ」ウエ@ r\,llows a Poisson dislrlOu1 1nn
The pml:oability !hat either o1 1JC, t.hrcc 11r
m
h T I,TI, r&.'l 1(1 five rcqucs'lS ::an: mulic jo 45 ュゥNョオ ャ セ@ is
c. 11, l'2,T3; 14,T5,T(i,'1'7, 1'8,1'9; 11\1 ャェjvセョ@ by
tl T I,T4 ,T5,T7.T8,TIO a. (i, 9 X I()& X " - JCI
5.5. Cnosidcr lhc tQJI<owing pscud<:>·oodo;:: L02 • IO(o , c '"
h
xa
20
Ill ( tA > 0) ANIJ (C > D) l ' l'HJ.lN c, 6.9 '< I<? .. "
A s /1• I a 1.02 ttl" • u '"
ョセ ョ@ 1 1 58. A domand. puginl! ウケセャ」 ュ@ lakes 1<JO Umc
ENOIF unots II) scrvocC a 1"1£C (uuh :mJ 300 L1me
.e
The tsyclomau.: cnmplc.·dty o r the rscudn,._ units to r:cplru:e n cliny page Memory
セ エ ャ、」@ fs occc.<s oinw is I tome オ ッゥセ@ ·n,c prohahility
Q, 2 ol' a. J)>1gc lituU ゥNセ@ i>· In casl.'ol'a page ゥャオ ャ セ@
b 3 lllc probabiUty nl' page bcollJl d irty is 。Nャセッ@
w
b. 0.233
through use of slo!muphores. In the c. 0,5 14
(blh)wing ioc("urtplcte \XK.Ie for rC(iJers- d. 11,981
wmers prohlcm, lwo hm:u'Y sem:)phores 59 The ce>nllmts ,,r lllc t..xt file U セG\l@
w
iG uセl」Nク@ 'md wn arc ャ ゥ sセ@ H' obtulll C(lfJWinlng fo.Jur Jines are a:; follows.
synchmniz..11'1on. a l bl
a2h2
W"J il 1wrt) a3 h1
a4 hl
'l'hc l.'tlntonts oJI' エィセ@ 1.<.-xl Iii" 12 txl
cortlaming 11ve lines ure as t{JIIovvs:
sJgnlll {wrt) al cl
Ill of I-I
a2 c2 c.
a3 c3 I
a4 c3 "
B 10•
a5 c4 c 17
Consider the tollowrng Bourne shell scrrpf· D tl.
E 10
awl( - F ' " ( printS I, S2 I • tLW I F 16
while read • b, セッ@ 0 6
awk -v aV=Sa-v bV"Sb -fl •'
' aV-St ( pnn111V, bV. S2)' 12. \}.1: d
dQne I
"B
om
I
c 7
Which one of U1e following strings will D 11
NO'r b\l present it1 the output generated E 10
when the 11bove script is run? (Note that F 0
Ute given stringJ; may be substnngs of a G 6
printed line I
.c
61 ht tl\e waveform (a) g1ven bei<JW, a b1t
a ''b l c l " stream ts encoded by Manchester encodl!lg.
b "b2c3" scheme. The satne btl stream ts encoded 111
c. nbl o2''" a dl l'rerent coding scheme 10 waveform
ce
d "bl cJ'' fbI f he b1t stream and the 」ッ、ュセ@ scheme
60 For the networkg1ven In the l'igure below, are
the rouung tables of tJ1e four nodes A. E. D
and a are shown. Suppose that f has
ra
estimated It$ delay to 1ls oeighbors. A. 1::
D and G as 8, Itt n and G msecs
respectively and updates its rouung table
usin;; distance vector rouhng technique.
m
[N セZ@ .-
'
xa
"' D
• • •
0
respecttvelv
'
." ' , II' £
F
,'. '
IQ
d 0 I I ll 0 I 000 and Integral Manchestet
0 G 0
• respectively
Whicb one or the ruiiOWIIII! opuoas
w
"B lO
transmll" u packet of 1000 b1ts The
number ol' SI>Urces sendtng data for lhe
c 17
0 u first 20 time units ts 6,9,3.7.2,2,2,'.3,4,6, 1,
w
om
NIIICA): -'lllll
1,, -1,26 セXI[@ ""*]((""
u. -l-.53 1011118); -'lA):
lrA • O trli#-D
d. 5.26 l&ma-B+lt CMIA - 4-1:
1}4., /1 「イ\セキNャ」。L|Q@ セィュQ・ャ@ ィョセ@ Ill uodes and lltlpl -(8); Mセ@
cnpucity .,r I 0 Mbps. II ttws plllling for Uliloot(Ak
.....,;.:
セ@
anllii;
medium clc.ccss. Once o noda finishc. --8);
.c
llolod(ll);
tmnsmission. rherc is n poll in!! dclny of 80
e.
ll'' tv poll the next ni:'Je. Whe.never u nooe Sl : IG<U(AY, S:: ャッ」ゥNsib セ@
is polled. 11 IS uUowed to lmnsmu a r<Oii(AY, n:.o.I(Bt,
ce
umxinwm nr 1000 llytes. 1'be maximum ャッ」ゥセjcuIL@
....,.a,:
\o<kX(I\l:
<allAn
lhfOt<ghput of the broudcos l ohunuclls IIA •O U0<- 0
a. J Mbps ャ」。XM dG iセ@ lltnA - A· I:
イQP\Hセ@ セエ\H OQI[@
b. 10<1/l I m「イ セ@
uoloci<UIJ: オイエャッ」ゥaセ@
ra
c. 10 Mbps
d. 100 Mbps
axnrntr.
Wlllxk(Bl:
comra1r;
lllllod;(Bt
65. Cnc.<i(lor u sclcclion of !he Jh rm o,.,uJJ(r). J.
where 1 is u relation wi th J(I()O iuエャ・^セL@ Sl: lo<I•S(A): S2:1od1S(B):
m
aウオッエセ@ that the uttrfbtne カ。 ャオセウ@ lo r A md(A.) ; md(B):
lockXI8); エッ」ャゥH a セ@
nmoug エィセ@ 1uplc:s an> unilbrrnly distribute,! ..ocl(Bl; ....t(A);
in the mlcrv:ll [0. 5(,)()). Which one of the if/l e O lfBf.O
xa
t',lllcm ing uptit)D> i> tbc best ・^エゥュオセ@ <•( daB-B+l; BMa M a LNQセ@
i!Je uu111ber uC tuples returned by ャィセ@ gtvelt "I'll< !B); wri!l: { A);
uali>."'lA): untock(A):
sdectiOt\ lluery1
"'llodlill); Nゥオッ」ォHb セ@
<1. so 」 ッュゥャセ@ エッイオGャセ@
b, 100
.e
om
:1. ョ L N LNHcyセッ\ヲo^jエケGaェュ B@ branch M
Qct:<>tmt) M dep(•sfttlr)
h. n.......
tcrh-dJr"lilfll" brnnoh m H」イ セ@ セ@
c.
depositor)
fl,.,......, (icrto-al)"""o\I>H brnnch M O b•
.,.
.c
BGyセ M ,\ bol • oacc<•um ) セ@ doposnorl "·
<1. IT,.,..,. H ct エイ」Nセ ]M セLN@ ャセエオョ」ィ@ M H Qセ ᆳ
ar.-.,.•.1"" N ッ 、 ᄁ ーo セゥィャエI@
ce
69 Consider tile tbllowing 」 ャ 。オウセ ウZ@
(i) Not i nherontly suitnble for clle,tl
nulhenlication.
(iil 'Nnt u Sl!Llo SOllSHwe protocol .
ra
(itil Must be 13peruted witft more than one d.
Si)rVer
(rv) Snitnblc: ror sin•cturcd ntcssas.c
urganizu1ion.
m
(I') Mnv need two portS on the server .!o1dc
t'<lr prop¢.!' op.:ratiou.
The オ ーャゥ セョ@ that hus the m:l.'ttnlUIII numb.!r
•••
xa
ofuom:ct nlatches is
72 . Wllloh 、 セ エセイュゥQャ ウ エォ@ ャゥ エ セ@ outummon
.ll. IMAP- (i), FTP- (ii), HTTP - (oii).
。」・ーエ セ^@ Lho: langunga イ ・ ーイ・ セョ エ・、@ by the
DNS -(iv). POP3 • (v)
rusulur NZセー イ オウゥ ョ@ R ?
b. 1''11' • (I). POP3 - ( ii ), SMTP - (iii).
:1.
fTTI . P • (i, •). IMAP • (v)
.e
8. LJp
b.
U. lJWA
r"''
d, QU
om
、 」ヲゥQG\セ@ ィセ@ 1hc reg'!lar expr-:ssion R'/
a. (o(ba) • b[ab) ) (n ' b) c. (i). (li) uod (iii ) only
b. (u(ba)• ' b(ab)')' (a 1 bf d. (i).(ii). (iii) and ( iv)
"· (a(ba)"(a• bb} 1 ll(ab)'(b M))(n b!"
d. (n(ba) • (o セ@ bb) t b(ab)'lb + Wl))(:l + Commoa dab! for QuaaUona : {71 a. 71)
bf Cot\>ider Ihe i"ollmving cxp(a<sioo uii + ii"c +bed
.c
78. Which of 01c lollo\\mg .Kurnaugb Maps
C.mmoa Illata for Qllaetfaaa : {74 to 7!1) corr<etly repre,"-'!11$ til« ・セーイエAs\Gョ _@
Consider o Ioken ring topology with "N &lations ted al cd r:.i i
ce
(numbered I to N) tum1ing token ring pl'lllncol "iib )( •
where t·hc stations nrc equally spnccd. When a
7ih y (
station gets t·he tnkcn il is allowed to semi ono
fmma nf lh:.ed lri?c. Rio1g latency is 11" whi le the ab ,<; X
J. 0.961 ub X •
xa
c. (1,9375
110 • " •
J. OJ16.1
llh .. "
ciii
w
om
・セ」「@ node ha.. at mo;;L two keys nnd U\J'Ce links.
with n>!pCOt lo Utair """""nlinotc
o, セ ゥuエ ・イ@ 1'. or l'o hns lhe lnrt!l"l or tho
smnllest v-coordinute omO!lg all !he
tXtinls
c, The difference between x-coordtnule.
.c
i'fPo :tnd Pb is minimum
(L None of the ubove !!<!. k・ケセ@ Kl 5 and Ooeo IUS w·o inserted into
tit is tn;<o In tltat order. eNセ N 」ッ エャ ケ@ bow mony
81. Tbc time complexity of tlto best olsorithm
for 1mding P, Qnd P11 セ@ of lhc: following nOdes {disr\lgurding lbe
ce
ャゥョォ セI@ will he ーイ・N セ・ョ エ@ in tbc we ufler the:
n. (l(n)
two i11.<ertloru?
b. !l(nlogn)
o. O(nto!?nl jjuojjJC'oll jjKlsjjuoj j
d. O(n1 )
ra i ャォZセ@
a. 1
lll(nj j ェkエセ QP i@
b. !
m
c. _...
The ,.....セN@ or a hard ,li>tk セ 」 Zイカ」ウ@ イエZアオウャセ ᄋ@ foll(>wing
Ute sbonqt seek エ ゥ ュセ@ fin;t (SST!') porky. ·n to
d. 4
8.5. No\\ the key KSO ls <k:letcd from the 8 tree
「 セッ、@ i! initiniJy t>O!ltioned o!Lrncknumbcr 180.
1\lSulting utlcr U1c two ゥョセ」ZイQoエ a@ mude
xa
U1e
(ii) 'l'lte node (disregarding lite linh) is
!er.·iciug slsl'ts'l
present in tit" tn:e.
II. QN Q SYN QWPNXLセR Q NRVU@
HゥIti セ 」@ root node rent!lin• uochanged
b. l0. 138. J70,l7S,J81.J 85. 201.265
w