0% found this document useful (0 votes)
148 views14 pages

GATE Information Technology 2007

This document contains a sample exam with multiple choice questions related to computer science topics like algorithms, data structures, computer architecture, operating systems, and computer networks. It tests knowledge of concepts like pipelining, mutual exclusion, memory allocation strategies, hashing, encryption, and TCP connections. The questions have a single correct multiple choice answer lettered a-d.

Uploaded by

Priyanka Paul
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
148 views14 pages

GATE Information Technology 2007

This document contains a sample exam with multiple choice questions related to computer science topics like algorithms, data structures, computer architecture, operating systems, and computer networks. It tests knowledge of concepts like pipelining, mutual exclusion, memory allocation strategies, hashing, encryption, and TCP connections. The questions have a single correct multiple choice answer lettered a-d.

Uploaded by

Priyanka Paul
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

I GATE - 2007 I or l·l

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

3, Consider a weighted tmdirccted graph m th


po$itil'e edge 1\eigbJs nnd let u1 be au
edge in tbe graph, It is known ll1nt the
shonest path from tbe ウッオイセ・@ venex s to u
.e

hns weight 53 and ll1c shortl'St path from s XI Xl -l O


to " has 11eigh1 o5 Which one or lhe What are the values of XL X2. X3 'I
foJIQ\\ing !;latemenls IS always エイオ・ セ@ a. X l : b. X2 = U, X3 セM。@
;t. 1\'Cight(u.v) < 11 b. XJ = b.X2 = 1.X3 = b
w

b wetght(u. v\:s 12 C'. XJ = a. X2 = b,X3 = I


c... we1gh11 u. v)> 12 d. Xl= n,X2 = 0.X3 = b
d. 1.-eight(u,v) <:: 12 I) Consider an ambiguous grammar G and its
w

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

a. Iteration si1e Which one ol' lhe folfo11 iog is true'/


