Wednesday, November 15, 2006

IBM Paper

IBM Paper APTITUDE

1)if y>x then y! / x! = ?

ans: y(y-1)(y-2)…….(x+1)

2)unit digit of 7^625 =?

Ans: 7

3)A lizard ,on a circular wall moves 8 ft to reach a wall boundary
and then 6 ft to reach another boundary . How far is the lizard from
the starting point? Ans: 10ft

4)Two circles are of same radius.One is fixed and another moves over
the it. What is the no. of revolutions it makes about the center?

Ans: 2

5)A school wants to have the no. of students to b 100. It has certain
ratio of students who knows French, some Spanish,some Enlish and
others none. What is the no. of students it has?

Ans:I don't remember the exact figures but the ratio comes to b
389/420 who knows certain language.The rest know no language.Hence
the total no of students comes to b 420.

6)In a group of 9 persons what is the probability that 3 persons have
the same b'day in a week?

Ans: 14.26%

7)Two trains , of same length ,moving in opposite directions cross in
18 seconds. The speed of the 2 trains being 42kmph and 48kmph. What
is the length of the trains in mts?


Ans: 225mts.

8)A pipe fills a tank in 2hrs and another empties it in 3 hrs. How
long will it take to fill the tank?

Ans: 6 hrs.

9)Out of two clocks one is slower than the other by 5%, how much is
the second one faster than the slower clock?

Ans:5.26%

10)A vehicle is to reach a certain place in 1 hr at 90 kmph. However
it slows down on the way and reaches the destination at an average
speed of 72 kmph. How much late is the
vehicle?

Ans : 15 mins.

11)In a class average age of boys is 15 yrs and that of girls is 16
yrs. The total average being 15.6 yrs. Find the ratio of boys to
girls.


Ans: 3:2

12)A person moves 25 miles South , then 25 miles West from his camp.
How far is he and in what direction from his camp?

Ans : (d)none of the above

13) Find the hexadecimal equivalent of the decimal no. 10767.

14) If x cows and y goats give some milk in 5 days.and a cows and b
goats give same amt of milk in 3 days,then who give more milk.....(x,y,a,b
are int.forgotten)

15)cant recall

16 - 20
A bar gragh . very easy. Those from R S Agarwal are more than enough.


IBM Technical Paper


1)Which sorting has the same average and worst time complexity?
a.quick, b.bubble, c.merge, etc.

2)Declare the pointer to a function which returns int and a
function which return int
pointer?
ans: int (*f)(),int* f();

3)what does the following statement mean?
Int (*a)[4]
(a)'a' is a pointer to an array of 4 integers
(b)'a' is an array of pointers to integer
(c)'a' is a pointer to function returning an integer
(d)...
ans:a

4)class xx{
int getage();
private:
int itsage;
};
which is not useful..
a)getage() is private
b) itsage is private
c) itsage is int
d)……………..
ans:be cause getage() is private.

5)a question on regression testing………which testing is performed to
fix bugs developed during other testing methods
4) a question on s/w configuraton management…
5) What is the output of the following code?
Main(){ printf
("%u",main); }

8)A question on views…………….(may not b exact)
a)views have separate tables
b)they do not specify tables
c)they have simply definition
d)….

9)Which of the following has function scope:
a)automatic variables
b)static variables
c)extern variables
d)none of the above

10)a big question on class I cant recall a bit as I even didn't go
thru it.

11 -16) cant recall

17 - 20) An easy q on codind .Just b carerful while solving.

ISL Paper

15 q in 25 minutes

1) Vector processing is ……………………………
2) Pipelining
a)increases cpu utilization
b)decreases m/m acces time
c)increases degree of multiprogramming
d)
3) ctrl+c effects processes
a)in the foreground
b)background
c)currently all running processes
d)
4) nice command in Unix ….. ans: changes priority level
5) Semaphore ……….a)consume processor time
b)they're difficult to code
c)they takes lots of memory
d)they won't give complete soln.
6) Which is the best scheduling algo for time-shared system?
ans: round-robin
7) Which is not a logical data structure ?
a)chain b)relational c)network d)tree
ans: chain
8) A question from OSI………………the options were
a) application b) transport c)….. d)….

9) A question from ARP ………….options were
a) IP to route address
b) Route address to IP
c) MAC to IP…..
d) Store IP address……………
10) First phase of compilation a) lexical analysis
b)semantic analysis
c)syntax analysis d)none of the above

11)find the error in the following code
class a{
public:
void operator=(class a);
void operator,(class a);
void operator+(class a);
…..
}
ans: compilation error in line 11(cant remember the exact code: but
the answer
is write as we cant overload "," operator : so that was the only
option to choose)

12)class a{
float add (..);
double add(…);
…..
}
This is an example of a)function overloading b) function overriding

c)… d)none of the above ans: (a)
13)thread and process differ in a way
a)multiple threads can use same set of registers but processes cannot
b) multiple threads can use same stack but processes cannot
c) multiple threads can share same m/m but processes cannot
d)……………

14) A question on concurrency………
a)multiprogramming environment
b) time-shared environment
c)a&b both
d)none of the above

15) A question on demand paging…………..
a)requires paging
b) requires segmantation
c) requires both
d)none of the above


There was an interview of technical and HR both.
a) Introduce urself , ur studies , ur fututre plans , want to
study more?
b) They asked me of my family bkground, their education etc.
c) There was a lot of technical qs as well -------
Favourite subject: why?
1) about pointer to a fn returning an int pointer
1) a lot abt extern variables, there scope,, restrictions ets
2) about C Preprocessor
3) protected data members , there accessing
4) diff bet C and C++
5) know Java --- ans: not much and not at all comfortable.


Hope this paper is going to help you guys.

Thanks,
all the best

<<HOME