Creativo - the topper's choice

www.creativo.co.in ( Placement papers of all companies are here )

Monday, May 01, 2006

Tata Infotech

Tata Infotech
Tatainfo -1

VERBAL SECTION
Directions: Give the synonyms for the following words
1. Depreciation: deflation, depression, devaluation, fall, slump
2. Depricate : feel and express disapproval,
3. Incentive : thing one encourages one to do (stimulus)
4. Echelon : level of authority or responsibility
5. Innovation : make changes or introduce new things
6. Intermittent : externally stopping and then starting
7. Detrimental: harmful
8. Conciliation : make less angry or more friendly
9. Orthodox: conventional or traditional, superstitious
10. Fallible : liable to error
11. Volatile : ever changing
12. Manifest: clear and obvious
13. Connotation : suggest or implied meaning of expression
14. Reciprocal: reverse or opposite
15. Agrarian : related to agriculture
16. Vacillate : undecided or dilemma
17. Expedient : fitting proper, desirable
18. Simulate : produce artificially resembling an existing one.
19. Access : to approah
20. Compensation: salary
21. Truncate : shorten by cutting
22. Adherence : stick
23. Heterogenous: non similar things
24. Surplus : excessive
25. Assess : determine the amount or value
26. Congnizance : knowledge
27. Retrospective : review
28. Naive : innocent,rustic
29. Equivocate : tallying on both sides, lie, mislead
30. Postulate : frame a theory
31. Latent : dormant, secret
32. Fluctuation : wavering,
33. Eliminate : to reduce
34. Affinity : strong liking
35. Expedite : hasten
36. Console : to show sympathy
37. Adversary : opposition
38. Affable : lovable or approachable
39. Decomposition : rotten
40. Agregious : apart from the crowd, especially bad
41. Conglomaration: group, collection
42. Aberration: deviation
43. Aurgury : prediction
44. Crediability : ability to common belief, quality of being credible
45. Coincident: incidentally
46. Constituent : accompanying
47. Differential : having or showing or making use of
48. Litigation : engaging in a law suit
49. Maratorium: legally or offficiallly determined period of dealy beforefulfillment of the agreement of paying of debts.
50. Negotiate : discuss or bargain
51. Preparation : act of preparing
52. Preponderant : superiority of power or quality
53. Relevance : quality of being relevant
54. Apparatus : appliances
55. Ignorance : blindness, in experience
56. Obsession: complex enthusiasm
57. precipitate : speed,active
SERIES SECTION
Directions: In the following questions complete the series
NOTE: This section is quite tough and consists of 26 questions to be done in 10 minutes. Please keep track of time.
1. A C B D E F G I - I H K J L
Ans. H
2. A I Z B E Y C I X D I - G E N J W
Ans. W
3. A D G J M P - R W T S
Ans. S
4. A B C E F G I J K - M L O N P
Ans. M
5. A B F G K L P Q - T S V U W
Ans. U
6. J W X U V S T - Q P S E T
Ans. Q
7. A R H X Y T D T W S T - N P T K R
Ans. P
8. F M B I P Z V I E V - I R Y O U
9. N Z I Y C X KW F - J F V M Y
Ans. V
10. A A S A S P A S P K A - R Q T S U
Ans. S
11. A E C P S - T R U E
Ans. U
12. B B P R D D L N F F I K - H Q J I K
Ans. H
13 A Z E X I V M T - R Q N S O
Ans. Q
14. A B D G K P - L I W U X
Ans. U
15. B C D A E G H I F J L M N L K N M O
Ans. K
16. X W E F G V U H I J K - P N S R T
Ans. T
17. O D J T O P Q N O E R T - Q O U V W
Ans. O
18. P R N U U P E J R B B - H V U N E
Ans. E
19.L U L M G M N F N P S - O N Q P S
Ans. P
NUMERICAL ABILITY
1. 420% OF 7.79 = ?
Ans. 32.718
2. 3427 / 16.53 = ?
Ans. 202
3. 10995 /95 = ?
Ans.115.7365
4. 43+557-247 =?
Ans. 353
5. 3107*3.082= ?
Ans. 9591
6. 48.7 + 24.9 - 8.7 = ?
Ans. 64.90
7.525.0/47.8 = ?
Ans. 11
8. (135-30-14)*7 - 6 +2 = ?
Ans. 3
9. 3/8 * 5.04=?
Ans. 1.89
10. 697 /219 = ?
Ans. 3.18
11.8/64 +64/16 =?
Ans. 4.14
12. 298 * 312 / 208 = ?
Ans. 453.54
13. 0.33 *1496 /13 = ?
Ans. 37.98
14.0.26 + 1/8 = ?
Ans. 0.385
15. 66.17+1/3= ?
Ans. 67.03
16. 2.84+1/4= ?
Ans. 3.09
17. 33% OF 450 = ?
Ans. 148.5
18. 907.54 / 0,3073= ?
Ans.3002
19.There are two categories of persons in ratio A:B = 2:3. A type earns 2.5 dollars/hr andB type 1 dollar/hr total money earned by both is 24dollars. Then what is the total number of persons
Ans. 15
20. Total balls are z, the number of red balls is n and the remaining are blak balls,then the % of blackballs equal to ?
Ans. (z - n) / z*100
21. If A = C, B = 2D what should be done to make the ratio same. i.e.a/b = c/d
Ans. Multiply A by 2
22. If P=Total number of components, Q = number of defective components .What is the % of non defective components?
Ans. (p-q) / p*100
23. If the cost of an article is x , first discount given is y% of cost, second discount given is z% of cost .The selling price of x is
Ans. x (1-y / 100) (1- z / 100)
24.Which of the following are prime numbers
(a) 119(b) 115(c) 127(d) none
Ans. (c)
25. A / B = C; C > D then
(a) A is always greater than D(b) C is always greater than D(c) B is always less than D(d) None of these
Ans. (a)
26. If B>C and A
Ans. ( A + B )C
27. If for H hours of work the salary is S and the employee gets x hours of medical leave, then what is the salary/hr ?
Ans. s/H-x
28. ( 1/6 of 596) / (0.695) = ?
Ans. 142
29. 35-30 + 4/7 - 5 + 1 = ?
Ans. 3
30. 10995 + 95 = ?
Ans. 11090
31. If on a salary of Rs."S" per month,one has to pay one tax of x Rs. and a second type of tax of y Rsthen % of salary taken home is?
Ans. s-(x+y)/s * 100
32. B>A then which expression will be highest value
(a) A-B(b) AB(c) A+B(d) Can't Say
Ans. (b)
33. K, L are men who take home a salary of x, y respectively.The total amount taken home is
Ans. Kx + Ly
34. If out of X bulbs y bulbs are broken;The % of non broken bulbs
Ans. (x-y) / x*100
35. If on a salary s per month, a tax of x% of the salary and another of r% of the salary is deducted whatis the income.
Ans. s*(1-(x+r)/100
36. 0.512 * 18902358 =?
Ans. 9678007.296
37. If the % of defective balls is 10% balls,and the number of defective balls is 5.The number of balls is
Ans.50
38. 6.29% of 2.8 =?
Ans. 0.18
39. 0.398 * 456= ?
Ans. 181.49
40. 0 < x < 1 which is greater
(a) 1/x2(b) 1/x(c) x(d) x2
Ans. (a)
41. If c = a/b; a-1 = c, what is the relation between a and b?
Ans. b = a/a-1
42. What is the sum of 7 consecutive odd numbers with 27 as the fourth number
Ans.189

FLOWCHART SECTION
Directions: There are 7 flow charts and each has 5-6 blank rectangles/diamonds withsubquestion number in the rectangle/diamond. You have to fill the blank from the5 options given against respective question number
NOTE:These types of questions are not at all tough.You have to understand the logic and then it is very easy to fill the blanks. Some information is provided for getting to the answers.There will be blanks which have to be filled.
Examples of flow charts asked to be filled :(1) There are 3 boxes of 3 balls each. you have to select the heaviest among all.
(2) There are red and black balls in a box. You select some balls from the blocks.If the ball chosen is red then you get one point. If the chosen ball is ball black and previous ball is red then you get two points. For winning u have to get seven points. No point for selecting consecutive balls of the same color.
(3)Classify objects in class A, class B and scrap. for classfing you have to do different tests such as weight test, material test etc.
(4)There is production process in which action depends on temperature and pressure and we have some temperature and pressure controls.Draw a flowchart to complete the process.
(5)Find max. and min. of the 12 nos.in an array.Arrang the array in ascending order and find the maximum andminimum value in the array
(6)Diffrent age group are given and also diffrent salary slabs are given. Depending on the salary group as well as his group you have to classify the group of people in particular class.


SECTION -I VOCABULARY1 garish = b)flashy2 indienity d)insult3 genuflect d)bend the knee4 inebriety b)drunkenness5 mulct a)swindle6 pinion d)restrain7 regal c)royal pious b)devout9 morobund a)dying10 repugnance c)loathing11 tawdry b)meretricious12 wanion d)unchaste13 mirage b)illusion14 temerity c)boldness15 voracious a)ravenous16 miasma b)noxious fames17 terse 18 welter 19 meticulous 20 titillate b)tickle21 yeoman a)middle class farmer22 inimical a)antagonistic23 foppish d)dandy24 edify c)improve25 insipid b)flat26 foster c)raise27 effigy d)28 inveigh a)speak violently29 foment b)instigate30 deluge c)float TATA INFOTECH (ANNA UNIVERSITY,MADRAS) section - II QUANTITATIVES.NO QUESTION ANSWER1 7*5*8**9 a)63*402 (12^2)(5^2) c)60*603 1/(sqrt(0.25) b)24 sqrt(529)+sqrt(196) b)375 1/2+1/3+1/4+1/5+1/6 d)29/36 0.6234*0.011 b)0.018574 7 5.23*6.48 c)33.89028 0.88*0.99 d)0.87129 6666*0.44 a)2933.0411 sqrt(3025)+sqrt(2025) d)10^212 (22^2)+(44^2) c)(49.19)^213 762*843 a)64236614 840/6200 b)21/15515 64*25/5+5*36 c)50016 9+99+999+9999 d)1110617 2^3+3^3+4^3 c)9918 862*489 d)42151819 0.0011/0.22 d)0.00521 find the unit's digit in the product ((3^67)*(6^39)*(7^59) Ans: b)422 (3500731) - (xxxxx) =1735618 Ans:c)176511323 there are three numbers in the ratio 1:2:3 and their H.C.F. is 12.The numbers are Ans :a)12,24,36.24 The greatest number which exactly divides 105,1001 and 2536 is Ans: b)725 852.2109 + 106.78 - 59.157 = ? Ans: a)899.833926 16 - 6*2 + 3 Ans : a)7/17 27 - 5*2 27 0.6*0.6 + 0.06/0.6 = ? Ans: b)0.4628 by how much is two third of 57 is more than one third of 90 ? Ans: a)829 The average of first five multiples of 3 is Ans : b)9 30 If 16% of 40% of a number is 8,the number is Ans : d)125 PAGE NO:321. pi*r*r -->y/16 cube, as 'r' increases _________- ans: 16 times that of y.22. If xy is added____ ans: (2xy*y)/y is added and (x*xy)/x is subtracted.23. a/b = c/d a=c, b=2d ans:c is multiplied by 2.24. a/b=c c>0 ans: a is always greater than c.25. If s=1/(sqrt(BA/X)) ans: increase.27. A,B are two numbers. what is___ ans: max no is AB.28. A,B,C are three numbers B>A, C>B, C>A,B which consideration will give you max output :(A+B)C PAGE NO:46.A/B=C/D A+C are equal ans: B=D/27. P is total no of components Q is defective what is the percentage not defective? ans: (P-Q)*100/PIII Reasoning: 16 questions , 20 min.1. salary S per month. tax X% of the salary. R% of the salary is deducted. what is the income? ans: S - X*S/100 - R*S/1002. a+b>c c>d3. single expressions are given. Pick up the correct PAGE NO:88.IF A 2 DIGIT NO IS ADDED TO A 3 DIGIT NO, IT GIVES A 4 DIGIT NO WHICH IS TRUE.ans: the 1st digit of answer is always one.10. drivers:helpers-->2:3 take 24$ a day. find total no of workers. ans: 15 persons. Numerical ability.1. 490% of 7.79 is PAGE NO:102. a) the bigger ball of the 2 is defective. b) the smaller ball of the two is defective. c) the heavier ball of the 2 is defective.\ d) the lighter ball is defeceive. ans: c3 a) the left out ball of the set is defective. b) both balls are defective. c) non of the balls are defective. d) non of these . ans: aII One flow chat is given. The questions to the flow chart are given below.1. a) print grade D is awarded to ball N b) print grade E is awarded to ball N c) print grade C is awarderdto ball N d) print grade C is awarded to ball N ans: d2. a) N=N/2 c) N=N+2This is page no. 5q1. age 1to20 sal up to 4000 21to34 4000 to 7000 above40 7000 to 10000 above 10000ans. loop executes 400 times
ANSWERS hai subbu these are the answers of the tata infotech o.k1.aptitude test1.b 2.d 3.d 4 b. 5 a. 6 d. 7 c. 8 b. 9 a. 10 c. 11 b 12 d. 13 b 14 c 15 a 16 b 17 a 18c 19 d 20 b 21 a 22 a 23d 24 c 25 b 26 c 27 d 28 a 29 b 30 c2 quantitative test1 a 2c 3b 4 b 5b 6a 7c 8d 9a 10 b 11 d 12 c 13 a 14 b 15 c 16 d 17c 18d 19d 20a 21b 22c 23a 24b 25b 26a 27c 28a 29b 30d3 lettertest1e 2a 3b 4b 5d 6e7a 8e 9e 10 d 11c 12a 13b 14d 15a 16d 17e 18a 19e 20dcharts1 1b 2c 3a 2 1d 2c 3a3 1b 2d 3b 4c




