Tuesday, December 9, 2008

INFOSYS APTITUDE QUESTIONS - 4

1)The age of the grand lady is between 50-70 where each of her son has as many sons as many brothers he has. The grand lady's age is equal to the number of sons and grand sons. What is the age of the grand lady.
Ans: 64 years

2) Four persons A, B, C and D are playing cards. Each person has one card, laid down on the table below him, which has two different colours on either side. There are 2 red, 2green and 2 blue. The colours visible on the table are Red, Green, Red and Blue. They see the color on the reverse side and give the following comment.

A: Yellow or Green
B: Neither Blue nor Green
C: Blue or Yellow
D: Blue or Yellow

Given that out of the 4 people 2 always lie find out the colours on the cards each person.

3) what is the 5 digit number which has only 2 prime numbers in it and satisfies the following condition.
a>3rd digit is the largest
b>2nd digit is the smallest
c>1st digit is one less than the 3rd digit and greater than the addition of 4th and 5th digit.
d>5th digit is between the 1st and 2nd digit and half of the 4th digit.
1 is not considered as the prime number.

Ans: 71842


4> What is the value of X,Y and Z?
X X X X
Y Y Y Y
Z Z Z Z
-----------
Y X X X Z
-------------
Ans: X=9, Y=1, Z=8


5)40 cows graze a pasture in 40 days,30 cows graze the same pasture in 60 days. how many days does 20 cows take to graze it.
Ans:80 days (check it)


6) A person from washington came to india. One evening at 6.00 p m he started walking at the speed of 40 km/hr and climbed the slope at speed of 30 km/hr. From there he walked back to the source at the same speed at 9.00 p m. what is the distance he covered in one way.
Ans: 12 kms


7) A c-pole of 200 ft is 250 ft from the d-pole which is 150 ft high.. Two pigeons are sitting at the top of each poles (one in one pole)
Both pigeon fly towards a grain which is present between the 2 poles at the same speed. What is the distance between the c-pole and the grain?


8) A 1 Km wire is connected between N poles. if 1 pole is removed the distance between the pole increases by 2/3 of the original distance. How many poles are there ?


9)A question on languages. Something like... Four people are there among them they know languages like French, Italian, German, English. Each of them knows two languages exactly. no body knows French and German together.

INFOSYS APTITUDE QUESTIONS - 3

1. There is a circle race going on. One of them says,”1/3 of those in front of me and ¾ of those behind me, give the total number of children in the race”. Then the number of children took part in the race?
Ans : 13

2. In an Island the natives lie and visitors speak truth. A man wants to whether a salesman beside him in a bar is a native or visitor. He asked him to ask a woman beside him whether she is a native or visitor. He replied that she says “she is a visitor”. Whether the salesman is a native or visitor?
Ans : Visitor

3.A man fixed an appointment to meet Mr.X, X asked him to meet two days after the day before the day after tomorrow. Today is Friday. Whats the appointed day. Ans: Monday

4. A jewel problem, with some conditions and it is quite easy to solve.

5.A man said he spent 1/6 of his as a child, 1/12 as salesman in a liquor shop, 1/7 and 5 years as a politician and a good husband respectively. At that time Jim was born. Jim was elected as Alderman four years back. when he was half of his age. What is his age.
Ans: 84 ( It is same as diaphantus problem given in shakuntala devi -2 part)

6.Jack,Dough and Ann, 3 children had a race when returning from school. Ann takes 28 steps when Droug takes 24 steps, meantime Jack takes 21 steps. Jack explained that his 6 steps equals Droug’s 7 steps and Ann’s 8 steps. Who won the race? Ans: Dough

7. Every day a cyclist meets a car at the station. The road is straight and both are traveling in the same direction. The cyclist travels with a speed of 12 mph. One day the cyclist comes late by 20 min. and meets the car 5miles before the Station. What is the speed of the car? Ans: 60 mph

8. A problem of persons and profession. 4 persons were there- Jack, Clove, Smith, Morgan. Some conditions were there. I do’t remember, but I remember the answer. Ans: Clove : Druggist
Jones: Grocer
Morgan : Butcher
Smith : Policeman

9.A lady goes for shopping. She bought some shoestrings. 4 times the number of shoestrings, she bought pins and 8 times, handkerchiefs. She paid each item with their count as each piece’s cost. She totally spent Rs. 3.24. How many handkerchiefs did she buy? Ans : 16

10. Complete the series :
a) 3,6,13,26,33,66,____
b) 364,361,19,16,4,1,___
Ans : a) 73
b) 1
===========

INFOSYS APTITUDE QUESTIONS - 2

1. There is a merry-go-round race going on. One person says,"1/3 of those in front of me and 3/4 of those behind me, give the total number of children in the race". Then the number of children took part in the race? (repeated from previous papers)
Ans : 13
[ Assume there are x participants in the race.In a round race,no: of participants in front of a person wil b x-1 an that behind him wil b
x-1. i.e, 1/3(x-1) + 3/4(x-1) = x ; solving x = 13 ]


