Professional Documents
Culture Documents
52,42,37,27,22,x,y
Ans: (a) x=12;y=7
find x,y
------------------------------------sec 2.
Q1.while(1)
{
printf(---------);
a++;
b++;
}
ans: (b) runs forever
Q2.main ( )
{
fun(a,b)}
fun1(int a,unsigned b)
{
a--;
b--;
if(b){fun2(b,a);}
}
fun2(inta, intb)
{a++,b++,fun1(a,b);}
how many times it uns???
Q3.mutex
ans:allof the above
Q4.red-block three experiments o(--)??
ans:(a)o(logn) (b)o(2logn)
Q5.insrtion sort
ans (a)o( ) (b) o( ) (c) o( )
Q6.diverjort's alsouite
ans (a)o(l) (b)o( ) (c)o( )
Q7.Eedgs,V ventus
ans (A)o( )(B)o( ) (C)o( )
q8.DMA.....
ans :(D) none of the above
Q9.VMS....
ans : (C) it loads ram of dik space
Q10.virtuval distructueres....
nas: (A) no problem in this programme
Q11.one
base:7
devised:15
Q12.a,b,c ......which disturbs structure??
ans: c is disturbs structure
Q13intk;
int*p,**q;
p=ck,*q=p;
int*&ref,**&ref p;
ans: **ref p
Q14.i=0;
printf("%d",i,i++,++i)
ans: 2 1 1
Q15.p=collas(100,0)
ans; (A)error (B)compailar default (C)no error.