Written Test
The written test consists of two sections each of 45 minutes duration
Section#1
This is the aptitude section consisting of 45 questions to be attempted in 45 minutes. As is in all the exams, this section is based on the MBA pattern of examination.
Section#2
his is the technical section. There is a separate paper for hardware and software. Candidates have to mention beforehand whether they want to write the software or the hardware paper.This section also carries 45 questions to be completed in 45 minutes.
Interview
There are two rounds of interviews, viz., the technical and and the HR round
Technical and Personal Round for Software Candidates
Mainly subjective questions in C, Operating Systems,DBMs, Data Structures are asked interspersed with some on the candidate's personal background.
.Typical questions in C and Data Structures
1. WAP to interchange 2 variables without using the third one
2. Explain quick sort and merge sort algorithms amn derive the time-constraint relation for these.
3. Explain binary searching, fibonacci search
4. General questions on binary trees, transversals
5. General questions on graphs and their representation.
Typical Questions on Operating Systems
1. Demand paging, page faults, replacement algos, thrashing, etc
2. Paged segmentation and segment paging
In this section, case studies are presented are presented before the candidate to percieve his reaction and his/her communication skills are tested. IBM expects teamwork and teamspirit from the candidates and their answers should reflect this attitude
Typical question is
You are a project manager of a big multinational project. There is a person X, assigned to you who has the best technical skills required for the project, even better than you. But he wishes to be the project manager ,which the management does not permit, due to which he threatens to quit. All others in the group are not as competent. Talk yourself out of this situation pretending that the interviewer is the disgruntled employee and explain the necessary action.
Aptitude section:
1. Time problem - Three persons A,B,C are waiting for Train.A has to wait for sometime twice the time b has to wait.B has to wait till 4:48 and c has to wait 4:57. What is the time now?(I'm not sure abt the question, but the answer is correct).
Ans : is 4.39
2.Problem on probability - What is the probablity of two persons among the four having birthday in he same month?
A. 75%
B. 50%
C. 33%
Ans : I dont know the answer.
3. A's salary is 25% more than B's salary.How much % is b's salary on A's salary?
Ans : It's obviously 80%.
4. A problem on boat and Streams...There is a river. A boy's house is at the river bank and his school is on the other side of the river. The distance between house and school is 1/4 miles.The boy is going to school by swimming at the rate of 2.5mph.The river's upstream is 2mph.How long will it take him to reach the
school?
Ans : 30min.
5. The diameter of a wheel is 1.26m.If this wheel rotates 500 rotations, how long it can Travel
Ans : 1.98km.
6. If the ratio of speed of a train is 5:4:6 then what is ratio of the time taken to cover same distance?
Ans : 12:15:10
7. If five buds can make a full cigarette, how many cigarettes can we make with 121 buds?
Ans : 30
8. The ratio of radii of two cylinders is 2:3 and the ratio of their heights is 5:3. If the volume of the bigger cylinder is 27,
then what is volume of the smaller one?
Ans : 20
9. If the sum of the digits of a two digit number is 9 less than the original number, then what is the 10s digit of the number?
Ans : 1
10. E N D
+ 5 G
---------
G A M E
---------
Here find the value of D?
Ans : 8
11. A squirrel problem :
Ans :
12. Some people are standing square. From them 32 are removed and then form a small square and then 8 more removed. now we cannot form the square. so how many people are there at the beginning?
Ans : 81
13. A grandpa's age is sum of his four grandsons provided that the grandsons' ages are consecutive in number. Then what is the age of the grandpa?
Ans : 78
14.If 20 men can build a wall 56m long in 6 days, then what length of a similar wall can be built by 35 men in 3 days?
Ans : 49
15. If m power n = 121, then what is the value of (m-1) power (n+1)?
Ans : 1000
16. What is the condition for a singular matrix? Ans : All values of a row are 0 and all values of a column are
0.
Note: For a matrix A, to be singular, The determinant value of that matrix should be 0,ie, |A|=0
17. At 12 noon, Both hands of a clock meet together.After how many minutes can they meet again?
Ans : 65:45min
18. The average of first 50 natural numbers?
Ans : 25.5
19. There is 20 litre solution containing 10% water and 90% spirit. How much water should be added to make the solution
containing 25% water?
Ans : 4 litres.
20. There are 20,6 and 9 rupees notes. you have to form 99 rupees with minimum number of notes.At what minimum number of notes you can achieve this?
Ans : 8
Technical:
==========
1. An attribute in a table that is related with primary key of the another table is called...
Ans : Foreign key
2. The scope of the static varaible is...
Ans : function
3. Which of the following has the function scope?
B.Static
C.Global
D.Goto label
I 1. In 1930 a man's age is the last 2 digit of the year intercganged in which he born and his granpa's age also like
the same.
2.10pow10pow10 if one takes 1 sec to write a single digit then how long will it take to write the above _expression.
3. 2 trains coming in opposite directions in 12 km/hr distance between the trains is 24 km an insect starts at the same time when the train starts at a speed of 18km/hr. How many km the insect might have travelled before it got crashed between the 2 trains.
4. less than 30 of them are there. Among those 1/3rd know french 1/4th knows english, 1/2 knows german, then 1/8 of
them donn't know any of the languages. Then find out how many are there totally.
6. what is the probability that 2 of them selected randomly have got the same month of birth?
7. in c output of one prg. Very easy
8. parity bit for what?
9. if in a graph some nodes are there ....can we tell it is bipartite.. (question on discrete)
10-14. One comprehension and 5 questions based on that.
correct pairs can be taken out?
16. YWCC is what in options they had specified for compiler...a big hats off to chetana mam and suri sir for
maintaining such a wonderful group just to serve people who are in search of job. Really thru this
group we are getting the chance to know the current openings..
-
10^10^10 how much time will it take to write this number,if it takes 1 sec to write 1 digit.
a. 1000 secs.
b. 10 year.
c. more than 1 million years.
d. a few days.
ans. more than 1 million years. -
starting from 2 upto how many numbers we need to check whether 907 is prime or not?
-
A persons age is similar to the year he was born(last two digits is counted as age).ans. 80
-
What is YACC? ans. yet another compiler compiler.
-
flop is a unit of ? ans. processing speed.
-
#define hello(x,y) printf(#expr"%d",expr);
main(){
float x=1,y=2;
expr=x/y;
hello(expr);
}
ans. x/y=1; -
time and work and days.(easy questions).
-
A&B fill 3 litres and 5 litres of oil in the Car. C pays Rs. 8/- to A7B. How much will A get?
-
A question on "set" theory.it was given that less than 30 persons in class.(Ans . cannot be determined.)
-
4 cows are there at the four corners of a square. if the radius of the rope is 1 and lenth of one side of the square is 14, find the area along the square which the cow cannot gaze.
ans. 14*14-pi*r*r; -
Two glasses were filled with 1/3 and 1/4 milk. they were filled with water &then mixed in tumbler. what is the percentage of milk in the resultant.
-
average speed 2xy/x+y.
-
A belongs to the truther tribe " who says yes". B belongs to the liers tribe " who says no always".when A&B were asked to which group do they belonged to both of them replied "yes".when a third person C was asked whether A&B belong to same group,he notified groups he answered "No".to which group do A,B and C belong? ans.LLL or LTT.
-
There were three clock they gave alarm after 24secs, 12secs and 36 secs.if they rang simulatneously at 8:20, then at what time they again rang simultaneously?(something like this but numbers may differ). ans. 8:27:12
-
A plane starts from a place A , it goes 1000 kms south then 1000km east then 1000 km north and 1000km west, what is it distance from the starting place? ans.same starting place.
-
question on Bipartite graph(definition).
-
heap-sorting algorithm time complexity.(ans nlogn)
-
white-box testing.
-
postfix evaluation of: (A+B)*C(Ans: AB+C*)
-
question on catch-throw? c++
-
main(){
main();
}
ans.stack overflow.
24.main()
{ char a,b;
printf("%d%d%d%d",sizeof('a');
sizeof(NULL),sizeof(b),sizeof(main));
}
Ans(1,1,1,2) -
Five file sizes given . what should be the order of their access so that least time is taken.
ans.least size first. -
SQL query does what?
-
5 questions on reasoning.
-
2 pipes A and B can fill a tank in 30minutes and 20 minutes respectively. B filled ¾ of the tank. Then for the rest both A and B filled the tank. How much time it took to fill the entire tank.
-
5 monkeys eat 5 bananas in 5 minutes. Then how many monkeys can eat 20 bananas in 20 minutes.
-
A does a work in 20 days. A did for 28 days. Then b came. They together take 76 days to complete the 7 job. Find howmany days B complete a work.
-
My house number is
if not multiple by 3 it is with in 50-59
if not multiple by 5 it is with in 60-69
if not multiple by 10 it is with in 70-79
find house number. -
After 6 years the ratio of age of X and Y will be 5:6. Before 6 years it was 3:4. Find the age of younger one.
-
The arithmetic mean of two numbers is 10 and the geometrid mean is 8. Find the two numbers.
-
3 consecutive non zero number which of these will result a positive odd integer.
1. x+y+z
2. xy-z
3. x-y-z -
420 km distance. It goes at a speed of 10km/hr less than it took 1.4 hour. Find the initial speed.
-
Tem, Harry and Dick are three friends. From these two are musicians.
Tem----Harry
Shorter one is older musician.
Harry----Dick
Shorter one is younger musician.
Dick-----Tem
Taller is the younger musician.
Find the two musician. -
A’s mother is only daughter of B’s mother. B is A’s what.
-
In a 20 liter mixture of milk and water, the ratio of milk and water is 3:1. How much milk is to be mixed with the mixture so as to make the ratio 4:1.
-
For a party 240 guests were invited. Contractor have gained 12.5% profit. But 30 guests were absent. He charged the same amount for a meal and lost 100 rupees. How much a meal costs.
-
Out of three A,B,C one is thief. All give two statements. One is false another is true. Find the thief.
A-i did not do, B did not do.
B-i did not do, C did not do.
C-i did not do, I donot know who did it. -
The sides of an isocles tringale are given. The perpendicular distance is given. Find the base of the tringale.(Numerical values are given, but I donot remember)
-
In a tringale length of 3 sides are given. It is given to find the highest length of scale which can be used to measure all the sides.(To find gcf).
-
There is a metallic cylinder of radius r and height h is melted. If the radius of smaller cylinder is r/10 and height is h/10, then howmany small cylinders are made from the molten.
TECHNICAL
-
What is weak typing.
-
What is pure virtual function.
-
Which is not a member of unix shell. (rbash,cbash,nbash,kbash,gbash)
-
Which is an error.
Int *p[3]
Int (*p)[3]
(Int *)(int ,int)
Int (*p[3])
Int *(p[3]) -
a[5]=={1,2,3,4,5}
printf("%d",a[3]);
printf("%d",3[a]);
printf("%d",*(a+3); -
what is the output.
if(r= =5!= =4)
printf("inside");
else
printf("outside");
printf("%d",r); -
for(i=0,j=0;i<10,j<10;i++,j+);>
-
Which is not an inter process communication.
(tee,shared memory,pipe,queue,file) -
for loop on string.
-
#define prod((a>b)?a*a:b*b)
int p==0,q==-1;
prod(p++,q++)
what is result. -
what is reference.
Some loop statements on "c" are given which are very easy.
- 7x +7x+2 is divisible atleast by:
- (x/100)+(100+x)=
- Three numbers are in G.P. Their sum is 19 and the last number is 9.Find the middle term.
- There are 15 black and 5 white balls. Find the probability of drawing 3 balls so that there is no white ball.
- How many 3 digit odd number can be formed which are divisible by 5 using the numbers from 0 to 9(without repetition).
- Radius of a fruit is equal to the diameter of the seed. Find the ratio of their volume.
- From a party 3 men are taken at random. What is the probability that the birthday of 2 men fall in same month.
- There are 100 people in an organization. If 46 people can speak English, 46 Spanish, 58 French, 16 can speak both English and Spanish, 24 can speak both Spanish and French, 26 both English and French and 7 can speak all the languages. How many are there who cannot speak any of the three languages.
- A circumcircle and incircle is drawn to a square. What is the ratio of their areas.
- Average of a couple 10 years ago was 25. The average remains same after having a child and twins after 3 years. What is the present age of the first child.
- A school is going to have 1000 students in near future. 1/4th use scooter, 1/5th use bikes and 1/9th use cycle. Find the number of students at present.
- Two trains of equal length when moving in opposite direction takes 5 sec. to cross each other completely and when moving in same direction takes 15 sec. Find the ratio of their speed.
- In a battle of tanks.60% lose their commanders, 70% lose their guns and 80% lose their tracks. Find the number of tanks that lose all.
- In a race if A beat B by 15m, A beat C by 25m and in a race between B and C, B beat C by 15m.Find the length of the tracks.
- Price of sugar decreases by Rs.2 per kg. If a man is able to buy 4 kg more for Rs.16, then what was the original price of sugar.
- 3 black cows, 4 white cows and 2 brown cows give same amount of milk as given by 4 black, 5 white and 1 black cows. Find the type of cow which gives least milk.
- If a composite number is multiplied by a composite number the result is a :
- A problem of men, work and time.
- A bird is flying between two trains approaching each other…type of problem.
- Four boys were playing a game of cards .At the end each of them had Rs.400. They lost in the reverse order of their alphabets. Five question were their.
1) I give a jcl code with
Programmer name: smith
Jobname:ABC
Jobclass=c
Message class = a
All messages are to be displaced code it in a JCL.
A) //ABC,smith,class=c,message class=a,message level=(2,1)
B) //ABC,smith,class=c,message class=a,message level =(!,1)
C) //ABC,smith,class=c,message class=a,message level=(0,1)
D) none of these.
2) for a cobol program
Move 5 to work-sd.
A statement which says that the value of work-st is 0.
perform Para1.
……………
Para1.
Add 3 to work-sd
Add 2 to work-st
If work-st <11>
go to para1.
Wat wud b the value of work-sd?
a) 15
b) 18
c) 10
d) none
3) given 2 tables T1 and T2.
T1 T2
A 1
B 2
3
u make a query
SELECT * FROM T1,T2.
Wat is the no: of rows that are fetched frm this query?
a) 4
b) 5
c) 6
d) 9
4) wat is the full form of RACF?
5) who is the database manager of db2?
a) buffer register
b) runtime suprivisor
c) DBRM
d) None
5)u have a file with DISP=SHR, when u open the file in output mode
a) the get records appended
b) the records gets overwritten
c) the job abbends
d) none of these
6) u open a file with disp= MOD, when u open the file in output mode (same options as the above question)
7) to exclude some records while sorting which parameter do we use?
a) OMIT
b) EXCLUDE
c) ….d)….
8)when u insert into db2 with cics, it works as
a) foreground
b) a job working in background
c) ..
d) …..
9)u have a dataset TIME.WORK.OCT88, u want to concatenate other datasets like TIME.WORK.JUL88, TIME.WORK.APR88, TIME.WORK.MAY88. how do u do that?
a)//DDname DD DSN = TIME.WORK.OCT88, DISP = SHR
DD DSN = TIME.WORK.JUL88, DISP = SHR
DD DSN = TIME.WORK.APR88, DISP = SHR
DD DSN = TIME.WORK.MAY88, DISP = SHR
b)//DDname DD DSN = TIME.WORK.JUL88, DISP = SHR
DD DSN = TIME.WORK.OCT88, DISP = SHR
DD DSN = TIME.WORK.APR88, DISP = SHR
DD DSN = TIME.WORK.MAY88, DISP = SHR
c)//DDname DD DSN = TIME.WORK.APR88, DISP = SHR
DD DSN = TIME.WORK.JUL88, DISP = SHR
DD DSN = TIME.WORK.MAY88, DISP = SHR
DD DSN = TIME.WORK.OCT88, DISP = SHR
e) none of these
10) when db2 entries are made while working in cics, the enteries should be made in
a) TCT
b) PCT
c) DCT
d) RCT
11) find the odd one out
a) KSDS
b) RRDS
c) LDS
d) PDS
13) question based on SKIP and COUNT parameter
-
FLOP is the unit of – I)clock speed, ii)frequency….i ii)memory, iv)processors speed.
-
main()
{
printf("hello");
main();
}
how many times it will print? -
complexity of heap sort(ans:o(nlogn).
-
what will be the o/p?
int main()
{
char a,b;
printf(“%d%d%d%d”,sizeof(‘A’), sizeof(‘NULL’), sizeof(‘a’), sizeof(main));
} -
necessity of pairty bit(ans:b).
-
>what is the o/p?
#DEFINE xyz(exr)printf(“exr=%d”,exr)
main()
{
int x=3;y=2;
xyz(x/y);
} -
simple question on graph
-
files r there of size like 26543b,2000b,4000b,1000b arrange them according to there access time
Aptitude(TOTAL25) -
unit digit of 7^173?
-
two train coming towards from dist 24 miles with speed 12 miles/hr ,a fly randomly flying beetween two trains at the speed of 18 miles/hr.how many distance covered by the fly before will collide?(30,36……)
-
what is the increase of volume of a sphere if its radius increases by 10%?
-
A man climbing in a rock at 24 km/hr and downhill 36 km/hr. determine avg speed?
-
problem on language (some percent known german,some knows French,some English)ans:24.
-
Here two same size glass one is filled 1/3 of milk and other is 1/4 milk.then the glasses filled with water and mixed,what is the percentage of milk now?
-
One is filled 1/3 of milk and other is 1/4 milk.then the glasses filled with water and mixed,what is the percentage of milk now?
-
If the time required for write one digit is one second then how many time for (10^10)^10?(ans:I) few day ii) millions of day iii) one year
-
In 1930 the age of one student is same as the last two digit of his year of birth and the case is same for his grand father also ,what is the sum of age his and his grand father?(ans:80check).
-
In 1930 the age of one student is same as the last two digit of his year of birth and the case is same for his grand father also ,what is the sum of age his and his grand father?(ans:80check).
-
blue socks:4pair,red socks:3pair,white socks:2pair,how many socks one will take for two different socks .
-
what is the probability of 2 man will be born in a same month(ans:1/12,1/6,1/24,1/2)
-
There is a square ground of side 14cm,two horses r there in two different point of the square such that they can just touch them, how much grass will not be covered by the horses.(ans:14*14-2*(1/4)*pi*(7*root2)^2).
-
A man is started his journey from point A he goes 1000km south then 1000km east ,1000km north,then 1000km west.where is he now.(ans:I)at point A ii)1000km east from Aiii)….iv)….
1. The operator which is not left assosciative is
+ - , = % Ans : =
2. Gaussian analysis of lexican og N
N N^2 Nlog2N N^2log2N
3. The files having the records of 10, 15, 20, 5, 15 to be merged to a single file.How many times the file access should be performed.
Ans : 25
3. Software configuration really means that
a. Identifying & config. S/W for devlmnt.
b. “ “ ‘ H/W “
c. “ “ “ H/w&S/W “
d. …..
4. Paging
Dividing mem. And prog. Into blocks of equal sizes
Mem. Swapping of prog. b/W core & harddisk
Multiprogram switching b/w core & hard disk
Processsor time
None
5. void main()
{ printf(“%u “,main);
}
6. int polygon l,b;
polygon=(l==b)?1:0;
7. printf(“%x”,-1<<4);
8. Real time system
Crash analysis of a bridge
Automobile design software
Robotics in controlling m/c
Credit card system
Aircraft reservation system
9. Sorting of very large array is done by
Ans : Storing in linked list & sorting them
10. Dividing of modules is meant for
Ans : For testing purpose
11. char const *p=”Hello”;
char *const s=”Hello”;
1). p[0]=”M” 2)s=”Bye” 3).s[0]=”m” 4)p=”Bye”
Out of which will work properly
12. Which of the following will not interrupt the process
a. Ans : ctrl+cc
13. Which software model is efficient one.
Ans: Water fall model (not sure)
14. binary(0.4375) ?
15. The value of root node is greater than that of leaf is in
Ans :(not sure) tree
16. Data Integrity means ?
17. Which of the scheduling alg. Is having highest throughput
Ans : Shortest job first
18. Faster memory is Ans : cache
-
what does vector processing do?
-
What is the use of software configuration management?
-
what command is used to append two files using who that is listed by ls
-
If there is a problem in a network during transmission which is used to detect that?
a. protocol anaylzer, b. SNMP.... -
In C, x-=y+1 how will u represent it..
a. x=x+y+1, b.-x-y-1, c.-x+y+1... -
What does Trigger do?
-
In which topology we use less amount of cables.
ring, bus, star, mesh.... -
Which sorting techniques is best for already sorted array...?.
ans: bubble sort -
Which is said to be a realtime system.?
1. Credit systen
2 online flight reservation system
3 bridge control systen...not sure -
decimal to octal conversion problem? ans A
-
A person having a/c number, a/c name bank name, a/c type.. which is the primary among the above?
-
why data integrity is used?
-
If a primary key is an attribute of another one table means........
1 candidate key
2 foreign kryey
3 seconda -
int (*a)[4]. Explain this expression
-
Difference between 0123 and 123 in c
ans : 40 -
In c r+ is used for
1 read only
2 writing only
3 both 1 and 2 -
parity bit for what?
-
YWCC is what in options they had specified for compiler..
Aptitude
-
which 3 consequtive prime numbers gives the total
ans: 49 (13,17,19) -
Rational numbers between 1 and 5
1. 3
2. 2
3. 0 -
If boat Travels in 10km/hr in still water. it travels 14kmhr in upstream and 26km/hr downstream what is speed of stream?
-
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 -
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 -
If person 20 min at 12 kmph. then how many Kmph in 15 minutes
Ans.16 -
Three person shared bullets equally. 4 were shot total no of bullets remainin is equal to the no of bullets initially divided
ans : 18 -
1st day of the year 1999 is sunday and what will be last day of the same year
ans sunday -
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.
-
If a ball is dropped from 8ft and it bounces half the height each time. Then the total distance travelled
ans.24 -
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 -
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 -
In 1930 a man's age is the last 2 digit of the year intercganged in which he born and his granpa's age also like the same.
-
10pow10pow10 if one takes 1 sec to write a single digit then how long will it take to write the above _expression.
-
2 trains coming in opposite directions in 12 km/hr distance between the trains is 24 km. an insect starts at the same time when the train starts at a speed of 18km/hr. How many km the insect might have travelled before it got crashed between the 2 trains.
-
Less than 30 of them are there. Among those 1/3rd know french 1/4th knows english, 1/2 knows german, then 1/8 of them donn't know any of the languages. Then find out how many are there totally.
-
what is the probability that 2 of them selected randomly have got the same month of birth?
-
int i=10;
printf("%d%d%d",i,i++,++i);
ans: compiler dependent -
printf("Enter two values a and b:"):
scanf("%d%d",a,b);
printf("%d+%d=%d",a,b,a+b);
ans:core dumped -
uestion on WM_SIZE
ans:WM_SIZE -
when destroy window what message would disply
ans:WM_DESTROY -
S Windows 3.1 about multitasking
ans:nonpreemptive -
windows 3.1 is
ans:application -
about switch switch statement
ans:16,21 -
question paper the first question ans is
ans:can't be compiled -
about send messeges and post messages
ans: c -
what is the command to intiate the windows
ans:WinMain -
const char *
char * const
What is the differnce between the above tow?. -
In Unix inter process communication take place using?.
-
What are the files in /etc directory?.
-
About i-node numbers
-
Max relaxable permisssion value with out giving write permission to others?
-
About ln(linking)
-
A question on until
until (who |grep mary)
do
sleep(60)
done -
Linking across directories?.
-
process id for kernell process
-
very first process created by kernell
-
function to repaint a window immediately?.
-
Function entry for DLL in win3.1
-
win 3.1 supports which type of multi tasking?.
-
Message displayed when a window is destroyed
-
About fork()?
-
About send message and post message
-
Message to limit the size of window
-
System call executable binary file intoa process
-
About GDI object?.
-
API used to hide window
-
Initialize contents of a dialog?.
1. The operator which is not left assosciative is
+ - , = % Ans : =
2. Gaussian analysis of lexican og N
N N^2 Nlog2N N^2log2N
3. The files having the records of 10, 15, 20, 5, 15 to be merged to a single file.How many times the file access should be performed.
Ans : 25
3. Software configuration really means that
a. Identifying & config. S/W for devlmnt.
b. “ “ ‘ H/W “
c. “ “ “ H/w&S/W “
d. …..
4. Paging
Dividing mem. And prog. Into blocks of equal sizes
Mem. Swapping of prog. b/W core & harddisk
Multiprogram switching b/w core & hard disk
Processsor time
None
5. void main()
{ printf(“%u “,main);
}
6. int polygon l,b;
polygon=(l==b)?1:0;
7. printf(“%x”,-1<<4);
8. Real time system
Crash analysis of a bridge
Automobile design software
Robotics in controlling m/c
Credit card system
Aircraft reservation system
9. Sorting of very large array is done by
Ans : Storing in linked list & sorting them
10. Dividing of modules is meant for
Ans : For testing purpose
11. char const *p=”Hello”;
char *const s=”Hello”;
1). p[0]=”M” 2)s=”Bye” 3).s[0]=”m” 4)p=”Bye”
Out of which will work properly
12. Which of the following will not interrupt the process
a. Ans : ctrl+cc
13. Which software model is efficient one.
Ans: Water fall model (not sure)
14. binary(0.4375) ?
15. The value of root node is greater than that of leaf is in
Ans :(not sure) tree
16. Data Integrity means ?
17. Which of the scheduling alg. Is having highest throughput
Ans : Shortest job first
18. Faster memory is Ans : cache
IBM question paper
the written test had 40 questions to be answered in 1hr..
20 q -aptitude (rs agarwal)
20 q technical -OS,DBMS,CCN,C concepts...
some of the questions were as follows:
1)speed of boat in still water is 10kmph..if it travels 24km
downstream,16km upstream in the same
amount of time,what is the speed of the stream?
(a)3kmph
(b)3.5kmph
(c)2kmph
(d)...
2)a cube of 3 units is painted on all sides.If this cube is divided
into cubes of 1 unit,how many cube
have none of their faces painted?
(a)...
(b)2
(c)1
(d)0
(e)none of these
3)if a person sells a product for rs141/- he suffers a loss of 6%.if he
has to have a profit of 10%,
at what price should he sell it?
(a)
(b)rs.175
(c)..
(d)rs.165
ans.rs.165
4)a ball falls from a height of 8ft ,bounces back to half the distance
&
continues till it comes to rest.
what is the total distance travelled by the ball?
(a)24ft
(b)...
(c)infinite
(d)cannot be determined
5)which of the following is the sum of 3 consecutive prime nos?
(a)49
(b)59
(c)both a &b
(d)....
6)if the area of a square has increased by 60%,by what % has its side
increased?
technical:
7)A trigger is
(a) a statement ..start of database..
(b)statements that r executed as a side effect to the modification to
the database
(c)...
(d)...
ans (b)
8)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
9)best method to find out whether a given array already sorted,is
sorted or not in min. time
ans. bubble sort
10)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
11)which of the following is a real time system?
(a)robotics control
(b)airline ticket reservation(ans)
(c)
(d)...
12)a question to convert a big no in decimal to octal(check only for
the last 2 nos in ans is sufficient)
13)which of the following is an example of a spooling device?
(a)..
(b)line printer..
(c)
(d)
(e)...
14)what is the difference between 123 and 0123 in c?
(a)120
(b)40
(c)0
(d)...
ans:40
15) Software Configuration Management process is -
(a)developing & managing software for .....software....
(b)developing & managing hardware for....software.......
(c)...
(d)..
i have given 15 questions out of 40 q's ...hope it will be useful 2 u...
they didnt select any ec people 4 interview..:(only CS,IS...
that's all from my side..
bye
all the best
Technical paper
1>FLOP is the unit of –I)clock speed,ii)frequency….iii)memory,iv)processors speed.
2>main()
{printf("hello");
main();
}
how many times it will print?
3>complexity of heap sort(ans:o(nlogn).
4>what will be the o/p?
int main()
{
char a,b;
printf(“%d%d%d%d”,sizeof(‘A’), sizeof(‘NULL’), sizeof(‘a’), sizeof(main));
}
5>necessity of pairty bit(ans:b).
6>what is the o/p?
#DEFINE xyz(exr)printf(“exr=%d”,exr)
main()
{
int x=3;y=2;
xyz(x/y);
}
7>simple question on graph….
8> simple question on sql
9>files r there of size like 26543b,2000b,4000b,1000b
arrange them according to there access time.
,
Aptitude(TOTAL25)
1>>unit digit of 7^173?
2>two train coming towards from dist 24 miles with speed 12 miles/hr ,a fly randomly flying beetween two trains at the speed of 18 miles/hr.how many distance covered by the fly before will collide?(30,36……)
3>what is the increase of volume of a sphere if its radius increases by 10%?
4>a man climbing in a rock at 24 km/hr and downhill 36 km/hr.determine avg spped?
6>question no:(21-25,paragraph)
order will be (intelligent,weak,fat,tall,fair).there r some question.
7>a man scores 87 run in 17TH test and average incr by 3 runs .what is the total avg now?(39).
8>roblem on language(some percent known german,some knows French,some English)ans:24.
9>here two same size glass one is filled 1/3 of milk and other is 1/4 milk.then the glasses filled with water and mixed,what is the percentage of milk now?
10>if the time required for write one digit is one second then how many time for (10^10)^10?(ans:I)few day ii)millions of dayiii)one year iv)……..)
11> in 1930 the age of one student is same as the last two digit of his year of birth and the case is same for his grand father also ,what is the sum of age his and his grand father?(ans:80check).
12>blue socks:4pair,red socks:3pair,white socks:2pair,how many socks one will take for two different socks .
13>what is the probability of 2 man will be born in a same month(ans:1/12,1/6,1/24,1/2)
14>there is a square ground of side 14cm,two horses r there in two different point of the square such that they can just touch them, how much grass will not be covered by the horses.(ans:14*14-2*(1/4)*pi*(7*root2)^2).
15>a man is started his journey from point A he goes 1000km south then 1000km east ,1000km north,then 1000km west.where is he now.(ans:I)at point A ii)1000km east from Aiii)….iv)….
This is IBM
1. In 1978, a kg of paper was sold at Rs25/-.
If the paper rate increases at 1.5% more than the inflation
rate which is 6.5% a year,
then what wil be the cost of a kg of paper after 2 years?
(a) 29.12
(b) 29.72
(c) 30.12
(d) 32.65
(e) none of these
2. In A,B,C are having some marbles with each of them.
A has given B and C the same number of marbles each of them
already have.
Then, B gave C and A the same number of marbles they already
have.
Then C gave A and B the same number of marbles they already
have.
At the end A,B,and C have equal number of marbles.
(i) If x,y,z are the marbles initially with A,B,C respectively.
Then the number of marbles B have at the end
(a) 2(x-y-z)
(b) 4(x-y-z)
(c) 2(3y-x-z)
(d) x + y-z
Ans. (c)
(ii) If the total number of marbles are 72, then the number of
marbles with A at the starting
(a) 20
(b) 30
(c) 32
(d) 39
Ans. (d)
3. If a car starts from A towards B with some velocity.
Due to some problem in the engine after travelling 30km, the
car goes with 4/5 th of its actual velocity
The car reaches B 45 min later to the actual time.
If the car engine fails ofter travelling 45km, the car
reaches the destination B 36min late to the actual time
What is the initial velocity of car and what is the distance
between A and B in km
Ans. 20 & 130.
4. A person has Rs 100/- in his pocket, he can as 25 pencils or 15
books.
He kept 15% of the money for travelling expenses and
purchased 5 pencils.
So how many books he can purchase with the remaining money.
5. Ten questions on analogies.
eg: chief : tribe :: governer : state
epaulette : shoulder :: tiara : head
guttural : throat :: gastric : stomach
inept : clever :: languid : active
knife : butcher ::
hammer : carpenter ::
6. The values of shares (in Rs).of A, B and C from January to June
are as follows.
Month A B C
February 35 65 85
March 45 75 65
April 40 75 82
May 55 75 85
June 50 75 80
i) During this period which share has undergone maximium
fluctuation?
ii) In which month it is possible to buy B and C selling A?
iii) In which month the share values are very low?
iv) By purchasing one share of A and 4 each of B and C in the
beginning of the period,
when shoudl these be sold to get maximum profit?
7. In a computer institute 9 languages can be taught.
The module is of 6 months duration and of the six languages
only one can be taught each month .
In addition to that BASIC is always taught and should be in
first month itself
WORD PERFECT is to be taught in the preceeding week of WORD
STAR.
FORTRAN can not be taught until COBAL is taught prior to that
BINO, FIFO can never be taught in single module
languages are BASIC, WORD STAR, WORD PERFECT, FORTRAN, COBAL,
BINO, FIFO, LOTUS, C
i) If word star is in 3rd month , what could be in 6th month.
ii) If COBAL is in the 2nd month and BINO in 6th month. FORTRAN
will be taught in which month.
8. In a class, except 18 all are above 50 years.
15 are below 50 years of age. How many people are there
(a) 30
(b) 33
(c) 36
(d) none of these.
Ans. (d)
9. A square plate of some size is cut at four corners. Equal
squares of the same size are cut and is formed as open box.
If this open box carries 128 ml of oil. What is the size of
the side of the plate?
(a) 17
(b) 14
(c) 13
(d) None of these
10. In a square, all the mid points are joined. The inner square
is shaded.
If the area of the square is A, what is the area of the
shaded area?
11. Two questions on basic angles i.e given a circle, a few chords
or diameter is drawn etc.
12. If the follwoing statements are given
@(a,b)= (a+b)/2
/(a,b)= a/b
*(a,b)= ab
If a=1, b=2 then find
i) /(a,(@(a,b),*(a,b)))
ii) */(a,@(*(a,b)))
13. If the follwoing statements are given
(x#y) = x + y- xy
(x*y) = (x + y)/2
i) Find the values of x, y will satisfy this equation (x#y)#(x*y)
< (x#y)
ii) Find the values of x, y will satisfy this equation
(a*b)#(b*c)< (a#b)*(b*c)
14. Export PS1 results in(PS1 pwd)
a) primary prompt being your current directory
b) primary prompt and secondary prompts being the current
directory
c) primary prompt prompt being your home directory
d) primary prompt and secondary prompts being the home directory
e) None of the above.
15. If you type in the command
nohup sort employees > list 2 > error out &
and log off ,the next time you log in, the output will be
a) in a file called list and the error will de typed in a file
error out
b) there will be no file called list or error out
c) error will be logged in a file called list and o/p will be in
error out
d) you will not be allowed to log in
e) none of the above
16. In UNIX a files i-node ......?
Ans. Is a data structure that defines all specifications of a file
like the file size,
number of lines to a file, permissions etc.
17. The UNIX shell ....
a) does not come with the rest of the system
b) forms the interface between the user and the kernal
c) does not give any scope for programming
d) deos not allow calling one program from with in another
e) all of the above
Ans. (b)
18. enum number { a= -1, b= 4,c,d,e}
What is the value of e ?
(a) 7
(b) 4
(c) 5
(d) 15
(e) 3
19. The very first process created by the kernal that runs till
the kernal process is halts is
a) init
b) getty
c) both (a) and (b)
d) none of these
Ans. (a)
20. Output of the following program is
main()
{int i=0;
for(i=0;i<20;i++)
{switch(i)
case 0:i+=5;
case 1:i+=2;
case 5:i+=5;
default i+=4;
break;}
printf("%d,",i);
}
}
a) 0,5,9,13,17
b) 5,9,13,17
c) 12,17,22
d) 16,21
e) Syntax error
Ans. (d)
21. What is the ouptut in the following program
main()
{char c=-64;
int i=-32
unsigned int u =-16;
if(c>i)
{printf("pass1,");
if(cprintf("pass2");
else
printf("Fail2");
}
else
printf("Fail1);
if(iprintf("pass2");
else
printf("Fail2")
}
a) Pass1,Pass2
b) Pass1,Fail2
c) Fail1,Pass2
d) Fail1,Fail2
e) None of these
Ans. (c)
22. In the process table entry for the kernel process, the process
id value is
(a) 0
(b) 1
(c) 2
(d) 255
(e) it does not have a process table entry
Ans. (a)
23. Which of the following API is used to hide a window
a) ShowWindow
b) EnableWindow
c) MoveWindow
d) SetWindowPlacement
e) None of the above
Ans. (a)
24. What will the following program do?
void main()
{
int i;
char a[]="String";
char *p="New Sring";
char *Temp;
Temp=a;
a=malloc(strlen(p) + 1);
strcpy(a,p); //Line number:9//
p = malloc(strlen(Temp) + 1);
strcpy(p,Temp);
printf("(%s, %s)",a,p);
free(p);
free(a);
} //Line number 15//
a) Swap contents of p & a and print:(New string, string)
b) Generate compilation error in line number 8
c) Generate compilation error in line number 5
d) Generate compilation error in line number 7
e) Generate compilation error in line number 1
Ans. (b)
25. In the following code segment what will be the result of the
function,
value of x , value of y
{unsigned int x=-1;
int y;
y = ~0;
if(x == y)
printf("same");
else
printf("not same");
}
a) same, MAXINT, -1
b) not same, MAXINT, -MAXINT
c) same , MAXUNIT, -1
d) same, MAXUNIT, MAXUNIT
e) not same, MAXINT, MAXUNIT
Ans. (a)
26. PATH = /bin : /usr : /yourhome
The file /bin/calender has the following line in it
cal 10 1997
The file /yourhome/calender has the following line in it
cal 5 1997
If the current directory is /yourhome and calender is executed
a) The calendar for May 1997 will be printed on screen
b) The calendar for Oct 1997 will be printed on screen
c) The calendar for the current month( whatever it is) will be
printed
d) Nothing will get printed on screen
e) An error massage will be printed
27. What will be the result of the following program ?
char *gxxx()
{static char xxx[1024];
return xxx;
}
main()
{char *g="string";
strcpy(gxxx(),g);
g = gxxx();
strcpy(g,"oldstring");
printf("The string is : %s",gxxx());
}
a) The string is : string
b) The string is :Oldstring
c) Run time error/Core dump
d) Syntax error during compilation
e) None of these
Ans. (b)
28. What will be result of the following program?
void myalloc(char *x, int n)
{x= (char *)malloc(n*sizeof(char));
memset(x,\0,n*sizeof(char));
}
main()
{char *g="String";
myalloc(g,20);
strcpy(g,"Oldstring");
printf("The string is %s",g);
}
a) The string is : String
b) Run time error/Core dump
c) The string is : Oldstring
d) Syntax error during compilation
e) None of these
29. Which of the following function is used to repaint a window
immediately
a) Sendmessage(hWnd,WM_PAINt,......)
b) InvalidateRect(.......)
c) MoveWindow
d) WM_COPY
e) None
30. Which function is the entry point for a DLL in MS Windows
3.1
a) Main
b) Winmain
c) Dllmain
d) Libmain
e) None
Ans. (b)
31. The standard source for standard input, standard output and
standard error is
a) the terminal
b) /dev/null
c) /usr/you/input, /usr/you/output/, /usr/you/error respectively
d) None
Ans. (a)
32. What will be the result of the following program?
main()
{char p[]="String";
int x=0;
if(p=="String")
{printf("Pass 1");
if(p[sizeof(p)-2]=='g')
printf("Pass 2");
else
printf("Fail 2");
}
else
{
printf("Fail 1");
if(p[sizeof(p)-2]=='g')
printf("Pass 2");
else
printf("Fail 2");
}
}
a) Pass 1, Pass 2
b) Fail 1, Fail 2
c) Pass 1, Fail 2
d) Fail 1, Pass 2
e) syntax error during compilation
33. Which of the choices is true for the mentioned declaration ?
const char *p;
and
char * const p;
a) You can't change the character in both
b) First : You can't change the characterr & Second : You can;t
change the pointer
c) You can't change the pointer in both
d) First : You can't change the pointer & Second : You can't
chanage the character
e) None
34. The redirection operators > and >>
a) do the same function
b) differ : > overwrites, while >> appends
c) differ : > is used for input while >> is used for output
d) differ : > write to any file while >> write only to standard
output
e) None of these
Ans. (b)
-----------------------------------------
------------------------
IBM Latest paper
There are 2 sections Aptitude andtechnical .
Each Comprises of 20 qs
Aptiutude:
1)two clocks meet at 12.Next time they meet again after
Ans 65.45
This is INFY
------------------------------------------------------------------------------------------------
(PAPER) INFOSYS QUESTIONS - 24 - AUG- 2003. : Answers
Hi all,
This is Pushp. I also attended the Infosys written test
on 24th august 2003.
I am sending Answers of paper. as per my
knowledge all are correct but if i am wrong anywhere
plz correct me.
> Totally 9 Questions. - 50 marks.
>
> 1) There is a five digit number.
> The fifth digit is one fourth of the third digit and
> one half of the fourth digit. Third digit is one half
of the
first digit.
> second digit is 5 more than the fifth digit.
> What is that 5 digit no.?
>
Ans. 86421
> 2) There are three associates and they have some money
in a room.
> But no one is believing others alone. so,
> a) No one should be able to open the room alone.
> b) When any 2 persons are combined they should be
able to open
the room.
> What is the minimun no. of locks & keys required.?
(5M)
>
Ans. 3 Locks and 2 keys of Each Lock ( 6Keys)
Explanation:
Let Three person is x,y,z And Lock are A B C then
x have key of A and B
y have B and C
z have C and A
> 3) A simple racing prob. like Samantha beat Jim. Jack
lost to
Jim. John was not last.
> And the prob goes like this... (simple)
>
Ans. samantha
> 4) A boy goes to school from his house.on one fourth
oh his way to
school, he crosses a
> machinery station. And on one third of his way to
school, he
crosses a Railway station.
> He crossed the machinery station at
crosses the
Railway station at
> when does he leave the house & when does he reach the
school ?
(5M)
>
Ans.
Starting Time
and arrival at School
> 5) An Eraser,Pencil,Notebook together costs $1.00.
Notebook costs
more than the cost of
> 2 Pencils. 3 Pencil costs more than 4 Erasers. 3
Erasers costs
more than a Notebook.
> How much does a pencil costs? (5M)
>
Ans.
Pencil $0.26, Eraser 0.19, Notebook 0.55
> 6) I can't remember the prob. fully. (* Check this in
previous
questions. Its there!)
> Old Problem with three inhabitants of three castes.
Abhor,Magar &
Dravid. (8M)
> 1) Abhor women cannot marry Dravid man.
> 2) Dravid women cannot marry Magar man.
> 3) Male child gets the father's caste and female
child gets the
mother's caste.
> 4) all other marriages are allowed.
> 5) ...
>
> 4 questions related with this...each of 2 marks...
like...
>
> 1) A magar man can have ...
> a) a dravid grandmother.
> b) a abhor mother.
> c)....
>
> 7) Series...
>
> a) 3,6,13,26,33,66, ?
Ans. 73, 146 .....
Explanation 3*2 = 6 6+7 = 13
13*2 = 26 26+7 = 33
33*2 = 66
> b) 364, 361, 19, 16, 4, 1, ?
>
Ans 1, -2
Exp: 364 - 3 = 361 sqrt(361) = 19
19 -3 = 16 sqrt(16) = 4
4 - 3 = 1
> 8) A large cube is painted on all sides with Red
color. It is then
cut into 27 small cubes.
> How many sides of the cube will have...
> a) 3 red faces. Ans. 8
> b) 2 red faces. Ans 12
> c) 1 red face. Ans 6
> d) No red faces. (8M) Ans 1
>
> 9) Four persons A,B,C,D were there. All were of
different weights.
All Four gave a
> statement.Among the four statements only the person
who is
lightest in weight of all
> others gave a true statement.
>
> A Says : B is heavier than D.
> B Says : A is heavier than C.
> C Says : I am heavier than D.
> D Says : C is heavier than B.
>
> Find the lightest & List the persons in ascending
order according
to their weights. (5M)
>
>
Ans: A speaks true and others speek false
so order is A,C,D,B( heaviest)
No comments:
Post a Comment