2. In an Island the natives lie and visitors speak truth. A man wants to know whether a salesman beside him in a bar is a native or visitor. He asked him to ask a woman beside him whether she is a native or visitor. He replied "she says she is a visitor". Then he knew that the salesman is a native or visitor. salesman is in which category , native or visitor?
Ans : Native (not sure) [ Draw table and see ]

3.A man fixed an appointment to meet the manager, Manager asked him to come two days after the day before the day after tomorrow. Today is Friday. When will the manager expect him? (repeated from previous papers)
Ans: Monday [Don't confuse it with Tuesday.the correct answer is Monday]

4. A jem merchant wants to exhibit his 7 precious jewels in an exhibition, Amethist, Diamond, Ruby, Opel ,G, Sapphire and Emarald.He shows either through the left window or through the right window.At a time he shows only 3 out of his 7 jewels he had.
some conditions where given like
(i) A should be shown only through the left window.
(ii) D should be shown only through the right window
(iii) E and S ahould be shown together
(iv) R should not be shown though the same window as O or G
(v) Some more conditions...I 4got the remaining..
4 questions where asked on this and 4 options where given like..
[A] Which among the following sets are possibly shown through the left window?
4 options like {a} A,D,G {b} D,O,R {c} A,G,R {d} A,S,E
[B] Which of the following should be shown through the right window if E is shown through the right window?
4 options..
[C] and [D] questions where also there. 8 marks
It was an easy question. (repeated from previous papers)

5.A man said he spent 1/6 of his as a child, 1/12 as salesman in a liquor shop, 1/7 and 5 years as a politician and a good husband respectively. At that time Jim was born. Jim was elected as Alderman four years back.when he was half of his age. What is his age?
(repeated from previous papers) Ans: 84 years
[Assume that he lived x years.
X/6 + x/12 + x/7 + 5 + 4 + x/2 = x. Solving x= 84, Same as Question in Shakundala Devi book]

6.Jack,Doug and Ann, 3 children had a running race while returning from school.Mom asked who won the race.Then Jack replied" I wont tell u.I wil give u a clue,When Ann takes 28 steps Doug takes 24 steps, meantime I take 21 steps. Jack explained that his 6 steps equals Droug's 7 steps and Ann's 8 steps. Who won the race? (repeated from previous papers) Ans: Doug
[ Ann steps = 8,16,24,28 --- finished by 3 & half full steps
Doug steps=7,14,21,24 --- finished before 3 & half full steps
Jack steps= 6,12,18,21 --- finished by 3 & half full steps
So Doug won the race ]

7. Every day a cyclist meets a car at the station.The road is straight and both are travelling in the same direction. The cyclist travels with a speed of 12 mph. One day the cyclist comes late by 20 min. and meets the car 5miles before the Station. What is the speed of the car? Ans: 60 mph

[Very similar to Shakuntala Devi puzzles to puzzle you problem no: 38 ]

8. A problem of persons and profession. 4 persons were there- Jack, Clove, Smith, Morgan belongs to 4 professions policeman, Druggist, Grocer, Butcher. Who all belongs to which profession?Some conditions where given like..
(i) Clove and Jones drive together to work
(ii) Clove earns more income than Morgan...I 4got the conditions..
Clove :
Jones : 8 marks
Morgan :
Smith :

9.A lady goes for shopping. She bought some shoestrings. 4 times the number of shoestrings, she bought pins and 8 times, handkerchiefs. She paid each item with their count as each piece's cost. She totally spent Rs. 3.24. How many handkerchiefs did she buy? (repeated from previous papers)

10. Complete the series :
a) 3,6,13,26,33,66,____(repeated from previous papers)
b) 364,361,19,16,4,1,___( " " " )
Ans : a) 63
b) 1

INFOSYS APTITUDE QUESTIONS - 1

1. Using the digits 1,5,2,8 four digit numbers are formed and the sum of all possible such numbers.
Ans: 106656

2. Four persons can cross a bridge in 3,7,13,17 minutes. Only two can cross at a time. Find the minimum time taken by the four to cross the bridge.
Ans: 20

3. Find the product of the prime numbers between 1-20.
Ans: 9699690

4. 2,3,6,7
using these numbers form the possible four digit numbers that are divisible by 4.
Ans: 8

5. Two trains are traveling at 18kmph and are 60 km apart. There is fly in the train. it flies at 80 kmph. It flies and hits the second train and then it starts to oscillate between the two trains. At one instance when the two trains collide it dies. Distance traveled by the fly when both trains collide is?
Ans: 12km