b. Cost a L \D) c L(G)
c. Adopted process such as セッョA@ h L (D) :::> L(G)
Unified Proce;ss or Extri'Jlle c. L (DJ = L(G)
Programming d L (D) IS empty
d Risk Ill Processes l'J t111d P2 use cribcul_nug in
5. Which of the follo11 mg systems JS a nJOSl the foltowi ng routme to achaeve mutual
JikeLr candid<lte ex!llllple of a pipe ru1d e.xciUSIOII. Assume chai criticnl_ Oag IS
filter archalecture'/ lmuaht.ed 10 FALSE In the mam program
a. Expen .system get_exdusi,·cs_access ( )
2 of VI
( (iii) T·imeont value .is set to twjce tlte
if (critical_tlag = FALSE) ( propagation delay from lhe sender to tlte
セイゥエ。ャ ⦅ ヲャ。ァ@ ='rR'LII;; イ・」ゥ カセ@
ciitical_region () ; vNセjゥ」ャ ッ@ of Ute foUowillg choices ltold1
CJ.iticul_tlag =FALSI£; セ@ (i) !s f'll,se, l}ul (j.i) illlll (iii) l\l'e. tn1e
) b.. {l) and (!ii) are f>il!!e, bul (H)[$ true
J o. (j) and (ii) are f>lis.t) but (iii) is trOii
C(lll$J<Iet Ute·followmg sta\eJnents, <L (j), (jj) wod. (i.i 1) w¢ false
(I) H is po;;sib1e lOr both P I and P2 to J4. Consder " TC P. connedlon -iro a ウ セGャ エ・@
access critical _seg[Oll concurrently. where. tltere are no Olllstandlng ACKs. 'Tite

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 particular progrnm axeCU'Iittg .in 4 pure fts i nput alphabet


demand paging system with 100 bytes JJCt Which on• of t.he rollowing optiooll! is
pasei.s valid for u.e abovtt two i<!altllnenl!;?
0100, 0200, 0430, 0499, 0510, 0530, 0560, セ@ BotlJ'olre flll51'
b. Slatemalt (i) is tnoa and. Uw uther ls·
.e

0 120, 0220. 0240,026.0,0320.0410,


Suppo:>siO tflat the ュセョャ|エ ケ@ Cll11 store orily false
oi\0 page and lf x is the address wllicll " · S tdleJUenl' (ii) Qセ@ 1rue ao1d ltoe otlter 1•
CSUS<'$ a page fuult Uten ilie bylcs from false
w

セ\A、イ・ウ@ x 11;1 x+9ll are loaded nn to U1e d. Bodt.11re tme


memory. lfow many page faplts will 16 Tlte minim11111 pooiti"einteger p Nltth Ihal
<><:Cur'/ 3• modu!CI 17 = liE
w

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.

bref 'il.htm J'",;.


too. so·· "-
J, :UlP(,vl Q(>))=>(('!o'P(.tJ)=>('hQI•JI)
GH ャGH L \ャ GHAN エI I]^Hゥ セpャ@ (3.<(1(.<)))
..-area jhnpa B」ゥイ、セZ@ coortls,...H)(I. 75. 5'" d. V.<J)'PI >.1) :=> :;yt..rPt.•,J'I
m
hrel=-'-_lcgi-bin O.pl?vl=asL: ab""":< age"'> 22. TI1c tt-;tpc-zoid•l cnolhod i• used to tvo luote
B\セj・ャ@ sb.,pe=··def'llull'' ィイ」ヲ セB ュ N ィエュャ@ B セ@ I
1
n>ap- lhc nuntc:riClll voluc of t'IL< . J
With ref.,renco to tho HTML ゥョ ッセ@ g,ivcn •
xa

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

ll>e wei) <erver


(iii) The 、ッセ@ in Lht cgi-bin 1-RI . will 「セ@ cun-c.o:t to sev\31 decimal pL1c:es. Ass ume
resolvod l)y Lhe web hr(IWSCI' before tt Is th.il lhctc arc no round-off cn'O"' tlcc m
w

ウセ エ ゥo@ the 11 cb セ」Aci@ er. compu!Jltion.


(iv) The 'i'd.html'' イ・アオセエ@ when .otenlto the a. tiv)only
rn n mrr n:quo:st.
\\C!b ,erver '"' " n:sull h. (iii) and ( iv) ッ ョャセ ᄋ@
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

inlcgcr ィ キセゥ possible ln wlticb these l..ey values can


C<>mpMion lome of 1l11; ,j1oh• i; defined Ill ucour on Ute • =h palh Jiom tho mol to
•• the node contniniJ!S the vo1uc 60'1
be · 1
L'*·'· \\h•'Tl! 'I 1, IS LhQ completiOn
tl 35
b. G4
.e

,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

of a queue of integers. The Opcr:UooM IIJol


t!'tU$1 the JOO• be exc.:Uied 111 ordor tn
em be pcrf'otmed on the qucu.: 31'C:
minimile tl1c 1\Cil!htoJ mean NZッューャセエゥョ@
(1) a Empty (Q) - Mlll'llJ true if the 11ueuc
tiiTlt ッャィセ@ job<?
w

u; ernp!y. I'• is¢ othenn•c.


セ M Q|オョMセイNLゥァ@
order ッヲセ@
(ii) delete (Q) - d::lcteo the cl<-'lllC:Ulottbc
b. nッョMゥ・イNZ。セュァ@ onJcr of" , &onl ur lhc qu<Uc .... rctum.• iiJ uluc
.:. Non-mcn:ll11ng order of\\ ,t.
w

{iii) m.•c:rt (Q, i) - in•ert. the mleger 1 at


d Non-mon:a<•na order Of\\ , 1,
the rear of the qucoe.
27 lbd イオョセijッ@ I "ddincd •• follo\\5
Comider lhc follO\• ins funetion:
1JII ItlnI II) I
if(n • I)Muml ,
\ <>id ((que= Q) I
lnt r.
」 ゥ ウセ@ if (n セ@ 2 - II) n:IUm t1n l2).
tr{!isF.mply ((,)))
elM' rc:lmn f( 3rl-l).
i セ@ delete (Q)
l rcQ> .
As•wninl! thai •rhitranly L>rgc tnlegcr<
imert (Q.i) ,
.:.-tn be pBGセ ᄋ 、@ •J • ー。イセュ」 ャ ・イ@ to the
}
S elf 14
l I
セ G セ。エ@ operat.lon ゥセ@ perlormed by lht obovc; prinu· (""toe". p<lp(J 1;
j オョ」エャ・セ@ rz I
n. Leavi:S1ltc <tucuc Q uuchongc.t \VIt•t is the uutrlut of tbo ーイッァエZセュ@ fot tile
b Rever5es the order of the ・ャュョ エ セ@ in fo tll)wing input'!
tho queue (l URᄋSセ[A セ K@
.:. Deletes the clement セ@ Ute lion! of Ute .. IS
queue Q :tnd ins<:rt• ゥセ@ Ut n1e イ」セ@ b. 25
keeping エィセ@ Other elemenlS in the Mamc c. 3(1
t)nler d. (5()

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

ropruscnlB the cnrrccl nutput of the


cl (i ーイッァ[セュ@ fi)r tit¢ mo pnrnmeter ー セ ゥョァᆳ
i\2. |o イャ セ ゥ、エZイ@ ャ ィ セ@ fOIJIJWiug (' p111grnm. ョイ エャ」ィ。ョゥセュ _@
#Include -tdio.tt ll.CiiU by value: i"'10. j><tO: C•11 by
#defim: EOP - I rcfer<mcc: j: (JQ, j:70
.e

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

"";" n。セeイ\OcGH@ ); refen:nce: i= l00. j"'60


d. Coli h) v;tluc; i= l()(), ,F{iU: ( 'all hy
int main( ) イャZヲ・エ」セ\@ ゥ セ@ 10. }:70
w

f int e. m. n. r. 34. Consider' Urc program l•ll'lo1• in a


hypothetical progrnmming ャセョァオ。」@ which
whik( (c '"' ァ」ャセィエョゥ@ ) ) I = EO i セ I@ allow, gluh•l nriahl"" ;md • <hlliett of
w

I ャヲ エ \セjゥァャH」 I@ セエャ」 N ッイ@ dynamic ocoping.


ーオ セ「H」IZ@ int i;
else ire (c = ·-' ) I (c = ·•')) pn:>gram moln()
l m = pop (); l i = ltl:
n pop ( ) : caU ft l :
r - (c ..) 1! n 1m i n111 m: l
push (r) ; prooedore l' { )
I I tnt ゥ セ RP Z@
セャ[・@ if(C! • ·) call j!_( ):
flagError ( >;
b af 1-1
prwedure 9( ) a. 3
l pnmi. b. JS
1 c. 20
l.<lt x be the vahae pn nted 1mder A[iゥャ ゥ セ@ d . 30
セ」ッーュァ@ and y he rhi! value pnnted IUlder JS. 'l'he followmg, expressmn wns ro be
dynamic sooplng. Then. x and y are reahzed using :t-.npm AND and OR gates
a, ><"'10. y"'20 However, dunug セQ 」@ fabricattou.n11 2-iupw.
b. X""'20. y セ エッ@ A1"D ga1es were mtstakenly subs!lttue<l by
c. );-1Q,y=l 0 2-inputNi\ND gates.
d :o.:-20.y=20 ((1,/>) <'+(ii.c:).d +(/• .-).J +(I.J

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

contpared to design 0 rot a given program


wh•ch hns SO'fo fixed point ()pemhi111S and
20% floatios poim operations. which of
w

the followlug orderjng reflects the relative


pttrfUI'ITUillCUS uf three (JeslgnS1 (Di>Dj XOR
denotes that Di ts faster thnn Dj) \\. 01 I0
w

a D I> D>D2 b IIJI I


b D2> 1>DI c. 1101
e_ D> D2>DI d. 1111
w

d D>DI> D2 41 F'l)lleiwing table indleatcs ャ ィ セ^@ lrutncios ()f


37 Consider a Oirect Mapped Cache WTth 8 operahons between lhe mstmclion
cache blocks fnwnbered 0-7), i セ@ the producing the result and mstruclion usmg
ュセoi IG@ block requests 。イセ@ iu the Ute result
following order
3,5,2.8.0.63.9, 16.20,17NRUQXLSP L RK LZ エVjセ N@
82. 17.24,
which of the following memot;y block;
wlll not be m the エ。セ ィ 」@ .at the ""d of lhu Consider the following code segmcm.
lt'<ld IH. L'I(;) l..ood RJ &nrn nll#llltiJ) I•ICI11It'r.l Lu..: l
sequence? lutuJ rセ@ 1A.II!2 l•liU. R2 frlltn"Tnttnl(lf'\ (l•utlhll! Lilcl1
7ofH
エ |、rエ セ ᄋ セ@ Rt.;, Add Rf ••d lUttad Qlterctull.ul Rl 46. 111e two l!J'•mmurs ァゥカセョ@ bolo" gcno11ll'l: •
()e;.: bャセ@ 1Jem.tmer111C
O..ORI Demm..t 1\1 lougUtlge 0\'t:r tlw tllphubtt {!<. y. zl.
\ilJY R.4Rl.Jt.l.Mu1tJVIy R.J &ldRllll:nliii&W n'l'ldl itt R1 Gl: S '""' "" lz! xS lzSI y B
Sllltc- tu. t,c,cl_SL.uc- R3 m..tu\!1001)' b:9ll!!li Loti
B -+ y IZI yiJizB
\\l wt is fl,u: number or oyclc.., needed lo
02: S - y lz! yS lzSI xB
execute the above codu seg.ment os•uming
1.! -o l' yS
euch instruction l;lkeo one oyole to
\Vhtcb one · 1>f lhe follow•ng choices
execute'/
desanbes the ー イッ セイエ ゥ・ウ@ ..ョ ャセヲゥ・、@ by the
n. 7
sU'Ings in the$e ltmguoge11'/
b. 10
a. G l Znッ セ@ uppt;aor before 。ョ セ@ x

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@

Numbclr of ltAeks : 500


Number of L・」 エ ッイウャ エイ ョッセ@ = 10(\
Number or byte,•'sector= 500 What language doelS this DFA rucognizo'l
xa

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

エ]セNヲcjtゥ ァ@ ョ 250 bytl.'"$ froot tho dil.k1


e. A U.strings oflt und )' wllich 「ッ カセ@ equal
"· 3011.S rm nwnber of x md l
h. :z.ss.s IllS
o. lSS ms d. H strings of x セ ョ、@ y with either C\'Cil
w

munber of x 11nd odd number of y or


tl J OO " " odd n111nber. nf x und even tturn ber Clf 'I
1'hc lim• T "' the followins figure ;,
Corliider lhe gnunmar give beli1W-

イセ キ SfB @
w

S-:d3 1) t\
A ..... x l xS i yAA
B -. Y1 yS I y B B
w

xNセ@ Consider tho followin!l- セ ャ イゥ ョ ァ セ」@


(i) Xl()')'X
(ii) x:-'}')':'<)'
Which of the following mpuiS (X I X2 X3 (iii) X)/X.\'
x セ ᄋ ャ@ will tlete<:t the tlluh'l (iv) ケクNセ@
R, ()1\()0
(v) ケクNセ@
b. 0 11 1 (vi) xyx
c. ll ll Which of the nhove ! tnng• are ァセ ョ 。イオ エ ・ 、@
d. None of the above bv lho ウイオュゥャセ@
•.\. (i) ,(il). unu(iii)
セッヲャT@
B, (ii). (\•). ond (Vi) d.
c. (il). (iii). 11nd (iv)