vocabs~~~~~~~volatile :affinity :agrarain :abberation :deviationaugury :assessconnatation :credibility :coincident :concomittaut :compensation :differential :distention :bloatdetrimental :echalon :incentive: stimulatinginnovation :changeintermittent :occassional, periodiclitigation :latent :obviousmoratorium :manifest :obscurenegotiate :bargainorthodox :traditionalpreparation :preponderantreciprocal :relevence :vacillate :waverignorance :aberration :apparatus :obression :precipitate ;volatile :conciliation :depreciation : devaluetionliable :37. Heterogeneous - dissimilar*, varied, imcommensurable38. Liable - apt, inclined, subjectto,bound, responsible, drawback*,debt*39. Adherance - Loyal support, allegiance, perseverance
3. Total balls=Z Red balls = N Remaining are black balls
% of black balls = Z-N * 100 ----- Z
7. cost = x Rs.
1st discount = y % of cost 2nd discount = z % of cost price = x(1-y/100)(1-z/100)
12. 1/6 of 596/0.695 = (1*596*1000)/(6*695) Ans: 142
13. All dogs are cats All rats are dogs
Ans: All rats are cats
14. (35-30+4)/(9-5+1) = ? Ans : 3
16. Salary S per month
1 type tax =x 2 type tax = y
Ans: % of tax = ((S-(x+y))/S)*100
4. Multiplication of two 3 digit numbers
Ans 3 digit * 3 digit = 5 or 6 digits
5. Add 3 digit and 2 digit number the first digit
Ans : a four digit number
6. A/B = C/D A & C are equal , B = D/2 or 2D
What should be the value of D so that the ratios are equal.
7. P = Total number of components
Q = Defective What is the percentage of non-defective components
Ans: (P-Q)*100/P %
8. 0.512*large No. = ?(Divide the given number by 2)
9. 10 balls bright 5 defective % defective Ans : 5*100/10 = 50%
10. (10-5+4)/3 =? Ans 311. 33%of 450 = ? Ans 148.512. 10995+95=? Ans 1109013. 127,119,128 Find prime number Ans : 12714. 6.29% of 2.8 = Ans 4415. 0.398*456 = ?16. 420%of 7.79 Ans 18 or 34.278( donno exactly)
17 -43+557+143 =65718. 05352*05352 = 28542904
SECTION - III
REASONING 16 QUESTIONS 20 MINS
1. Salary S per month, Tax X% of the salary R% of thesalary is deducted. What is the income
Ans: S-XS/100 -RS/100=S(1-X/100-R/100) = S((100-X-R)/100)
2. A+B>C C>D
4 similar expressions will be given . Pick the correct one using the above two expressions
3. All physicians are brown All balancianns are physicians
4. B>A Then which expression gives the highest (Several expression will be given)
5.K,L-->MEN X,Y--> Ans Kx+Ly
6. Y 15 10 11 ----- X 3 2 _______
a,b,c,d,e are related to certain expression which expression will satisfy the above values
7. If two numbers A& B are same which one of the
following does not satisfy this
(i) (A*(B+2))/(B*(A+2)) (ii) (A*B)/B**2
8. H hours --> S salary
x hours --> medical leave
therefore sal/hour = ?
Ans S/(H-X)
9. x-bulbs, y-broken The % of bulbs broken = Y/X * 100 then % of good bulbs = ( X-Y)/X *100
10.Adding X, Y