6. There are 1000 doors that are of the open-close type. When a person opens the door he closes it and then opens the other. When the first person goes he opens-closes the doors in the multiples of 1 i.e., he opens and closes all the doors. when the second goes he opens and closes the doors 2, 4 6 8 respectively. Similarly when the third one goes he does this for 3 6 9 12 15th doors respectively. Find number of doors that are open at last.
Ans:Square Numbers.

7.There are 9 balls of this one is defective. Find the minimum no. of chances of finding the defective one.
Ans:3times.

8. There are coins of Rs.5, 2,1,50p,25p,10p,5p. Each one has got a weight. Rs 5 coin weighs 20gms. Find the minimum number of coins to get a total of 196.5gms.

9.A can do a work in 8 days, B can do a work in 7 days, C can do a work in 6 days. A works on the first day, B works on the second day and C on the third day respectively that is they work on alternate days. When will they finish the work.(which day will they finish the work)
Ans: 7 7/168 days

10.A batsman scores 23 runs and increases his average from 15 to 16. find the runs to be made if he wants top inc the avg to 18 in the same match.
Ans: 39 Runs.

11.A man sells apples. First he gives half of the total apples what he has and a half apple. Then he gives half of the remaining and a half apple. He gives it in the same manner. After 7 times all are over. How many apples did he initially have.
Ans: 127 apples.

12.In a club there are male and female members. If 15 female quit then the number of females will become double the number of males. If 45 males quit no. of female becomes five times the number of males. Find the number of females.
Ans: Females:175, Males:80

13.When I was married 10 years back my wife was the sixth member of my family. Now I have a baby. Today my father was dead and I had a new baby.now the average age of my family is the same as that when I was married. Find the age of my father when I was married.
Ans: 50.

14.I and two of my friends were palying a game. For each win I get Rs 3. totally I had three wins. Player 2 got Rs9 and player 3 got Rs 12. How many games had been played?

15.A person gives a secret to two other persons in 5 minutes. How long will he take to tell the secret to 768 people?

16.There are 40 seats in a bus. People agree to share the money for the number of seats. The total money comes to 70.37. How many seats were free?
Ans: 9 seats.Rs.2.27

17.I had Rs100 and I play. If I win I will hav Rs110 and if I lose I will hav Rs90. at the end I hav 2 wins and 2 loses. How much do I have?

18. In a village, there is flood. In one village causalities were less than the other. Why?
Ans: There were better health care centres(HCC).

19. A person has Rs.100. If he wins he gains 10%. If he loses the game, he loses 10%. He wins twice and loses twice. How much he has at the end?
Ans: Always less than 100.

20. In A tribal group two groups live in different climatic conditions. Ear Sensitivity is tested and found that one has more when compared to other. What is the reason?
Ans: Depends on the physical place and condition he is living.

Saturday, December 6, 2008

TCS APTITUDE QUESTION PAPER - 2

SYNONYMS


1] Depreciation = deflation,depression,devaluation,fall,slump

2] Depricate = feel and express disapproval

3] Incentive = thing one encourages one to do

4] Echelon = level of authority or responsibility

5] Innovation = make changes or introduce new things

6] Intermittant = externally stopping and then starting

7] Detrimental = harmful

8] Mesotiate = ...

9] Conciliation = make less angry or more friendly

10] Orthodox = conventional or superstitious

11] Fallible = liable to err

12] Volatile = ever changing

13] Manifestion = clear or obvious

14] Connotation =

15] Reciprocal = reverse, opposite

16] Agrarian = related to agriculture

17] Vacillate = undecided or dilemma

18] Experdent = fitting proper , desirable

19] Simulate = produce artificially resembling an existing one

20] Access = to approach

21] Compensation= salary

22] Truncate = shorten by cutting

23] Adherance = stick

24] Heterogenous = non-similar things

25] Surplus = excessive

26] Assess = determine the amount or value

27] Cognezance = knowledge

28] Retrospective = review

29] Naive = innocent , rustic

30] Equivocate = tallying on both sides

31] Postulate = frame a theory

32] Latent = dormant,secret

33] Fluctuate = wavering

34] Eliminate = to reduce

35] Affinity = strong liking

36] Expidite = hasten

37] Console = to show sympathy

38] Adversary = opposition

39] Affable = lovable,approchable

40] Decomposable = rotten

41] Agregious = apart from crowd,especially bad

42] Conglomeration = group

43] Aberration = deviation

44] Erudite = wise, profound

45] Augury = prediction

46] Credibility = ability to common belief,quality of being credible

47] Coincident = incidentally

48] Constituent = accompanying

49] Differential = having or showing or making use of

50] Distention = act out,strtching out ,swelling out

51] Litigation = engaging in a law suite

52] Moratorium = legally or officially determined period of delay before

the fulfilment of the agrement or payment of debts

53] Negotiate = discuss or bargain

54] Preparation = act of preparing

55] Preponderant = superiority of power or quality

56] Relevance = quality of being relevant

