Professional Documents
Culture Documents
com
B.TECH.
SOFTWARE ENGINBERING
Sectiott-A
www.aktuonline.com
www.aktuonline.com
(s)
(h)
(il
(10x5=5q)
www.aktuonline.com
(c)
www.aktuonline.com
www.aktuonline.com
Section-C
www.aktuonline.com
www.aktuonline.com
www.aktuonline.com
void F(int key, int T[J, int sizo , holean found , int L)
{
int bot, top . mid:
'UoFO;
toP=size-1:
L{top+totYZ;
I{T [L]:key) found:true;
etrse
found:frlse;
while(bot<top && ! found)
{
Mid=(tofibot/2;
I(Ttmid]:key)
t
Found:trtre; L:rnid;
)
else if(TlmidJ<key)
fostrmidafi
www.aktuonline.com
else
topmid-l;
)
)
(d\
r,
\
%0st6l.t+gttr227s
'1, ,"
www.aktuonline.com