Dec 25, 2008

T Company's

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TISL

part 1

it consists of number series.In some institutes alphabetical series is


given instead of number series.Iam having number series so iam sending
that.Please go through tha alphabetical tests also.

1. 19,24,20,25,21,26,? ans:22
2. 11,14,12,15,13,16,? ans: 14
3. 10,2,8,2,6,2,? a:4
4. 8,9,11,14,,18,23,? a:29
5. 25,25,22,22,19,19,? a:16
6. 14,2,12,4,10,6,? a:8
7. 7,16,9,15,11,14,? a:13


8. 40,42,39,44,38,46,? a:37
9. 3,18,4,24,5,30,? a:6
10. 18,20,22,20,28,20,? a:22
11. 18,20,10,12,4,6? a:0
12. 7,6,8,5,3,7,? a:4
13 9,18,21,25,20,? a:30
14 3,3,4,8,10,36,? a:33
15.30,28,25,20,34,28,? a:21
16. 4,8,16,32,64,128,? a:256
17. 8,16,24,32,40,48,? a:56

18. 13,11,14,12,15,13,? a:16
19. 6,18,36,108,216,648,? a:1296
20. 4,4,8,8,16,16,? a:32
21. 2,6,18,54,162,486,? a:1458
22. 4,20,35,49,62,74,? a:85
23. 10,18,15,23,20,28,? a:25
24. 4,10,8,14,12,18,? a:16
25 10,15,12,17,14,10,? a:16

part 2 consists of non-verbel reasoning(figures).So it is impossible for
me to send those.(25 questions)

part 3 (quantitative)

1.A clerk multiplied a number by ten when it should have been divided by
ten.The ans he got was 100.what should the ans have been?
a:1


2.If rs20/- is available to pay for typing a research report & typist A
produces 42 pages and typist B produces 28 pages.How much should typist A
receive?
a:rs12
3.The average salary of 3 workers is 95 Rs. per week. If one earns
Rs.115 and second earns Rs.65 how much is the salary of the 3rd worker.
Ans.105.
4.A 16 stored building has 12000 sq.feet on each floor. Company A rents 7

floors and company B rents 4 floors. What is the number of sq.feet of
unrented floor space.
Ans.60000
5. During a given week A programer spends 1/4 of his time preparing flow
chart, 3/8 of his time coding and the rest of the time in debugging the
programs. If he works 48 hours during the week , how many hours did he
spend debugging the program.
Ans. 18.
6. A company installed 36 machines at the beginning of the year. In March


they installed 9 additional machines and then disconnected 18 in August.
How many were still installed at the end of the year.
Ans .27
7. A man owns 2/3 of the market research beauro business and sells 3/4 of
his shares for Rs. 75000. What is the value of Business.
Ans.150000
8. If 12 file cabinets require 18 feet of wall space, how many feet of
wall space will 30 cabinets require?
Ans.45
9.A computer printer produced 176,400 lines in a given day. If the


printer was in operation for seven hours during the day, how many lines
did it print per minute?
Ans.420
10. From its total income, A sales company spent Rs.20,000 for
advertising, half of the remainder on commissions and had Rs.6000 left.


What was its total income?
Ans.32000
11. On Monday a banker processed a batch of cheques, on Tuesday she
processed three times as many, and on Wednesday she processed 4000
cheques. In the three days, she processed 16000 cheques. How many did

she process on Tuesday?
Ans.9000
12. The cost of four dozen proof machine ribbons and five dozen accouting
machine ribbons was Rs.160/-. If one dozen accounting machine ribbons
cost Rs.20/-, what is the cost of a dozen proof machine ribbons?
Ans.Rs.15
13. If a clerk can process 80 cheques in half an hour, how many cheques
can she process in a seven and one half hour day?
Ans.1200
14. In a library, there are two racks with 40 books per rack. On a given
dya, 30 books were issued. What fraction remained in the racks?
Ans.5/8
15. The average length of three tapes is 6800 feet. None of the tapes is
less than 6400 feet. What is the greatest possible length of one of the
other tapes?
Ans.7600
16. A company rented a machine for Rs.700/- a month. Five years later
the treasurer calculated that if the company had purchased the machine

and paid Rs.100/- monthly maintenance charge, the company would have
saved Rs.2000/-. What was the purchase price of the machine?
Ans.Rs.34000
17. Two computers each produced 48000 public utility bills in a day. One
computer printed bills at the rate of 9600 an hour and the other at the
rate of 7800 an hour. When the first computer finished its run, how many
bills did the other computer still have to print?
Ans.9000
18. If a salesman's average is a new order every other week, he will
break the office record of the year. However, after 28 weeks, he is six
orders behind schedule. In what proportion of the remaining weeks does
he have to obtain a new order to break the record?
Ans.3/4
19. On a given day, a bank had 16000 cheques returned by customers.
Inspection of the first 800 cheques indicated that 100 of those 800 had
errors and were therefore the available immediately for data processing.
On this basis, hwo many cheques would be available immediately for data
processing on that day?


Ans.14000
20. A company figured it needed 37.8 sq.feet of carpot for its reception
room. To allow for waste, it decided to order 20% more material than
needed. Fractional parts of sq.feet cannot be ordered. At Rs.9/- a
sq.feet, how much would the carpet cost?
Ans.
a. Rs.324 b) Rs.405 c) Rs.410 d) Rs.414 e) Rs.685
21. A tape manufacturer reduces the price of his heavy duty tape from
Rs.30/- to Rs.28/- a reel and the price of a regular tape from Rs.24/- to
Rs.23/- a reel. A computing centre normally spends Rs.1440/- a month for
tapes and 3/4 of this is for heavy duty tapes. How much will they save a
month under the new prices?
Ans.Rs.87
22. In a team of 12 persons, 1/3 are women and 2/3 are men. To obtain a
team with 20% women how many men should be hired?
Ans.8
23. The dimensions of a certain machine are 48" X 30" X 52". If the size
of the machine is increased proportionately until the sum of its

dimensions equals 156", what will be the increase in the shortest side?
Ans. 6"
24. In a certain company, 20% of the men and 40% of the women attended
the annual company picnic. If 35% of all the employees are man, what
percent of all the employees went to the picnic?
Ans.33%
25. It cost a college Rs.0.70 a copy to produce a Programme for the
homecoming football game. If Rs.15,000/- was received for advertisements
in the programme, how many copies at Rs.0.50 a copy must be sold to make
a profit of Rs.8000/- ?
Ans. 35000

Some extra questions other than you send to me are follows.
I already send view logic paper yesterday.


best of luck

From 96pg107@reccal.ernet.in Sat Oct 4 21:56:36 1997
Return-Path: 96pg107@reccal.ernet.in
Received: from iitkgp.ernet.in (iitkgp.iitkgp.ernet.in [144.16.192.1]) by ee.iitkgp.ernet.in (8.6.12/8.6.9) with ESMTP id VAA06324 for ; Sat, 4 Oct 1997 21:56:36 +0600
Received: from karthika.reccal.ernet.in by iitkgp.ernet.in (SMI-8.6/SMI-SVR4)
id WAA04907; Sat, 4 Oct 1997 22:00:52 +0530
Received: by karthika.reccal.ernet.in (8.6.12/gw.1.0)
id VAA17532; Sat, 4 Oct 1997 21:46:12 +0500
Date: Sat, 4 Oct 1997 21:46:12 +0500
From: 96pg107@reccal.ernet.in (CHANDRA MOULI REDDY)
Message-Id: <199710041646.VAA17532@karthika.reccal.ernet.in >
Apparently-To: durlav@ee.iitkgp.ernet.in
Status: R

vocabs
~~~~~~~
volatile :
affinity :
agrarain :
abberation :deviation
augury :
assess
connatation :
credibility :
coincident :
concomittaut :
compensation :
differential :
distention :bloat
detrimental :
echalon :
incentive: stimulating
innovation :change
intermittent :occassional, periodic
litigation :
latent :obvious
moratorium :
manifest :obscure
negotiate :bargain
orthodox :traditional
preparation :
preponderant
reciprocal :
relevence :
vacillate :waver
ignorance :
aberration :
apparatus :
obression :
precipitate ;
volatile :
conciliation :
depreciation : devaluetion
liable :
37. Heterogeneous - dissimilar*, varied, imcommensurable
38. 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 3
11. 33%of 450 = ? Ans 148.5
12. 10995+95=? Ans 11090
13. 127,119,128 Find prime number
Ans : 127
14. 6.29% of 2.8 = Ans 44
15. 0.398*456 = ?
16. 420%of 7.79 Ans 18 or 34.278( donno exactly)

17 -43+557+143 =657
18. 05352*05352 = 28542904

SECTION - III

REASONING 16 QUESTIONS 20 MINS

1. Salary S per month, Tax X% of the salary R% of the
salary 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
From 96pg107@reccal.ernet.in Sat Oct 4 21:56:36 1997
Return-Path: 96pg107@reccal.ernet.in
Received: from iitkgp.ernet.in (iitkgp.iitkgp.ernet.in [144.16.192.1]) by ee.iitkgp.ernet.in (8.6.12/8.6.9) with ESMTP id VAA06324 for ; Sat, 4 Oct 1997 21:56:36 +0600
Received: from karthika.reccal.ernet.in by iitkgp.ernet.in (SMI-8.6/SMI-SVR4)
id WAA04907; Sat, 4 Oct 1997 22:00:52 +0530
Received: by karthika.reccal.ernet.in (8.6.12/gw.1.0)
id VAA17532; Sat, 4 Oct 1997 21:46:12 +0500
Date: Sat, 4 Oct 1997 21:46:12 +0500
From: 96pg107@reccal.ernet.in (CHANDRA MOULI REDDY)
Message-Id: <199710041646.VAA17532@karthika.reccal.ernet.in >
Apparently-To: durlav@ee.iitkgp.ernet.in
Status: R

vocabs
~~~~~~~
volatile :
affinity :
agrarain :
abberation :deviation
augury :
assess
connatation :
credibility :
coincident :
concomittaut :
compensation :
differential :
distention :bloat
detrimental :
echalon :
incentive: stimulating
innovation :change
intermittent :occassional, periodic
litigation :
latent :obvious
moratorium :
manifest :obscure
negotiate :bargain
orthodox :traditional
preparation :
preponderant
reciprocal :
relevence :
vacillate :waver
ignorance :
aberration :
apparatus :
obression :
precipitate ;
volatile :
conciliation :
depreciation : devaluetion
liable :
37. Heterogeneous - dissimilar*, varied, imcommensurable
38. 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 3
11. 33%of 450 = ? Ans 148.5
12. 10995+95=? Ans 11090
13. 127,119,128 Find prime number
Ans : 127
14. 6.29% of 2.8 = Ans 44
15. 0.398*456 = ?
16. 420%of 7.79 Ans 18 or 34.278( donno exactly)

17 -43+557+143 =657
18. 05352*05352 = 28542904

SECTION - III

REASONING 16 QUESTIONS 20 MINS

1. Salary S per month, Tax X% of the salary R% of the
salary 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


TATA INFOTECH
*************
VERBAL

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

3. affable : lovable or approachable

39. Decomposition : rotten

40 agregious : apart from the crowd, especially bad

41. conglomaration: group, collection

4. 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 before
fulfillment 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 : applianes
55. Ignorance : blindness, in experience

56. obsession: complex enthusiasm
57. precipitate : speed,active

Section III

Letter Series

These are too tough. Maintain time 26 questions ----- 10min


1. A C BDEFGI - I H K J L ANS: H

2. AIZBEYCIXDI - GENJW ANS;W

3. ADGJMP - RWTS ANS; S

4. ABCEFGIJK - MLONP ANS; M nOTE: MLONP ARE GIVEN OPTIONS

5. ABFGKLPQ - TSVUW ANS;U

6 JWXUVST - QPSET ANS; Q

7. ARHXYTDTWST - NPTKR ANS; P

8.FMBIPZVIEV - IRYOU

9. NZI YCX KWF - JFVMY ANS;V

10. AASASPASPKA - RQTSU ANS;S

11. AECPS - TRUE ANS;U

12. BBPRDDLNFFIK - HQJIK ANS'H

13 AZEXIVMT - RQNSO ANS: Q

14. ABDGKP - LIWUX ANS:U

15. BCDAEGHIFJLMN LKNMO ANS: K

16. XWEFGVUHIJK - PNSRT ANS: T

17. ODJTOPQNOERT - QOUVW ANS;O

18. PRNUUPEJRBB - HVUNE ANS: E

19.LULMGMNFNPS - ONQPS ANS:P

QUESTIONS ARE NOT IN SEQUENCE.


NUMERICAL

1.420% OF 7.79 = 32.718

2 3427 / 16.53 = 202

3. 10995 /95 = 115.7365

4. 43+557-247 =353

5. 3107*3.082= 9591

6. 48.7 + 24.9 - 8.7 = 64.90

7.525.0/47.8 = 11
8. (135-30-14)*7 - 6 +2 = 3
9.3/8 * 5.04=1.89

10.697 /219 =3.18

11.8/64 +64/16 = 4.14
12.298*312/208 = 453.54
13. 0.33 *1496 /13 = 37.98

14.0.26 + 1/8 = 0.385

15.66.17+1/3= 67.03

16. 2.84+1/4= 3.09

17. 33% OF 450 = 148.5

18. 907.54 / 0,3073= 3002

19.tHERE ARE two categories of persons in ratio A, b i.e.A:B = 2:3 A type
earns 2.5 dollars/hr and B type 1 dollar/hr total money earnedby both is
24dollars. then total number of persons

Ans: 15

20.Question not clear

Slowing running - n hours - A

Medium running - B

fast running - k hours - c

Ans: nA+kC

21. Tottal balls z,red balls N remaining are blak balls,then %of black
balls equal to Ans: z-n/z*100

22. Multiplication three digits and two digits number will result the

Ans: HInt: four digit number first number must be one.

23. A= C;B=2D what should be do to make the ratio same. i.e.a/b = c/d

Ans: multiply A by 2

24. P- Total number of compoentns

Q= defective number of compoentns

%of non defective equals to p-q/p*100

25. Cost of article x,first discount is y% of cost, seconddiscount is z%
of cost . The price of x is

Ans: x(1-y/100)(1-z/100)

26.Prime number a) 119 b) 115 c) 127 d) none Ans: C

27. A/B = C;C>D then

Ans:A is always greater than D

28..B>Cand A
Ans: (A+B)C

29. H hours - S salary; xhours - Medical leave, then salary/hr = ?

Ans: s/H-x

30.(1/6of 596) /(0.695) = 142

31.All dogs are cats

All rats are dogs

Ans:all rats are cats

32.35-30+4/7-5+1 = ?

Ans: 3

33.10995 + 95 = ?
Ans: 11090

34.Salary 'S' per month,1 type of tax is xRs. second type of tax is y Rs
then % of take home.

Ans: s-(x+y)/s * 100

35.All physicians are browns

All balancians are physicians

Ans: not know.

36. B>A then which expression will be highest value

Ans: AB

37. K,L -- Men ;X, Y -> Ans:kX + Ly

38. If A,B are same number, which one of the following doesnot satisfy
this Ans: A*B/B**2

39. X- bulbs'; y - broken; % of non broken bulbs Ans: x-y/x*100

40. Adding X, Y to A equals to Ans: a (large expression)

41.Salary s permonth, tax x% of the salry, r% of salary is deducted what
is the income.

Ans: s*(1-(x+R)/100

42. Add three digits and two digits numbers the first digit is

Ans:1 (four digit number starting with one)

43. 0.512 * large number = ?

Ans:divide the given number by 2

44.In 10% balls 5 are defective, % of defective

Ans:50%

45.6.29% of 2.8 = 0.18

46.0.398*456=181.49

47.0 < x<1 which is greater

a) 1/x**2 b) 1/x c) x d) x**2

Ans: a

48.c = a/b; a-1 = c, what is the relation between a and b

Ans: b = a/a-1

49.The sum of 7 consecutive odd numbers interms with 27 asfourth number

Ans:189 (question not clear)

Verbal time is enough. But for numerical and letter series,timeis not
enough.


So here Iam giving flow chart answersin sequence. These answers are
perfectly in sequence,donot worry, youcan keep these answers blindly.

There are 7 flow charts we know only 6 flow charts answers.

Donot thinkabout these answers are correct or not , these are 100%
correct. We tested here.

1. D B A E C

2. D E C E C


3. C B D B D

4. D B D C B

5. C E A D E
6. B C D A D


In hurry, I typed. Please cooperative.


Model :

Section 1 synonyms :

section 2 numerical ability : 26questions 8min

section 3 letter series : 26 questions 10min

section 4 reasoning type : 14 questions 20min

setion 5 flow charts : 7 questions 35min


Each sectionis having separate time. I could not complete letter series,
numerical ability questions in time. Flow chartssection i kept within 5
min afterwards I cam back. If they see I will fuck you. So be care.


Group discussion topics:

1. Brain drain: i.e. related to why immigration to U.S; I opposed
partially and supported partially

2. Electronic media effect; Internet, TV ,Email multimedia

G.D they won't eliminate so many people. but you have participate
with enthusiasm.You talk something. Interview as usual, stereoscopic
questions.like TCS.


I went upto interview, afterwards out.


BEST OF LUCK. If you want any help always welcome.

A.V.Rao

COMPUTER VISION (CV)
====================

1. |X-A| ==A-X, Ans. c. x<=a
2. There is six letter word VGANDA. How many ways you can arrange the letters
in the work in such a way that both the 'A's are together.
ans. 120
3. It two cards are toked on after other without replacing from a pack of
52 cards. What is the probability for the two cards to be queen.
ans. 1/17 * 1/13
4. 51 X 53 X ..... X 59.
a. 99!/44! b. c. d (99! X 25! )/( 2^2^4 X 49! X 51!)
ans. d.
5. The ratio of boys to girls is 6:4. Sixty percent of the boys and fourty
percent of the girls lake lunch in the canteen. What percent of the class
takes lunch in the canteen?
ans. 52%


DATA SUFFICIENCY
----------------
a. Only statement A is sufficient,
b. Only statement B is sufficient,
c. Both are necessary,
d. Both are not sufficient.

6. X is an integer. Is X divisible by 5?
a. 2X is divisible by 5,
b. 10X is divisible by 5.
ans. a
7. Is Anna the tallest in the class
a. Anna is the tallest girl,
b. Anna is taller than all boys.
ans. c

8.



ANALYTICAL
----------
Zulus always speak truth and Hutus always speak lies. There are
three persons A, B,&C. A met B and says "I am a Zulus as I am a Hutu". We don't know
what exactly he said. The B meets C and says to C that " A is a Zulu".
Then C replied " No, A is a Hutu".

9. How many Zulus are there?
ans. 2
10. Who must be a Zulu?
ans. B, b (may be)


A father F has 5 sins, P,Q,R,S,T not necessarily in this order. Two are
of same age. The eldest and teh youngest cannot be twins. T is elder to R
and younger to Q and S has three older brothers.

questions:. 11, 12, 13, 14.