57] Apparatus = appliance

58] Ignorance = blindness or inexperiance

59] Obsession = complex enthusiasm

60] Precipitate = Quicken.



ANTONYMS


• Cliché -trite, platitude, remark

• Muggy - hot, warm, humid

• Bouillon - A thin soup of meat or fish or vegetable stock, broth

• Incubate- Develop under favorable conditions, hatch, develop slowly

• Prolixity- verbose, wordiness

• Inclement –bad whether

• Misapprehension- misunderstanding, misconception

• Estrange –alienate, isolate, make unfriendly

• Predominant - main, major, principal

• Mawkish – over sentimental, mushy, over emotional

• Whimsical – capricious

• Conclusive – end, final, beyond question

• Awry - crooked, twisted

• Avid – enthusiastic, passionate, eager

• Fidelity – loyalty, faithfulness, trustworthy

• Transient - temporary, momentary

• Aplomb – self-confidence, confidence

• Acerbity- A sharp bitterness

• Tarry- linger, leave slowly, related to pitch

• Mullet – several kinds of marine fish

• Godly- religious

• Ignominious – shameful, humiliating

• Hidebound –narrow-minded

• Reticence- shyness, uncommunicative

• Tantamount- the same as, identical

• Probate –official proving of a bill

• Misdemeanor- misbehavior

• Bombastic- pompous, pretentious

• Repellent- repulsive

• Tenacious – stubborn, obstinate

• Dangle- hang down, swing, suspend

• Ensue – result, follow

TCS APTITUDE QUESTION PAPER -1

Questions :

1.Two pencils costs 8 cents, then 5 pencils cost how much ?

Answer : 2 pencils = 8 cents => 1 pencil = 4 cents. Therefore 5 pencils cost = 5 * 4 = 20 cents

2. Question : A work is done by two people in 24 min. one of them can do this work a lonely in 40 min. how much time required to do the same work for the second person.

Answer : In 1 minute (A+B) can do 1/24 work. A alone can 1/40 work in 1 minute
B alone can do in 1 minute = (A+B)’s – A’s = 1/24 – 1/40 = 1/60 work
Therefore, b can do the same work in = 60 min

3. Question : A car is filled with four and half gallons of oil for full round trip. Fuel is taken 1/4 gallon more in going than coming. What is the fuel consumed in coming up?

Answer : Before the trip, car is filled with = 4 ½ gallon of oil.
Let ‘X’ be the quantity of fuel consumed for the trip in one direction
The fuel consumed while going = X + ¼
The fuel consumed while coming = X
Therefore, the fuel consumed for the trip = (X + ¼) + X = 4 ½
2X + ¼ = 4 ½ => 2X = 4 ½ - ¼ => 2X = 4 ¼ => X= 2 1/8 . approx
Therefore the fuel consumed while coming = 2.125 gallon

4. Question : Low temperature at the night in a city is 1/3 more than 1/2 high as higher temperature in a day. Sum of the low temperature and highest temp. is 100 degrees. Then what is the low temp?

Answer : 40 deg.

5. Question : A person, who decided to go to weekend trip should not exceed 8 hours driving in a day. Average speed of forward journey is 40 m/h. Due to traffic in Sundays, the return journey average speed is 30 m/h. How far he can select a picnic spot?
a) 120 miles
b) Between 120 and 140 miles
c) 160 miles

Answer : 120 miles

6. Question : A salesperson multiplied a number and got the answer 3, instead of that number divided by 3.What is the answer he actually has to get?

Answer : (1/3) *1 * 3 = 3, so number = 1
Divided by 3
Answer: 1/3.

7. Question : A ship started from port and moving with I miles per hour and another ship started from L and moving with H miles per hour. At which place these two ships meet?
|----|----|----|----|----|----|
port G H I J K L

Answer : Answer is between I and J and close to J or (L*I*H)/(H+I)

8. Question : A building with height D shadow up to G. A neighbor building with what height shadows C feet.
|----|----|----|----|----|----|----|
A B C D E F G H

Answer : B Ft. or CD/G

9. Question : A person was fined for exceeding the speed limit by 10mph. Another person was also fined for exceeding the same speed limit by twice the same. If the second person was traveling at a speed of 35 mph, find the speed limit.

Answer : Let ‘x’ be the speed limit. Person ‘A’ was fined for exceeding the speed limit by = 10mph
Person ‘B’ was fined for exceeding the speed limit by = twice of ‘A’ => 2*10mph=20mph
given that the second person was traveling at the speed of 35mph => 35mph – 20mph = 15mph
Therefore the speed limit is =15 mph

10. Question : A bus started from bus stand at 8.00am, and after 30 minutes staying at destination, it returned back to the bus stand. The destination is 27 miles from the bus stand. The speed of the bus is 18mph. In return journey bus travels with 50% fast speed. At what time it returns to the bus stand?

