Saturday, February 23, 2008

IBM Latyest Interview Papers Placement Papers

21)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

22)best method to find out whether a given array already sorted,is sorted or not in min. time
ans. insertion sort (check)

23)a primary key in one table also present in some other table is called
(a)foreign key
(b)secondary key
(c)subordinate key
(d)...
ans. foreign key

24)which of the following is a real time system?
(a)robotics control
(b)airline ticket reservation(ans)
(c)
(d)...

25)a question to convert a big no in decimal to octal(check only for the last 2 nos in ans is sufficient)

26)which of the following is an example of a spooling device?
(a)..
(b)line printer..
(c)
(d)
(e)...

27)if in a table:account no,account holders name,account type ,.....(something else was given)are the
fields,which of them could be the primary key?
(a)account no(ans)
(b)account holders name
(c)account type
(d)..

28)if a file is opened in "r+" mode(in C),it means
(a) write
(b)read
(c)...
(d).....

29)what is the difference between 123 and 0123 in c?
(a)120
(b)40
(c)0
(d)...
ans:40

30) Software Configuration Management process is -
(a)developing & managing software for .....software....
(b)developing & managing hardware for....software.......
(c)...
(d)..

31) Data Integrity constraint is
(a)to ensure the presence of primary key
(b)...
(c)...
(d)...

32)which of the following uses the minimum length of cable?
(a)ring
(b)star
(c)mesh
(d)bus
(e)all of the above

33)how can u append the ls and who to certain existing file (like 
that)(i.e.listing & output of who is to be directed to a file
(a)ls;who>filename
(b)ls;who>>filename
(c)(ls;who)>>filename
(d)who;ls(e)...

34)suppose u have a network .users complain of slow ....u suspect a problem in network adapter
once u find that the data is continuous and erroneous.what device do u use?
(a)volt-ohmmeter
(b)SNMP
(c)protocol... checking
(d)all of the above

35)What is vector processing?

36)x-=y+1 is equivalent to what?
(a)x=x-y+1
(b)...
(c)x=x-y-1
(d)...
ans:(c)

37) in a student form what is the relationship b/w
student and course
(a)one to one
(b)many to one
(c)one to many
(d)many to many

38)ROM is 
(a)volatile 
(b)permanent & fast
(c)device containig boot up program & is not accessible 
(d)...


Technical

1. what does vector processing do?

2. What is the use of software configuration management?


3. what command is used to append two files using who that is listed by ls;


4. if there is a problem in a network during transmission which is used to detect that?
a.protocol anaylzer, b. SNMP....

5. In C, x-=y+1 how will u represent it..
a.x=x+y+1,b.-x-y-1,c.-x+y+1....

6. What does Trigger do?
3rd option

7. In which topology we use less amount of cables.
ring, bus, star,mesh.....


8. Which sorting techniques is best for already sorted array...?.
ans: bubble sort


9. Which is said to be a realtime system.?
1. credit card systen
2 online flight reservation system
3 bridge control systen...not sure

10. decimal to octal conversion problem?ans A

11. A person having a/c number, a/c name,bank name, a/c type.. which is the primary among the above?

12. why data integrity is used?

13. if a primary key is an attribute of another one table means........
1 candidate key
2 foreign kryey
3 seconda
4.....


14. int (*a)[4]. Explain this expression

15. Difference between 0123 and 123 in c
ans : 40

16, in c r+ is used for 
1 read only
2 writing only
3 both 1 and 2


Apptitude

1. which 3 consequtive prime numbers gives the total
ans: 49 (13,17,19)

2. Rational numbers between 1 and 5
1. 3
2. 2
3. 0
4.infinite (ans)
5.finite.

3.If boat travels in 10km/hr in still water. it travels 14kmhr in upstream and 26km/hr downstream what is speed of stream?

4. .A cube of 3 unit has 6 surface is painted.If u cut the cube of 1 unit each how many cubes remain unpainted on all sides.
ans.1



5 one questions in profit and loss
a person sold an article at Rs.141 at 6% loss,to gain a profit of 10% at what price the article should be sold.
165

6. If person 20 min at 12 kmph. then how many Kmph in 15 minutes
Ans.16

7. Three person shared bullets equally. 4 were shot total no of bullets remainin is equal to the no of bullets initially divided
ans : 18

8.1st day of the year 1999 is sunday and what will be last day of the same year
ans sunday

9. 4 thieves entere a bakery and stoled bread one after the other.Each one took half of the total number of breads+half a loaf.If 3 breads were remaining what is the total number of breads.

10. If a ball is dropped from 8ft and it bounces half the height each time. Then the total distance travelled
ans.24

11. 6 squares of equal size are placed side by side to form a rectangle whose perimeter is 182. find the perimeter of the single square.
ans 52

12.the average age of students in a class is 16.when a teacher of age 40 is added , the average becoems 17. what is the total number of students
ans.23