Who are the twin?
Who is the oldest/youngest.

ans. order may be QTRPS

There are 7 people who take a test, among M is the worst, R is
disqualified. P & S obtain same marks, T scares less than S and Q scores
less than P, N scores higher than every one.

questions: 15, 16, 17, 18
ans. NPSTQRM

highest marks is to 'N'
least marks is to 'M'.


UNIX & C
-----------

19. What does chmod 654 stand for
ans. -rw-r-xr--
20. Which of following is used for back_up files?
a. compress b. tar c. make d. all the above
ans. d
21. What does find command do?
ans. search a file
22. What does "calloc" do?
ans. A memory allocation & initialising to zero.
23. What does exit() do?
ans. Came out of executing program.
24. What is the value of the 'i'?
i= strlen("Blue") + strlen("Purple")/strlen("Red") - strlen("green")
ans. 1
25. i = 2;
printf("%ld %ld %ld %ld ", i, i++, i--, i++);
ans. chck out answer is wrong.
26. Using pointers, changeing A to B and B to A i.e., swapping the function
using two addresses and one temporary variable, How will be the function
look like?
ans. swap (int *, int *, int)
27. In '^' how are the arguments are passed by befault?
ans. by value.
28. Find the prototype of Sine function
ans. extern double sin(double);
29. Scope of a global variable which is declared as static?
ans. File.
30. ASCII problem, i = '^'-...
ans. 6
31.What is the output of,
printf("Helow \0 is the world");
ans. Hello is teh world.
32. Clarifying the concept addresses used ever arrays, i.e., changing the
address of a bare element production. What is error?
33. Child process ---- fork,
child shell ---- sh.
34. read about yacc, awk, man, etc.



PCS
======


// This is another paper, we don't have this paper as such, I am giving
// over all idea of paper with some question...

// There r 5 sections; 5 questions in section1, 5 in section 2
// 8 marks in english (section 3); section 4 TRue or False type

/*********************************************
Section1:

5 questions.. (Mutiple choices)

i.e select any one of the following for 5 questions;;

A) only 1 is sufficent
B) only 2 is sufficent
C) both nessary
D) both are insufficent
E) either is sufficent


1. .......... (Don't know)

2. one composition contains... 5/4 L 6/14 L....

(Ans. both r insufficent)

3. x fabric.... 6.50 per meter , 25% wholesale...

(Ans: both r required)

4 & 5 don't know....

/**************************************/

Section 2 (Analitical...)

1. Average 3years 45,000, 1st 1.5 times, 2nd 2.5 times..

(Calculate in this way... (x+1.5x+2.5x)/3 = 45000 i.e 5x/3 = 45000 )
then calculate required value...)

2. Three vehecle speed ratio 1:2:3 & time ratio 3:2:1...
Distance ratio ??

(Ans: 3:4:3.. check once)

3. some km/hr problem...

(Ans: 150 km/hr)

4 & 5 don't know....

/***********************************/

Section 3 (English - 8 marks.. mutiple choice..)

Don't know...

/******************************/

Section 4 (True or Flase type..)

1. Square contains all angles , one object does not contain angles;

1.1 True
1.2 False
1.3 True

INFOSYS


PART 1

1). A beggr collects cigarette stubs and makes one ful cigarette
with every 7 stubs. Once he gets 49 stubs . How many cigarettes
can he smoke totally.
Ans. 8
2). A soldiar looses his way in a thick jungle at random walks
from his camp but mathematically in an interestingg fashion.
First he walks one mile east then half mile to north. Then 1/4
mile to west, then 1/8 mile to south and so on making a loop.
Finally hoe far he is from his camp and in which direction.
ans: in north and south directions
1/2 - 1/8 + 1/32 - 1/128 + 1/512 - and so on
= 1/2/((1-(-1/4))
similarly in east and west directions
1- 1/4 + 1/16 - 1/64 + 1/256 - and so on
= 1/(( 1- ( - 1/4))
add both the answers
3). hoe 1000000000 can be written as a product of two factors
neither of them containing zeros
Ans 2 power 9 x 5 ppower 9 ( check the answer )
4). Conversation between two mathematcians:
first : I have three childern. Thew pproduct of their ages is 36
. If you sum their ages . it is exactly same as my neighbour's
door number on my left. The sacond mathematiciaan verfies the
door number and says that the not sufficient . Then the first
says " o.k one more clue is that my youngest is the youngest"
Immmediately the second mathematician answers . Can you aanswer
the questoion asked by the first mathematician?
What are the childeren ages? ans 2 and 3 and 6
5). Light glows for every 13 seconds . How many times did it
between 1:57:58 and 3:20:47 am
ans : 383 + 1 = 384

6). 500 men are arranged in an array of 10 rows and 50 columns .
ALL tallest among each row aare asked to fall out . And the
shortest among THEM is A. Similarly after resuming that to their
originaal podsitions that the shorteest among each column are
asked to fall out. And the longest among them is B . Now who is
taller among A and B ?
ans A
7). A person spending out 1/3 for cloths , 1/5 of the remsaining
for food and 1/4 of the remaining for travelles is left with
Rs 100/- . How he had in the begining ?
ans RS 250/-
8). there are six boxes containing 5 , 7 , 14 , 16 , 18 , 29
balls of either red or blue in colour. Some boxes contain only
red balls and others contain only blue . One sales man sold one
box out of them and then he says " I have the same number of red
balls left out as that of blue ". Which box is the one he solds
out ?
Ans : total no of balls = 89 and (89-29 /2 = 60/2 = 30
and also 14 + 16 = 5 + 7 + 18 = 30
9). A chain is broken into three pieces of equal lenths
conttaining 3 links each. It is taken to a backsmith to join into
a single continuous one . How many links are to tobe opened to
make it ?
Ans : 2.
10). Grass in lawn grows equally thickand in a uniform rate. It
takes 24 days for 70 cows and 60 for 30 cows . How many cows can
eat away the same in 96 days.?
Ans : 18 or 19
11). There is a certain four digit number whose fourth digit is
twise the first digit.
Third digit is three more than second digit.
Sum of the first and fourth digits twise the third number.
What was that number ?
Ans : 2034 and 4368


If you qualify in the first part then you have to appear for
the second i.e the following part.

Part 2.

1. From a vessel on the first day, 1/3rd of the liquid
evaporates. On the second day 3/4th of the remaining liquid
evaporates. what fraction of the volume is present at the end of
the II day.
2. an orange galss has orange juice. and white glass has apple
juice. Bothe equal volume 50ml of the orange juice is taken and
poured into the apple juice. 50ml from the white glass is poured
into the orange glass. Of the two quantities, the amount of
apple juice in the orange glass and the amount of orange juice in
the white glass, which one is greater and by how much?
3. there is a 4 inch cube painted on all sides. this is cut
into no of 1 inch cubes. what is the no of cubes which have no
pointed sides.
4. sam and mala have a conversation. sam says i am vertainly not
over 40. mala says i am 38 and you are atleast 5 years older
than me. Now sam says you are atleast 39. all the sattements by
the two are false. How hold are they realy.
5. ram singh goes to his office in the city, every day from his
suburbun house. his driver mangaram drops him at the railway
station in the morning and picks him up in the evening. Every
evening ram singh reaches the station at 5 o'clock. mangaram
also reaches at the same time. one day ramsingh started early
from his office and came to the station at 4 o'clock. not
wanting to wait for the car he starts walking home. Mangaram
starts at normal time, picks him up on the way and takes him back
house, half an hour early. how much time did ram singh walk.
6. in a railway station, there are tow trains going. One in the
harbour line and one in the main line, each having a frequency of
10 minutes. the main line service starts at 5 o'clock. the
harbour line starts at 5.02a.m. a man goes to the station every
day to catch the first train. what is the probability of man
catchinhg the first train
7. some people went for vaction. unfortunately it rained for 13
days when they were there. but whenever it rained in the
morning, they had clean afternood and vice versa. In all they
enjoyed 11 morning and 12 afternoons. how many days did they
stay there totally
8. exalator problem repeat
9. a survey was taken among 100 people to firn their preference
of watching t.v. programmes. there are 3 channels. given no of

people who watch
at least channel 1
" " 2
" " 3
no channels at all
atleast channels 1and 3
" " 1 and 2
" " 2 and 3
find the no of people who watched all three.
10. albert and fernandes they have two leg swimming race. both
start from opposite and of the pool. On the first leg, the boys
pass each other at 18 mt from the deep end of the pool. during
the II leg they pass at 10 mt from the shallow end of the pool.
Both go at const speed. but one of them is faster. each boy
rests for 4 sec to see at the end of the i leg. what is the
length of the pool.
11. T H I S Each alphabet stands for one
I S digit, what is the maximum value T
-------------- can take
X F X X
X X U X
--------------
X X N X X
--------------


1.. an escalator is descending at constant speed. A walks down
and takes 50 steps to reach the bottom. B runs down and takes 90
steps in the same time as A takes 10 steps. how many steps are
visible when the escalator is not operating.
2. evvery day a cyclist meets a train at a particular crossing.
the road is straignt before the crossing and both are travelling
in the same direction. cyclist travels with a speed of 10 Kmph.
One day the cyclist comes late by 25 min. and meets the train 5km
before the crossing. what is the seppd of the train.
3. five persons muckerjee, misra, iyer, patil and sharma, all
take then first or middle names in the full names. There are 4
persons having I or middle name of kumar, 3 persons with mohan, 2
persons withdev and 1 anil.
--Either mukherjee and patil have a I or middle name of dev or
misra and iyer have their I or middle name of dev
--of mukherkjee and misre, either both of them have a first or
middle name of mohan or neither have a first or middle name of
mohan
--either iyer of sharma has a I or middle name of kumar hut not
both.
who has the I or middle name of anil
4. reading conprehension
5. a bird keeper has got Ppigeon, M mynas and S sparrows. the
keeper goes for lunch leaving his assistant to watch the birds.
a. suppose p=10, m=5, s=8 when the bird keeper comes back, the
assistant informs the x birds have escaped. the bird keeper
exclaims oh no! all my sparrows are gone. how many birds flew
away.
b. when the bird keeper come back, the assistand told him that
x birds have escaped. the keeper realised that atleast2 sparrows
have escaped. what is minimum no of birds that can escape.
6. select from the five alternatives A,B,C,D,E
AT THE end of each question ,two conditions will be given.
the choices are to filled at follows.
a. if a definete conclusion can be drawn from condition 1
b. if a definete conclusion can be drawn from condition 2
c. if a definete conclusion can be drawn from condition 1 and 2
d. if a definete conclusion can be drawn from condition 1 or 2
e. no conclusion can be drawn using both conditions
1. person 1 says N<5
person says n>5
person 3 says 3N>20
person 4 says 3n>10
person 5 says N<8
whaT IS value of N
a) 1. no of persons who speak false being less than no of persons
who tells the truth.
2. person 2 is telling the truth.
b) 1. no of persong telling the truth is greater than no of
persons telling lies
2. person 5 is telling the truth.
7. there are N coins on a table. there are two players A&B.
you can take 1 or 2 coins at a time. the person who takes the
last coin is the loser. a always starts first
--1. if N=7
a) A can always win by taking two coins in his first chanse
b) B can win only if A takes two coins in his first chance.
c) B can always win by proper play
d) none of the above
--2. A can win by proper play if N is equal to
a) 13 b) 37 c) 22 d) 34 e) 48 ans. e.
--3. B can win by proper play if N is equal to
a) 25 b)26 c) 32 d) 41 e) none
--4. if N<4, can A win by proper play always

8. Two turns have vertain pecular charcteristics. One of them
always lies on Monday, Wednesday, Friday. \the other always lies
on Tuesdays, thursdays and saturdays. On the other days they tel
the truth. You are given a conversation.
person A-- today is sunday my name is anil
person B-- today is tuesday, my name is bill


answers for selected questions
2. equal 1. 150
3. 8 2. 60 kmph
4. 37(M),41(S) 3. Mukherjee
5. 45 min. 8. today is tuesday
6. 0.8
7. 18
11. T max value = 4

3. Anil kumar Mukherjee
Kumar Misra dev
Mohan iyer dev
kumar patil mohan
mohan sharma kumar



TCS

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] Cannotation =
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 = ....
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 = ...

QUANT

*] 420% OF 7.79 = 32.718
*] 3427 / 95 = 115.7365
*] 10995 / 95 = 115.7365
*] 43 + 557 -247 = 357
*] 31070 * 3.082 = 9591.39
*] 48.7 + 24.9 - 8.7 = 64.90
*] 525.8 / 47.8 = 11
*] ( 135 - 30 -14) /7 - 6 + 2 = 3
*] 3 / 8 * 5.04 = 1.89
*] 697 / 219 = .0316
*] 8 / 64 + 64 / 16 = 4.14
*] 298 * 312 / 205 = 453.54
*] .33 * 1496 /13
*] .26 +1/8 = .385
*] 66.07 + 1/3 = 67.03
*] 284 + 1/4 = 3.09
*] 33 % OF 450 = 1.485
*] 907.54 / .3073 = 3002

Flow Charts Answers-

[1] [2] [3] [4] [5] [6]

D D C D C B
B E B B E C
A C D D A D
E E B C D A
C C D B E D


IMR

Pagr 618- strengths and stresses def
coding , compiling , linking , debugging
execution , documentation , implementation


Tata Infotech

TIL paper
WHAT WILL BE AFTER


1. ACBDFGI ----- I H K J L(H)
2. AIZBEYCIXDI ----- GENJW (W)
3. ADGJMP------RWTSU(U)
4.ABCEFGIJK-----MLONP(M)
5.ABFGKLPQ------TSVUW(U)
6. ZWXUVST---APSET
7.ARHXYTDTWST---NPJKR(P)
8.FMVIPZVIEB---IRYOU
9.NZIYCXWF--JFVMY( )
10.AACASPASPKA---RQTSU(S)
11.AECPS----TRUE(U)
12.BBPRDDLNFFIK---HQJIK(H)
13.AZEXIVMT----RQNSO(Q)
14.ABDEKP----LIWUX(U)
15.ABDFDIGM -----LKMNO
16.BIDAEGHIFJMN ---LKNMO(K)
17. LOXWEFGVUHIJK----PNSRT(T)
18.OOJTOPQNOERTO-----QOUBW(O)
19.PRNUUPEJRBB------HVUNE(E)
20.LULMGMNFNPS-------ONQPS(P)
21.SWIMMERS-------FDBCEA
22. SUNFLOW------CCBAEBG


TATA INFOTECH -99
*************
VERBAL

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

3. affable : lovable or approachable

39. Decomposition : rotten

40 agregious : apart from the crowd, especially bad

41. conglomaration: group, collection

4. 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
before
fulfillment 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 : applianes
55. Ignorance : blindness, in experience

56. obsession: complex enthusiasm
57. precipitate : speed,active

Section III

Letter Series

These are too tough. Maintain time 26 questions ----- 10min


1. A C BDEFGI - I H K J L ANS: H

2. AIZBEYCIXDI - GENJW ANS;W

3. ADGJMP - RWTS ANS; S

4. ABCEFGIJK - MLONP ANS; M nOTE: MLONP ARE GIVEN OPTIONS

5. ABFGKLPQ - TSVUW ANS;U

6 JWXUVST - QPSET ANS; Q

7. ARHXYTDTWST - NPTKR ANS; P

8.FMBIPZVIEV - IRYOU

9. NZI YCX KWF - JFVMY ANS;V

10. AASASPASPKA - RQTSU ANS;S

11. AECPS - TRUE ANS;U

12. BBPRDDLNFFIK - HQJIK ANS'H

13 AZEXIVMT - RQNSO ANS: Q

14. ABDGKP - LIWUX ANS:U

15. BCDAEGHIFJLMN LKNMO ANS: K

16. XWEFGVUHIJK - PNSRT ANS: T

17. ODJTOPQNOERT - QOUVW ANS;O

18. PRNUUPEJRBB - HVUNE ANS: E

19.LULMGMNFNPS - ONQPS ANS:P

QUESTIONS ARE NOT IN SEQUENCE.


NUMERICAL

1.420% OF 7.79 = 32.718

2 3427 / 16.53 = 202

3. 10995 /95 = 115.7365

4. 43+557-247 =353

5. 3107*3.082= 9591

6. 48.7 + 24.9 - 8.7 = 64.90

7.525.0/47.8 = 11
8. (135-30-14)*7 - 6 +2 = 3
9.3/8 * 5.04=1.89

10.697 /219 =3.18

11.8/64 +64/16 = 4.14
12.298*312/208 = 453.54
13. 0.33 *1496 /13 = 37.98

14.0.26 + 1/8 = 0.385

15.66.17+1/3= 67.03

16. 2.84+1/4= 3.09

17. 33% OF 450 = 148.5

18. 907.54 / 0,3073= 3002

19.tHERE ARE two categories of persons in ratio A, b i.e.A:B = 2:3 A
type
earns 2.5 dollars/hr and B type 1 dollar/hr total money earnedby both
is
24dollars. then total number of persons

Ans: 15

20.Question not clear

Slowing running - n hours - A

Medium running - B

fast running - k hours - c

Ans: nA+kC

21. Tottal balls z,red balls N remaining are blak balls,then %of black
balls equal to Ans: z-n/z*100

22. Multiplication three digits and two digits number will result the

Ans: HInt: four digit number first number must be one.

23. A= C;B=2D what should be do to make the ratio same. i.e.a/b = c/d

Ans: multiply A by 2

24. P- Total number of compoentns

Q= defective number of compoentns

%of non defective equals to p-q/p*100

25. Cost of article x,first discount is y% of cost, seconddiscount is
z%
of cost . The price of x is

Ans: x(1-y/100)(1-z/100)

26.Prime number a) 119 b) 115 c) 127 d) none Ans: C

27. A/B = C;C>D then

Ans:A is always greater than D

28..B>Cand AA then which expression will be highest value

Ans: AB

37. K,L -- Men ;X, Y -> Ans:kX + Ly

38. If A,B are same number, which one of the following doesnot satisfy
this Ans: A*B/B**2

39. X- bulbs'; y - broken; % of non broken bulbs Ans: x-y/x*100

40. Adding X, Y to A equals to Ans: a (large expression)

41.Salary s permonth, tax x% of the salry, r% of salary is deducted
what
is the income.

Ans: s*(1-(x+R)/100

42. Add three digits and two digits numbers the first digit is

Ans:1 (four digit number starting with one)

43. 0.512 * large number = ?

Ans:divide the given number by 2

44.In 10% balls 5 are defective, % of defective

Ans:50%

45.6.29% of 2.8 = 0.18

46.0.398*456=181.49

47.0 < x5
person 3 says 3N>20
person 4 says 3n>10
person 5 says N
>Group discussion topics:
>Instrctions:
1) There are 7 flow charts & each has 5-6 blank rectangles/diamonds with
subquestion no. in rectangle/diamond. you have to fill the blank from the
5 options given against respective question no.
2) You have to understand the logic & then it is very easy to fill the
blanks.
3) they had provided some information which you have to use for getting
answers.
Flow charts:
1) there are 3 boxes of 3 balls each. you have to select the heaviest
among all.