Answer : 11.00am

11. Question : In a mixture, R is 2 parts S is 1 part. In order to make S to 25% of the mixture, how much r is to be added?

Answer : One Part

12. Question : Wind flows 160 miles in 330 min, for 80 miles how much time required.

Answer : 115min

13. Question : With 4/5 full tank vehicle travels 12 miles, with 1/3 full tank how much distance travels.

Answer : 5 miles

14. Question : Two trees are there. One grows at 3/5 of the other in 4 years, total growth of trees is 8 ft. what growth will smaller tree will have in 2 years

Answer : < 2 ft.

Tuesday, November 25, 2008

WIPRO - APTITUDE QUESTIONS PART 1

1. Arrange letters into a meaningful word and choose the correct series
OCPIT
1 2 3 4 5
a)54123 b)51342 c)31254 d)42315
LADNHE
1 2 3 4 5 6
a) 524316 b) 345621 c) 431562 d) 256314
OT INCE
1 2 3 4 5 6
a) 524316 b) 365412 c) 412356 d) 234561
EATNRU
1 2 3 4 56
a) 542631 b) 362415 c) 423651 d) 234516
LORFSHUI
1 2 3 4 5 67 8
a) 54726318 b) 37628415 c) 41273856 d) 28345176

2. Fill the gap in the series 5,20,____ ,6.2,8,12 and the options are 10,14,24,12

3. There are some players in a volley ball team. After end of the game each girl drinks 4 liters of water and each boy drinks 7 liters of water and the coach drinks 9 liters of water. After end of the game 42 liters of water is drank by all. The find the no of boys and girls in the volley ball team.

4. 120m long train crosses the pole after 2 ½ sec. Find how much time it takes to cross the 140m long platform

5. Average age of girls and boys is 26 average age of boys is 28 and average age of girls is 24 .what is the ratio of no of girls and boys.

6. A person is running at a speed of 18km/hr After one min a bomb blasts .Sound travels at 330m/s.How long does the man run before he cud he hear the sound??
7. A,B,C,D comes 2 a aggrement with E to start a bussiness. for that A,B,C,D donates 15/- each & E has to donate 5/- morethan the
average of first 4. what is the total sum, E's share?
8. How many weeks r there btw 3rd JULY &13th SEP
9. For the present cost of mangoes we are getting 300,if a discount of 20% is given How many mangoes can we get ?
10. There are totally 8 girls, A boy is standing behind first girl, 2 boys are standing behind 2nd girl., 3 boys are standing behind 3rd girl and so on, in a row. Who is 3rd left to 26th from the right?

Tuesday, November 4, 2008

SATHYAM APTITUDE QUESTION PAPER - PART 2

26)A shopkeeper allows a discount of 25% on market price of an item and sells it for Rs 600 and still gains 20%. Find Original price of the item.

27)The difference between SI & CI on a certain sum of money for 2 yrs at 2 % per annum is Re. 1. The sum is-

28)If the difference in area of the circle is 15sq cm ,the original radius was 5, find out the new radius..........

29) 3,7,12,18___,33.

30)find the missing no. 40,50,60,48,56,64,?,53,60,44,50,56

31)A thief steals a car and drives at speed 5km/hr. after 1 hr owner in other car chases thief at speed of 8 km/hr. at what time owner will he catch the thief.

32)find the missing no.
?
66 66
28 28 28
10 10 10 10
2 2 2 2 2

33)IF 25th SEP 1986 is Monday, that what day is 18th OCT 1993?

34)If it takes 'h' hours to mow a lawn. Then what part of lawn is mowed in 1 hour?

35)If 10th October 2004 was Saturday, then which day will be 10th October 1986.

36)A,C,F,J,O,?

37)2,5,28,257,3126

38)if a beats b by x1 and b beats c by x3 then?
a)x1=x3
b) x1>x3
c)x3>x1
d)none of these

39)I bought two cameras for 8200. one of them is sold at 10% loss and the other at 15% gain. if done so the selling price of cameras are the same. find the cost of each camera

40)Seven friends Amar, Madhuri, Jyoti, Sachin, Ram, Tom & Uday made two teams CAT & MICE among them selves. Condition:
i. If Ram joins Cat, then Madhuri must be in Mice team.
ii.If Tom joins Cat, then Sachin must be in Mice team.
iii.Madhuri & Jyoti can never be in the same team.
iv.Sachin & Tom can never be in the same team.
Q.If Ram is in Cat who will be in Cat?

41)What is the cost of covering the walls of a room with paper, given following information :
(a) length, width and height of the room is 50,35 and 45 mts. respectively.
(b) there is only one door of size 3x2 mts.

Which of the following options is correct to find answer to this question:
A. Sentence 1 is sufficient but Sentence 2 alone is not sufficient.
B. Sentence 2 is sufficient but Sentence 1 alone is not sufficient.
C. Sentence 1 and 2 are sufficient.
D. BOTH sentences are not sufficient.
E. None of these.