セ@
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

rhe outo!llnton w hich nroogniz..- tho q, 20


lnngun.ge L(1 1) ' i L(Q) ls b. 5tl
Q,
"' 80
d. Ill)
w

53. lt1 tbe simpliJ\od ョ オ |セQ\uNGエ@ gJVCII llt:fOW.


the s haded boxes n:pn:scnt code tlml is
セ」 オエ」、@ duriug n test c,nso.
w

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

c. 4 J'l I L is ObstrvcJ that the tl\<Crugc aCcC$s


d. 5 time-is 3 ltmc umls, ·t htn lht:: vu lue ul' p IS
51\, Svncllrtmi7.ati!ln ln th e c lassicaJ rt'atlcr:s • . n, l!/4
セ、@ wrilllrs prvbll..lm \!an 「セ@ acbic\'cd
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

E 0 u, IOOOOHTI II and Dtff-erentinl


Manchester respecuvely
T!mil,, 1«1'-'ll. .
Tib vi""f . TOZGセ ッ@ I ,.;:':!l'G b. 011 1101000 and Differential
.. ••' c .' • -•• • •
A
'
I
Manchester reSfl!lch vely
c •• c. I 0000 I01 11 and Integral Manchester
.e

"' 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

62. l,et us consider u statistical hme divis1on