CCCCCCCCCCCC. |
DDDDDDDDDDDD. --No----(is wt1 > wt.2)--No--(select box2)
EEEEEEEEEEEE. | | |
FFFFFFFFFFFF. Yes Yes |
GGGGGGGGGGGG. | | |
HHHHHHHHHHHH. select box 3 select box 1 |
IIIIIIIIIIII. | | |
JJJJJJJJJJJJ. |------------------------|------------------------|
KKKKKKKKKKKK. |
LLLLLLLLLLLL. select two balls
MMMMMMMMMMMM. |
NNNNNNNNNNNN. is wt.ball.1 = wt.ball.2 --- No -- is wt.ball.1> wt.ball.2 -- No
OOOOOOOOOOOO. | | |
PPPPPPPPPPPP. Yes Yes |
QQQQQQQQQQQQ. | | ball.2
RRRRRRRRRRRR. ball.3 is ball.1 is is
SSSSSSSSSSSS. heaviest heaviest heavist
TTTTTTTTTTTT.
UUUUUUUUUUUU. so there will be some blank in this flow chart and u have to fill up the
VVVVVVVVVVVV. blanck with correct option.
WWWWWWWWWWWW.
XXXXXXXXXXXX.
YYYYYYYYYYYY. Q2)
ZZZZZZZZZZZZ. there are red and black balls. if ball is red then one point. if
AAAAAAAAAAAAA. ball is black and previous ball is red then two points. For winning u
BBBBBBBBBBBBB. have to get seven points. No point for same color consecutive balls.
CCCCCCCCCCCCC.
DDDDDDDDDDDDD. |----------- select ball
EEEEEEEEEEEEE. | |
FFFFFFFFFFFFF. | is ball red --- Yes -- Is previous --No---
GGGGGGGGGGGGG. | | ball red
HHHHHHHHHHHHH. | No p=p+1 |
IIIIIIIIIIIII. | | No
JJJJJJJJJJJJJ. | is previous |
KKKKKKKKKKKKK. | ball black --No----------- p=p+2 --count= count+1
LLLLLLLLLLLLL. | | |
MMMMMMMMMMMMM. | Yes |---is ball left
NNNNNNNNNNNNN. | | | |
OOOOOOOOOOOOO. | No point Yes No
PPPPPPPPPPPPP. | | |
QQQQQQQQQQQQQ. | | end
RRRRRRRRRRRRR. |--------------------------------------------
SSSSSSSSSSSSS.
TTTTTTTTTTTTT.
UUUUUUUUUUUUU.
VVVVVVVVVVVVV. Q3)
WWWWWWWWWWWWW. Classify objects in class A, class B and scrap. for classfing u
XXXXXXXXXXXXX. have to do diffrent test such as weight, material etc. and Flow char for
YYYYYYYYYYYYY. this ques. will be there along with some blanks.
ZZZZZZZZZZZZZ.
AAAAAAAAAAAAAA.
BBBBBBBBBBBBBB. Q4)
CCCCCCCCCCCCCC. There is production process in which action depend on temprature and
DDDDDDDDDDDDDD. pressure. and there are temp. and press. controls.
EEEEEEEEEEEEEE.
FFFFFFFFFFFFFF.
GGGGGGGGGGGGGG. Q5)
HHHHHHHHHHHHHH. find max. and min. of the 12 nos. there will array and u have to
IIIIIIIIIIIIII. arrange the numbers in assending/ descending order and find out max. and
JJJJJJJJJJJJJJ. min.
KKKKKKKKKKKKKK.
LLLLLLLLLLLLLL. Q6)
MMMMMMMMMMMMMM. diffrent age group are given and also diffrent salary slabs are
NNNNNNNNNNNNNN. given. so depending on the salary group as well as his group u have to
OOOOOOOOOOOOOO. fill the person in particular class. (ques. is not in exact form.)
PPPPPPPPPPPPPP.
QQQQQQQQQQQQQQ. one ques. do not remember.
RRRRRRRRRRRRRR.
SSSSSSSSSSSSSS.
TTTTTTTTTTTTTT. Vikash & Sachin
UUUUUUUUUUUUUU. IIT BOMBAY.
VVVVVVVVVVVVVV. TATA_IBM few questions extra.
WWWWWWWWWWWWWW. 1)int i=10;
XXXXXXXXXXXXXX. printf("%d%d%d",i,i++,++i);
YYYYYYYYYYYYYY. ans: compiler dependent
ZZZZZZZZZZZZZZ. 2)printf("Enter two values a and b:"):
AAAAAAAAAAAAAAA. scanf("%d%d",a,b);
BBBBBBBBBBBBBBB. printf("%d+%d=%d",a,b,a+b);
CCCCCCCCCCCCCCC. ans:core dumped
DDDDDDDDDDDDDDD. 3)Question on WM_SIZE
EEEEEEEEEEEEEEE. ans:WM_SIZE
FFFFFFFFFFFFFFF. 4)when destroy window what message would disply
GGGGGGGGGGGGGGG. ans:WM_DESTROY
HHHHHHHHHHHHHHH. 5)MS Windows 3.1 about multitasking
IIIIIIIIIIIIIII. ans:nonpreemptive
JJJJJJJJJJJJJJJ. 6)windows 3.1 is
KKKKKKKKKKKKKKK. ans:application
LLLLLLLLLLLLLLL. 7) about switch switch statement
MMMMMMMMMMMMMMM. ans:16,21
NNNNNNNNNNNNNNN. 8)question paper the first question ans is
OOOOOOOOOOOOOOO. ans:can't be compiled
PPPPPPPPPPPPPPP. 9)about send messages and post messages
QQQQQQQQQQQQQQQ. ans: c
RRRRRRRRRRRRRRR. 10)what is the command to intiate the windows
SSSSSSSSSSSSSSS. ans:WinMain
TTTTTTTTTTTTTTT. 1.const char *
UUUUUUUUUUUUUUU. char * const
VVVVVVVVVVVVVVV. What is the differnce between the above tow?.
WWWWWWWWWWWWWWW. 2.In Unix inter process communication take place using?.
XXXXXXXXXXXXXXX. 3.What are the files in /etc directory?.
YYYYYYYYYYYYYYY. 4.About i-node numbers
ZZZZZZZZZZZZZZZ. 5.Max relaxable permisssion value with out giving write permission
AAAAAAAAAAAAAAAA. to others?.
BBBBBBBBBBBBBBBB. 6.About ln(linking)
CCCCCCCCCCCCCCCC. 7. A question on until
DDDDDDDDDDDDDDDD. until (who |grep mary)
EEEEEEEEEEEEEEEE. do
FFFFFFFFFFFFFFFF. sleep(60)
GGGGGGGGGGGGGGGG. done
HHHHHHHHHHHHHHHH.
IIIIIIIIIIIIIIII. 8.Linking across directories?.
JJJJJJJJJJJJJJJJ. 9.process id for kernell process
KKKKKKKKKKKKKKKK. 10.very first process created by kernell
LLLLLLLLLLLLLLLL. 11.function to repaint a window immediately?.
MMMMMMMMMMMMMMMM. 12.Function entry for DLL in win3.1
NNNNNNNNNNNNNNNN. 13.win 3.1 is a
OOOOOOOOOOOOOOOO. 14.win 3.1 supports which type of multi tasking?.
PPPPPPPPPPPPPPPP. 15.Message displayed when a window is destroyed
QQQQQQQQQQQQQQQQ. 6.About fork()?
RRRRRRRRRRRRRRRR. 17.About send message and post message
SSSSSSSSSSSSSSSS. 18.Message to limit the size of window
TTTTTTTTTTTTTTTT. 9.System call executable binary file intoa process
UUUUUUUUUUUUUUUU. 20.About GDI object?.
VVVVVVVVVVVVVVVV. 21.API used to hide window
WWWWWWWWWWWWWWWW. 22.Initialize contents of a dialog?.
XXXXXXXXXXXXXXXX.
YYYYYYYYYYYYYYYY. TISL -----------> PAPER MODEL
ZZZZZZZZZZZZZZZZ. Two parts.
AAAAAAAAAAAAAAAAA. Part A: aptitude (100 Que) 100 marks
BBBBBBBBBBBBBBBBB. 1 to 40 leter series
CCCCCCCCCCCCCCCCC. 41 to 65 problems
DDDDDDDDDDDDDDDDD. 66 to 100 figures
EEEEEEEEEEEEEEEEE. Part B: comp knowledge test
FFFFFFFFFFFFFFFFF. 50 QUE 50 marks
GGGGGGGGGGGGGGGGG.
HHHHHHHHHHHHHHHHH. TISL(TATA-IBM)PAPER
IIIIIIIIIIIIIIIII. -------------------
JJJJJJJJJJJJJJJJJ. Q9). what will be the result of executing following program
KKKKKKKKKKKKKKKKK. main
LLLLLLLLLLLLLLLLL. {
MMMMMMMMMMMMMMMMM. char *x="new";
NNNNNNNNNNNNNNNNN. char *y="dictonary";
OOOOOOOOOOOOOOOOO. char *t;
PPPPPPPPPPPPPPPPP. void swap (char * , char *);
QQQQQQQQQQQQQQQQQ. swap (x,y);
RRRRRRRRRRRRRRRRR. printf("(%s, %s)",x,y);
SSSSSSSSSSSSSSSSS.
TTTTTTTTTTTTTTTTT. char *t;
UUUUUUUUUUUUUUUUU. t=x;
VVVVVVVVVVVVVVVVV. x=y;
WWWWWWWWWWWWWWWWW. y=t;
XXXXXXXXXXXXXXXXX. printf("-(%s, %s)",x,y);
YYYYYYYYYYYYYYYYY. }
ZZZZZZZZZZZZZZZZZ. void swap (char *x,char *y)
AAAAAAAAAAAAAAAAAA. {
BBBBBBBBBBBBBBBBBB. char *t;
CCCCCCCCCCCCCCCCCC. y=x;
DDDDDDDDDDDDDDDDDD. x=y;
EEEEEEEEEEEEEEEEEE. y=t;
FFFFFFFFFFFFFFFFFF. }
GGGGGGGGGGGGGGGGGG.
HHHHHHHHHHHHHHHHHH. a).(New,Dictionary)-(New,Dictionary)
IIIIIIIIIIIIIIIIII. b).(Dictionary,New)-(New,Dictionary)
JJJJJJJJJJJJJJJJJJ. c).(New,Dictionary)-(Dictionary,New)
KKKKKKKKKKKKKKKKKK. d).(Dictionary,New)-(Dictionary,New)
LLLLLLLLLLLLLLLLLL. e).None of the above
MMMMMMMMMMMMMMMMMM. (Ans will be b or e) check
NNNNNNNNNNNNNNNNNN.
OOOOOOOOOOOOOOOOOO. Q10).If a directory contains public files (can be valied and used
PPPPPPPPPPPPPPPPPP. by any one ) which should not be altered ,the most liberal
QQQQQQQQQQQQQQQQQQ. permissions that can be given to the directory is
RRRRRRRRRRRRRRRRRR. a)755
SSSSSSSSSSSSSSSSSS. b)777
TTTTTTTTTTTTTTTTTT. c)757
UUUUUUUUUUUUUUUUUU. d)775
VVVVVVVVVVVVVVVVVV. e)None of the above
WWWWWWWWWWWWWWWWWW. (Ans a)
XXXXXXXXXXXXXXXXXX. 11) what would the following program results in
YYYYYYYYYYYYYYYYYY. main()
ZZZZZZZZZZZZZZZZZZ. {
AAAAAAAAAAAAAAAAAAA. char p[]="string";
BBBBBBBBBBBBBBBBBBB. char t;
CCCCCCCCCCCCCCCCCCC. int i,j;
DDDDDDDDDDDDDDDDDDD. for(i=0,j=strlen(p);iEEEEEEEEEEEEEEEEEEE. {
FFFFFFFFFFFFFFFFFFF. t=p[i];
GGGGGGGGGGGGGGGGGGG. p[i]=p[j-i];
HHHHHHHHHHHHHHHHHHH. p[j-i]=t;
IIIIIIIIIIIIIIIIIII. }
JJJJJJJJJJJJJJJJJJJ. printf("%s",p);
KKKKKKKKKKKKKKKKKKK. }
LLLLLLLLLLLLLLLLLLL. a)will print:string
MMMMMMMMMMMMMMMMMMM. b)will not print anything since p will be pointing to a null string
NNNNNNNNNNNNNNNNNNN. c)will print:gnirtS
OOOOOOOOOOOOOOOOOOO. d)will result in a complication error
PPPPPPPPPPPPPPPPPPP. e)will print invallid characters(junk)
QQQQQQQQQQQQQQQQQQQ. (Ans will be b ) check
RRRRRRRRRRRRRRRRRRR. 12) After the following command is executed
SSSSSSSSSSSSSSSSSSS. $ ln old new
TTTTTTTTTTTTTTTTTTT. a listing is performed with the following output
UUUUUUUUUUUUUUUUUUU. $ ls -li
VVVVVVVVVVVVVVVVVVV.
WWWWWWWWWWWWWWWWWWW. total 3
XXXXXXXXXXXXXXXXXXX. 15768 -rw-rw-rw- 2 you 29 Sep 27 12:07 old
YYYYYYYYYYYYYYYYYYY. 15768 " " " " " " " " new
ZZZZZZZZZZZZZZZZZZZ. 15274 " " 1 " 40 " " 09:34 veryold
AAAAAAAAAAAAAAAAAAAA.
BBBBBBBBBBBBBBBBBBBB. which of the following is true
CCCCCCCCCCCCCCCCCCCC. a)old and new have same i-node number,2
DDDDDDDDDDDDDDDDDDDD. b) " " " " " " " , 15768
EEEEEEEEEEEEEEEEEEEE. c)old and new have nothing yo do with each other
FFFFFFFFFFFFFFFFFFFF. d)very old and new are linked
GGGGGGGGGGGGGGGGGGGG. e)very old and old are linked
HHHHHHHHHHHHHHHHHHHH. (Ans is b)
IIIIIIIIIIIIIIIIIIII. 13) What will be the result of executing the following statement
JJJJJJJJJJJJJJJJJJJJ. int i=10;
KKKKKKKKKKKKKKKKKKKK. printf("%d %d %d",i,++i,i++);
LLLLLLLLLLLLLLLLLLLL. a).10 11 12
MMMMMMMMMMMMMMMMMMMM. b).12 11 10
NNNNNNNNNNNNNNNNNNNN. c).10 11 11
OOOOOOOOOOOOOOOOOOOO. d).result is OS dependent
PPPPPPPPPPPPPPPPPPPP. e).result is compiler dependent
QQQQQQQQQQQQQQQQQQQQ. (Ans is e)
RRRRRRRRRRRRRRRRRRRR. 14) What does extern means in a function declaration
SSSSSSSSSSSSSSSSSSSS. a)the funct has global scope
TTTTTTTTTTTTTTTTTTTT. b)the funct need not be defined\
UUUUUUUUUUUUUUUUUUUU. c)nothing really
VVVVVVVVVVVVVVVVVVVV. d)the funct has local scope only to the file it is defined in
WWWWWWWWWWWWWWWWWWWW. e)none of the above
XXXXXXXXXXXXXXXXXXXX. (Ans will be c)
YYYYYYYYYYYYYYYYYYYY. 15) What will be result of the following program
ZZZZZZZZZZZZZZZZZZZZ. main()
AAAAAAAAAAAAAAAAAAAAA. {
BBBBBBBBBBBBBBBBBBBBB. void f(int,int);
CCCCCCCCCCCCCCCCCCCCC. int i=10;
DDDDDDDDDDDDDDDDDDDDD. f(i,i++);
EEEEEEEEEEEEEEEEEEEEE. }
FFFFFFFFFFFFFFFFFFFFF. void f(int i,int j)
GGGGGGGGGGGGGGGGGGGGG. {
HHHHHHHHHHHHHHHHHHHHH. if(i>50)
IIIIIIIIIIIIIIIIIIIII. return;
JJJJJJJJJJJJJJJJJJJJJ. i+=j;
KKKKKKKKKKKKKKKKKKKKK. f(i,j);
LLLLLLLLLLLLLLLLLLLLL. printf("%d,",i);
MMMMMMMMMMMMMMMMMMMMM. }
NNNNNNNNNNNNNNNNNNNNN. a).85,53,32,21
OOOOOOOOOOOOOOOOOOOOO. b)10,11,21,32,53
PPPPPPPPPPPPPPPPPPPPP. c)21,32,53,85
QQQQQQQQQQQQQQQQQQQQQ. d)32,21,11,10
RRRRRRRRRRRRRRRRRRRRR. e)none of the above
SSSSSSSSSSSSSSSSSSSSS. (Ans is e)
TTTTTTTTTTTTTTTTTTTTT. 16). MS windows 3.1 is a
UUUUUUUUUUUUUUUUUUUUU. a)operating system
VVVVVVVVVVVVVVVVVVVVV. b)Application
WWWWWWWWWWWWWWWWWWWWW. c)Programing language
XXXXXXXXXXXXXXXXXXXXX. d)database
YYYYYYYYYYYYYYYYYYYYY. e)shell
ZZZZZZZZZZZZZZZZZZZZZ. (Ans will be b)
AAAAAAAAAAAAAAAAAAAAAA. 17).MS Windows 3.1 supports which type of multi-tasking?
BBBBBBBBBBBBBBBBBBBBBB. a)cycle
CCCCCCCCCCCCCCCCCCCCCC. b)executive
DDDDDDDDDDDDDDDDDDDDDD. c)preemptive
EEEEEEEEEEEEEEEEEEEEEE. d)Non-preemptive
FFFFFFFFFFFFFFFFFFFFFF. e)Manual
GGGGGGGGGGGGGGGGGGGGGG. (Ans )
HHHHHHHHHHHHHHHHHHHHHH. 18)The command ......ln /bin/mail /usr/you/bin/m
IIIIIIIIIIIIIIIIIIIIII. a)will not be executed because you are linking files
JJJJJJJJJJJJJJJJJJJJJJ. across different file systems
KKKKKKKKKKKKKKKKKKKKKK. b)results ln /bin/main being the same file as /usr/you/bin/m
LLLLLLLLLLLLLLLLLLLLLL. c)results in 2 links to the file mail
MMMMMMMMMMMMMMMMMMMMMM. d) " " " " m
NNNNNNNNNNNNNNNNNNNNNN. e)none
OOOOOOOOOOOOOOOOOOOOOO. (Ans will be b)
PPPPPPPPPPPPPPPPPPPPPP. 19)In a standerd directory lay out ,/etc is the directory where
QQQQQQQQQQQQQQQQQQQQQQ. a) basic programs such as who and ed reside
RRRRRRRRRRRRRRRRRRRRRR. b) - - - - - - -
SSSSSSSSSSSSSSSSSSSSSS. c)various administrative files such as password file reside
TTTTTTTTTTTTTTTTTTTTTT. d) - - - - - - -
UUUUUUUUUUUUUUUUUUUUUU. e) - - - - - -
VVVVVVVVVVVVVVVVVVVVVV. (Ans is c)
WWWWWWWWWWWWWWWWWWWWWW. 20) The command echo *
XXXXXXXXXXXXXXXXXXXXXX. a) echoes all files in the current directory
YYYYYYYYYYYYYYYYYYYYYY. b) - - - - -
ZZZZZZZZZZZZZZZZZZZZZZ. c)
AAAAAAAAAAAAAAAAAAAAAAA. d)
BBBBBBBBBBBBBBBBBBBBBBB. e)
CCCCCCCCCCCCCCCCCCCCCCC. (Ans is a)
DDDDDDDDDDDDDDDDDDDDDDD. 21)What will be the result of the following segment of the program
EEEEEEEEEEEEEEEEEEEEEEE. main()
FFFFFFFFFFFFFFFFFFFFFFF. {
GGGGGGGGGGGGGGGGGGGGGGG. char *s="hello world";
HHHHHHHHHHHHHHHHHHHHHHH. int i=7;
IIIIIIIIIIIIIIIIIIIIIII. printf("%.*%s",s);
JJJJJJJJJJJJJJJJJJJJJJJ. }
KKKKKKKKKKKKKKKKKKKKKKK. a)syntax error
LLLLLLLLLLLLLLLLLLLLLLL. b)hello w
MMMMMMMMMMMMMMMMMMMMMMM. c)
NNNNNNNNNNNNNNNNNNNNNNN. d)
OOOOOOOOOOOOOOOOOOOOOOO. e)
PPPPPPPPPPPPPPPPPPPPPPP. (Ans is b)
QQQQQQQQQQQQQQQQQQQQQQQ. 22) What will be the result of the following program
RRRRRRRRRRRRRRRRRRRRRRR. main()
SSSSSSSSSSSSSSSSSSSSSSS. {
TTTTTTTTTTTTTTTTTTTTTTT. int a,b;
UUUUUUUUUUUUUUUUUUUUUUU. printf("enter two numbers :");
VVVVVVVVVVVVVVVVVVVVVVV. scanf("%d%d",a,b);
WWWWWWWWWWWWWWWWWWWWWWW. printf("%d+%d=%d",a,b,a+b);
XXXXXXXXXXXXXXXXXXXXXXX. }
YYYYYYYYYYYYYYYYYYYYYYY. a)- - - - -
ZZZZZZZZZZZZZZZZZZZZZZZ. b) - --
AAAAAAAAAAAAAAAAAAAAAAAA. c) will generate run time error /core dump
BBBBBBBBBBBBBBBBBBBBBBBB. d)
CCCCCCCCCCCCCCCCCCCCCCCC. e)
DDDDDDDDDDDDDDDDDDDDDDDD. (Ans is c)
EEEEEEEEEEEEEEEEEEEEEEEE. 23) What is the size of 'q'in the following program?
FFFFFFFFFFFFFFFFFFFFFFFF. union{
GGGGGGGGGGGGGGGGGGGGGGGG. int x;
HHHHHHHHHHHHHHHHHHHHHHHH. char y;
IIIIIIIIIIIIIIIIIIIIIIII. struct {
JJJJJJJJJJJJJJJJJJJJJJJJ. char x;
KKKKKKKKKKKKKKKKKKKKKKKK. char y;
LLLLLLLLLLLLLLLLLLLLLLLL. int xy;}p;
MMMMMMMMMMMMMMMMMMMMMMMM. }q;
NNNNNNNNNNNNNNNNNNNNNNNN. a)11
OOOOOOOOOOOOOOOOOOOOOOOO. b)6
PPPPPPPPPPPPPPPPPPPPPPPP. c)4
QQQQQQQQQQQQQQQQQQQQQQQQ. d)5
RRRRRRRRRRRRRRRRRRRRRRRR. e)none
SSSSSSSSSSSSSSSSSSSSSSSS. (Ans is b why because no of bytes for int =4 given in instructions)
TTTTTTTTTTTTTTTTTTTTTTTT. 24) Which message is displayed when a window is destroyed
UUUUUUUUUUUUUUUUUUUUUUUU. a)WM_CLOSE
VVVVVVVVVVVVVVVVVVVVVVVV. b)WM_DESTROY
WWWWWWWWWWWWWWWWWWWWWWWW. c)WM_NCDESTROY
XXXXXXXXXXXXXXXXXXXXXXXX. d)
YYYYYYYYYYYYYYYYYYYYYYYY. E)
ZZZZZZZZZZZZZZZZZZZZZZZZ. (Ans is b)
AAAAAAAAAAAAAAAAAAAAAAAAA. 25)Send Message and postmessage are
BBBBBBBBBBBBBBBBBBBBBBBBB. a)send message puts the message in the message queue and results,
CCCCCCCCCCCCCCCCCCCCCCCCC. postmessage processes the message immediately
DDDDDDDDDDDDDDDDDDDDDDDDD. b)Sendmessage processes the message immediately,postmessage puts
EEEEEEEEEEEEEEEEEEEEEEEEE. the message in the queue and returns
FFFFFFFFFFFFFFFFFFFFFFFFF. c) Both put the message in the message queue and returns
GGGGGGGGGGGGGGGGGGGGGGGGG. d) Both process the message immediately
HHHHHHHHHHHHHHHHHHHHHHHHH. e) None of the above
IIIIIIIIIIIIIIIIIIIIIIIII. (Ans will be b check)
JJJJJJJJJJJJJJJJJJJJJJJJJ. 26) Which of the following message is used to limit the size
KKKKKKKKKKKKKKKKKKKKKKKKK. of teh Window
LLLLLLLLLLLLLLLLLLLLLLLLL. a)WM_SIZE
MMMMMMMMMMMMMMMMMMMMMMMMM. b)WM_PAIN
NNNNNNNNNNNNNNNNNNNNNNNNN. c)- - - -
OOOOOOOOOOOOOOOOOOOOOOOOO. d)- -- - -
PPPPPPPPPPPPPPPPPPPPPPPPP. (Ans is a)
QQQQQQQQQQQQQQQQQQQQQQQQQ. 27)until who|grep mary
RRRRRRRRRRRRRRRRRRRRRRRRR. do
SSSSSSSSSSSSSSSSSSSSSSSSS. sleep 60
TTTTTTTTTTTTTTTTTTTTTTTTT. done
UUUUUUUUUUUUUUUUUUUUUUUUU. a) is syntactically incorrect
VVVVVVVVVVVVVVVVVVVVVVVVV. b) waits 60 seconds irrespective of Mary being logged in or not
WWWWWWWWWWWWWWWWWWWWWWWWW. c) waits until Marry is logged in
XXXXXXXXXXXXXXXXXXXXXXXXX. d)waits till Mary exited
YYYYYYYYYYYYYYYYYYYYYYYYY. e)None
ZZZZZZZZZZZZZZZZZZZZZZZZZ. (Ans is c)
AAAAAAAAAAAAAAAAAAAAAAAAAA. 28)The UNIX system call that transforms an executable binary file into
BBBBBBBBBBBBBBBBBBBBBBBBBB. a process is
CCCCCCCCCCCCCCCCCCCCCCCCCC. a)execl()
DDDDDDDDDDDDDDDDDDDDDDDDDD. b)execv()
EEEEEEEEEEEEEEEEEEEEEEEEEE. c)execle()
FFFFFFFFFFFFFFFFFFFFFFFFFF. d)execve()
GGGGGGGGGGGGGGGGGGGGGGGGGG. e)All of the above
HHHHHHHHHHHHHHHHHHHHHHHHHH. (Ans will be d check)
IIIIIIIIIIIIIIIIIIIIIIIIII. 29)Which of the following is true about fork()
JJJJJJJJJJJJJJJJJJJJJJJJJJ. a)- - - - -
KKKKKKKKKKKKKKKKKKKKKKKKKK. b)causes the creation of a new process ,the CHILD process
LLLLLLLLLLLLLLLLLLLLLLLLLL. with a new process ID
MMMMMMMMMMMMMMMMMMMMMMMMMM. c)
NNNNNNNNNNNNNNNNNNNNNNNNNN. d)
OOOOOOOOOOOOOOOOOOOOOOOOOO. e)
PPPPPPPPPPPPPPPPPPPPPPPPPP. (Ans is b)
QQQQQQQQQQQQQQQQQQQQQQQQQQ. 30) What do the following variable names represents?
RRRRRRRRRRRRRRRRRRRRRRRRRR. sort register
SSSSSSSSSSSSSSSSSSSSSSSSSS. volatile default
TTTTTTTTTTTTTTTTTTTTTTTTTT. a)- - - -
UUUUUUUUUUUUUUUUUUUUUUUUUU. b ) - - - -
VVVVVVVVVVVVVVVVVVVVVVVVVV. c)all the above are keywords
WWWWWWWWWWWWWWWWWWWWWWWWWW. (Ans is c)
XXXXXXXXXXXXXXXXXXXXXXXXXX. 31)What will be the result of the following program
YYYYYYYYYYYYYYYYYYYYYYYYYY. main()
ZZZZZZZZZZZZZZZZZZZZZZZZZZ. {
AAAAAAAAAAAAAAAAAAAAAAAAAAA. char *x="String";
BBBBBBBBBBBBBBBBBBBBBBBBBBB. char y[] = "add";
CCCCCCCCCCCCCCCCCCCCCCCCCCC. char *z;
DDDDDDDDDDDDDDDDDDDDDDDDDDD. z=(char *) malloc(sizeof(x)+sizeof(y)=1);
EEEEEEEEEEEEEEEEEEEEEEEEEEE. strcpy(z,y);
FFFFFFFFFFFFFFFFFFFFFFFFFFF. strcat(z,y);
GGGGGGGGGGGGGGGGGGGGGGGGGGG. printf("%s+%s=%s",y,x,z);
HHHHHHHHHHHHHHHHHHHHHHHHHHH. }
IIIIIIIIIIIIIIIIIIIIIIIIIII. a)Add+string=Add string
JJJJJJJJJJJJJJJJJJJJJJJJJJJ. b)syntax error during compilation
KKKKKKKKKKKKKKKKKKKKKKKKKKK. c)run time error/core dump
LLLLLLLLLLLLLLLLLLLLLLLLLLL. d)add+string=
MMMMMMMMMMMMMMMMMMMMMMMMMMM. e)none
NNNNNNNNNNNNNNNNNNNNNNNNNNN. (Ans will be e consider cap&small leters)
OOOOOOOOOOOOOOOOOOOOOOOOOOO. 32)What does the following expression means
PPPPPPPPPPPPPPPPPPPPPPPPPPP. a)
QQQQQQQQQQQQQQQQQQQQQQQQQQQ. b)
RRRRRRRRRRRRRRRRRRRRRRRRRRR. c)
SSSSSSSSSSSSSSSSSSSSSSSSSSS. d)an arrey of n pointers to function returning pointers to
TTTTTTTTTTTTTTTTTTTTTTTTTTT. functions returning pointers to characters
UUUUUUUUUUUUUUUUUUUUUUUUUUU. (ANS IS d)
VVVVVVVVVVVVVVVVVVVVVVVVVVV. 33)Which of the following is not a DDL object
WWWWWWWWWWWWWWWWWWWWWWWWWWW. a)HBRUSH
XXXXXXXXXXXXXXXXXXXXXXXXXXX. b)HPEN
YYYYYYYYYYYYYYYYYYYYYYYYYYY. c)HBITMAP
ZZZZZZZZZZZZZZZZZZZZZZZZZZZ. d)HRGN
AAAAAAAAAAAAAAAAAAAAAAAAAAAA. e)HWND
BBBBBBBBBBBBBBBBBBBBBBBBBBBB. (Ans ic e)
CCCCCCCCCCCCCCCCCCCCCCCCCCCC. 34) Which of the following message is used to initialize the
DDDDDDDDDDDDDDDDDDDDDDDDDDDD. contents of a dialog
EEEEEEEEEEEEEEEEEEEEEEEEEEEE. a)WM_CREATE
FFFFFFFFFFFFFFFFFFFFFFFFFFFF. b)WM_SIZE
GGGGGGGGGGGGGGGGGGGGGGGGGGGG. c)WM_COMMAND
HHHHHHHHHHHHHHHHHHHHHHHHHHHH. d)WM_INITDIALOG
IIIIIIIIIIIIIIIIIIIIIIIIIIII. e)none
JJJJJJJJJJJJJJJJJJJJJJJJJJJJ. (Ans will be d)
KKKKKKKKKKKKKKKKKKKKKKKKKKKK. 35)Interprocess communication in UNIX can be achieved using
LLLLLLLLLLLLLLLLLLLLLLLLLLLL. a)pipe
MMMMMMMMMMMMMMMMMMMMMMMMMMMM. b)Message
NNNNNNNNNNNNNNNNNNNNNNNNNNNN. c)Semaphores
OOOOOOOOOOOOOOOOOOOOOOOOOOOO. d)Shared Memory
PPPPPPPPPPPPPPPPPPPPPPPPPPPP. e)All of the above
QQQQQQQQQQQQQQQQQQQQQQQQQQQQ. (Ans is e)
RRRRRRRRRRRRRRRRRRRRRRRRRRRR. 36) Which of the following is true
SSSSSSSSSSSSSSSSSSSSSSSSSSSS. a)UNIX is a time sharing multi-user OS
TTTTTTTTTTTTTTTTTTTTTTTTTTTT. b)UNIX has a device independent file system
UUUUUUUUUUUUUUUUUUUUUUUUUUUU. c)UNIX is full duplex
VVVVVVVVVVVVVVVVVVVVVVVVVVVV. d)UNIX has command interpreter
WWWWWWWWWWWWWWWWWWWWWWWWWWWW. e)All of the above
XXXXXXXXXXXXXXXXXXXXXXXXXXXX. (Ans is e)
YYYYYYYYYYYYYYYYYYYYYYYYYYYY.
ZZZZZZZZZZZZZZZZZZZZZZZZZZZZ. Q). PS1 pwd
AAAAAAAAAAAAAAAAAAAAAAAAAAAAA. export PS1 results in
BBBBBBBBBBBBBBBBBBBBBBBBBBBBB. a). your primary prompt being your current directory
CCCCCCCCCCCCCCCCCCCCCCCCCCCCC. b). " " and secondary prompts being the current dir
DDDDDDDDDDDDDDDDDDDDDDDDDDDDD. c). " " prompt being your home dir
EEEEEEEEEEEEEEEEEEEEEEEEEEEEE. d). " " and secondary prompts being the home dir
FFFFFFFFFFFFFFFFFFFFFFFFFFFFF. e). None of the above.
GGGGGGGGGGGGGGGGGGGGGGGGGGGGG. Q). If you type in the command
HHHHHHHHHHHHHHHHHHHHHHHHHHHHH. nohup sort employees > list 2 > error out &
IIIIIIIIIIIIIIIIIIIIIIIIIIIII. and log off ,the next time you log in . the output
JJJJJJJJJJJJJJJJJJJJJJJJJJJJJ. will be
KKKKKKKKKKKKKKKKKKKKKKKKKKKKK. a). in a file called list and the error will de typed in
LLLLLLLLLLLLLLLLLLLLLLLLLLLLL. a file error out
MMMMMMMMMMMMMMMMMMMMMMMMMMMMM. b). there will be no file called list or error out
NNNNNNNNNNNNNNNNNNNNNNNNNNNNN. c). error will be logged in a file called list and o/p
OOOOOOOOOOOOOOOOOOOOOOOOOOOOO. will be in error out
PPPPPPPPPPPPPPPPPPPPPPPPPPPPP. d). you will not be allowed to log in
QQQQQQQQQQQQQQQQQQQQQQQQQQQQQ. e). none of the above
RRRRRRRRRRRRRRRRRRRRRRRRRRRRR. Q). In UNIX a files i-node
SSSSSSSSSSSSSSSSSSSSSSSSSSSSS. a)is a data structure that defines all specifications
TTTTTTTTTTTTTTTTTTTTTTTTTTTTT. of a file like the file size ,number of lines to a
UUUUUUUUUUUUUUUUUUUUUUUUUUUUU. file ,permissions etc.
VVVVVVVVVVVVVVVVVVVVVVVVVVVVV. b).----
WWWWWWWWWWWWWWWWWWWWWWWWWWWWW. c). - - - --
XXXXXXXXXXXXXXXXXXXXXXXXXXXXX. d). _ _ _
YYYYYYYYYYYYYYYYYYYYYYYYYYYYY. ( ans is ---------(a) )
ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ. Q). The UNIX shell is....
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA. a).does not come with the rest of the system
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBB. b).forms the interface between the user and the kernal
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC. c)-- -- ---
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDD. d) - - - -
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEE. e) none
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF. (ans is (b) )
GGGGGGGGGGGGGGGGGGGGGGGGGGGGGG. Q).enum number { a=-1, b= 4,c,d,e}
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHH. what is the value of e ?
IIIIIIIIIIIIIIIIIIIIIIIIIIIIII. 7,4,5,15,3
JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ. (ans is 7 ) check again
KKKKKKKKKKKKKKKKKKKKKKKKKKKKKK. Q).The very first process created by the kernal that runs
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLL. till the kernal process is haltes is
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMM. a)init
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNN. b)getty
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO. c)
PPPPPPPPPPPPPPPPPPPPPPPPPPPPPP. d)
QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ. e)none
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR. (Ans is a)
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSS. Q) Result of the following program is
TTTTTTTTTTTTTTTTTTTTTTTTTTTTTT. main()
UUUUUUUUUUUUUUUUUUUUUUUUUUUUUU. {
VVVVVVVVVVVVVVVVVVVVVVVVVVVVVV. int i=0;
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWW. for(i=0;i<20;i++)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. {
YYYYYYYYYYYYYYYYYYYYYYYYYYYYYY. switch(i)
ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ. case 0:i+=5;
A. case 1:i+=2;
B. case 5:i+=5;
C. default i+=4;
D. break;}
E. printf("%d,",i);
F. }
G. }
H. a)0,5,9,13,17
I. b)5,9,13,17
J. c)12,17,22
K. d)16,21
L. e)syntax error
M. (Ans is d )
N. Q) What is the result
O. main()
P. {
Q. char c=-64;
R. int i=-32
S. unsigned int u =-16;
T. if(c>i){
U. printf("pass1,");
V. if(cW. printf("pass2");
X. else
Y. printf("Fail2");
Z. }
AA. else
BB. printf("Fail1);
CC. if(iDD. printf("pass2");
EE. else
FF. printf("Fail2")
GG. }
HH. a)Pass1,Pass2
II. b)Pass1,Fail2
JJ. c)Fail1,Pass2
KK. d)Fail1,Fail2
LL. e)none
MM. (Ans is c)
NN.
OO.
PP.
QQ. APTITUDE TEST
RR. *****************************************************
SS.
TT. Missing leter
UU. 1).eefgghii- (Ans j)
VV. 2)
WW. 3)defdefghi- (Ans g)
XX. 4)cdexyzfghxyz-(Ans i)
YY. 5)defdegde- (h)
ZZ. 6)abczabcyabc- (x)
AAA. 7)fgbhibjkb- (l)
BBB. 8)- - - - - (Ans is r)
CCC. 9)aarbsctarb- (s)
DDD. 10)bccdeefg- (g)
EEE. 11)efhikl- (n)
FFF. 12)abccdeffg- (h)
GGG. 13amnbopc- (q)
HHH. 14)tttssrqqqp- (p)
III. 15)ddffhhjj- (l)
JJJ. 16)mnmnklopopkl- (q)
KKK. 17)cddeeefff- (f)
LLL. 18)gfed- (c)
MMM. 19)dfhjl- (n)
NNN. 20)abcijdefij (g)
OOO. 21)efgefghefghi- (e)
PPP. 22)bcbdedfgfhi- (h)
QQQ. 23)aababccdc- (d)
RRR. 24)aibcidef- (i)
SSS. 25)cehl- (q)
TTT. 26)abdehimn- (s) check again
UUU. 27)becfdge- (h)
VVV. 28)agbhc- (i)
WWW. 29)adhko- (r)
XXX. 30)efghjklno- (q)
YYY. 31)aedhg- (k)
ZZZ. 32aeibf- (j)
AAAA. 33)zdwgt- (J)
BBBB. 34)zeyijxg- ()find
CCCC. 35)cqreuvg- (y)
DDDD. 36)ksjtiuh- (v)
EEEE. 37)rsjtuhvw- (f)
FFFF. 38)ieajfbk- (g)
GGGG. 39)hebifej- (g)
HHHH. 40)hjlmiel- (h)
IIII. --------------------------------
JJJJ.
KKKK.
LLLL.
MMMM. TOTAL 60 QUE'S 25-PROBLEMS & 35 FIGURES(figure series,we
NNNN. have to find next coming figure)
OOOO.
PPPP. HERE 13 PROB'S ARE THERS.REMAINING ALSO ALMOST LIKE THIS .
QQQQ.
RRRR. 1) A boy multiplied a number with 10 and got 100,insted of
SSSS. dividing it . If he devided it what would be the answer?
TTTT. (Ans is 1)
UUUU. 2)If 12 shell cup board requires 18ft of wall space then
VVVV. 30 " " " " how much wall space?
WWWW. (Ans is 45)
XXXX. 3)The average salary of three employee is 95Rs.per week.
YYYY. If one employee earns 115 and other earns 65 rupees.
ZZZZ. how much will third be earn?
AAAAA. (Ans is 105Rs)
BBBBB. 4)A company instaled 36 punching machines at the begining of
CCCCC. the year.In the spring they instaled 9 additional m/c's
DDDDD. and then discontinued 18 in the fall.How many were still
EEEEE. installed at the end of the year?
FFFFF. (Ans is 9)check
GGGGG. 5)During a given week a programmer spend 1/4 of his time
HHHHH. preparing charts,3/8 of his time for coding,rest of his time
IIIII. for debugging the programs.If he had 48 hrs during the week
JJJJJ. how many hours did he spend debugging the program.
KKKKK. (Ans is 18hrs)
LLLLL. 6)A 16 story building has 12000ft on each floor. Company A
MMMMM. rents 7 floors and company B rents 4 floors. What is the
NNNNN. number of square feet of unrented floor space?
OOOOO. (Ans is 60000 sqft)
PPPPP. 7)A man owns 2/3 of a computer service buroue business and
QQQQQ. sells 3/4 of his share for $75000.What is the value of the
RRRRR. business.
SSSSS. (Ans is 150,000)
TTTTT. 8)A computer printer produces 176400 lines in a given day.
UUUUU. If the printer was in operation for 7hrs during the day
VVVVV. how many lines did it print per minute?
WWWWW. (Ans is 420)
XXXXX. 9)From its total income a company spent $20000 for advertising
YYYYY. half of the remainder on salaries and had $6000 left.What
ZZZZZ. was the total income?
AAAAAA. (Ans is $32000)
BBBBBB. 10)In a certain company 20% of the men and 40% of the women
CCCCCC. attended the annual company picnic.If 35% of all the emplo-
DDDDDD. yees are men .What % of all the employee went to the picnic?
EEEEEE. (Ans is 33%)
FFFFFF. 11)The dimensions of certain IBM m/c are 48"*30". If the
GGGGGG. size of the m/c is increased proportionally until the
HHHHHH. sum of its dimensions equals to 156".What will be the
IIIIII. increase in the shortest side?
JJJJJJ. (Ans is 30)
KKKKKK. 12)If a card punch operator can process 80 cards in half an hour
LLLLLL. How many cards can this process in 7hr30min?
MMMMMM. (Ans is 1200)
NNNNNN. 13)In a computer tape library there are two racks with 40 tapes
OOOOOO. per rack.In a given day 30 tapes are in use . What fraction
PPPPPP. remains in the rack?
QQQQQQ. (Ans is 5/8)
RRRRRR.
SSSSSS. --====================987654321_0==_
TTTTTT. Content-Type: text/plain; charset="us-ascii"
UUUUUU.
VVVVVV. --====================987654321_0==_--
WWWWWW. This time he has not given the number series.
XXXXXX.
YYYYYY. Apptitude:
ZZZZZZ.
AAAAAAA. part 1 : letter sevies.
BBBBBBB. part 2 : figures
CCCCCCC. part 3 : quantitave
DDDDDDD.
EEEEEEE.
FFFFFFF. Technical:
GGGGGGG.
HHHHHHH. Most question are on Unix and some in C and some in
IIIIIII. windows 3.1
JJJJJJJ. all question in Unix are From Kernighan & pike
KKKKKKK.
LLLLLLL. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MMMMMMM. TISL
NNNNNNN.
OOOOOOO. part 1
PPPPPPP.
QQQQQQQ. it consists of number series.In some institutes alphabetical series is
RRRRRRR. given instead of number series.Iam having number series so iam sending
SSSSSSS. that.Please go through tha alphabetical tests also.
TTTTTTT. 1. 19,24,20,25,21,26,? ans:22
UUUUUUU. 2. 11,14,12,15,13,16,? ans: 14
VVVVVVV. 3. 10,2,8,2,6,2,? a:4
WWWWWWW. 4. 8,9,11,14,,18,23,? a:29
XXXXXXX. 5. 25,25,22,22,19,19,? a:16
YYYYYYY. 6. 14,2,12,4,10,6,? a:8
ZZZZZZZ. 7. 7,16,9,15,11,14,? a:13
AAAAAAAA. 8. 40,42,39,44,38,46,? a:37
BBBBBBBB. 9. 3,18,4,24,5,30,? a:6
CCCCCCCC. 10. 18,20,22,20,28,20,? a:22
DDDDDDDD. 11. 18,20,10,12,4,6? a:0
EEEEEEEE. 12. 7,6,8,5,3,7,? a:4
FFFFFFFF. 13 9,18,21,25,20,? a:30
GGGGGGGG. 14 3,3,4,8,10,36,? a:33
HHHHHHHH. 15.30,28,25,20,34,28,? a:21
IIIIIIII. 16. 4,8,16,32,64,128,? a:256
JJJJJJJJ. 17. 8,16,24,32,40,48,? a:56
KKKKKKKK. 18. 13,11,14,12,15,13,? a:16
LLLLLLLL. 19. 6,18,36,108,216,648,? a:1296
MMMMMMMM. 20. 4,4,8,8,16,16,? a:32
NNNNNNNN. 21. 2,6,18,54,162,486,? a:1458
OOOOOOOO. 22. 4,20,35,49,62,74,? a:85
PPPPPPPP. 23. 10,18,15,23,20,28,? a:25
QQQQQQQQ. 24. 4,10,8,14,12,18,? a:16
RRRRRRRR. 25 10,15,12,17,14,10,? a:16
SSSSSSSS.
TTTTTTTT.
UUUUUUUU. part 2 consists of non-verbel reasoning(figures).So it is impossible for
VVVVVVVV. me to send those.(25 questions)
WWWWWWWW.
XXXXXXXX. part 3 (quantitative)
YYYYYYYY.
ZZZZZZZZ.
AAAAAAAAA. 1.A clerk multiplied a number by ten when it should have been divided by
BBBBBBBBB. ten.The ans he got was 100.what should the ans have been?
CCCCCCCCC. a:1
DDDDDDDDD. 2.If Rs20/- is available to pay for typing a research report & typist A
EEEEEEEEE. produces 42 pages and typist B produces 28 pages.How much should typist A
FFFFFFFFF. receive?
GGGGGGGGG. a:Rs12/-
HHHHHHHHH. 3.The average salary of 3 workers is 95 Rs. per week. If one earns
IIIIIIIII. Rs.115 and second earns Rs.65 how much is the salary of the 3rd worker.
JJJJJJJJJ. Ans.105.
KKKKKKKKK. 4.A 16 stored building has 12000 sq.feet on each floor. Company A rents 7
LLLLLLLLL. floors and company B rents 4 floors. What is the number of sq.feet of
MMMMMMMMM. unrented floor space.
NNNNNNNNN. Ans.60000
OOOOOOOOO. 5. During a given week A programer spends 1/4 of his time preparing flow
PPPPPPPPP. chart, 3/8 of his time coding and the rest of the time in debugging the
QQQQQQQQQ. programs. If he works 48 hours during the week , how many hours did he
RRRRRRRRR. spend debugging the program.
SSSSSSSSS. Ans. 18.
TTTTTTTTT. 6. A company installed 36 machines at the beginning of the year. In March
UUUUUUUUU. they installed 9 additional machines and then disconnected 18 in August.
VVVVVVVVV. How many were still installed at the end of the year.
WWWWWWWWW. Ans. 27
XXXXXXXXX. 7. A man owns 2/3 of the market research beauro business and sells 3/4 of
YYYYYYYYY. his shares for Rs. 75000. What is the value of Business.
ZZZZZZZZZ. Ans.150000
AAAAAAAAAA. 8. If 12 file cabinets require 18 feet of wall space, how many feet of
BBBBBBBBBB. wall space will 30 cabinets require?
CCCCCCCCCC. Ans.45
DDDDDDDDDD. 9.A computer printer produced 176,400 lines in a given day. If the
EEEEEEEEEE. printer was in operation for seven hours during the day, how many lines
FFFFFFFFFF. did it print per minute?
GGGGGGGGGG. Ans.420
HHHHHHHHHH.
IIIIIIIIII. 10. From its total income, A sales company spent Rs.20,000 for
JJJJJJJJJJ. advertising, half of the remainder on commissions and had Rs.6000 left.
KKKKKKKKKK. What was its total income?
LLLLLLLLLL. Ans.32000
MMMMMMMMMM. 11. On Monday a banker processed a batch of cheques, on Tuesday she
NNNNNNNNNN. processed three times as many, and on Wednesday she processed 4000
OOOOOOOOOO. cheques. In the three days, she processed 16000 cheques. How many did
PPPPPPPPPP. she process on Tuesday?
QQQQQQQQQQ. Ans.9000
RRRRRRRRRR. 12. The cost of four dozen proof machine ribbons and five dozen accouting
SSSSSSSSSS. machine ribbons was Rs.160/-. If one dozen accounting machine ribbons
TTTTTTTTTT. cost Rs.20/-, what is the cost of a dozen proof machine ribbons?
UUUUUUUUUU. Ans.Rs.15
VVVVVVVVVV. 13. If a clerk can process 80 cheques in half an hour, how many cheques
WWWWWWWWWW. can she process in a seven and one half hour day?
XXXXXXXXXX. Ans.1200
YYYYYYYYYY. 14. In a library, there are two racks with 40 books per rack. On a given
ZZZZZZZZZZ. dya, 30 books were issued. What fraction remained in the racks?
AAAAAAAAAAA. Ans.5/8
BBBBBBBBBBB. 15. The average length of three tapes is 6800 feet. None of the tapes is
CCCCCCCCCCC. less than 6400 feet. What is the greatest possible length of one of the
DDDDDDDDDDD. other tapes?
EEEEEEEEEEE. Ans.7600
FFFFFFFFFFF. 16. A company rented a machine for Rs.700/- a month. Five years later
GGGGGGGGGGG. the treasurer calculated that if the company had purchased the machine
HHHHHHHHHHH. and paid Rs.100/- monthly maintenance charge, the company would have
IIIIIIIIIII. saved Rs.2000/-. What was the purchase price of the machine?
JJJJJJJJJJJ. Ans.Rs.34000
KKKKKKKKKKK. 17. Two computers each produced 48000 public utility bills in a day. One
LLLLLLLLLLL. computer printed bills at the rate of 9600 an hour and the other at the
MMMMMMMMMMM. rate of 7800 an hour. When the first computer finished its run, how many
NNNNNNNNNNN. bills did the other computer still have to print?
OOOOOOOOOOO. Ans.9000
PPPPPPPPPPP.
QQQQQQQQQQQ. 18. If a salesman's average is a new order every other week, he will
RRRRRRRRRRR. break the office record of the year. However, after 28 weeks, he is six
SSSSSSSSSSS. orders behind schedule. In what proportion of the remaining weeks does
TTTTTTTTTTT. he have to obtain a new order to break the record?
UUUUUUUUUUU. Ans.3/4
VVVVVVVVVVV. 19. On a given day, a bank had 16000 cheques returned by customers.
WWWWWWWWWWW. Inspection of the first 800 cheques indicated that 100 of those 800 had
XXXXXXXXXXX. errors and were therefore the available immediately for data processing.
YYYYYYYYYYY. On this basis, hwo many cheques would be available immediately for data
ZZZZZZZZZZZ. processing on that day?
AAAAAAAAAAAA. Ans.14000
BBBBBBBBBBBB. 20. A company figured it needed 37.8 sq.feet of carpot for its reception
CCCCCCCCCCCC. room. To allow for waste, it decided to order 20% more material than
DDDDDDDDDDDD. needed. Fractional parts of sq.feet cannot be ordered. At Rs.9/- a
EEEEEEEEEEEE. sq.feet, how much would the carpet cost?
FFFFFFFFFFFF. Ans.
GGGGGGGGGGGG. a. Rs.324 b) Rs.405 c) Rs.410 d) Rs.414 e) Rs.685
HHHHHHHHHHHH. 21. A tape manufacturer reduces the price of his heavy duty tape from
IIIIIIIIIIII. Rs.30/- to Rs.28/- a reel and the price of a regular tape from Rs.24/- to
JJJJJJJJJJJJ. Rs.23/- a reel. A computing centre normally spends Rs.1440/- a month for
KKKKKKKKKKKK. tapes and 3/4 of this is for heavy duty tapes. How much will they save a
LLLLLLLLLLLL. month under the new prices?
MMMMMMMMMMMM. Ans.Rs.87
NNNNNNNNNNNN. 22. In a team of 12 persons, 1/3 are women and 2/3 are men. To obtain a
OOOOOOOOOOOO. team with 20% women how many men should be hired?
PPPPPPPPPPPP. Ans.8
QQQQQQQQQQQQ. 23. The dimensions of a certain machine are 48" X 30" X 52". If the size
RRRRRRRRRRRR. of the machine is increased proportionately until the sum of its
SSSSSSSSSSSS. dimensions equals 156", what will be the increase in the shortest side?
TTTTTTTTTTTT. Ans. 6"
UUUUUUUUUUUU. 24. In a certain company, 20% of the men and 40% of the women attended
VVVVVVVVVVVV. the annual company picnic. If 35% of all the employees are man, what
WWWWWWWWWWWW. percent of all the employees went to the picnic?
XXXXXXXXXXXX. Ans.33%
YYYYYYYYYYYY. 25. It cost a college Rs.0.70 a copy to produce a Programme for the
ZZZZZZZZZZZZ. homecoming football game. If Rs.15,000/- was received for advertisements
AAAAAAAAAAAAA. in the programme, how many copies at Rs.0.50 a copy must be sold to make
BBBBBBBBBBBBB. a profit of Rs.8000/- ?
CCCCCCCCCCCCC. Ans. 35000
DDDDDDDDDDDDD.
EEEEEEEEEEEEE. *********************************************************************
FFFFFFFFFFFFF.
GGGGGGGGGGGGG. In the first section there are 40 question's on letter series.
HHHHHHHHHHHHH. Very easy upto 25 and then slightly involved after that again
IIIIIIIIIIIII. last 10questons are easy.
JJJJJJJJJJJJJ.
KKKKKKKKKKKKK. For example:
LLLLLLLLLLLLL.
MMMMMMMMMMMMM. 1. aa , bb, cc, --
NNNNNNNNNNNNN. 2. a,c,e,g,-
OOOOOOOOOOOOO. etc.,
PPPPPPPPPPPPP. ****************************************************************
QQQQQQQQQQQQQ.
RRRRRRRRRRRRR. bye,
SSSSSSSSSSSSS. sreedhar.
TTTTTTTTTTTTT.
UUUUUUUUUUUUU. TATA-IBM few questions extra.
VVVVVVVVVVVVV. 1)int i=10;
WWWWWWWWWWWWW. printf("%d%d%d",i,i++,++i);
XXXXXXXXXXXXX. ans: compiler dependent
YYYYYYYYYYYYY. 2)printf("Enter two values a and b:"):
ZZZZZZZZZZZZZ. scanf("%d%d",a,b);
AAAAAAAAAAAAAA. printf("%d+%d=%d",a,b,a+b);
BBBBBBBBBBBBBB. ans:core dumped
CCCCCCCCCCCCCC. 3)Question on WM_SIZE
DDDDDDDDDDDDDD. ans:WM_SIZE
EEEEEEEEEEEEEE. 4)when destroy window what message would disply
FFFFFFFFFFFFFF. ans:WM_DESTROY
GGGGGGGGGGGGGG. 5)MS Windows 3.1 about multitasking
HHHHHHHHHHHHHH. ans:nonpreemptive
IIIIIIIIIIIIII. 6)windows 3.1 is
JJJJJJJJJJJJJJ. ans:application
KKKKKKKKKKKKKK. 7) about switch switch statement
LLLLLLLLLLLLLL. ans:16,21
MMMMMMMMMMMMMM. 8)question paper the first question ans is
NNNNNNNNNNNNNN. ans:can't be compiled
OOOOOOOOOOOOOO. 9)about send messages and post messages
PPPPPPPPPPPPPP. ans: c
QQQQQQQQQQQQQQ. 10)what is the command to intiate the windows
RRRRRRRRRRRRRR. ans:WinMain
SSSSSSSSSSSSSS.
TTTTTTTTTTTTTT. paper
UUUUUUUUUUUUUU. 1.const char *
VVVVVVVVVVVVVV. char * const
WWWWWWWWWWWWWW. What is the differnce between the above tow?.
XXXXXXXXXXXXXX. 2.In Unix inter process communication take place using?.
YYYYYYYYYYYYYY. 3.What are the files in /etc directory?.
ZZZZZZZZZZZZZZ. 4.About i-node numbers
AAAAAAAAAAAAAAA. 5.Max relaxable permisssion value with out giving write permission
BBBBBBBBBBBBBBB. to others?.
CCCCCCCCCCCCCCC. 6.About ln(linking)
DDDDDDDDDDDDDDD. 7.A question on until
EEEEEEEEEEEEEEE. until (who |grep mary)
FFFFFFFFFFFFFFF. do
GGGGGGGGGGGGGGG. sleep(60)
HHHHHHHHHHHHHHH. done
IIIIIIIIIIIIIII. 8.Linking across directories?.
JJJJJJJJJJJJJJJ.
KKKKKKKKKKKKKKK. 9.process id for kernell process
LLLLLLLLLLLLLLL. 10.very first process created by kernell
MMMMMMMMMMMMMMM. 11.function to repaint a window immediately?.
NNNNNNNNNNNNNNN. 12.Function entry for DLL in win3.1
OOOOOOOOOOOOOOO. 13.win 3.1 is a
PPPPPPPPPPPPPPP. 14.win 3.1 supports which type of multi tasking?.
QQQQQQQQQQQQQQQ. 15.Message displayed when a window is destroyed
RRRRRRRRRRRRRRR. 16.About fork()?
SSSSSSSSSSSSSSS. 17.About send message and post message
TTTTTTTTTTTTTTT. 18.Message to limit the size of window
UUUUUUUUUUUUUUU. 19.System call executable binary file intoa process
VVVVVVVVVVVVVVV. 20.About GDI object?.
WWWWWWWWWWWWWWW. 21.API used to hide window
XXXXXXXXXXXXXXX. 22.Initialize contents of a dialog?.
YYYYYYYYYYYYYYY. The technical comprises of 50 questions on C,Unix and windows.
ZZZZZZZZZZZZZZZ. The interview for us is on a later date.If the questions come for you
AAAAAAAAAAAAAAAA. also,then intimate me.
BBBBBBBBBBBBBBBB.
CCCCCCCCCCCCCCCC. ______________________________________________
DDDDDDDDDDDDDDDD. TISL
EEEEEEEEEEEEEEEE. _______________________________________
FFFFFFFFFFFFFFFF. I know some 25 questions.
GGGGGGGGGGGGGGGG.
HHHHHHHHHHHHHHHH. The technical comprises of 50 questions on C,Unix and windows.
IIIIIIIIIIIIIIII. 1.const char *
JJJJJJJJJJJJJJJJ. char * const
KKKKKKKKKKKKKKKK. What is the differnce between the above tow?.
LLLLLLLLLLLLLLLL. 2.In Unix inter process communication take place using?.
MMMMMMMMMMMMMMMM. 3.What are the files in /etc directory?.
NNNNNNNNNNNNNNNN. 4.About i-node numbers
OOOOOOOOOOOOOOOO. 5.Max relaxable permisssion value with out giving write permission
PPPPPPPPPPPPPPPP. to others?.
QQQQQQQQQQQQQQQQ. 6.About ln(linking)
RRRRRRRRRRRRRRRR. 7.A question on until
SSSSSSSSSSSSSSSS. until (who |grep mary)
TTTTTTTTTTTTTTTT. do
UUUUUUUUUUUUUUUU. sleep(60)
VVVVVVVVVVVVVVVV. done
WWWWWWWWWWWWWWWW. 8.Linking across directories?.
XXXXXXXXXXXXXXXX.
YYYYYYYYYYYYYYYY. 9.process id for kernell process
ZZZZZZZZZZZZZZZZ. 10.very first process created by kernell
AAAAAAAAAAAAAAAAA. 11.function to repaint a window immediately?.
BBBBBBBBBBBBBBBBB. 12.Function entry for DLL in win3.1
CCCCCCCCCCCCCCCCC. 13.win 3.1 is a
DDDDDDDDDDDDDDDDD. 14.win 3.1 supports which type of multi tasking?.
EEEEEEEEEEEEEEEEE. 15.Message displayed when a window is destroyed
FFFFFFFFFFFFFFFFF. 16.About fork()?
GGGGGGGGGGGGGGGGG. 17.About send message and post message
HHHHHHHHHHHHHHHHH. 18.Message to limit the size of window
IIIIIIIIIIIIIIIII. 19.System call executable binary file intoa process
JJJJJJJJJJJJJJJJJ. 20.About GDI object?.
KKKKKKKKKKKKKKKKK. 21.API used to hide window
LLLLLLLLLLLLLLLLL. 22.Initialize contents of a dialog?.
MMMMMMMMMMMMMMMMM. _____________________________________________________________________
NNNNNNNNNNNNNNNNN.
OOOOOOOOOOOOOOOOO. I know some 25 questions.
PPPPPPPPPPPPPPPPP.
QQQQQQQQQQQQQQQQQ. The technical comprises of 50 questions on C,Unix and windows.
RRRRRRRRRRRRRRRRR. The interview for us is on a later date.If the questions come for you
SSSSSSSSSSSSSSSSS. also,then intimate me.
TTTTTTTTTTTTTTTTT. 1.const char *
UUUUUUUUUUUUUUUUU. char * const
VVVVVVVVVVVVVVVVV. What is the differnce between the above tow?.
WWWWWWWWWWWWWWWWW. 2.In Unix inter process communication take place using?.
XXXXXXXXXXXXXXXXX. 3.What are the files in /etc directory?.
YYYYYYYYYYYYYYYYY. 4.About i-node numbers
ZZZZZZZZZZZZZZZZZ. 5.Max relaxable permisssion value with out giving write permission
AAAAAAAAAAAAAAAAAA. to others?.
BBBBBBBBBBBBBBBBBB. 6.About ln(linking)
CCCCCCCCCCCCCCCCCC. 7.A question on until
DDDDDDDDDDDDDDDDDD. until (who |grep mary)
EEEEEEEEEEEEEEEEEE. do
FFFFFFFFFFFFFFFFFF. sleep(60)
GGGGGGGGGGGGGGGGGG. done
HHHHHHHHHHHHHHHHHH. 8.Linking across directories?.
IIIIIIIIIIIIIIIIII.
JJJJJJJJJJJJJJJJJJ. 9.process id for kernell process
KKKKKKKKKKKKKKKKKK. 10.very first process created by kernell
LLLLLLLLLLLLLLLLLL. 11.function to repaint a window immediately?.
MMMMMMMMMMMMMMMMMM. 12.Function entry for DLL in win3.1
NNNNNNNNNNNNNNNNNN. 13.win 3.1 is a
OOOOOOOOOOOOOOOOOO. 14.win 3.1 supports which type of multi tasking?.
PPPPPPPPPPPPPPPPPP. 15.Message displayed when a window is destroyed
QQQQQQQQQQQQQQQQQQ. 16.About fork()?
RRRRRRRRRRRRRRRRRR. 17.About send message and post message
SSSSSSSSSSSSSSSSSS. 18.Message to limit the size of window
TTTTTTTTTTTTTTTTTT. 19.System call executable binary file intoa process
UUUUUUUUUUUUUUUUUU. 20.About GDI object?.
VVVVVVVVVVVVVVVVVV. 21.API used to hide window
WWWWWWWWWWWWWWWWWW. 22.Initialize contents of a dialog?.
XXXXXXXXXXXXXXXXXX.
YYYYYYYYYYYYYYYYYY.
ZZZZZZZZZZZZZZZZZZ.
AAAAAAAAAAAAAAAAAAA. TISL -----------> PAPER MODEL
BBBBBBBBBBBBBBBBBBB. Two parts.
CCCCCCCCCCCCCCCCCCC. Part A: aptitude (100 Que) 100 marks
DDDDDDDDDDDDDDDDDDD. 1 to 40 leter series
EEEEEEEEEEEEEEEEEEE. 41 to 65 problems
FFFFFFFFFFFFFFFFFFF. 66 to 100 figures
GGGGGGGGGGGGGGGGGGG. Part B: comp knowledge test
HHHHHHHHHHHHHHHHHHH. 50 QUE 50 marks
IIIIIIIIIIIIIIIIIII.
JJJJJJJJJJJJJJJJJJJ. TISL(TATA-IBM)PAPER
KKKKKKKKKKKKKKKKKKK. -------------------
LLLLLLLLLLLLLLLLLLL. Q9). what will be the result of executing following program
MMMMMMMMMMMMMMMMMMM. main
NNNNNNNNNNNNNNNNNNN. {
OOOOOOOOOOOOOOOOOOO. char *x="new";
PPPPPPPPPPPPPPPPPPP. char *y="dictonary";
QQQQQQQQQQQQQQQQQQQ. char *t;
RRRRRRRRRRRRRRRRRRR. void swap (char * , char *);
SSSSSSSSSSSSSSSSSSS. swap (x,y);
TTTTTTTTTTTTTTTTTTT. printf("(%s, %s)",x,y);
UUUUUUUUUUUUUUUUUUU.
VVVVVVVVVVVVVVVVVVV. char *t;
WWWWWWWWWWWWWWWWWWW. t=x;
XXXXXXXXXXXXXXXXXXX. x=y;
YYYYYYYYYYYYYYYYYYY. y=t;
ZZZZZZZZZZZZZZZZZZZ. printf("-(%s, %s)",x,y);
AAAAAAAAAAAAAAAAAAAA. }
BBBBBBBBBBBBBBBBBBBB. void swap (char *x,char *y)
CCCCCCCCCCCCCCCCCCCC. {
DDDDDDDDDDDDDDDDDDDD. char *t;
EEEEEEEEEEEEEEEEEEEE. y=x;
FFFFFFFFFFFFFFFFFFFF. x=y;
GGGGGGGGGGGGGGGGGGGG. y=t;
HHHHHHHHHHHHHHHHHHHH. }
IIIIIIIIIIIIIIIIIIII.
JJJJJJJJJJJJJJJJJJJJ. a).(New,Dictionary)-(New,Dictionary)
KKKKKKKKKKKKKKKKKKKK. b).(Dictionary,New)-(New,Dictionary)
LLLLLLLLLLLLLLLLLLLL. c).(New,Dictionary)-(Dictionary,New)
MMMMMMMMMMMMMMMMMMMM. d).(Dictionary,New)-(Dictionary,New)
NNNNNNNNNNNNNNNNNNNN. e).None of the above
OOOOOOOOOOOOOOOOOOOO. (Ans will be b or e) check
PPPPPPPPPPPPPPPPPPPP.
QQQQQQQQQQQQQQQQQQQQ. Q10).If a directory contains public files (can be valied and used
RRRRRRRRRRRRRRRRRRRR. by any one ) which should not be altered ,the most liberal
SSSSSSSSSSSSSSSSSSSS. permissions that can be given to the directory is
TTTTTTTTTTTTTTTTTTTT. a)755
UUUUUUUUUUUUUUUUUUUU. b)777
VVVVVVVVVVVVVVVVVVVV. c)757
WWWWWWWWWWWWWWWWWWWW. d)775
XXXXXXXXXXXXXXXXXXXX. e)None of the above
YYYYYYYYYYYYYYYYYYYY. (Ans a)
ZZZZZZZZZZZZZZZZZZZZ. 11) what would the following program results in
AAAAAAAAAAAAAAAAAAAAA. main()
BBBBBBBBBBBBBBBBBBBBB. {
CCCCCCCCCCCCCCCCCCCCC. char p[]="string";
DDDDDDDDDDDDDDDDDDDDD. char t;
EEEEEEEEEEEEEEEEEEEEE. int i,j;
FFFFFFFFFFFFFFFFFFFFF. for(i=0,j=strlen(p);iGGGGGGGGGGGGGGGGGGGGG. {
HHHHHHHHHHHHHHHHHHHHH. t=p[i];
IIIIIIIIIIIIIIIIIIIII. p[i]=p[j-i];
JJJJJJJJJJJJJJJJJJJJJ. p[j-i]=t;
KKKKKKKKKKKKKKKKKKKKK. }
LLLLLLLLLLLLLLLLLLLLL. printf("%s",p);
MMMMMMMMMMMMMMMMMMMMM. }
NNNNNNNNNNNNNNNNNNNNN. a)will print:string
OOOOOOOOOOOOOOOOOOOOO. b)will not print anything since p will be pointing to a null string
PPPPPPPPPPPPPPPPPPPPP. c)will print:gnirtS
QQQQQQQQQQQQQQQQQQQQQ. d)will result in a complication error
RRRRRRRRRRRRRRRRRRRRR. e)will print invallid characters(junk)
SSSSSSSSSSSSSSSSSSSSS. (Ans will be b ) check
TTTTTTTTTTTTTTTTTTTTT. 12) After the following command is executed
UUUUUUUUUUUUUUUUUUUUU. $ ln old new
VVVVVVVVVVVVVVVVVVVVV. a listing is performed with the following output
WWWWWWWWWWWWWWWWWWWWW. $ ls -li
XXXXXXXXXXXXXXXXXXXXX.
YYYYYYYYYYYYYYYYYYYYY. total 3
ZZZZZZZZZZZZZZZZZZZZZ. 15768 -rw-rw-rw- 2 you 29 Sep 27 12:07 old
AAAAAAAAAAAAAAAAAAAAAA. 15768 " " " " " " " " new
BBBBBBBBBBBBBBBBBBBBBB. 15274 " " 1 " 40 " " 09:34 veryold
CCCCCCCCCCCCCCCCCCCCCC.
DDDDDDDDDDDDDDDDDDDDDD. which of the following is true
EEEEEEEEEEEEEEEEEEEEEE. a)old and new have same i-node number,2
FFFFFFFFFFFFFFFFFFFFFF. b) " " " " " " " , 15768
GGGGGGGGGGGGGGGGGGGGGG. c)old and new have nothing yo do with each other
HHHHHHHHHHHHHHHHHHHHHH. d)very old and new are linked
IIIIIIIIIIIIIIIIIIIIII. e)very old and old are linked
JJJJJJJJJJJJJJJJJJJJJJ. (Ans is b)
KKKKKKKKKKKKKKKKKKKKKK. 13) What will be the result of executing the following statement
LLLLLLLLLLLLLLLLLLLLLL. int i=10;
MMMMMMMMMMMMMMMMMMMMMM. printf("%d %d %d",i,++i,i++);
NNNNNNNNNNNNNNNNNNNNNN. a).10 11 12
OOOOOOOOOOOOOOOOOOOOOO. b).12 11 10
PPPPPPPPPPPPPPPPPPPPPP. c).10 11 11
QQQQQQQQQQQQQQQQQQQQQQ. d).result is OS dependent
RRRRRRRRRRRRRRRRRRRRRR. e).result is compiler dependent
SSSSSSSSSSSSSSSSSSSSSS. (Ans is e)
TTTTTTTTTTTTTTTTTTTTTT. 14) What does extern means in a function declaration
UUUUUUUUUUUUUUUUUUUUUU. a)the funct has global scope
VVVVVVVVVVVVVVVVVVVVVV. b)the funct need not be defined\
WWWWWWWWWWWWWWWWWWWWWW. c)nothing really
XXXXXXXXXXXXXXXXXXXXXX. d)the funct has local scope only to the file it is defined in
YYYYYYYYYYYYYYYYYYYYYY. e)none of the above
ZZZZZZZZZZZZZZZZZZZZZZ. (Ans will be c)
AAAAAAAAAAAAAAAAAAAAAAA. 15) What will be result of the following program
BBBBBBBBBBBBBBBBBBBBBBB. main()
CCCCCCCCCCCCCCCCCCCCCCC. {
DDDDDDDDDDDDDDDDDDDDDDD. void f(int,int);
EEEEEEEEEEEEEEEEEEEEEEE. int i=10;
FFFFFFFFFFFFFFFFFFFFFFF. f(i,i++);
GGGGGGGGGGGGGGGGGGGGGGG. }
HHHHHHHHHHHHHHHHHHHHHHH. void f(int i,int j)
IIIIIIIIIIIIIIIIIIIIIII. {
JJJJJJJJJJJJJJJJJJJJJJJ. if(i>50)
KKKKKKKKKKKKKKKKKKKKKKK. return;
LLLLLLLLLLLLLLLLLLLLLLL. i+=j;
MMMMMMMMMMMMMMMMMMMMMMM. f(i,j);
NNNNNNNNNNNNNNNNNNNNNNN. printf("%d,",i);
OOOOOOOOOOOOOOOOOOOOOOO. }
PPPPPPPPPPPPPPPPPPPPPPP. a).85,53,32,21
QQQQQQQQQQQQQQQQQQQQQQQ. b)10,11,21,32,53
RRRRRRRRRRRRRRRRRRRRRRR. c)21,32,53,85
SSSSSSSSSSSSSSSSSSSSSSS. d)32,21,11,10
TTTTTTTTTTTTTTTTTTTTTTT. e)none of the above
UUUUUUUUUUUUUUUUUUUUUUU. (Ans is e)
VVVVVVVVVVVVVVVVVVVVVVV. 16). MS windows 3.1 is a
WWWWWWWWWWWWWWWWWWWWWWW. a)operating system
XXXXXXXXXXXXXXXXXXXXXXX. b)Application
YYYYYYYYYYYYYYYYYYYYYYY. c)Programing language
ZZZZZZZZZZZZZZZZZZZZZZZ. d)database
AAAAAAAAAAAAAAAAAAAAAAAA. e)shell
BBBBBBBBBBBBBBBBBBBBBBBB. (Ans will be b)
CCCCCCCCCCCCCCCCCCCCCCCC. 17).MS Windows 3.1 supports which type of multi-tasking?
DDDDDDDDDDDDDDDDDDDDDDDD. a)cycle
EEEEEEEEEEEEEEEEEEEEEEEE. b)executive
FFFFFFFFFFFFFFFFFFFFFFFF. c)preemptive
GGGGGGGGGGGGGGGGGGGGGGGG. d)Non-preemptive
HHHHHHHHHHHHHHHHHHHHHHHH. e)Manual
IIIIIIIIIIIIIIIIIIIIIIII. (Ans )
JJJJJJJJJJJJJJJJJJJJJJJJ. 18)The command ......ln /bin/mail /usr/you/bin/m
KKKKKKKKKKKKKKKKKKKKKKKK. a)will not be executed because you are linking files
LLLLLLLLLLLLLLLLLLLLLLLL. across different file systems
MMMMMMMMMMMMMMMMMMMMMMMM. b)results ln /bin/main being the same file as /usr/you/bin/m
NNNNNNNNNNNNNNNNNNNNNNNN. c)results in 2 links to the file mail
OOOOOOOOOOOOOOOOOOOOOOOO. d) " " " " m
PPPPPPPPPPPPPPPPPPPPPPPP. e)none
QQQQQQQQQQQQQQQQQQQQQQQQ. (Ans will be b)
RRRRRRRRRRRRRRRRRRRRRRRR. 19)In a standerd directory lay out ,/etc is the directory where
SSSSSSSSSSSSSSSSSSSSSSSS. a) basic programs such as who and ed reside
TTTTTTTTTTTTTTTTTTTTTTTT. b) - - - - - - -
UUUUUUUUUUUUUUUUUUUUUUUU. c)various administrative files such as password file reside
VVVVVVVVVVVVVVVVVVVVVVVV. d) - - - - - - -
WWWWWWWWWWWWWWWWWWWWWWWW. e) - - - - - -
XXXXXXXXXXXXXXXXXXXXXXXX. (Ans is c)
YYYYYYYYYYYYYYYYYYYYYYYY. 20) The command echo *
ZZZZZZZZZZZZZZZZZZZZZZZZ. a) echoes all files in the current directory
AAAAAAAAAAAAAAAAAAAAAAAAA. b) - - - - -
BBBBBBBBBBBBBBBBBBBBBBBBB. c)
CCCCCCCCCCCCCCCCCCCCCCCCC. d)
DDDDDDDDDDDDDDDDDDDDDDDDD. e)
EEEEEEEEEEEEEEEEEEEEEEEEE. (Ans is a)
FFFFFFFFFFFFFFFFFFFFFFFFF. 21)What will be the result of the following segment of the program
GGGGGGGGGGGGGGGGGGGGGGGGG. main()
HHHHHHHHHHHHHHHHHHHHHHHHH. {
IIIIIIIIIIIIIIIIIIIIIIIII. char *s="hello world";
JJJJJJJJJJJJJJJJJJJJJJJJJ. int i=7;
KKKKKKKKKKKKKKKKKKKKKKKKK. printf("%.*%s",s);
LLLLLLLLLLLLLLLLLLLLLLLLL. }
MMMMMMMMMMMMMMMMMMMMMMMMM. a)syntax error
NNNNNNNNNNNNNNNNNNNNNNNNN. b)hello w
OOOOOOOOOOOOOOOOOOOOOOOOO. c)
PPPPPPPPPPPPPPPPPPPPPPPPP. d)
QQQQQQQQQQQQQQQQQQQQQQQQQ. e)
RRRRRRRRRRRRRRRRRRRRRRRRR. (Ans is b)
SSSSSSSSSSSSSSSSSSSSSSSSS. 22) What will be the result of the following program
TTTTTTTTTTTTTTTTTTTTTTTTT. main()
UUUUUUUUUUUUUUUUUUUUUUUUU. {
VVVVVVVVVVVVVVVVVVVVVVVVV. int a,b;
WWWWWWWWWWWWWWWWWWWWWWWWW. printf("enter two numbers :");
XXXXXXXXXXXXXXXXXXXXXXXXX. scanf("%d%d",a,b);
YYYYYYYYYYYYYYYYYYYYYYYYY. printf("%d+%d=%d",a,b,a+b);
ZZZZZZZZZZZZZZZZZZZZZZZZZ. }
AAAAAAAAAAAAAAAAAAAAAAAAAA. a)- - - - -
BBBBBBBBBBBBBBBBBBBBBBBBBB. b) - --
CCCCCCCCCCCCCCCCCCCCCCCCCC. c) will generate run time error /core dump
DDDDDDDDDDDDDDDDDDDDDDDDDD. d)
EEEEEEEEEEEEEEEEEEEEEEEEEE. e)
FFFFFFFFFFFFFFFFFFFFFFFFFF. (Ans is c)
GGGGGGGGGGGGGGGGGGGGGGGGGG. 23) What is the size of 'q'in the following program?
HHHHHHHHHHHHHHHHHHHHHHHHHH. union{
IIIIIIIIIIIIIIIIIIIIIIIIII. int x;
JJJJJJJJJJJJJJJJJJJJJJJJJJ. char y;
KKKKKKKKKKKKKKKKKKKKKKKKKK. struct {
LLLLLLLLLLLLLLLLLLLLLLLLLL. char x;
MMMMMMMMMMMMMMMMMMMMMMMMMM. char y;
NNNNNNNNNNNNNNNNNNNNNNNNNN. int xy;}p;
OOOOOOOOOOOOOOOOOOOOOOOOOO. }q;
PPPPPPPPPPPPPPPPPPPPPPPPPP. a)11
QQQQQQQQQQQQQQQQQQQQQQQQQQ. b)6
RRRRRRRRRRRRRRRRRRRRRRRRRR. c)4
SSSSSSSSSSSSSSSSSSSSSSSSSS. d)5
TTTTTTTTTTTTTTTTTTTTTTTTTT. e)none
UUUUUUUUUUUUUUUUUUUUUUUUUU. (Ans is b why because no of bytes for int =4 given in instructions)
VVVVVVVVVVVVVVVVVVVVVVVVVV. 24) Which message is displayed when a window is destroyed
WWWWWWWWWWWWWWWWWWWWWWWWWW. a)WM_CLOSE
XXXXXXXXXXXXXXXXXXXXXXXXXX. b)WM_DESTROY
YYYYYYYYYYYYYYYYYYYYYYYYYY. c)WM_NCDESTROY
ZZZZZZZZZZZZZZZZZZZZZZZZZZ. d)
AAAAAAAAAAAAAAAAAAAAAAAAAAA. E)
BBBBBBBBBBBBBBBBBBBBBBBBBBB. (Ans is b)
CCCCCCCCCCCCCCCCCCCCCCCCCCC. 25)Send Message and postmessage are
DDDDDDDDDDDDDDDDDDDDDDDDDDD. a)send message puts the message in the message queue and results,
EEEEEEEEEEEEEEEEEEEEEEEEEEE. postmessage processes the message immediately
FFFFFFFFFFFFFFFFFFFFFFFFFFF. b)Sendmessage processes the message immediately,postmessage puts
GGGGGGGGGGGGGGGGGGGGGGGGGGG. the message in the queue and returns
HHHHHHHHHHHHHHHHHHHHHHHHHHH. c) Both put the message in the message queue and returns
IIIIIIIIIIIIIIIIIIIIIIIIIII. d) Both process the message immediately
JJJJJJJJJJJJJJJJJJJJJJJJJJJ. e) None of the above
KKKKKKKKKKKKKKKKKKKKKKKKKKK. (Ans will be b check)
LLLLLLLLLLLLLLLLLLLLLLLLLLL. 26) Which of the following message is used to limit the size
MMMMMMMMMMMMMMMMMMMMMMMMMMM. of teh Window
NNNNNNNNNNNNNNNNNNNNNNNNNNN. a)WM_SIZE
OOOOOOOOOOOOOOOOOOOOOOOOOOO. b)WM_PAIN
PPPPPPPPPPPPPPPPPPPPPPPPPPP. c)- - - -
QQQQQQQQQQQQQQQQQQQQQQQQQQQ. d)- -- - -
RRRRRRRRRRRRRRRRRRRRRRRRRRR. (Ans is a)
SSSSSSSSSSSSSSSSSSSSSSSSSSS. 27)until who|grep mary
TTTTTTTTTTTTTTTTTTTTTTTTTTT. do
UUUUUUUUUUUUUUUUUUUUUUUUUUU. sleep 60
VVVVVVVVVVVVVVVVVVVVVVVVVVV. done
WWWWWWWWWWWWWWWWWWWWWWWWWWW. a) is syntactically incorrect
XXXXXXXXXXXXXXXXXXXXXXXXXXX. b) waits 60 seconds irrespective of Mary being logged in or not
YYYYYYYYYYYYYYYYYYYYYYYYYYY. c) waits until Marry is logged in
ZZZZZZZZZZZZZZZZZZZZZZZZZZZ. d)waits till Mary exited
AAAAAAAAAAAAAAAAAAAAAAAAAAAA. e)None
BBBBBBBBBBBBBBBBBBBBBBBBBBBB. (Ans is c)
CCCCCCCCCCCCCCCCCCCCCCCCCCCC. 28)The UNIX system call that transforms an executable binary file into
DDDDDDDDDDDDDDDDDDDDDDDDDDDD. a process is
EEEEEEEEEEEEEEEEEEEEEEEEEEEE. a)execl()
FFFFFFFFFFFFFFFFFFFFFFFFFFFF. b)execv()
GGGGGGGGGGGGGGGGGGGGGGGGGGGG. c)execle()
HHHHHHHHHHHHHHHHHHHHHHHHHHHH. d)execve()
IIIIIIIIIIIIIIIIIIIIIIIIIIII. e)All of the above
JJJJJJJJJJJJJJJJJJJJJJJJJJJJ. (Ans will be d check)
KKKKKKKKKKKKKKKKKKKKKKKKKKKK. 29)Which of the following is true about fork()
LLLLLLLLLLLLLLLLLLLLLLLLLLLL. a)- - - - -
MMMMMMMMMMMMMMMMMMMMMMMMMMMM. b)causes the creation of a new process ,the CHILD process
NNNNNNNNNNNNNNNNNNNNNNNNNNNN. with a new process ID
OOOOOOOOOOOOOOOOOOOOOOOOOOOO. c)
PPPPPPPPPPPPPPPPPPPPPPPPPPPP. d)
QQQQQQQQQQQQQQQQQQQQQQQQQQQQ. e)
RRRRRRRRRRRRRRRRRRRRRRRRRRRR. (Ans is b)
SSSSSSSSSSSSSSSSSSSSSSSSSSSS. 30) What do the following variable names represents?
TTTTTTTTTTTTTTTTTTTTTTTTTTTT. sort register
UUUUUUUUUUUUUUUUUUUUUUUUUUUU. volatile default
VVVVVVVVVVVVVVVVVVVVVVVVVVVV. a)- - - -
WWWWWWWWWWWWWWWWWWWWWWWWWWWW. b ) - - - -
XXXXXXXXXXXXXXXXXXXXXXXXXXXX. c)all the above are keywords
YYYYYYYYYYYYYYYYYYYYYYYYYYYY. (Ans is c)
ZZZZZZZZZZZZZZZZZZZZZZZZZZZZ. 31)What will be the result of the following program
AAAAAAAAAAAAAAAAAAAAAAAAAAAAA. main()
BBBBBBBBBBBBBBBBBBBBBBBBBBBBB. {
CCCCCCCCCCCCCCCCCCCCCCCCCCCCC. char *x="String";
DDDDDDDDDDDDDDDDDDDDDDDDDDDDD. char y[] = "add";
EEEEEEEEEEEEEEEEEEEEEEEEEEEEE. char *z;
FFFFFFFFFFFFFFFFFFFFFFFFFFFFF. z=(char *) malloc(sizeof(x)+sizeof(y)=1);
GGGGGGGGGGGGGGGGGGGGGGGGGGGGG. strcpy(z,y);
HHHHHHHHHHHHHHHHHHHHHHHHHHHHH. strcat(z,y);
IIIIIIIIIIIIIIIIIIIIIIIIIIIII. printf("%s+%s=%s",y,x,z);
JJJJJJJJJJJJJJJJJJJJJJJJJJJJJ. }
KKKKKKKKKKKKKKKKKKKKKKKKKKKKK. a)Add+string=Add string
LLLLLLLLLLLLLLLLLLLLLLLLLLLLL. b)syntax error during compilation
MMMMMMMMMMMMMMMMMMMMMMMMMMMMM. c)run time error/core dump
NNNNNNNNNNNNNNNNNNNNNNNNNNNNN. d)add+string=
OOOOOOOOOOOOOOOOOOOOOOOOOOOOO. e)none
PPPPPPPPPPPPPPPPPPPPPPPPPPPPP. (Ans will be e consider cap&small leters)
QQQQQQQQQQQQQQQQQQQQQQQQQQQQQ. 32)What does the following expression means
RRRRRRRRRRRRRRRRRRRRRRRRRRRRR. a)
SSSSSSSSSSSSSSSSSSSSSSSSSSSSS. b)
TTTTTTTTTTTTTTTTTTTTTTTTTTTTT. c)
UUUUUUUUUUUUUUUUUUUUUUUUUUUUU. d)an arrey of n pointers to function returning pointers to
VVVVVVVVVVVVVVVVVVVVVVVVVVVVV. functions returning pointers to characters
WWWWWWWWWWWWWWWWWWWWWWWWWWWWW. (ANS IS d)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXX. 33)Which of the following is not a DDL object
YYYYYYYYYYYYYYYYYYYYYYYYYYYYY. a)HBRUSH
ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ. b)HPEN
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA. c)HBITMAP
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBB. d)HRGN
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC. e)HWND
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDD. (Ans ic e)
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEE. 34) Which of the following message is used to initialize the
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF. contents of a dialog
GGGGGGGGGGGGGGGGGGGGGGGGGGGGGG. a)WM_CREATE
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHH. b)WM_SIZE
IIIIIIIIIIIIIIIIIIIIIIIIIIIIII. c)WM_COMMAND
JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ. d)WM_INITDIALOG
KKKKKKKKKKKKKKKKKKKKKKKKKKKKKK. e)none
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLL. (Ans will be d)
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMM. 35)Interprocess communication in UNIX can be achieved using
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNN. a)pipe
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO. b)Message
PPPPPPPPPPPPPPPPPPPPPPPPPPPPPP. c)Semaphores
QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ. d)Shared Memory
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR. e)All of the above
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSS. (Ans is e)
TTTTTTTTTTTTTTTTTTTTTTTTTTTTTT. 36) Which of the following is true
UUUUUUUUUUUUUUUUUUUUUUUUUUUUUU. a)UNIX is a time sharing multi-user OS
VVVVVVVVVVVVVVVVVVVVVVVVVVVVVV. b)UNIX has a device independent file system
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWW. c)UNIX is full duplex
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. d)UNIX has command interpreter
YYYYYYYYYYYYYYYYYYYYYYYYYYYYYY. e)All of the above
ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ. (Ans is e)
A.
B. Q). PS1 pwd
C. export PS1 results in
D. a). your primary prompt being your current directory
E. b). " " and secondary prompts being the current dir
F. c). " " prompt being your home dir
G. d). " " and secondary prompts being the home dir
H. e). None of the above.
I. Q). If you type in the command
J. nohup sort employees > list 2 > error out &
K.
L. and log off ,the next time you log in . the output
M. will be
N. a). in a file called list and the error will de typed in
O. a file error out
P. b). there will be no file called list or error out
Q. c). error will be logged in a file called list and o/p
R. will be in error out
S. d). you will not be allowed to log in
T. e). none of the above
U. Q). In UNIX a files i-node
V. a)is a data structure that defines all specifications
W. of a file like the file size ,number of lines to a
X. file ,permissions etc.
Y. b).----
Z. c). - - - --
AA. d). _ _ _
BB. ( ans is ---------(a) )
CC. Q). The UNIX shell is....
DD. a).does not come with the rest of the system
EE. b).forms the interface between the user and the kernal
FF. c)-- -- ---
GG. d) - - - -
HH. e) none
II. (ans is (b) )
JJ. Q).enum number { a=-1, b= 4,c,d,e}
KK. what is the value of e ?
LL. 7,4,5,15,3
MM. (ans is 7 ) check again
NN. Q).The very first process created by the kernal that runs
OO. till the kernal process is haltes is
PP. a)init
QQ. b)getty
RR. c)
SS. d)
TT. e)none
UU. (Ans is a)
VV. Q) Result of the following program is
WW. main()
XX. {
YY. int i=0;
ZZ. for(i=0;i<20;i++)
AAA. {
BBB. switch(i)
CCC. case 0:i+=5;
DDD. case 1:i+=2;
EEE. case 5:i+=5;
FFF. default i+=4;
GGG. break;}
HHH. printf("%d,",i);
III. }
JJJ. }
KKK. a)0,5,9,13,17
LLL. b)5,9,13,17
MMM. c)12,17,22
NNN. d)16,21
OOO. e)syntax error
PPP. (Ans is d )
QQQ. Q) What is the result
RRR. main()
SSS. {
TTT. char c=-64;
UUU. int i=-32
VVV. unsigned int u =-16;
WWW. if(c>i){
XXX. printf("pass1,");
YYY. if(cZZZ. printf("pass2");
AAAA. else
BBBB. printf("Fail2");}
CCCC. else
DDDD. printf("Fail1);
EEEE. if(iFFFF. printf("pass2");
GGGG. else
HHHH. printf("Fail2")
IIII. }
JJJJ. a)Pass1,Pass2
KKKK. b)Pass1,Fail2
LLLL. c)Fail1,Pass2
MMMM. d)Fail1,Fail2
NNNN. e)none
OOOO. (Ans is c)
PPPP.
QQQQ.
RRRR.
SSSS. APTITUDE TEST
TTTT. *****************************************************
UUUU.
VVVV. Missing leter
WWWW. 1).eefgghii- (Ans j)
XXXX. 2)
YYYY. 3)defdefghi- (Ans g)
ZZZZ. 4)cdexyzfghxyz-(Ans i)
AAAAA. 5)defdegde- (h)
BBBBB. 6)abczabcyabc- (x)
CCCCC. 7)fgbhibjkb- (l)
DDDDD. 8)- - - - - (Ans is r)
EEEEE. 9)aarbsctarb- (s)
FFFFF. 10)bccdeefg- (g)
GGGGG. 11)efhikl- (n)
HHHHH. 12)abccdeffg- (h)
IIIII. 13amnbopc- (q)
JJJJJ. 14)tttssrqqqp- (p)
KKKKK. 15)ddffhhjj- (l)
LLLLL. 16)mnmnklopopkl- (q)
MMMMM. 17)cddeeefff- (f)
NNNNN. 18)gfed- (c)
OOOOO. 19)dfhjl- (n)
PPPPP. 20)abcijdefij (g)
QQQQQ. 21)efgefghefghi- (e)
RRRRR. 22)bcbdedfgfhi- (h)
SSSSS. 23)aababccdc- (d)
TTTTT. 24)aibcidef- (i)
UUUUU. 25)cehl- (q)
VVVVV. 26)abdehimn- (s) check again
WWWWW. 27)becfdge- (h)
XXXXX. 28)agbhc- (i)
YYYYY. 29)adhko- (r)
ZZZZZ. 30)efghjklno- (q)
AAAAAA. 31)aedhg- (k)
BBBBBB. 32aeibf- (j)
CCCCCC. 33)zdwgt- (J)
DDDDDD. 34)zeyijxg- ()find
EEEEEE. 35)cqreuvg- (y)
FFFFFF. 36)ksjtiuh- (v)
GGGGGG. 37)rsjtuhvw- (f)
HHHHHH. 38)ieajfbk- (g)
IIIIII. 39)hebifej- (g)
JJJJJJ. 40)hjlmiel- (h)
KKKKKK. --------------------------------
LLLLLL.
MMMMMM.
NNNNNN.
OOOOOO. TOTAL 60 QUE'S 25-PROBLEMS & 35 FIGURES(figure series,we
PPPPPP. have to find next coming figure)
QQQQQQ.
RRRRRR. HERE 13 PROB'S ARE THERS.REMAINING ALSO ALMOST LIKE THIS .
SSSSSS.
TTTTTT. 1) A boy multiplied a number with 10 and got 100,insted of
UUUUUU. dividing it . If he devided it what would be the answer?
VVVVVV. (Ans is 1)
WWWWWW. 2)If 12 shell cup board requires 18ft of wall space then
XXXXXX. 30 " " " " how much wall space?
YYYYYY. (Ans is 45)
ZZZZZZ. 3)The average salary of three employee is 95Rs.per week.
AAAAAAA. If one employee earns 115 and other earns 65 rupees.
BBBBBBB. how much will third be earn?
CCCCCCC. (Ans is 105Rs)
DDDDDDD. 4)A company instaled 36 punching machines at the begining of
EEEEEEE. the year.In the spring they instaled 9 additional m/c's
FFFFFFF. and then discontinued 18 in the fall.How many were still
GGGGGGG. installed at the end of the year?
HHHHHHH. (Ans is 9)check
IIIIIII. 5)During a given week a programmer spend 1/4 of his time
JJJJJJJ. preparing charts,3/8 of his time for coding,rest of his time
KKKKKKK. for debugging the programs.If he had 48 hrs during the week
LLLLLLL. how many hours did he spend debugging the program.
MMMMMMM. (Ans is 18hrs)
NNNNNNN. 6)A 16 story building has 12000ft on each floor. Company A
OOOOOOO. rents 7 floors and company B rents 4 floors. What is the
PPPPPPP. number of square feet of unrented floor space?
QQQQQQQ. (Ans is 60000 sqft)
RRRRRRR. 7)A man owns 2/3 of a computer service buroue business and
SSSSSSS. sells 3/4 of his share for $75000.What is the value of the
TTTTTTT. business.
UUUUUUU. (Ans is 150,000)
VVVVVVV. 8)A computer printer produces 176400 lines in a given day.
WWWWWWW. If the printer was in operation for 7hrs during the day
XXXXXXX. how many lines did it print per minute?
YYYYYYY. (Ans is 420)
ZZZZZZZ. 9)From its total income a company spent $20000 for advertising
AAAAAAAA. half of the remainder on salaries and had $6000 left.What
BBBBBBBB. was the total income?
CCCCCCCC. (Ans is $32000)
DDDDDDDD. 10)In a certain company 20% of the men and 40% of the women
EEEEEEEE. attended the annual company picnic.If 35% of all the emplo-
FFFFFFFF. yees are men .What % of all the employee went to the picnic?
GGGGGGGG. (Ans is 33%)
HHHHHHHH. 11)The dimensions of certain IBM m/c are 48"*30". If the
IIIIIIII. size of the m/c is increased proportionally until the
JJJJJJJJ. sum of its dimensions equals to 156".What will be the
KKKKKKKK. increase in the shortest side?
LLLLLLLL. (Ans is 30)
MMMMMMMM. 12)If a card punch operator can process 80 cards in half an hour
NNNNNNNN. How many cards can this process in 7hr30min?
OOOOOOOO. (Ans is 1200)
PPPPPPPP. 13)In a computer tape library there are two racks with 40 tapes
QQQQQQQQ. per rack.In a given day 30 tapes are in use . What fraction
RRRRRRRR. remains in the rack?
SSSSSSSS. (Ans is 5/8)
TTTTTTTT. TATA -IBM
UUUUUUUU. -----------
VVVVVVVV.
WWWWWWWW. LETTER SERIES
XXXXXXXX.
YYYYYYYY. answers
ZZZZZZZZ. - -------
AAAAAAAAA. 1)e e f g g h i i --- j
BBBBBBBBB.
CCCCCCCCC. 2)a z a y b z b y c --- a e x y z z
DDDDDDDDD.
EEEEEEEEE. 3)d e f d e f g h i --- d e f g h g
FFFFFFFFF.
GGGGGGGGG. 4)c d e x y z f g h x y z i j k l m i
HHHHHHHHH.
IIIIIIIII. 5)de f de g d e --- d j z h i h
JJJJJJJJJ.
KKKKKKKKK. 6)a b c z a b c y a b c --- a b x y z x
LLLLLLLLL.
MMMMMMMMM. 7)d g b h i b j k b ---- b e l m n l
NNNNNNNNN.
OOOOOOOOO. 8)t s p t s q t s --- r s t v w r
PPPPPPPPP.
QQQQQQQQQ. 9)q a r b s a t a r b ---- a b e r s s
RRRRRRRRR.
SSSSSSSSS. 10)b c c d e e f g -- e f g h i g
TTTTTTTTT.
UUUUUUUUU. 11)e f h i k l --- m n o p q n
VVVVVVVVV.
WWWWWWWWW. 12)a b cc d e ff g -- efghi h
XXXXXXXXX.
YYYYYYYYY. 13)a m n b op c --- depqr q
ZZZZZZZZZ.
AAAAAAAAAA. 14)ttt sss qqq p --- opqrs p
BBBBBBBBBB.
CCCCCCCCCC. 15)ddffhhjj--- ijklm l
DDDDDDDDDD.
EEEEEEEEEE. 16)mnmnklopopkl ----- kopqr q
FFFFFFFFFF.
GGGGGGGGGG. 17)cddeeefff--- efghi f
HHHHHHHHHH.
IIIIIIIIII. 18)gfde---- bcfgh c
JJJJJJJJJJ.
KKKKKKKKKK. 19)dfhjl ----- jklmn n
LLLLLLLLLL.
MMMMMMMMMM. 20)abcijdefij---- ghijk g
NNNNNNNNNN.
OOOOOOOOOO. 21)efgefghefghi ---- e
PPPPPPPPPP.
QQQQQQQQQQ. 22)bcbdedffghi ---- fghjk h
RRRRRRRRRR.
SSSSSSSSSS. 23)aababccdc --- cdefg d
TTTTTTTTTT.
UUUUUUUUUU. 24)aibcidef --- efghi i
VVVVVVVVVV.
WWWWWWWWWW. 25)cehl --- opqrs q
XXXXXXXXXX.
YYYYYYYYYY. 26)abdehimn --- pqrst s
ZZZZZZZZZZ.
AAAAAAAAAAA. 27)becfdge --- efghi h
BBBBBBBBBBB.
CCCCCCCCCCC. 28)agbhc ---- dfghi i
DDDDDDDDDDD.
EEEEEEEEEEE. 29)adhko --- pqrst r
FFFFFFFFFFF.
GGGGGGGGGGG. 30)efghjklno --- pqrst q
HHHHHHHHHHH.
IIIIIIIIIII. 31)aeibf --- cdgij j
JJJJJJJJJJJ.
KKKKKKKKKKK. 32)aedhg-- hijkl k
LLLLLLLLLLL.
MMMMMMMMMMM. 33)zdwgt --- hijkl j
NNNNNNNNNNN.
OOOOOOOOOOO. 34)zeiyijxj--- ijklm k
PPPPPPPPPPP.
QQQQQQQQQQQ. 35)dqreuvg--- vwxyz y
RRRRRRRRRRR.
SSSSSSSSSSS. 36)ksjtiuh--- vwxyz v
TTTTTTTTTTT.
UUUUUUUUUUU. 37)rsjtuhvw--- cdefg f
VVVVVVVVVVV.
WWWWWWWWWWW.
XXXXXXXXXXX. 38)ieajfbk ---- cdefg g
YYYYYYYYYYY.
ZZZZZZZZZZZ. 39)hebijej ---- ghijk g
AAAAAAAAAAAA.
BBBBBBBBBBBB. 40)njfmiel --- dhijm h
CCCCCCCCCCCC.
DDDDDDDDDDDD. 1)
EEEEEEEEEEEE. main()
FFFFFFFFFFFF. {
GGGGGGGGGGGG. char *p1="name";
HHHHHHHHHHHH. char *p2;
IIIIIIIIIIII. p2=(char*)malloc(20);
JJJJJJJJJJJJ. while(*p2++ = *p1++);
KKKKKKKKKKKK. printf("%s\n",p2);
LLLLLLLLLLLL. }
MMMMMMMMMMMM. Ans:empty string.
NNNNNNNNNNNN. 2)
OOOOOOOOOOOO. main()
PPPPPPPPPPPP. {
QQQQQQQQQQQQ. int x=20,y=35;
RRRRRRRRRRRR. x=y++ + x++;
SSSSSSSSSSSS. y= ++y + ++x;
TTTTTTTTTTTT. printf("%d%d\n",x,y);
UUUUUUUUUUUU. }
VVVVVVVVVVVV. Ans : 57 ,94
WWWWWWWWWWWW. 3)
XXXXXXXXXXXX. main()
YYYYYYYYYYYY. {
ZZZZZZZZZZZZ. int x=5;
AAAAAAAAAAAAA. printf("%d%d%d\n",x,x<<2,x>>2);
BBBBBBBBBBBBB. }
CCCCCCCCCCCCC. ans: 5,20,16
DDDDDDDDDDDDD. 4)
EEEEEEEEEEEEE. #define swap(a,b) a=a+b;b=a-b;a=a-b;
FFFFFFFFFFFFF. main()
GGGGGGGGGGGGG. {
HHHHHHHHHHHHH. int x=5;y=10;
IIIIIIIIIIIII. swap1(x,y);
JJJJJJJJJJJJJ. printf("%d %d\n",x,y);
KKKKKKKKKKKKK. swap2(x,y);
LLLLLLLLLLLLL. printf("%d %d\n",x,y);
MMMMMMMMMMMMM. }
NNNNNNNNNNNNN. int swap2(int a, int b)
OOOOOOOOOOOOO. {
PPPPPPPPPPPPP. int temp;
QQQQQQQQQQQQQ. temp=a;
RRRRRRRRRRRRR. b=a;
SSSSSSSSSSSSS. a=temp;
TTTTTTTTTTTTT. return;
UUUUUUUUUUUUU. }
VVVVVVVVVVVVV. like that
WWWWWWWWWWWWW. ans: 10 ,5
XXXXXXXXXXXXX. 10 ,5
YYYYYYYYYYYYY. 5)
ZZZZZZZZZZZZZ. main()
AAAAAAAAAAAAAA. {
BBBBBBBBBBBBBB. char *ptr = " Ramco Systems"
CCCCCCCCCCCCCC. (*ptr)++;
DDDDDDDDDDDDDD. printf("%s\n",ptr);
EEEEEEEEEEEEEE. ptr++;
FFFFFFFFFFFFFF. printf("%s\n",ptr);
GGGGGGGGGGGGGG. }
HHHHHHHHHHHHHH. Ans: Samco Systems
IIIIIIIIIIIIII. amco systems
JJJJJJJJJJJJJJ. 6)
KKKKKKKKKKKKKK. main()
LLLLLLLLLLLLLL. {
MMMMMMMMMMMMMM. char s1[]="Ramco";
NNNNNNNNNNNNNN. char s2[]= "systems";
OOOOOOOOOOOOOO. printf("%s",s1);
PPPPPPPPPPPPPP. }
QQQQQQQQQQQQQQ. Ans: compilation error giving that it can not modified Lvalue.
RRRRRRRRRRRRRR. 7)
SSSSSSSSSSSSSS. main()
TTTTTTTTTTTTTT. {
UUUUUUUUUUUUUU. char *p1;
VVVVVVVVVVVVVV. char *p2;
WWWWWWWWWWWWWW. p1=(char *)malloc(25);
XXXXXXXXXXXXXX. p2=(char *)malloc(25);
YYYYYYYYYYYYYY. strcpy(p1,"Ramco");
ZZZZZZZZZZZZZZ. strcpy(p2,"systems");
AAAAAAAAAAAAAAA. strcat(p1,p2);
BBBBBBBBBBBBBBB. printf("%s",p1);
CCCCCCCCCCCCCCC. }
DDDDDDDDDDDDDDD. Ans: Ramcosystems
EEEEEEEEEEEEEEE. 8)
FFFFFFFFFFFFFFF. The following variable is available in file1.c
GGGGGGGGGGGGGGG. static int average float;
HHHHHHHHHHHHHHH. Ans: all the functions in the file1.c can access the variable.
IIIIIIIIIIIIIII. 9)
JJJJJJJJJJJJJJJ. Ans : [2] . extern int x;
KKKKKKKKKKKKKKK. check the answer.
LLLLLLLLLLLLLLL. 10) Another problem with
MMMMMMMMMMMMMMM. #define TRUE 0
NNNNNNNNNNNNNNN. somecode.
OOOOOOOOOOOOOOO. while(TRUE)
PPPPPPPPPPPPPPP. {
QQQQQQQQQQQQQQQ. somecode
RRRRRRRRRRRRRRR. }
SSSSSSSSSSSSSSS. This will not go into the loop as TRUE is defined as 0.
TTTTTTTTTTTTTTT. Ans : None of the above i.e (D).
UUUUUUUUUUUUUUU. 11)
VVVVVVVVVVVVVVV. Ans :
WWWWWWWWWWWWWWW. [4]. A question in structures where the members are dd,mm,yy.
XXXXXXXXXXXXXXX. mm:dd:yy
YYYYYYYYYYYYYYY. 09:07:97
ZZZZZZZZZZZZZZZ. 12) Ans: [5] Another structure question.
AAAAAAAAAAAAAAAA. 1.Rajiv system analyst.
BBBBBBBBBBBBBBBB.
CCCCCCCCCCCCCCCC. 13)
DDDDDDDDDDDDDDDD. Ans: INFILE.DAT is coupled to OUTFILE.DAT.
EEEEEEEEEEEEEEEE. 14) A question with argc and argv.
FFFFFFFFFFFFFFFF. Inputfile will be.
GGGGGGGGGGGGGGGG. c:\TEMP.EXE Ramco systems India.
HHHHHHHHHHHHHHHH. Outputfile will be.
IIIIIIIIIIIIIIII. India: I n d i a
JJJJJJJJJJJJJJJJ. systems: s y s t e m s
KKKKKKKKKKKKKKKK. Ramco: R a m c o
LLLLLLLLLLLLLLLL. Ans : choice (d)
MMMMMMMMMMMMMMMM. 15) structure kswap
NNNNNNNNNNNNNNNN. Ramco India
OOOOOOOOOOOOOOOO. Ramco Systems Corporation
PPPPPPPPPPPPPPPP. Ramco .... Limited.
QQQQQQQQQQQQQQQQ.
RRRRRRRRRRRRRRRR. After swaping the result will be
SSSSSSSSSSSSSSSS. First two will be swaped
TTTTTTTTTTTTTTTT. Ramco Systems Corporation.
UUUUUUUUUUUUUUUU. Ramco India
VVVVVVVVVVVVVVVV. Ramco .... Limited.
WWWWWWWWWWWWWWWW. 16) int x;
XXXXXXXXXXXXXXXX. main()
YYYYYYYYYYYYYYYY. { int x=10;
ZZZZZZZZZZZZZZZZ. x++;
AAAAAAAAAAAAAAAAA. change-value(x);
BBBBBBBBBBBBBBBBB. x++;
CCCCCCCCCCCCCCCCC. modify-value();
DDDDDDDDDDDDDDDDD. printf("First output:%d\n",x);
EEEEEEEEEEEEEEEEE.
FFFFFFFFFFFFFFFFF. x++;
GGGGGGGGGGGGGGGGG. change-value(x);
HHHHHHHHHHHHHHHHH. printf("secpnd output:%d\n",x);
IIIIIIIIIIIIIIIII. modify-value();
JJJJJJJJJJJJJJJJJ. printf("Third output:%d\n",x);
KKKKKKKKKKKKKKKKK. }
LLLLLLLLLLLLLLLLL. modify-value()
MMMMMMMMMMMMMMMMM. {
NNNNNNNNNNNNNNNNN. return(x+=10);
OOOOOOOOOOOOOOOOO. }
PPPPPPPPPPPPPPPPP. change-value()
QQQQQQQQQQQQQQQQQ. {
RRRRRRRRRRRRRRRRR. return(x+=1);
SSSSSSSSSSSSSSSSS. }
TTTTTTTTTTTTTTTTT. Ans: 12 , 1 , 1
UUUUUUUUUUUUUUUUU. 17) main()
VVVVVVVVVVVVVVVVV. {
WWWWWWWWWWWWWWWWW. int x=10;y=15;
XXXXXXXXXXXXXXXXX. x = x++;
YYYYYYYYYYYYYYYYY. y = ++y;
ZZZZZZZZZZZZZZZZZ. printf("%d %d\n",x,y);
AAAAAAAAAAAAAAAAAA. }
BBBBBBBBBBBBBBBBBB. Ans: 11, 16
CCCCCCCCCCCCCCCCCC. 18)
DDDDDDDDDDDDDDDDDD. main()
EEEEEEEEEEEEEEEEEE. {
FFFFFFFFFFFFFFFFFF. int a=0;
GGGGGGGGGGGGGGGGGG. if(a==0) printf("Ramco Systems\n");
HHHHHHHHHHHHHHHHHH. printf("Ramco Systems\n");
IIIIIIIIIIIIIIIIII. }
JJJJJJJJJJJJJJJJJJ. Ans: only one time "Ramco Systems" will be printed.
I Interview (Kapil):


