A sequence is given. You should find out error & write correct 1 2 5 10 13 26 29 48.
Ans: Error is 48,there you should write 58.

2,3 6,7 14,15 29,46. Error is 46. In every pair you add 1 to get
second number.
Ans: 29+1=30

A girl is 13’Th highest, 13th lowest. How many members.
Ans: 25

Rearrange: MERGANY
Ans:GERMANY (country)

Rearrange BBIRAT
Ans: RABBIT

(Passage) There are 6 persons k,l,m,n,o,p to give seminar cond: 3 persons should give before lunch and 3 after lunch

l should immediately precede the seminar of m there should be no gap between l and m …..

ans: 1. L position is 2
2 m pos is 5
3. k pos is 4
(Passage)

1. A is daughter of Y, Z is father of Y. Q is son of Z,
1.if T is son of Y, then
Ans: T and A brother/sister

2. if m is brother of T, then
Ans :Z is grandfather of M and M & A are brother/sister

3. if speed of ongoing train is 24 and while return is 48
avg = —-
Ans: 32

4. 0.23 + 0.02323 + 0.002323…. == ???
0.4 + 0.44 + 0.444….. = ???
1, 2, 2, 4, 8?
Ans: 32

5. 55*55*55+45*45*45/55*55-55*45+45*45
Ans: 100

6. 4^^61 + 4^^62 + 4^^63 + 4^^64. This sum is divisible by which of the following?
Ans: 17

C Language
1. #define min((a),(b)) ((a)<(b))?
(a):(b) main() { int i=0,a,*ptr; ptr=a; while(min(ptr++,&a)<&a) i=i+1; printf(“i=%dn”,i);} Ans: 5.

2. main() {char a={1,2,3,4,5,6};int x; for(x=0;x<4;x++){ b[x]=x+’a’;} printf(“%s”,b);}
Ans: abcd56

a)Insertion
b)Deletion
c)Accessing Element
d)None ~ (~0<<8)?
Ans: Last 8 digits are 1’s rest are 0’s.

4. int a,b=3,c=2; a=b++*c;c=++b*a;Some thing like this. Print a,b,c? C++ Language Virtual Functions in C++(Refer to 13’th chapter first two examples of LAFORE Book) Which of the following is not true regarding FRIEND function
Ans:If y is friend of x and z is friend of y then z can access private of x. Given some program on “&” operator overloading. class X{ public:X(){ cout<<“This is Base”;} }; class Y:public X { public:Y(){cout<<“This is Derived”;}}; what is printed when an object of Y is created? One question on reference variable in C++. Ans:&a. Technical Number of nodes in Binary tree with height 3 Ans:7(Refer to Formula 2^^n-1) TCP/IP is used in?
Ans:LAN/WAN