represenl!; the uptlalt'li rquling U1ble Of r.?
a, multiplextng of packets. The number of
sources IS 10 Tn a ume unit, a source

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

E 10 10,7,5,8,3,1>.2,9.5 respecttvcly The output


F 0 capaclty of tlte ruultlplexer is 5000 hit< pur
0 6 tllne untt. ,'hen the avenge nlllllber or
b. backlogged ー。セ・エウ@ per 111ne un11 durrng
A 11 the gJYen ー ・エセッ、@ 1S
B I , H. 5
c 7 b. 4.45
0 19
c. J .45
E
v ᄋセ@ 0 tl 0
0 ll
II oll-1
63 A gro11p of 15 routers ore interconnected 111 Sf: ゥッ\NウHa セ@ 51\ IO<I.StU)t
........ セ@ notd(9k
a centralized complete binary uee with u ャッ」セ@ ォクsH OQ セ@
nluter 01 cooh tree node. R<HIIor j tQI(B). tc.ao\A);
oommunicnlcs with muter J by sending ll IIA •0 11010
-11-ll+h - A -11-ll
IIICSMgC. I ll the rnot IJf エィセ@ Tr\.';l rhc root wrl:ctB)t "!!ritc:(At
then sendi< the mC!I.'IS£0 back dc!Wil tc> C'Oinril: C\JIN'II\t
rnutor j The mcnn numhor nf hop> per lilllocliA): キ 。」Z ォHbセ@
ll!iCICIIB); uャGッ」Ha セ@
111essase. IISSUmins all pt•$siblc ri'llter tmir•
oro equlllly hkol) 1> b
5 1: ヲッ」エx\Nセ I[@ sjZiッ、ゥxHセ@
lL .l

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

()I Consider rbe lbllo" iHg ューゥ ヲゥ\Zャッイ」セ@


セ N@ 150
d 200
••olati.ng to !uuctJOnru and multh·uluc<.l
dcpctl.dcnotGs £ 1\' CD below. whld1 JU<i.Y or
11(, CouSJcler the fullowlog lW<' lmosa<lion.s
r, uud 1'!. muy not be correol
w

t 1 • •rC3t.I(A); l l) IfA B ll!ld A- C then A ... BC


]セ i iZA IZ@ (ii) If A -7 Band A-'+ C then 1\- Hc
w