1.5% more than inflation rate which is of 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 giben B and C thesame number of marbles they already have to each of them. then, B gave C and Athe same no. of marbles they have, then C gave A and B the same no. of marblesthey have. At theend A,B,and C have equal no. of marbles. (i) If x,y,z are the marbles initially with A,B,C respectively. then the no ofmarbles B have at the end (a) 2(x-y-z) (b) 4(x-y-z) etc.
(ii)If the total no. of marbles are 72, then the no. of marbles with Aat thestarting a. 20 b. 30 c. 32
3. If a car starts from A towards B with some velocity due to some problem inthe engine after travelling 30km.If the car goes with 4/5 th of its actuvalvelocity the car reaches B 45min later to the actual time. If the car enginefails ofter travelling45km, the car reaches the destination B 36min late to the actual time , what isthe 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 15books. He kept15% of the money for travelling expenses and purchased 5 pencils.So how manybooks he can purchase with the remaining money.
5. ten questions on analogies. ex: hammer : carpenter :: knife : butcher.
6. The values of shares A,B and C from january to june are as follows.
month A B C
JAN 30 60 80FEB 35 65 85MAR 45 75 65APR 40 75 82MAY 55 75 85JUNE 50 75 80
i) During this period which share has undergone max 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 theperiod , to get max profit when this shares should be sold?v) ?
7. In a computer institute 9 languages can taught. The module is of 6 months duration and only six languages each of one month can be taught. In addition tothat BASIC is always there 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 coarsed prior to that # BINO, FIFO never be taught in single module languages are BASIC, WORD STAR, WORD PERFECT, FORTRAN, COBAL, BINO, FIFO,LOTUS, C
i. Of the following which module is possible based on above conditions.
ii) If word star is in 3rd month , what could be in 6th month.
iii) If COBAL is in the 2nd month and BINO in 6th month are there in addition tothe above condition, FORTRAN will be 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.
9. A square plot of some size , at four corners equal squares of some size arecut and is formed as open box. If this open box carries 128ml of oil. What isthe size of the plate i.e. side
a.17 b.14 c.13
10. In a square , all the mid points are joined. the inner square is shaded. Ifthe area of the square is A, what is the shaded area?
11. two questions on basic angles i.e given a circle, a few chords or diameteris drawn etc.
12. @(a,b)= (a+b)/2 /(a,b)= a.b *(a,b)= ab , if a=1, b=2 find i) /(a,(@(a,b),*(a,b)))
ii)
13. (x#y) = x+y-xy (x*y) = (x+y)/2 i) (x#y)#(x*y) < (x#y), which of the below values of x, y will satisfy thisequation
ii) (a*b)#(b*c)< (a#b)*(b*c) , what values of a,b,c satisfy the above.
14. By using the data given below answer the following questions.
B.tech M.sc M.A
male 20female 80
total 60 some thing similar to that question. i) 40% of females are B.Techs ii) Half of the students are either from B.Techs of M.Scs iii) ... i. what is the no. of female B.techs ii....
dont remember this question , just for an example this has been given . TISL(TATA-IBM)PAPER -------------------
Q9). what will be the result of executing following program main { char *x="new"; char *y="dictonary"; char *t; void swap (char * , char *); swap (x,y); printf("(%s, %s)",x,y);
char *t; t=x;
x=y; y=t; printf("-(%s, %s)",x,y); } void swap (char *x,char *y) { char *t; y=x; x=y; y=t; }
a).(New,Dictionary)-(New,Dictionary) b).(Dictionary,New)-(New,Dictionary) c).(New,Dictionary)-(Dictionary,New) d).(Dictionary,New)-(Dictionary,New) e).None of the above
(Ans will be b or e) check
Q10).If a directory contains public files (can be valied and used by any one ) which should not be altered ,the most liberal permissions that can be given to the directory is a)755 b)777 c)757 d)775 e)None of the above (Ans a)11) what would the following program results in
main() { char p[]="string"; char t; int i,j; for(i=0,j=strlen(p);i<j;i++) { t=p[i]; p[i]=p[j-i]; p[j-i]=t; } printf("%s",p); } a)will print:string b)will not print anything since p will be pointing to a null string c)will print:gnirtS
d)will result in a complication error e)will print invallid characters(junk) (Ans will be b ) check12) After the following command is executed $ ln old new a listing is performed with the following output $ ls -li
total 3 15768 -rw-rw-rw- 2 you 29 Sep 27 12:07 old 15768 " " " " " " " " new 15274 " " 1 " 40 " " 09:34 veryold
which of the following is true
a)old and new have same i-node number,2 b) " " " " " " " , 15768 c)old and new have nothing yo do with each other d)very old and new are linked
e)very old and old are linked (Ans is b)13) What will be the result of executing the following statement int i=10; printf("%d %d %d",i,++i,i++); a).10 11 12 b).12 11 10 c).10 11 11 d).result is OS dependent e).result is compiler dependent (Ans is e)14) What does extern means in a function declaration a)the funct has global scope b)the funct need not be defined\ c)nothing really d)the funct has local scope only to the file it is defined in e)none of the above (Ans will be c)15) What will be result of the following program main() {
void f(int,int); int i=10; f(i,i++); } void f(int i,int j) { if(i>50) return; i+=j; f(i,j); printf("%d,",i); } a).85,53,32,21 b)10,11,21,32,53 c)21,32,53,85 d)32,21,11,10 e)none of the above (Ans is e)16). MS windows 3.1 is a a)operating system b)Application c)Programing language d)database e)shell (Ans will be b)17).MS Windows 3.1 supports which tyoe of multi-tasking? a)cycle b)executive c)preemptive d)Non-preemptive e)Manual (Ans )18)The command ......ln/bin/mail /usr/you/bin/m a)will not be executed because you are linking files across different file systems b)results ln /bin/main being the same file as /usr/you/bin/m c)results in 2 links to the file mail d) " " " " m e)none (Ans will be b)19)In a standerd directory lay out ,/etc is the directory where a) basic programs such as who and ed reside b) device related files reside c)various administrative files such as password file reside d) short-lived files created during program execution reside e) the C sub-routine library resides (Ans is c)20) The command echo * a) echoes all files in the current directory b) prints * on the screen c) is an invalid command d) is the same as the command echo\* e) is the same as echo"*" (Ans is a)21)What will be the result of the following segment of the program main() { char *s="hello world"; int i=7; printf("%.*%s",s); } a)syntax error b)hello w c) Hello d) o world e) none (Ans is b)22) What will be the result of the following program main() { int a,b; printf("enter two numbers :");
scanf("%d%d",a,b); printf("%d+%d=%d",a,b,a+b); } a) will print the sum of the numbers entered b) syntax error during compilation c) will generate run time error /core dump d) will print the string "a+b = a+b" on the screen e) none of these (Ans is c)23) What is the size of 'q'in the following program? union{ int x; char y; struct { char x; char y; int xy;}p; }q; a)11 b)6 c)4 d)5 e)none (Ans is b why because no of bytes for int =4 given in instructions)24) Which message is displayed when a window is destroyed a)WM_CLOSE b)WM_DESTROY c)WM_NCDESTROY d)WM_POSTDESTROY E)NONE (Ans is b)25)Send Message and postmessage are a)send message puts the message in the message queue and results, postmessage processes the message immediately b)Sendmessage processes the message immediately,postmessage puts the message in the queue and returns c) Both put the message in the message queue and returns d) Both process the message immediately e) None of the above (Ans will be b check)26) Which of the following message is used to limit the size of teh Window a)WM_SIZE b)WM_PAIN c) WM_GETMINMAXINFO d) WM_COMMAND e) WM_CREATE (Ans is a)27)until whogrep mary do sleep 60 done a) is syntactically incorrect b) waits 60 seconds irrespective of Mary being logged in or not c) waits until Marry is logged in d)waits till Mary exited e)None (Ans is c)28)The UNIX system call that transforms an executable binary file into a process is a)execl() b)execv() c)execle() d)execve() e)All of the above (Ans will be e check)29)Which of the following is true about fork() a) it transforms an executable binary file into a process that overlays the
process which made the fork() system call.NO new process is created. b) Causes the creation of a new process, the CHILD process, with a newprocess ID c)Causes the creation of a new process, the CHILD process ,with the sameprocess ID as the parent d)fork() has nothing to do with processes e)fork() is not a system call (Ans is b)30) What do the following variable names represents? sort register volatile default a) short - is not a reserved keyword b ) volatile & register - is not a reserved keyword c)all the above are keywords d) all are valid variable names e) default - is not a reserved keyword (Ans is c)31)What will be the result of the following program main() { char *x="String"; char y[] = "add"; char *z; z=(char *) malloc(sizeof(x)+sizeof(y)=1); strcpy(z,y); strcat(z,y); printf("%s+%s=%s",y,x,z); } a)Add+string=Add string b)syntax error during compilation c)run time error/core dump d)add+string= e)none (Ans will be e consider cap&small leters)32)What does the following expression means? char *(*(*a[N])())(); a) a pointer to a function returning array of n pointers to function returningcharacter pointers b) a function return array of N pointers to funcions returning pointers tocharacters c) an array of n pointers to function returning pointers to characters d)an arrey of n pointers to function returning pointers to functions returning pointers to characters e) none of the above (ANS IS d)33)Which of the following is not a GDI object a)HBRUSH b)HPEN c)HBITMAP d)HRGN e)HWND (Ans ic e)34) Which of the following message is used to initialize the contents of a dialog a)WM_CREATE b)WM_SIZE c)WM_COMMAND d)WM_INITDIALOG e)none (Ans will be d)35)Interprocess communication in UNIX can be achieved using a)pipe b)Message c)Semaphores d)Shared Memory e)All of the above (Ans is e)36) Which of the following is true a)UNIX is a time sharing multi-user OS b)UNIX has a device independent file system c)UNIX is full duplex d)UNIX has command interpreter e)All of the above
(Ans is e)
45Q). PS1 pwd export PS1 results in a). your primary prompt being your current directory b). " " and secondary prompts being the current dir c). " " prompt being your home dir d). " " and secondary prompts being the home dir e). None of the above. 8Q). 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 7Q). In UNIX a files i-node a)is a data structure that defines all specifications of a file like the file size ,number of lines to a file ,permissions etc. b).---- c). - - - -- d). _ _ _ ( ans is ---------(a) ) 44Q). The UNIX shell is.... 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 is (b) ) 48Q).enum number { a=-1, b= 4,c,d,e} what is the value of e ? 7,4,5,15,3 (ans is 7 ) check again 3Q).The very first process created by the kernal that runs till the kernal process is haltes is a)init
b)getty c) d) e)none (Ans is a) 47 Q) Result 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 is d )1 Q) What is the result main() { char c=-64; int i=-32 unsigned int u =-16; if(c>i){ printf("pass1,"); if(c<u) printf("pass2"); else printf("Fail2");} else printf("Fail1); if(i<u) printf("pass2"); else printf("Fail2")} a)Pass1,Pass2 b)Pass1,Fail2 c)Fail1,Pass2 d)Fail1,Fail2 e)none (Ans is c)
2) 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
4) 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
5) 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 no:9//
p = malloc(strlen(Temp) + 1); strcpy(p,Temp); printf("(%s, %s)",a,p); free(p); free(a); } //Line no 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
6) In the following code segment what will be the result of the function, valueof 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
37) 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
38) 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
39) 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 Ans) c ( check it )
40) 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
41) 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
42) The standard source for standard input , standard output and standard erroris a) the terminal b) /dev/null c) /usr/you/input, /usr/you/output/, /usr/you/error respectively d) NOne
Ans) a
43) 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
46) 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 Ans) b ( check it)
49) 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
50) The command grep first second third /usr/you/myfile
a) prints lines containing the words first, second or third from the file/usr/you/myfile b) searches for lines containing the pattern first in the files second, third,and /usr/you/myfile and prints them c) searches the files /usr/you/myfiel and third for lines containing the wordsfirst or second and prints them
d) replaces the word first with the word second in the files third and/usr/you/myfile
e) None of the above Ans) b
APTITUDE TEST *****************************************************
Missing leter1).eefgghii- (Ans j)2)3)defdefghi- (Ans g)4)cdexyzfghxyz-(Ans i)5)defdegde- (h)6)abczabcyabc- (x)7)fgbhibjkb- (l)8)- - - - - (Ans is r)9)aarbsctarb- (s)10)bccdeefg- (g)11)efhikl- (n)12)abccdeffg- (h)13amnbopc- (q)14)tttssrqqqp- (p)15)ddffhhjj- (l)16)mnmnklopopkl- (q)17)cddeeefff- (f)18)gfed- (c)19)dfhjl- (n)20)abcijdefij (g)21)efgefghefghi- (e)22)bcbdedfgfhi- (h)23)aababccdc- (d)24)aibcidef- (i)25)cehl- (q)26)abdehimn- (s) check again27)becfdge- (h)28)agbhc- (i)29)adhko- (r)30)efghjklno- (q)31)aedhg- (k)32aeibf- (j)33)zdwgt- (J)34)zeyijxg- ()find35)cqreuvg- (y)36)ksjtiuh- (v)37)rsjtuhvw- (f)38)ieajfbk- (g)39)hebifej- (g)40)hjlmiel- (h)--------------------------------