42)If * is denoted by A, / by B, + by C and - by D. what's the result of the _expression,
20 B 5 A 8 C 8 D 10.

43)There are three vessels of 1:2:3 ratio in
volumes....There are two types of liquids A and B in the vessels. In the first vessel A:B =2:3 . Second 3:7 .Third 1:4.If the liquids in the three vessels are poured into a large vessel, What's the ratio of A;B in the large vessel?

44)If SI on certain sum is 1500 and CI 1525 for two yrs....What's the CI on the sum for 3 yrs

45)If the compound interest on a sum for 2 years at 12.5% per annum is Rs.510, the simple interest on the same sum at the same rate for the same period of time is :

46)If x + y = 3 and y/x= 2 then y = ?

47). If a=2/3b , b=2/3c, and c=2/3d what part of d is b


Questions 48 to 50
Spelunkers International offers exploring tours in eight caves: Abbott, Benny, Caeser, Dangerfield, Ewell, Fields, Guinness, and Hope
(1) Class 1 spelunkers may not attempt cave Ewell, Fields or Hope
(2) Class 2 spelunkers may not attempt Hope
(3) Class 3 spelunkers may attempt any cave
(4) Cave Caesar may be attempted only by spelunkers who have previously explored cave Benny
(5) Cave Fields may be attempted only by spelunkers who have previously explored cave Ewell
(6) Only two of caves Benny, Caeser, Ewell, Fields, and Hope may be attempted by any explorer in a single tour

48. A class 2 spelunker who has previously explored cave Ewell may be restricted in choosing a tour by which rule(s)?
(I) Rule(4)
(II) Rule(5)
(III) Rule(6)
(a) I only
(b) II only
(c) I and III only
(d) II and III only
(e) I, II and III
49. In how many different ways may a class 1 spelunker who has never explored any of the eightcaves before set up a tour of three caves, if she wishes to explore caves Abbott and Caesar?
(a) 2
(b) 3
(c) 4
(d) 5
(e) 6
50 What is the maximum number of caves that a class 3 spelunker who has previously explored only cave Benny may include
in a single tour?
(a) 4
(b) 5
(c) 6
(d) 7
(e) 8

SATHYAM APTITUDE QUESTION PAPER - PART 1

1)A and B can do a piece of work in 20 days. B and C can do it in 12 days. C and A can do it in 10 days. In how much time will A alone would take to do the work?


2)Sum in S.I. becomes 5 times its principal in 8 years what is the rate?


3) ?
145 161
63 71 79
25 29 33 37
8 10 12 14 16
1 2 3 4 5 6


4)What is the right output?
A1 int R=1
A2 K=3
A3 R=R*K*R
A4 PRINT"R"
A5 if(R,=3)
A6 GOTO a3
A7 printf(R8K8K)
A8 Halt

5)Find the ODD man out
975
867
329
498
none of these

6)A Can do a piece of work in 18 days . B can do that work in 30 days. Then in how many days they will do twice of that work together?

7)If 4 NOV 1971 falls on FRIDAY then what is 4 NOV 1869?

8) ?
92 92
42 38 42
18 14 14 18
6 4 2 4 6

9)I5 men work for 8 hours a day and it take 9 days for them to complete a work, then how many men had to work for completing the same work ,who work for 7 hours a day and for 12 days?
10)
147
75 66
37 ? 28
15 16 10 12
11)12 man can complete a work in 12 days. For a work 10 men work for 6 days and then 4 more men join them. In how many days will they complete the work?

12)A man is having some money deposited in bank. In the 1st yr he gets 8% interest, 2nd yr -11 %, 3rd year- 13%. If he gets Rs 12,400 at the end of three yrs. How much had he deposited?

13)A man took Rs 1000 as loan on simple intrest of 5%. But he pays Rs 200 annually as interest and amount. How much he will have to return after three years?

14)7,14,21,9,18,?,11,22,33

15)There is a field inside that there is a rectangular grass field with dimension 12X8 meter. One cow is tied at one corner of the grass field with a rope of 10 m. Cow is not allowed to enter the grass field .How much area it will graze?

16)1 can be written as # and 0 can be written as %....for example
1 is written as #
2 is written as #%
3 is written as ##
4 is written as #%%
then what is the LCM of 20,30,36 ?

17)A sells an article to B at 10% profit. B sells it to C at 25% profit. C sells it to D at 15% profit. What price did A pay to buy that article if D pays Rs.2056?

18)If a train of length 150m crosses a man in 12secs then what time it will take to cross a bridge of 250m length

19)A person always buys rice for Rs 200/- .if price get increased by 10%, then he will take 2 kg less. Then calculate the increased price of rice

20)if 14th January 2004 is on Thursday then what was the day of 14th January 1912