1.What is the output of the following program?

foo(node *head)
{
node *temp=head;
head=head->next;
free(temp);
}

main()
{
node *head;
//head points to a list 1->2->3
foo(head);
print(head);//a fn that prints the list
}

2. Given a binary tree as input (not a binary search tree), WAP that prints any one path from the root to one of the leaves that sums up to the given "sum".

3. Given n Sets A,B,C,... print their cartesian product.
i.e., if A is {a1,a2,a3}
B is {b1,b2}
C is {c1,c2,c3,c4}
then A x B x C which is {a1*b1*c1, a1*b1*c2, ... a3*b2*c4} should be printed.

4. Given inorder and preorder construct the binary tree.

5. Given n print all permutations of numbers from 1 to n.

6. Given a binary search tree, and two nodes in it find the common ancestor nearest to them.

7. Given an array of size n in random order, find all pairs of numbers that sums up to the given "sum".

8. How will you effectively remove duplicates from an unsorted array?

9. Given two binary search trees, how will you merge them effectively.

10. WAP to construct a binary tree from a sorted array.

11. WAP to print a binary tree in its tree structure. Assume that a fn print(value, x, y) prints the value in the position (x,y) on the screen.

12. What will be the output?

Integer foo (Integer X)
{
X = new Integer (7);

return X;
}

p s v m ()
{
Integer Y = new Integer (3);
foo (Y);
S. O. P (Y);
}

If it were a C++ code, and values are passed by
reference, what will be the output? Draw the heap &
explain.

13. Write a code for strcmp ();

14. Given a 2D char array of order n and a fn taking
char[] as arg and returning true if it is a valid
dictionary word, find all the
words in the 2D array. The words can be the rows of
the array, cols or diagonals and all their substrings.
for eg.
a v r
b c l
m a t
Then ur code shd chk for all the rows and their
substrings i.e. avr, bcl, mat, av, vr, bc, cl, ma, at
all the cols and their substrings abm, vca, rlt etc.
and all diagonals and their substrings act, ct, ba,
vl, vb, la, rcm, rc, cm.

15. Given a binary tree (not search tree) with threads
from some of the leaf node's right link to any node to
its right. Remove these unwanted links.



No comments:

Post a Comment