TOTAL 60 QUE'S 25-PROBLEMS & 35 FIGURES(figure series,we have to find next coming figure)
HERE 13 PROB'S ARE THERS.REMAINING ALSO ALMOST LIKE THIS .
1) A boy multiplied a number with 10 and got 100,insted of dividing it . If he devided it what would be the answer? (Ans is 1)2)If 12 shell cup board requires 18ft of wall space then 30 " " " " how much wall space? (Ans is 45)3)The average salary of three employee is 95Rs.per week. If one employee earns 115 and other earns 65 rupees. how much will third be earn? (Ans is 105Rs)4)A company instaled 36 punching machines at the begining of the year.In the spring they instaled 9 additional m/c's and then discontinued 18 in the fall.How many were still installed at the end of the year? (Ans is 9)check5)During a given week a programmer spend 1/4 of his time preparing charts,3/8 of his time for coding,rest of his time for debugging the programs.If he had 48 hrs during the week how many hours did he spend debugging the program. (Ans is 18hrs)6)A 16 story building has 12000ft on each floor. Company A rents 7 floors and company B rents 4 floors. What is the number of square feet of unrented floor space? (Ans is 60000 sqft)7)A man owns 2/3 of a computer service buroue business and sells 3/4 of his share for $75000.What is the value of the business. (Ans is 150,000)8)A computer printer produces 176400 lines in a given day. If the printer was in operation for 7hrs during the day how many lines did it print per minute? (Ans is 420)9)From its total income a company spent $20000 for advertising half of the remainder on salaries and had $6000 left.What was the total income? (Ans is $32000)10)In a certain company 20% of the men and 40% of the women attended the annual company picnic.If 35% of all the emplo- yees are men .What % of all the employee went to the picnic? (Ans is 33%)11)The dimensions of certain IBM m/c are 48"*30". If the size of the m/c is increased proportionally until the sum of its dimensions equals to 156".What will be the increase in the shortest side? (Ans is 30)12)If a card punch operator can process 80 cards in half an hour How many cards can this process in 7hr30min? (Ans is 1200)13)In a computer tape library there are two racks with 40 tapes per rack.In a given day 30 tapes are in use . What fraction remains in the rack? (Ans is 5/8)