21)A salary + B salary=10000, if A spends 70% of his income, and B spends 80% of his income, the difference between the spent money is 500, then what is the salary of A.

22)The radius of a circle was increased in length by some value. If the increase in circumference is 44 cm, the change in radius is

23)If $=’0’ and @=’1’And if we can write 0=$
1=@
2=@$
3=@@
4=@$$
Then find out average of @@@@ and @@@$$@

24)For a given set of numbers as 32, 45, 57, 142, 180, A machine gives following outputs after each step as shown below:
Step 1 33,47,60,146,185
step 2 33,185,60,146,47
step 3 34,185,63,146,52
step 4 52,34,63,146,185
step 5 185,146,63,34,52
If you are given a set of numbers as 7,5,3,9,13, What is the output of machine after step 5 ?

25)Mark the wrong output of following program :-
10 R=2
20 R=R*2
30 E=R*R
40 K=E+2
50 PRINT K
60 IF R<16
70 GOTO 20
80 END
a)18 b)64 c)258 d) e)None of these

Thursday, October 16, 2008

FUTURESOFT SAMPLE PAPER

FUTURESOFT SAMPLE PAPER

1. S --> AB|AS
    A --> a|aA
    B --> b
What is the grammer accepted by the above?
Ans. aa*b

2. How many address lines are needed to address a 64Kb segment with each register storing upto 512 bytes.
Ans. 14 address lines

3.  Find the expression representing the following K-map

1   1 1
       
  1 1  
1   1 1
 
4. For the POS form of the expression given below
     _      _         _      
     X.Y.Z + X.Y.Z + X.( Y + Z )

5. In a computer system the ROM :
(a) contains boot software
(b) is permanent
(c) Both of the above
(d) None of the above
Ans. ©

6. The binary  equivalent of 3B7F is
Ans. 0011 1011 0111 1111

7. The register used by the shift reduce passing method is
Ans. Stack

8. A microprogram can be defines as to consist of
Ans. A primitive operation

9. Find the output for the following C program
int array[4][4] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16};
for (i=2;i<0;i--)
  for (j=2;j<=0;j--)
   printf(“%d”, arr[i][j]);
10. Find the output for the following C program
#include
void main()
{int i,x,sum=0;
int arr[6]=[1,2,3,4,5,6]
for (i=0;i<4;i++)
sum+ = func(arr[i]);
printf(“%d”, sum);
}
func(int x)
{ int val,x;
val = 2;
return(x+ val++);
}

11. Given the following data:
Process P1 takes 2 seconds
Process P2 takes 3 seconds
Process P3 takes 4 seconds
Process P4 takes 1 second
Process P5 takes 6 seconds
Find the average time in case of shortest job first (SJF) scheduling.

12. Given a string STOCK and a stack of size 4.
      Which of the following strings cannot  be generated using this stack.
(a) TSOCK
(b) TOSKC
(c) STOCK
(d) TKOSC
(e) None of these

13. Inversion of a matrix will take which of the following time complexities?
(a) O(n)
(b) O(n²)
(c) O(log n)
(d) O(n³)
(e) None of these

14. A drum rotates at 4000 rpm. What is its average access time.

15. What range of  integral values can be stored using 32 bits?

16. Where are the following variables stored
Automatic
Global
Static

17. If a layer 4 transfers data at the rate of 3000 bytes/sec.
      What will be the size of data block transferred by Layer 2

18. What is the greatest disadvantage of dynamic RAM over static RAM

Ans. High Power and need to refresh every 2 ms.

19. What happens when the CPU gets interrupted?

20. Find the Postfix of the following string
  (a + b) * ((-d) *f (ab - cd))

21. E --> E + E| E * E | E/E | E - E| .... then which is correct
(a) It is ambigous
(b) It is inherently ambigous
(c) It is non inherently ambigous
(d) None of the above

22. If there are n nodes and K edges in a graph then what is the order of traversing
Ans. O(n²)

23. A graph is represented as an adjacency list with n vertices and e edges
      What is its time complexity
Ans. O(n + e)

24. An array with address KV[a] had n elements. Which of the following correctly addresses the ith element of the array.
(a) KV(a) - 2a + 2i
(b) KV(a) +2i
(c) KV(a) - 2a
(d) None of these

25. Give an example of a primitive instruction in microprocessors.

26. A computer has 8 bit data bus and 16 bit address line.
      How many machine cycles will it take to store the contents to a memory location?

27. Where is a variable defined in a function stores?
Ans. Process Swappable Area

28. For the following C progralm
  int d=0;
   for(int i=0;i<31;i++)
    for(int j=0;j<31;j++)
     for(int k=0;k<31;k++)
     if (((i+j+k) % 3)==0)
    d=d+1;

Find value of d

29. e= | | <(e)> |
     What forms do the expressions created by the above definition fit in
Ans. All arithematic expressions