if i\=0 then B<-B+ I (ill)lf A.- Be rhcn A-+ B u.nd A-+ C


wn1e (A): (iv) (I A.... f!C rhun A- R und A- C
Tセ@ : rood( B): llxn.:tly hrm many nl the abo¥e
w

read( I\): impl ic.1tions aro ynfid7


i!'lJ¢0 lltou At-A · L a. ()
write (A); b. I
Which ,,( the rQllc)"iftll セ 」ィ・ュ ウN@ オウゥョセ@ c. 2
:iliurcd aod exclusive locks. Zセエゥャカ@ウ エィセ@ d, 3
tl"-!UiremcniS fi>r s trict tu ーャョセ・@ L [Lッ ォ Lセァ@ f<Jr 68. Coustder the lo llowcug n:laljuu sdtewas:
llw ubove trunwctions? b-Scbemu セ@ ( b-ruune, b-oity. assets )
;t
a-Schoma - (a-num. b-nnme. ball
d-Scbemn = (c-on me. a-number)
12 o!l-1
Let brouch. account ond 、セーッウゥエ ッ イ@ be defined b.\• the regular txpresslon R?
イ オNG\ セ ᄋ エゥ カッ@ insranccs uf the above ウッ ィ」ュ ョNセ@ ャ、ァ・ セ@ labeled ). denote omnsiticms on tit.:
Assume tlmt account and depositor ¢mpty セイゥョァ@ 'I
イ セ ャ。エゥ ッオ ウ@ arc Ulllt lt bigger than thu bnwch it.
rcl<llion
Cciusider lィ セ@ エ ッ ャ ッキ ャQセ@ query:
rl- 0 ,.(cr BGセ ᄋ@ セ@ ""' o Cbmnob M
(n« ouut M depositor))
Which one of the Lollowins queries Is the h
11111s1 、ャゥセ ゥャt@ 1 ill$i(ln of the ab,wu ャB セイNャ ᄋG ャ@

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

1o POP3 • (i), SMT? - (ii), DN:S · (ii),


IMAJ> • (iv). l ilT!'· (v)
d SMW • (i). IIITP • (ii), IMAl'· (iio),
w

DNS - (h•),fTP - (v)


70. You are •lv¢uthe followiu • fourb1 tos:
tolluJII Ullll\1111 lll!llr,ll IOIOUIII b
w

Which nf1ho ヲᄋセャッキゥョァ@ are セョ「ウエイゥァ@ of


tlw bn.<;e ,,,- セョ」エ|、ゥjャァ@ of エィ セ@ a l1(JVC ヲ Nエセ オイ@
by1es 'I
w

8. LJp
b.
U. lJWA
r"''
d, QU

Commo11 lllobl for Quootlo11• 1 {71·71)


Colnsider Lloe n:sulnr expressiron R.= (11 I bl' (mo '
bb) (n + b)"
71 Whith or Ihoe foll,"l'ina ョッM\ャ ᄁ エ\イュ ゥ ョゥ セ エゥ」@
llnitc uutonmltt recognizes tl1o language
UoC IJ
d. 77 For which of lhc following "olues of o.
does there exisl a non-empty open intcrvol
(a. b) セ オ 」ャエ@ that tho scquC!JCO x.., con verges
for nil"" satisfying n . xo < b?
(il 0.25
(ii) ()..35
(iii) ().45
73, Which one nl' the rcgnlnr O'\prcssionc• (i\1) 05
given l)elow ucfincs tl1e ウ セュ 」@ lung•wge as a. セゥ I@ only
b. ( !) :md (ii) only

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

lmosmissicot UJ)lO tll 11 frame is l, , Al l other


ra
lutenoie:; can be neglected.
oh )( ..
Wセ@ T&e maximuui オエ ゥャセ エ ゥッョ@ ,,f the 111ktn イゥャAセ@ cd cd cd c(J
wben t, - 3 ms.. lr - i ms. N - tO is iib X (
m
tJ. 0.545 x·
b. (lh
b. 0.6
u. 0.857 ah
" • )"

J. 0.961 ub X •
xa

75 The ュ。N セ ゥュオ@


utili7.ntion nf Lhe Ioken ring
when t,- s ms.lp- M ZS ュ セN@ n M i sゥ セ@
Cd Cd c.d cd
u. oNsセU@ iih < •
b. ().1555 c. iib X
• •
.e

c. (1,9375
110 • " •
J. OJ16.1
llh .. "
ciii
w

Statllnw•t for Lt•k•d bs-r cfj


Qu•U•n (71 •nil 77)
" • "' cd

Consider tilt scquCJlcc l x.l, ..u defined bv llu:. . d. ""


cib
w

reeurren<lt! rclutiottX., q- ex.,· - 2. where c 0.


uh
" • <
76. Suppose tbere ・クゥウャセ@ " non-empty open "
1ntof\•al (a. b) such tllllt for aU X4 :Satis(ving
""CJf"tbc fQlJowlng
" "
w

u "" b. the sequ¢ncc c<)nvcrge,o, ti\ • 19. Which cxprcssicms does


limit 1'he&eq\l"nce o(luvcrges tn lh" vulue 1101 COIWSpotld IO the l<amaugh Map
I + ,Ji.';8C ootnlncd fn Q?8 .,
2c a, (i( j +,,"( j + alii!+ ac"d
t - .JJ+-8e h. [オセ。W@ +ad+alii!d
b.
2£" c. m: +tiii +nliii" +eli
c, 2 d, b"&-+ t•cd +iii"+ nhc
2
d.
2e- l
P o1 14
.......,ent for LIMed ..,._r the エo エ エセャ@ numbers ur traeks 11rc RPTセ@
tit" b011d セ。ョ@ strut from ruty truck'/
iln<l
. . .lion (10 lllld .,,
lt. .!)
Let Pt , P,, ..... 'Prt be· n roinL• in Uti>Xl'·T'Iunc セオ」ィ@
that "? thn:e of エィ セGャ エ@ nre oollinellT, l' or every pnir b. 10
c. 11
of poml• P, and P, , let Ly l.!e the line ーQMセウゥョァ@
d. 12
through エィ セュ N@ Let I ob be the line wilh the セ エ ・ーウ エ@
ァ イ。、 ゥ 。セエ@ 。ュッェャセ エ@ all n(n- I)I:Z lines.
80, Wltich one of Uti! folio\\ ゥョセ@ pt'Otl<:r1ies
• hould uccessnrilv be !U!lisficd1 cッョNセゥ 、@ ..,. the B I:Ne m lbo> セャッゥョュァ@ ligure.. \\ bere
:t. P, Md 1\ Nセ@ udjnccnl lo 」セ・ィ@ other

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

82. Which of the rcqut:.•t セ・ エ D@ B セQ@ umtse Uta


.:artier. Coosidcr the following エョ」キ エ セ@
hc:td to change illl direction ntlcr セB@ iciny
nboul the B ll'oa "'''Uiting, nfier this
every request IIS$Uming that tha head does
deletitm,
not change direction if the"' Is o tie in (i) 'l11o height ッヲ エィ エセ・@ セ@ remains th" セ。 イョ ・ N@
ss·n: nnd all the reque•l> オイゥ カ セ@ ィ・ヲ\^イセ@
.e

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

(disregnrdlng tbc links).


c. 10. 13\l, l69.178. 1.81, 184.20J.26S
Whio,h ona of the following opt10ns u
d. '10.138. 170.171t.18UM5.200,265
truc'l
S3. |セオョ@ is tb<! max imum Cltrdinnlitv of the
:t. s ュエ・ 「ョ lセ@ (i) :md (ii)ttretrue
w

reque><t seL so that !he head ch;qges tlli


b. Swtements (ii) and (iii) nre true
direction alter servicinJ! every request if
b. SWtemcnL• (iii) and (I) aretruo
w

cl A lithe •tlltc.rnents arc ヲ。 ャ セ 」@

You might also like