1)A train and A Cyclist reaches a station every day at the same time. One>day the Cyclist starts 20 minutes late from his house.On his way to station>the train crosses him at 5 miles before station.The speed of cyclist is>12mph. Find the speed of the train.>Ans:60mph>>2)There is an element which triplicates in every hour. Each of these 3 items>inturn reproduce exactly 3 other items. If a single compund is kept in a>container at noon and the container is full by midnight. After how many>hours is the container 1/3 full.>Ans:11:00pm>>3) A person goes to a bank and Quotes x Rs and y paise on a cheque. The>cashier misreads it and gives y Rs and x paise. The man comes out and>donates 5 paise to a begger. Now, the man has exactly double the amount
he>has quoted on the cheque.>Ans: 31 Rs. and 63 paise.>>4)Pepsi, Fanta, Cola order either coffee or tea after dinner. > a)If pepsi orders coffee, Fanta orders the drink that is ordered by cola.> b)If fanta orders coffee, pepsi do not order the drink that is ordered> by cola.> c)If cola orders tea, pepsi orders the same drink ordered by fanta.>>Who take the same drink every day. >Ans:Pepsi.>>5)Boat A leaves shore P and Boat B leaves shore Q.(P and Q are opposite>shores of a river.) A and B travel at constant speed.But the speeds are
not >same. Both boats meet at 600m from P for the first time. In their return >journeys (ie after touching the shores), they meet agian at 200m from Q. >Find distance between P and Q.>Ans:1600m>>6) There are two glasses A and B. A contains orange juice and B contains> apple juice in same quantity.Some amount orange juice from glass A is>transfered to glass B. The juice in glass B is mixed well. Then again the>same amount of juice from B is transferred to A. Compare the quantities
of>apple juice in A and orange juice in B.>>Ans:Equal.>>>7)100 Kg. Potatoes with 98% water content are dried in an oven. The>percentage of water decreases to 50 %. What is the weight of potatoes now.>Ans:4Kg.>>8)There are 4 parties A,B,C,D. Ram told that either A or B will win. Shyam > told C will never win. Hari told either B or C or D will win. Only one of>them was Correct. Which party won?>Ans: C>>9)There are n Railway stations. Ticket facility is available between every>two stations. Recently, m new stations are bulit so that 42 new tickets
are>to be printed. How many stations were there? How many are newly constructed.>>Ans: n=6;m=3;> initially n*(n-1) were printed. ie 30.> Later on, (n+m)*(n+m-1) are printed ie 72.(so 72- 30 = 42)>>>10)A colck takes 33 seconds to complete the pendulum sound when it is 12:00>noon. How long one can hear the pendulum sound it is 6:00 a.m. ie the the>differrence between 1st sound and last sound.>Ans:15 Secs

0 Comments:

Post a Comment

<< Home