30. If a set of numbers are in sorted order then which of the following sorting method is best
Ans. Bubble Sort

31. A magnetic tape is similar to which of the following structures
Ans. List

32. The s/n id 3 dB Find the capacity of the line.

Saturday, August 23, 2008

APTITUDE QUESTIONS IN C++

C++ APTITUDE QUESTIONS

10.int f()
void main()
{
f(1);
f(1,2);
f(1,2,3);
}
f(int i,int j,int k)
{
printf("%d %d %d",i,j,k);
}

What are the number of syntax errors in the above?

Ans: None.

11.void main()
{
int i=7;
printf("%d",i++*i++);
}

Ans: 56

12.#define one 0
#ifdef one
printf("one is defined ");
#ifndef one
printf("one is not defined ");

Ans: "one is defined"


13.void main()
{
int count=10,*temp,sum=0;
temp=&count;
*temp=20;
temp=∑
*temp=count;
printf("%d %d %d ",count,*temp,sum);
}

Ans: 20 20 20


14. what is alloca()
Ans : It allocates and frees memory after use/after getting out of scope

15.main()
{
static i=3;
printf("%d",i--);
return i>0 ? main():0;
}

Ans: 321

16.char *foo()
{
char result[100]);
strcpy(result,"anything is good");
return(result);
}
void main()
{
char *j;
j=foo()
printf("%s",j);
}

Ans: anything is good.

17.void main()
{
char *s[]={ "dharma","hewlett-packard","siemens","ibm"};
char **p;
p=s;
printf("%s",++*p);
printf("%s",*p++);
printf("%s",++*p);
}
Ans: "harma" (p->add(dharma) && (*p)->harma)
"harma" (after printing, p->add(hewlett-packard) &&(*p)->harma)
"ewlett-packard"


18. 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)

19. 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)

INFOSYS APTITUDE QUESTIONS

*********************************
C,C++ Questions
*********************************

1. Base class has some virtual method and derived class has a method with the same name. If we initialize the base class pointer with derived
object,. calling of that virtual method will result in which method being called?
a. Base method
b. Derived method..
Ans. b

2. For the following C program
#define AREA(x)(3.14*x*x)
main()
{float r1=6.25,r2=2.5,a;
a=AREA(r1);
printf("\n Area of the circle is %f", a);
a=AREA(r2);
printf("\n Area of the circle is %f", a);
}
What is the output?
Ans. Area of the circle is 122.656250
Area of the circle is 19.625000

3. What do the following statements indicate. Explain.
• int(*p)[10]
• int*f()
• int(*pf)()
• int*p[10]
Refer to:
-- Kernighan & Ritchie page no. 122
-- Schaum series page no. 323

4.void main()
{
int d=5;
printf("%f",d);
}
Ans: Undefined


5.void main()
{
int i;
for(i=1;i<4,i++)
switch(i)
case 1: printf("%d",i);break;
{
case 2:printf("%d",i);break;
case 3:printf("%d",i);break;
}
switch(i) case 4:printf("%d",i);
}
Ans: 1,2,3,4

6.void main()
{
char *s="\12345s\n";
printf("%d",sizeof(s));
}
Ans: 6

7.void main()
{
unsigned i=1; /* unsigned char k= -1 => k=255; */
signed j=-1; /* char k= -1 => k=65535 */
/* unsigned or signed int k= -1 =>k=65535 */
if(iprintf("less");
else
if(i>j)
printf("greater");
else
if(i==j)
printf("equal");
}
Ans: less


8.void main()
{
float j;
j=1000*1000;
printf("%f",j);
}

1. 1000000
2. Overflow
3. Error
4. None
Ans: 4

9. How do you declare an array of N pointers to functions returning
pointers to functions returning pointers to characters?

Ans: The first part of this question can be answered in at least
three ways:

1. char *(*(*a[N])())();

2. Build the declaration up incrementally, using typedefs:

typedef char *pc; /* pointer to char */
typedef pc fpc(); /* function returning pointer to char */
typedef fpc *pfpc; /* pointer to above */
typedef pfpc fpfpc(); /* function returning... */
typedef fpfpc *pfpfpc; /* pointer to... */
pfpfpc a[N]; /* array of... */

3. Use the cdecl program, which turns English into C and vice
versa:

cdecl> declare a as array of pointer to function returning
pointer to function returning pointer to char
char *(*(*a[])())()

cdecl can also explain complicated declarations, help with
casts, and indicate which set of parentheses the arguments
go in (for complicated function definitions, like the one
above).
Any good book on C should explain how to read these complicated
C declarations "inside out" to understand them ("declaration
mimics use").
The pointer-to-function declarations in the examples above have
not included parameter type information. When the parameters
have complicated types, declarations can *really* get messy.
(Modern versions of cdecl can help here, too.)

Sunday, June 1, 2008

Youth-Stuff