My Digital Life

March 16, 2008

tcs

Filed under: plcement paper — colwmk @ 12:58 pm

TCS 1
[Home | Next]

——————————————————————————–

1] Depreciation = deflation,depression,devaluation,fall,slump
2] Depricate = feel and express disapproval
3] Incentive = thing one encourages one to do
4] Echelon = level of authority or responsibility
5] Innovation = make changes or introduce new things
6] Intermittant = externally stopping and then starting
7] Detrimental = harmful
8] Mesotiate = …
9] Conciliation = make less angry or more friendly
10] Orthodox = conventional or superstitious
11] Fallible = liable to err
12] Volatile = ever changing
13] Manifestion = clear or obvious
14] Connotation =
15] Reciprocal = reverse, opposite
16] Agrarian = related to agriculture
17] Vacillate = undecided or dilemma
18] Experdent = fitting proper , desirable
19] Simulate = produce artificially resembling an existing one
20] Access = to approach
21] Compensation= salary
22] Truncate = shorten by cutting
23] Adherance = stick
24] Heterogenous = non-similar things
25] Surplus = excessive
26] Assess = determine the amount or value
27] Cognezance = knowledge
28] Retrospective = review
29] Naive = innocent , rustic
30] Equivocate = tallying on both sides
31] Postulate = frame a theory
32] Latent = dormant,secret
33] Fluctuate = wavering
34] Eliminate = to reduce
35] Affinity = strong liking
36] Expidite = hasten
37] Console = to show sympathy
38] Adversary = opposition
39] Affable = lovable,approchable
40] Decomposable = rotten
41] Agregious = apart from crowd,especially bad
42] Conglomeration = group
43] Aberration = deviation
44] Erudite = wise, profound
45] Augury = prediction
46] Credibility = ability to common belief,quality of being credible
47] Coincident = incidentally
48] Constituent = accompanying
49] Differential = having or showing or making use of
50] Distention = act out,strtching out ,swelling out
51] Litigation = engaging in a law suite
52] Moratorium = legally or officially determined period of delay before
the fulfilment of the agrement or payment of debts
53] Negotiate = discuss or bargain
54] Preparation = act of preparing
55] Preponderant = superiority of power or quality
56] Relevance = quality of being relevant
57] Apparatus = appliance
58] Ignorance = blindness or inexperiance
59] Obsession = complex enthusiasm
60] Precipitate = Quicken.
QUANTITATIVE

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

——————————————————————————–

[Home | Next]
TCS QUESTION PAPER

part A   -  Vocabulary(synonyms) 40 Questions
1. To merry = Enjoy
2.To Alienate = abandon
3.To Solicit = Humble
4.To Heep =to gather
5.Cargo = load,luggage
6.Momentary = for small time
7.Volume = quantity
8.To Veer =
9.To Admonish=
10. To Meager = small,little
11. To lattitude,
12. Latent =
13. To Covet = To desire
14. To Discretion =
15. Potential = ability
16. To Emancipate,
17. To Wethargy,
18. To Concur = similiar
19. To Confiscate = To take charge, to annex
20. To Dispel =
21. Baffle = puzzle
22. Subsidise =
23. Misery =
24. Pretentrous =
25. Tranquil = calm, silent
26.Ellace
28.Rinaile,
29.Obstinate
30.Hover
31.Caprice,
33.Belate =after time
34.Brim = edge
35.Divulge,
36.Lamont,
37.Bileaf,
38. Embrace =
39.Adhesive =
40. Miserable =

Critical Reasoning
_____________________

1. My Father is only child to his Father. My father has three
sisters. All are married and have two  children each.
(state True or False Or  Can’t  be determined )
1.1 My Grand father has two sons (false)
1.2  I am having six cousins (true)
1.3  I have three uncle (true)

Part B (15 Questions )

1. Two Pencils 8 cents 5 Pencils cost ( Ans 20 cents)

2.A work is done by two people in 24 minutes. One of them alone can
do it in 40 minutes. How much time will the other person wiil take to
complete it ( 60 minutes)

3. A car is filled with 4.5 gallons of fuel for a round trip . Car
is taken 1/4 more than in going than coming up. What is the fuel
consumed in coming up ? (2.0 gallons)

CHECK
4. Low temperature at the night in a city is more than 1/2 high as
higher temperature are 100. Then What is low temperature (Ans 40)

5. Person who dicided to go to weekend trip should not exceed  8 hrs
driving in a day. Average speed of forward journey is 40 miles/hour .
Due to traffic in sundays ,in return journey average speed is 30mph .
How far he can select a picnic spot ? (ans  240 miles)

CHECK

6. A sales person multiplied by a number and get the answer 3. Instead
of that number divided by 3. What is the answer she actually has to
get.

(1/3) * 1 *3 =3 so the no= 1 divided by three. The answer =1/3

7. A ship started from port and moving with ‘I’ miles/hour and other
ship started From L and moving with ‘H’ miles/hour . At the place
where these two ships will meet.  (ans L*I*H)/(H+I)

8. A building with height D shadows up to G. A Neighbour building
with what height shadows C feet. (ans CD/G)

9. A person was fined for exceeding the speed limit by 10mph. Another
person was also fined for exceeding the speed limit by twice the
same. If the second person was travelling at speed of 35mph . Find
the speed limit (ans. 15mph)

10. A bus started from the bus stand at 8 Am and after staying 30
minutes at a destination return back to the bus stand. The
Destination is 27 miles from the bus stand . The Speed of the bus is
18mph . In the return journey the bus travells with 50%  fast speed.
At what time it is return to the bus stand (1 p.m)

CHECK

11. In a mixture R is two parts, S is one part . In order to mixture
how much R is to be added.                  Ans S is 25% of R

WISH  YOU ALL THE BEST

TCS QUESTION PAPER

part A   -  Vocabulary(synonyms) 40 Questions
1. To merry = Enjoy
2.To Alienate = abandon
3.To Solicit = Humble
4.To Heep =to gather
5.Cargo = load,luggage
6.Momentary = for small time
7.Volume = quantity
8.To Veer =
9.To Admonish=
10. To Meager = small,little
11. To lattitude,
12. Latent =
13. To Covet = To desire
14. To Discretion =
15. Potential = ability
16. To Emancipate,
17. To Wethargy,
18. To Concur = similiar
19. To Confiscate = To take charge, to annex
20. To Dispel =
21. Baffle = puzzle
22. Subsidise =
23. Misery =
24. Pretentrous =
25. Tranquil = calm, silent
26.Ellace
28.Rinaile,
29.Obstinate
30.Hover
31.Caprice,
33.Belate =after time
34.Brim = edge
35.Divulge,
36.Lamont,
37.Bileaf,
38. Embrace =
39.Adhesive =
40. Miserable =

Critical Reasoning
_____________________

1. My Father is only child to his Father. My father has three
sisters. All are married and have two  children each.
(state True or False Or  Can’t  be determined )
1.1 My Grand father has two sons (false)
1.2  I am having six cousins (true)
1.3  I have three uncle (true)

Part B (15 Questions )

1. Two Pencils 8 cents 5 Pencils cost ( Ans 20 cents)

2.A work is done by two people in 24 minutes. One of them alone can
do it in 40 minutes. How much time will the other person wiil take to
complete it ( 60 minutes)

3. A car is filled with 4.5 gallons of fuel for a round trip . Car
is taken 1/4 more than in going than coming up. What is the fuel
consumed in coming up ? (2.0 gallons)

CHECK
4. Low temperature at the night in a city is more than 1/2 high as
higher temperature are 100. Then What is low temperature (Ans 40)

5. Person who dicided to go to weekend trip should not exceed  8 hrs
driving in a day. Average speed of forward journey is 40 miles/hour .
Due to traffic in sundays ,in return journey average speed is 30mph .
How far he can select a picnic spot ? (ans  240 miles)

CHECK

6. A sales person multiplied by a number and get the answer 3. Instead
of that number divided by 3. What is the answer she actually has to
get.

(1/3) * 1 *3 =3 so the no= 1 divided by three. The answer =1/3

7. A ship started from port and moving with ‘I’ miles/hour and other
ship started From L and moving with ‘H’ miles/hour . At the place
where these two ships will meet.  (ans L*I*H)/(H+I)

8. A building with height D shadows up to G. A Neighbour building
with what height shadows C feet. (ans CD/G)

9. A person was fined for exceeding the speed limit by 10mph. Another
person was also fined for exceeding the speed limit by twice the
same. If the second person was travelling at speed of 35mph . Find
the speed limit (ans. 15mph)

10. A bus started from the bus stand at 8 Am and after staying 30
minutes at a destination return back to the bus stand. The
Destination is 27 miles from the bus stand . The Speed of the bus is
18mph . In the return journey the bus travells with 50%  fast speed.
At what time it is return to the bus stand (1 p.m)

CHECK

11. In a mixture R is two parts, S is one part . In order to mixture
how much R is to be added.                  Ans S is 25% of R

WISH  YOU ALL THE BEST

TCS 2
[Home | Prev | Next]

——————————————————————————–

Verbal Quantitative Critical Reasoning Interview
SECTION 1 INTURN CONSISTS OF THREE PARTS.
PART 1
VERBAL—
IT CONSISTS OF 40 WORDS WHICH HAVE 5 MULTIPLE ANSWERS FOR THEM.
THE MAIN WORDS WHICH I REMEMBER ARE AS FOLLOWS:
(YOU SHOULD LEARN THE SYNONYMS OF THESE—)
merry= gay
alienate= estrange
solicit= beechat
heap= to pile
cargo= freight
momentary= transient
volume= quantity
veer= diverge
dispel= dissipate
admonish= cautious
meager= scanty
latitude= scope
latent= potential
covet= crave
discretion= prudence
latent= potential
emanicipate= liberate
lethargy= stupor
concur= acquiesce
confiscate= appropriate
baffle= frustrate
subside= wane
misery= distress
pretentious= ostentatious
tranquil= serene
efface= obliterate
obstinate= stubborn
hover= linger
caprice= whim
belate= too late
renounce= reject
brim= border
divulge= reveal
lament= wail
bileaf= conviction
adhesive= tenacious
furtive= stealthy
hamper= obstruct
to merit= to deserve

——————————————————————————–

SECTION 1 PART B 20MIN 30 marks 15 QUANTITATIVE.
THESE ARE SOME PROBLEMS :

——————————————————————————–

1.) two pencils cost 8 cents. then 5 pencils cost?
(20 cents)

2. A work is done by the people in 24 minutes. One of them can do
this workalonely in 40 minutes. How much time to do the same work
for the second person?
(60 minutes)

3. A car is filled with four and half gallons of fuel for a round trip.
Fuel is taken 1/4 more in going then coming. What is the fuel
consumed in coming up? (2 gallons)

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

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

6. A salesperson multiplied a number and get the answer 3,
instead of that number devided by 3.
what is the answer he actually has to get?
1 x 3 = 3
so number = 1
devided by 3, the ans. is 1/3.

7. A ship started from port and moving with I miles per hour and another
ship started from L and moving with H miles per hour.
At which place these two ships meet? (between I and J, nearer to J)

|—-|—-|—-|—-|—-|—-|
port G H I J K L

8. A building with height D shadow upto G. A neighbour building with
what height shadows C feet. (height = B ft)

|—-|—-|—-|—-|—-|—-|—-|
A B C D E F G H

9. A person was fined for exceeding the speed limit by 10 mph.
Another person was also fined for exceeding the same speed limit
by twice the same. If the second person was travelling at a
speed of 35 mph, find the speed limit. (15 mph)

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

11.In a mixture, R is 2 parts, S is 1 part. In aoder to make S to
25% of the mixture, howmuch R is to be added? ( one part of R)

12. wind flows 160 miles in 330 min, for 80 miles how much time required.

13. with 4/5 full tank vehicle travels 12 miles, with 1/3 full tank
how much distance travels ( 5 miles )

14. two trees are there. one grows at 3/5 of the other in 4 years,
total growth of trees is 8 ft. what growth will smaller tree will have
in 2 years ( < 2 ft. )

15. A storm will move with a velocity of towards the centre in hours,
At the same rate how much far will it move in hrs.
( but the answer is 8/3 or 2 2/3 )

SECTION-1 PART-3 marks-50 questions-50 30 min

——————————————————————————–

CRITICAL REASONING

——————————————————————————–

1. My father has no brothers. he has three sisters who has two childs each.
My grandfather has sons.
a) my grandfather has two sons (false)
b) three of my aunts have two sons (can’t say)
c) my father is only child to his father (false)
d) i have six cousins from jmy mother side (can’t say)
e) i have one uncle (false)

2. Ether injected into gallablader to dissolve galstones. this type oneday
treatment is enough for gallastones not for calcium stones. this method is
alternative to surgery for millions of people who are suffering from this
disease.

a) calcium stones can be cured in oneday (false)
b) hundreds of people contains calcium stones (can’t say)
c) surgery is the only treatment to calcium stones (true)
d) Eather will be injected into the gallblader to cure the
cholostrol based gall stones (true)

3. Hacking is illegal entry into other computer. this is done mostly because
of lack of knowledge of computer networking with networks one machine can
access to another machine. hacking go about without knowing that each network
is accredited to use network facility.

a) Hacking people never break the code of the company which they
work for (can’t say)
b) Hacking is the only vulnerability of the computers for the usage
of the data. (false)
c) Hacking is done mostly due to the lack of computer knowledge. (false)
(there will be some more questions in this one)

4. Alphine tunnels are closed tunnels. in the past 30 years not even a single
accident has been recorded for there is one accident in the rail road system.
even in case of a fire accident it is possible to shift the passengers into
adjacent wagons and even the living fire can be detected and extinguished
with in the duration of 30 min.

a) no accident can occur in the closed tunnels (false)
b) fire is allowed to live for 30 min. (false)
c) all the care that travel in the tunnels will be carried by rail
shutters. (true)
d)

5. In the past helicopters are forced to ground or crash because of the
formation of the ice on the rotors and engines. a new electronic device
has been developed which can detect the watercontent in the atmosphere and
warns the pilot if the temp. is below freezing temp. about the formation
of the ice on the rotors and wings.

a) the electronic device can avoid formation of the ice on the wings(false)
b) there will be the malfunction of rotor & engine because of formation
of ice (true)
c) the helicopters are to be crashed or down (true)
d) there is only one device that warn about the formation of ice. (true)

6. In the survey conducted in mumbai out of 63 newly married house wives
not a single house wife felt that the husbands should take equal part in the
household work as they felt they loose their power over their husbands.
inspite of their careers they opt to do the kitchen work themselves after
coming back to home. the wives get half as much leisure time as the husbands
get at the week ends.

a) housewives want the husbands to take part equally in the household(false)
b) wives have half as much leisure time as the husbands have (false)
c) 39% of the men will work equally in the house in cleaning and washing(can’tsay)
d)

7. In confucius days the technology development was less and it took weeks
to communicate a message. wherein we can send it through satellite with in
no time…….. even with this fast developments it has become difficult to
understand each other.

a) people were not intelligent during confucius days (false)
b) transport facilities are very much improved in now-a-days(true)
c) even with the fast developments of the technology we cannot live
happily. (can’t say)
d) we can understand the people very much with the development of
communication. (false)

8. Senior manager in a big company said that new japanies company invades
in India for transfering the cars from industrial and warned that jobs were
under threat from japanies company. They stated that increasing competence
would be coupled with an inevitable down term in car market and recent rise
in interest rate which has already hit demand.

a) manager issue their warning after a rise in interest rate (true)
b) manager told workers that japanies workers are taking jobs away from
indian workers (false)
c) manager said that more people want to buy new cars in future (false)
d) increasing rate of interest mean that japanies firm will create into
operate in the country

9. Human existence is suspecious of arbitrary divide between concise and
unconcise. The concise world invades shape activity of the unconcise, while
many of great activity of humanity waking as whole or partially improved
by dreams. Even it could be ignored that dreams precede exceptional such a
dichotomy could not be drawn as the influence of dream on waking state would
reamin unclear. But as yet no company rebuilt exists to record the substitute
of prendtl dreaming.

a) sleepy can be creative state (true)
b) it is difficult to tell whether a sleeper is dream or not (true)
c) if we know what babies would dream about before they are born we could
show that the concise and unconcise mind influence on one another
d) it is untrue claim that concise and unconcise world never impinge
one another (true)

10. Any one who has has systematic exam phases will have perceived a
profound although not a prolif of asymmetry whether or not the exception
is volitions and self control of spontoneous appeal to predict facial as
symmetry as does the type of emotion potrayed. position can not displace
symmetric at left side regret of a negative emotion is more common posed
expression negation emotions are likely to be symmetric representation
and where as symmetric occurs relative left sided expression is more common.

a) any angry person is more likely to have left sided expression than
some one who has smiling (true)
b) an actor is likely to smile symmetric when acting (false)
c) delecious facial expression will always be as symmetrical

11. In the totalitarian days, the words have very much devalued. In the
present day, they are becoming domestic that is the words will be much more
devalued. In those days, the words will be very much affected in political
area. But at present, the words came very cheap, we can say they come free
at cost.

a) totalitarian society words are devalued (true)
b) totalitarian will have to come much about words
c) the art totalitarian society the words are used for the political
speeches (true)
d)

12. There should be copyright for all arts. the rule has come that all the
arts has come under one copy right society, they were use the money that
come from the arts for the developments. There may be a lot of money will
come from the Tagore works. we have to ask the benifiters from Tagore work
to help for the development of his works.

a) Tagore works are come under this copy right rule (false)
b) people gives to theater and collect the money for development(can’t say)
c) people are free to go to the because of the copy right rule
(can’t say)
d) we have ask the Tagore residents to help for the developments of art.
(can’t say)

——————————————————————————–

Regarding Interview:

——————————————————————————–

you should say everything confidently, whatever you say tell them frankly and confidently i.e. I will do this, I will definetely learn within this period, now I am learning etc. regarding C-language, COBOL, etc. They will ask,
Q) How can you be best suited to our TCS (or Soft ware field)?
Ans: Some of my seniors told that TCS is doing consultancy business in soft-ware field, this requires some sort of programming skills, knowledge of programming languages, in addition to this it requires a sort of aptitude skill which I am sure of possing it, this I can say based on my past academic ahcievements. Also now I am learning C, I learned up to ….
(say arrays or functions) I will go through Pointers etc. also I am learning COBOL, I am preparing for TCS C, COBOL test.

Question) Why are you shifting from your ………… field to software field?
Ans: I am interested in soft-ware field, because of its bright & prosperous
future and quick recogniton of talent leading to faster growth.

They will ask about your family members and you, you just simply answer the truth frankly, they donot bouther about your father occupation i.e business studies, etc.

Question:) how can you compete with a computer background student as you are a pure —- Engg student?
Ans: Actually I have taken Fortran/C/C++ as one of my courses in B.Tech/Minor Area. course, now here in IIT I learned ——— languages( something about what you learned in IITD), initially I found slightly difficulty to compete with a student having computers background, but now I am confident of learning programming skills as once I am in the process of learning I am sure of achieving this.
here we have first talked about family, then about 4 minutes talk on my project then they questioned on the project, then they asked about soft-ware i.e do you know about INTERNET, Y2K problem, etc. I frankly told that I donot know
about INTERNET, I know a little bit about Y2K problem and explained about Y2K problem i.e now in all computers year is indicated by two digits only, finally after the 99th year (1999) the computer will treat as 00 year(1900)
instead of considering it as 2000. meanwhile one or two question on my academic record, about my refrigeration companies, etc. if you have a good topic on your project, you tell about that one and have a little knowledge on it so you can answer well their questions.

——————————————————————————–

——————————————————————————–

[Home | Prev | Next]
Subject: C and COBOL (fwd)

this is the TCS C paper.it actually contains 50 questions.but i am

sending only 43 questions.though 46 questions are available only these are

visible.so it is i am sending 43 only.the set code is ‘D’.

1.The C language terminator is
a.semicolon
b.colon
c.period
d.exclamation mark
2.What is false about the following
A compound statement is
a.A set of simple statments
b.Demarcated on either side by curly brackets
c.Can be used in place of simple statement
d.A C function is not a compound statement.
3.What is true about the following
C Functions
a.Need not return any value
b.Should always return an integer
c.Should always return a float
d.Should always return more than one value.
4.Main must be written as
a.the first function in the program
b.Second function in the program
c.Last function in the program
d.any where in the program
5.Which of the following about automatic variables within a function
is correct ?
a.its type must be declared before using the variable
b.they are local
c.they are not initialised to zero
d.they are global.
6.Write one statement equalent to the following two statements
x=sqr(a);
return(x);
Choose from one of the alternatives
a.return(sqr(a));
b.printf(“sqr(a)”);
c.return(a*a*a);
d.printf(“%d”,sqr(a));
7.Which of the following about the C comments is incorrect ?
a.commentscan go over multiple lines
b.comments can start any where in the line
c.a line can contain comments with out any language statements
d.comments can occur within comments
8.What is the value of y in the following code?
x=7;y=0;
if(x=6)
y=7;
else
y=1;
a.7
b.0
c.1
d.6
9.Read the function conv() given below
conv(int t)
{
int u;
u=5/9 * (t-32);
return(u0;
}
What
a.15
b.0
c.16.1
d.29
10.which of the following represents true statement
either x is inthe range of 10 and 50 or y is zero
a.x>=10 && x<=50 || y==0;
b.
c.
d.
11.Which of the following is not an infinite loop ?
a.while(1){
….
}
b.for(;;){

}
c.x=0;
do{
/*x unaltered within theloop*/

}while(x==0);
d.# define TRUE 0

while(TRUE){
….
}
12.what does the following function print?
func(int i)
{
if(i%2)return 0;
eale return 1;
}
main()
{
int =3;
i=func(i);
i=func(i);
printf(“%d”,i);}
a.3
b.1
c.0
d.2
13.how does the C compiler interpret the following two statements
p=p+x;
q=q+y;
a.p=p+x;
q=q+y
b.p=p+xq=q+y
c.p=p+xq;
q=q+y
d.p=p+x/q=q+y

For questions 14,15,16,17 use the following alternatives

a.int
b.char
c.string
d.float
14.’9′
15.”1 e 02″
16.10e05
17. 15

18.read the folllowing code
# define MAX 100
# define MIN 100
….
….
if(x>MAX)
x=1;
else if(x<MIN)
x=-1;
x=50;
if the initial value of x=200,what is the vlaue after executing this code?
a.200
b.1
c.-1
d.50
19.a memory of 20 bytes is allocated to a string declared as char *s
then the following two statements are executed:
s=”Etrance”
l=strlen(s);
what is the value of l ?
a.20
b.8
c.9
d.21
20.given the piece of code
int a[50];
int *pa;
pa=a;
to access the 6th element of the array which of the following is incorrect?
a.*(a+5)
b.a[5]
c.pa[5]
d.*(*pa + 5)
21.consider the following structure:
struct num nam{
int no;
char name[25];
};
struct num nam n1[]={{12,”Fred”},{15,”Martin”},{8,”Peter”},{11,Nicholas”}};
…..
…..
printf(“%d%d”,n1[2],no,(*(n1 +  2),no) + 1);
What does the above statement print?
a.8,9
b.9,9
c.8,8
d.8,unpredictable value
22.identify the in correct expression
a.a=b=3=4;
b.a=b=c=d=0;
float a=int b=3.5;
d.int a;
float b;
a=b=3.5;
23.regarding the scope of the varibles;identify the incorrect statement:
a.automatic variables are automatically initialised to 0
b.static variables are are automatically initialised to 0
c.the address of a register variable is not accessiable
d.static variables cannot be initialised with any expression
24.cond 1?cond 2?cond 3?:exp 1:exp 2:exp 3:exp 4;
is equivalent to which of the following?
a.if cond 1
exp 1;
else if cond 2
exp 2;
else if cond 3
exp 3;
else
exp 4;
b.if cond 1
if cond 2
if cond 3
exp 1;
else
exp 2;
else
exp 3;
else
exp 4;
c.if cond 1 && cond 2 && cond 3
exp 1 |exp 2|exp 3|exp 4;
d.if cond 3
exp 1;
else if cond 2
exp 2;
else if cond 3
exp 3;
else
exp 4;
25.the operator for exponencation is
a.**
b.^
c.%
d.not available
26.which of the following is invalid
a.a+=b
b.a*=b
c.a>>=b
d.a**=b
27.what is y value of the code if input x=10
y=5;
if (x==10)
else if(x==9)
elae y=8;
a.9
b.8
c.6
d.7
28.what does the following code do?
fn(int n,int p,int r)
{
static int a=p;
switch(n){
case 4:a+=a*r;
case 3:a+=a*r;
case 2:a+=a*r;
case 1:a+=a*r;
}
}
a.computes simple interest for one year
b.computes amount on compound interest for 1 to 4 years
c.computes simple interest for four year
d.computes compound interst for 1 year
29.a=0;
while(a<5)
printf(“%d\n”,a++);
how many times does the loop occurs?
a.infinite
b.5
c.4
d.6
30.how many times does the loop iterated ?
for (i=0;i=10;i+=2)
printf(“Hi\n”);
a.10
b.2
c.5
d…..
31.what is incorrect among teh following
A recursive functiion
a.calls itself
b.is equivalent to a loop
c.has a termination cond
d.does not have a return value at all
32.which of the following go out of the loopo if expn 2 becoming false
a.while(expn 1){…if(expn 2)continue;}
b.while(!expn 1){if(expn 2)continue;…}
c.do{..if(expn 1)continue;..}while(expn 2);
d.while(!expn 2){if(expn 1)continue;..}
33.consider the following program
B
main()
OB   {unsigned int i=10;
while(i>=0){
printf(“%u”,i)
i–;
}
}
how many times the loop wxecuted
a.10
b.9
c.11
d.infinite
34.pick out the add one out
a.malloc()
b.calloc()
c.free()
d.realloc()
35.consider the following program
main()
{
int a[5]={1,3,6,7,0};
int *b;
b=&a[2];
}
the value of b[-1] is
a.1
b.3
c.-6
d.none
36.# define prod(a,b)=a*b
main()
{
int x=2;
int y=3;
printf(“%d”,prod(x+2,y-10)); }

the output of the program is
a.8
b.6
c.7
d.none
37.consider the following program sigment
int n,sum=1;
switch(n) {
case 2:sum=sum+2;
case 3:sum*=2;
break;
default:sum=0;}
if n=2, what is the value of sum
a.0
b.6
c.3
d.none
38.identify the incorrect one
1.if(c=1)
2.if(c!=3)
3.if(a<b)then
4.if(c==1)
a.1 only
b.1&3
c.3 only
d.all
39.teh format specified for hexa decimal is
a.%d
b.%o
c.%x
d.%u
40.find the output of the following program
main()
{
int x=5, *p;
p=&x;
printf(“%d”,++*p);
}
a.5
b.6
c.0
d.none
41.consider the following C code
main()
{
int i=3,x;
while(i>0)
{
x=func(i);
i–;
}
int func(int n)
{
static sum=0;
sum=sum+n;
return(sum);
}
the final value of x is
a.6
b.8
c.1
d.3
43.int *a[5] refers to
a.array of pointers
b.pointer to an array
c.pointerto a pointer
d……
46.which of the following statements is incorrect
a.typedef struct new{
int n1;
char n2;
} DATA;
b.typedef struct {
int n3;
char *n4;
}ICE;
c.typedef union {
int n5;
float n6;
} UDT;
d.#typedef union {
int n7;
float n8;
} TUDAT;

********************************************************************************
Only These Are The Questions Avilable For C Paper.

********************************************************************************
ANSWERS:
———–

1-5    D,C,D,C,C

6-10   D,C,C,A,D

11-15  D,C,A,A,A

16-20  B,C,D,C,A

21-25  C,D,B,D,A

26-30  C,B,B,A,D

31-35  B,C,C,C,B

36-40  A,B,A,B,B

41-45  A,D,D,D,A

46-50  B,C,C,A,A

This the COBOL paper.

01.consider the following piece of code

01 GROSS-PAY
05  BASIC-PAY  PIC 9(5)
05  ALLOWENCES PIC 9(3)
if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be
displayed by the statement
DISPLAY GROSS-PAY
a.1250
b.01000250
c.01250
d.1.250
02.consider two data items

77 W-A PIC  9(3)V99   VALUE  23.75
77 W-B PIC  ZZ9V99    VLAUE 123.45
after the statement
MOVE W-A  TO W-B
what will be W-B’s value?
a.123.75
b.b23.75 (where b indicates space)
c.023.75
d.invalid move
03.what is the result of the following?

DIVIDE  A INTO  B  GIVING C.

a.C=A/B
b.the reminder of B/A is stored in C
c.C=B/A
d.the reminder of A/B is stored in C
04.consider the statement (incomplete)
IF(A NUMERIC)
DISPLAY A
the variable A can be
a.NUMERIC
b.ALPHABETIC
c.ALPHANUMERIC
d.NUMERIC OR ALPHANUMERIC
05.which of the following can be used as a check protection symbol
a.Z
b.S
c.*
d.+
06.what if any ,is the syntex error in the following piece of code
01 B   PIC A(7)
02 C   PIC 9(4)
……..
IF(B NUMERIC)
ADD 10 TO C
a.the condition in the if statement is wrong
b.noting is wrong
c.because C is initialised.ADD 10 TO C is wrong
d.both B and C shoud have same size.
07.study the following code
01 A1
05 B    PIC 99
05 C    PIC X(4)
01 A2
05 B    PIC 99V99
05 C    PIC A(4)
pick out the valid statement from the following
a.A1 and A2 can not have sub-ordinates
b.A1 and A2 can have the same sub-ordinates but must have same PIC clause
c.there is nothing wrong
d.A1 and A2 can have same sub-ordinates provided they are not at 01 level
08.study the following
01 A    PIC 99V0 VALUE 5
01 B    PIC 9V9  VALUE 6
01 C    PIC 99V9 VALUE 2.5
01 D    PIC 99   VALUE 3
COMPUTE A ROUNDED B C = A+B*C/D
ON SIZE ERROR PERFORM PRINT-ERROR
the comments of A.B.C after execution of the above statement are
a.A=10  B=0   C=10
b.A=10  B=9.9 C=9.9
c.A=10  B=0   C=9.9
d.A=10  B=6   C=10
09.how many times PARA-A is performed :
PERFORM PARA-A VARYING TIMES-COUNTER FROM 1 BY 1
UNTIL TIMES-COUNTER >0
PARA-A
MOVE P TO Q
MOVE H TO TIMES COUNTER
a.10
b.1
c.11
d.0
10.consider the following piece of code
01 GROUP-ITEM
05  AMOUNT-1   PIC 99V9     USAGE COMP VALUE 50
05  AMOUNT-2   PIC 9(4)V99  USAGE COMP
MOVE ZERO TO GROUP-ITEM
ADD 50 TO AMOUNT-1
what will be the content of AMOUNT-1?
a.50
b.100
c.0
d.unpredictable
11.consider the following progrm statements
MOVE 0 TO SW.NO.OF.REC
PERFORM PRI-OUT UNTIL SW=1
DISPALY NO.OF.REC
STOP RUN
PRE-OUT
READ IN-FILE AT END
MOVE 1 TO SW
WRITE OUO-REC FROM IN-REC
ADD 1 TO NO.OF REC
if the IN-FILE contains 1000 records what value will be displayedafter the
PERFORM is over?assume that N0.OF.REC has PIC 9(4)
a.1000
b.1001
c.1
d.none of the above since there is a syntex error
12.study the data discriptions and answer the questions given below
i)01 ORDER RECORD
05 OUT-HEADER  PIC  X(50)
05 ITEM-COUNT  PIC  99
05 OUT-ITEM    PIC  X(20) OCCURS 1 TO 20 DEPENDING ON ITEM-COUNT
ii)01 NAME-AND-ADDRESS
05  N-AND-A-LINE OCCURES 5
05  LINE-LENGTH  PIC P9
05  N-AND-A-CHAR PIC X OCCURS 1 TO 20 DEPENDING ON LINE-LENGTH
iii)01 SALES-LIST
05 SALESMAN-COUNT  PIC  99
05 SALES           PIC  9(6) OCCURS 1 TO 100 DEPENDING ON
SALESMAN-COUNT
iv)01 ORDER-RECORD
05  NO-OF-BRANDS   PIC  99
05  BRAND-PURCHASED OCCURS 1 TO 15 DEPENDING ON NO-OF-BRANDS
which of the following is true?
a.i) and iii) are valid
b.i) and iv) are valid
c.i) and iii) are not valid
d.all are valid
13.C1 C2 C3 are three conditions whose TRUTH values are as folloes.
C1-TRUE    C2-FALSE   C3-TRUE
A,B,C are defined as given below
A:C1 AND(NOT C2) OR C3
B.(NOT C1) OR (NOT C2 AND NOT C3)
C.(C1 OR C2)AND C3
D.C1 AND C2 OR C3
given the above information which of the following statements are valid?
a.only A,B and C are TRUE
b.only A,C and D are TRUE
c.A,B,C and D are TRUE
d.only C and D are TRUE
14.consider the following
FD FILE-1
01 REC-1    PIC X(80)
……
WORKING-STORAGE SECTION
01 W-REC    PIC X(90)
……..
PROCEDURE DIVISION
FIRST-PARA
…….
READ FILE-1 INTO W-REC AT END MOVE 1 TO EOF-FLAG
which of the following is true with respect to the above?
a.REC-1 will contain nothing and W-REC will contain the contains of the
record read
b.REC-1 and W-REC contain the same data
c.syntex is invalid and error will occur
d.REC-1 and W-REC must be of same size
15.PERFORM ACCUMULATE-TOTALS
VARYING A FROM 1 BY 2 UNTIL A >2
AFTER B FROM1 BY 1 UNTIL B>2
AFTER C FROM 2 BY -1 UNTIL C<2
the paragraph ACCUMULATE-TOTALS would be exicuted
a.18 times
b.4 times
c.8 times
d.24 times
16.there is a file whose ORGANISATION is INDEXED.you want to read the records
from the file in RANDOM fashion as well as sequentially.then which of the
access mode would you specify?
a.SEQUENTIAL
b.RANDOM
c.DYNAMIC
D.ACCESS MODE has nothing to do with it
17.consider the following PROCEDURE DIVISION entry
OPEN EXTEND IN-FILE
identify the correct statement
a.organization of IN-FILE is sequential and records can be added in the
beginning
b.organization of IN-FILE is sequential and records can be added in the
end
c.organization of IN-FILE is indexed and records can be added in the
beginning
d.organization of IN-FILE is indexed and records can be added in the end
18.what is the size of W-REC in the following
01 W-REC
05 A       PIC 9(4)V99
05 B READLINES A
10 C PIC XX
10 D PIC S9(4)
05 E OCCURS  7   PIC ZZ.ZZ
05 F OCCURS  5
10 G PIC ZZ.ZZZ99
10 H OCCURS 3
15 J  PIC  9(3)
15 K  PIC  V99
a.177
b.161
c.180
d.none of yhe above
19.consider the following two IF statements:
IF X AND NOT Y MOVE A TO B
IF Z=1 OR 9 MOVE A TO B
select one of the following data divusion entries which gives identical
results for both the above IF statements
a.01  Z   PIC 9
88 X VALUE 1.9
88 Y VALUE 0.2 THRU 8
b.01  Z   PIC 9
88 X VALUE 0.2 THRU 8
Y VALUE 1.9
c.01  Z   PIC 9
88 X VALUE 1.9
88 NOT-Y VALUE 0.2 THRU 1.9
d.none of yhe above
20.consider the following two statements
MOVE 10 TO N
PERFORM PARA-X N TIMES
STOP RUN
PARA-X
MOVE 5 TO N
how many times PARA-X willbe exicuted?
a.10
b.5
c.infinate
d.execution error
21.given the following:
77 A    PIC    9V9    VALUE 9.5
77 B    PIC    9    VALUE 9.
77 C     PIC    V9    VALUE 0.8
77 D    PIC    9
77 E    PIC    9
77 F    PIC    9V999
what are the contenta of D E nad F after teh following statements are
executed:
COMPUTE F ROUNDED=A+C/B
MULTIPLY A BY C GIVING E
ADD B C A GIVING D ROUNDED
a.F=9.589  E=8   D=1
b.F=9.589  E=8   D=9
c.F=9.589  E=7   D=9
d.F=9.589  E=7   D=1

22. Consider the follwoing IF condition:

IF A LESS 1200 IF B GREATER 25 MOVE 47 TOC
ELSE MOVE 57 TO C
IF A GREATER 249 MOVE 67 TO C
ELSE NEXT SENTENCE ELSE IF B LESS 67
MOVE 27 TO C

What will be the value of C, when A is 137 and b is 25
(a) 27
(b) 57
(c) 67
(d) none

23. Consider the following:

77 W-NUM        PIC  9     VALUE 0
——
MOVE 1 TO W-NUM
PERFORM PARA-X UNTIL W-NUM > 9.
——
PARA-X
ADD 1 TO W-NUM

How many times PARA-X is executed ?
(a) 10
(b) 9
(c) 11
(d) Infinite loop

24. Consider the following code:

77 A    PIC   99V99    VALUE 55.35
77 B    PIC   99V999    VALUE 32.754

ADD B TO A ON SIZE ERROR DISPLAY “ERROR!!!”

What will be the result ?
(a) A=88.10,  B=32.754
(b) A=87.00   B=32.754
(c) A=87.10   B=32.754
(d) ERROR!!! will be DISPLAYed on the screen.

25. Consider the following:

77     A    PIC    9(10)
77    B    PIC    9(10)
77    C    PIC    9(19)

MULTIPLY AB  BY B GIVING C

Which of the following is true ?

(a) The execution of the above may result in size error.
(b) The execution of the above will result in size error.
(c) The definition of C is invalid resulting in compilation error.
(d) No error will be thee and the program would proceed correctly.

26. A paragraph PARA-X is to be executed when none oof the data names
A, B and C have value of 1. Which of the following will achieve this ?

(a) IF A NOT = 1 OR B NOT = 1 OR C NOT = 1 PERFORM PARA-X
(B) IF NOT A= 1 AND B= 1 AND C = 1 PERFORM PARA-X
(C) IF A NOT =1 IF NOT B = 1 OR C= 1 PERFORM PARA-X
(C) IF A NOT = 1 AND B NOT = 1 AND C NOT = 1 PERFORM PARA-X

27. Study the five expressions and the class to which they belong:
S.N.   Expression                Class
1      “SPACES”                  Figurative constant
2.     “Depreciation Schedule    Non-numeric literal
3.     “12%”                     Non-numeric literal
4.     INTEREST-DUE              Non-numeric literal
5.     ZEROES                    Figurative constant
Which of the following statement is true?
(a) 1 and 3 are incorrect
(b) 1 and 4 are incorrect
(c) 3 and 4 are incorrect
(d) All are correct

28. Identify the invalid dataname from the following:
(a) SAVINGS-ACCOUNT
(b) ANNUAL-ALLOCATION-FOR-OVERHEAD
(c) SAMOUNT250
(d) 12DEMAND

29. Study the DATA DIVISION entries and the three PROCEDURE DIVISION entries
given below:
01 END-OF-FILE-SWITCH  PIC XXX.
88 NO-MORE-RECS     VALUE “YES”.
88 MORE-RECS        VALUE “NO”.
(i)   READ SAMPLE-FILE AT END MOVE “YES” TO NO-MORE-RECS.
(ii)  IF NO-MORE-RECS = “YES” GO TO LAST-PARA.
(iii) IF NO-MORE-RECS GO TO LAST-PARA.
Which are wrong?
(a) (i) and (ii)
(b) (ii) and (iii)
(c) (i) and (iii)
(d) all

30. The following entries appear in the WORKING-STORAGE SECTION:
01 DATE-TODAY.
05 YY  PIC XX VALUE “90″.
05 MM  PIC XX VALUE “12″.
05 DD  PIC XX VALUE :31″.
01 DATE-EDIT  PIC XX/XX/XX.
MOVE DATE-TODAY TO DATE-EDIT.
(a) 901231
(b) 90/12/31
(c) 31/12/90
(d) 311290

31. How many bytes will be allocated for the following record description
entries?
01 REC-A.
05 A PIC S9(4).
05 B PIC XXXBXXX.
05 C PIC ____9.99.
05 D PIC S9(5) COMP-3.
05 E PIC 9(3) COMP.
(a) 29
(b) 26
(c) 25
(d) 28

32. What is wrong with the following data declaration?
01 W-DATE   PIC X(6).
05 DD PIC 99.
05 MM PIC 99.
05 YY PIC 99.
(a) Nothing is wrong.
(b) Under W-DATE all level 05 items are having a PIC 99 but level
01 has PIC X(6).
(c) PIC can’t be specified for a group item.
(d) DD, MM, and YY are invalid datanames.

33. What is the output generated by the following code?
01 GRP-I.
05 SUBFLD1 PIC XX VALUE “AB”.
05 FILTER PIC X(6) VALUE SPACES.
01 GRP-2 REDEFINED GRP-1.
05 SUB-FLD2 PIC XX.
05 SUB-FLD3 PIC XX.
05 FILTER PIC X(4).
IF SUB-FLD1 NOT = SPACES
DISPLAY “SUBFLD1″
MOVE “ABBCCD” TO GRP-1
IF SUB-FLD3 = SPACES
DISPLAY “SPACES”
ELSE
DISPLAY “SUBFLD3″
DISPLAY “END”
ELSE
DISPLAY “SPACES”
DISPLAY “END”.
(a) SUBFLD1
SUBFLD3
END
(b) SPACES
END
(c) SUBFLD1
END
(d) SUBFLD1
SPACES

34. 88 level entry is used for
(a) data items in WORKING-STORAGE SECTION
(b) items with RENAMES clause
(c) condition-names
(d) None of the above

35. ZEROES and SPACES are _______ constants
(a) Figurative
(b) Numeric
(c) Non-numeric
(d) Alphabete

36. COMPUTE X = A * B – C * D  and
COMPUTE X = (A * B) – (C * D)
(a) Are not the same
(b) Are same
(c) Syntactically wrong
(d) Will yield a run time error

37. OCCURS clause is used in the DATA DIVISION  on data names at
(a) 01 level
(b) 77 level
(c) 88 level
(d) any level from 02 to 49

38. Consider the following COBOL entries:
05 X PIC 99 VALUE 10.
SUBTRACT 20 FROM X.
The resultant value of X wil be
(a) 10
(b) 00
(c) compile-time error
(d) none of these

39. Consider the following COBOL entries
05 X PIC 99 VALUE 10.
ADD 40 X TO X.
COMPUTE X = 3 * X – 40.
The result in X is
(a) 10
(b) 40
(c) Compile or Run time error
(d) none of these

40. given the following piece of code:
CALL SUB-PGM USING A, B, C.
CALL SUB-PGM USING A, C, C.
(a) Both CALL statements will always produce same result.
(d) Both CALL statements may produce different result.
(c) Compile-time error because SUB-PGM is a dataname.
(d) Compile-time error because A, B, C are used twice.

41. The hierarchy of the execution of logical operators is
(a) NOT AND OR
(b) AND OR NOT
(c) OR AND NOT
(d) OR NOT AND

42. The order of precedence of arithmetic operators in an expression can be
overridden with the use of
(a) []
(b) ()
(c) {}
(d) Any of the above

Consider the following passage for answering questions 43 to 47.

A program is written to accept an answer to the query “enough fo the Day?”
If the respons is “N” then the program accepts quantity purchased and rate
of the item and displays the amount to be collected. Then the above query
is again displayed and the loop continues.  At the end of the day, when
the response to the above query is “Y”, the day collections are displayed.

The program checks that the quantity purchased is between 25 and 125 and the
rate of the item is between 10.00 and 75.00.  If any of these two conditions
are violated, the program displays an appropriate message and asks for next
input.  The amounts are displayed with proper editing.  The program is written
assuming that there can be  a maximum of 1000 transactions a day.

43. How many variables would you declare for the above problem?
(a) 3
(b) 4
(c) 5
(d) 7

44. What should be the PICTURE clause of the variable used to calculate
end of the day collections?
(a) 9(9)v99
(b) 9(8)v99
(c) 995)v99
(d) Information given is insufficient to arrive at the answer

45. What should be the PICTURE clause of the variable used to calculate
to be collected.
(a) 9(9)v99
(b) 9(8)v99
(c) 9(5)v99
(d) Information given is insufficient to arrive at the answer

46. Assuming that the above program is being executed in a Department
Stores in MADRAS  which of the following PICTURE clause will be
suitable for DISPLAYing the end of the day collections?
(a) Z(5)V99
(b) Z(5).99
(c) ZZ,ZZ,ZZ,ZZ9.99
(d) Information given is insufficient to arrive at the answer

47. How many _____ statements do you think will be there in the program?
(a) 3
(b) 4
(c) 5
(d) Information given is insufficient to arrive at the answer

48. Which of the following paragraphs is compulsory in every COBOL program?
(a) SPECIAL-NAMES
(b) PROGRAM-ID
(c) FILE-CONTROL
(d) OBJECT-COMPUTER

49. Which of the following files can be OPENed in all the 4 modes?  The four
modes are INPUT, I-O, OUTPUT and EXTEND.
(a) INDEXED
(b) RELATIVE
(c) SEQUENTIAL
(d) All of the above

50. Which of the following EDITind and PICTURE  symbols is to be used if a
minus(-) is to appear before the value if the value is -ve and a plus(+)
is to appear before the value if the value is +ve?
(a) +
(b) -
(c) + OR
(d) It is not possible

solutions

b,b,c,c,c,a,d,a,b,a,c,c,b,b,b,c,b,d,a,a,c,b,d,a,d,d,b,c,d,b,a,c,a,c,a,b,d,
a,c,b,a,b,b,b,c,c,a,b,c,a

TCS 3
[Home  | Prev  | Next]

——————————————————————————–

// 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

——————————————————————————–

[Home  | Prev  | Next]
this is vocabulary section in tcs paper!
with solutions
———–
1 admonish : usurp
2 meager  : scanty
3 alineate: estrange
4 merry :gay
5 brim: boarder
6 obstinate:stubborn
7 adhesive:tenacious
8 tranquil :serene
9 solicit: urge
furtive : stealthy
misery:distress
volume:quantity
hamper :o bstruct
verr :diverge
belief:conviction
incentive:merit
inert:passive
concur:acquise
cargo:freight
dispel:scatter
caprice:whim
heap:to pile
covet:crave
emancipate:liberate
instigate:incite
latitude:scope
lethargy:stupor
divulge:discretion
hover:linger
embrace:effigy
baffle:frustate
lament:wail
stiffle:snithy
subside:wane
confiscate:appropriate
discretion:prudence
efface:deliberate
latent:potential

The technical comprises of 50 questions on C,Unix and windows.
The interview for us is on a later date.If the questions come for you
also,then intimate me.
1.const char *
char * const
What is the differnce between the above tow?.
2.In Unix inter process communication take place using?.
3.What are the files in /etc directory?.
4.About i-node numbers
5.Max relaxable permisssion value with out giving write permission
to others?.
6.About ln(linking)
7.A question on until
until (who |grep mary)
do
sleep(60)
done
8.Linking across directories?.

9.process id for kernell process
10.very first process created by kernell
11.function to repaint a window immediately?.
12.Function entry for DLL in win3.1
13.win 3.1 is a
14.win 3.1 supports which type of multi tasking?.
15.Message displayed when a window is destroyed
16.About fork()?
17.About send message and post message
18.Message to limit the size of window
19.System call executable binary file intoa process
20.About GDI object?.
21.API used to hide window
22.Initialize contents  of a dialog?.

APTITUDE TEST
20 QUESTIONS;2 MARKS EACH
TIME-20MINUTES
1) ONE RECTANGULAR PLATE WITH LENGTH 8INCHES,BREADTH 11 INCHES AND
2 INCHES THICKNESS IS THERE.WHAT IS THE LENGTH OF THE CIRCULAR ROD
WITH DIAMETER 8 INCHES AND EQUAL TO VOLUME OF RECTANGULAR PLATE?
ANS: 3.5INCHES
2) WHAT IS THE NUMBER OF ZEROS AT THE END OF THE PRODUCT OF THE NUMBERS
FROM 1 TO 100
3) in some game 139 members have participated every time one fellow
will
get bye what is the number of matches to choose the champion to be
held?
ans: 138
4) one fast typist type some matter in 2hr and
another slow typist type the
same matter in 3hr. if both do combinely in how much time they
will finish.
ans: 1hr 12min
5) in 8*8 chess board what is the total number of squares
refer odel
ans:204
6) falling height is proportional to square of the time.
one object falls 64cm in 2sec than in 6sec from how much
height the object will fall.
7) gavaskar average in first 50 innings was 50 . after the 51st
innings his average was 51 how many runs he made in the 51st
innings
8)2 oranges,3 bananas and  4 apples cost Rs.15 . 3 ornages 2 bananas
1 apple costs Rs 10. what is the cost of 3 oranges, 3 bananas and
3 apples ANs Rs 15.
9)in 80 coins one coin is counterfiet what is minimum number of
weighings to find out counterfiet coin
10)in a company 30% are supervisors and 40% employees are male
if 60% of supervisors are male. what is the probability
that a randomly choosen employee is a male or female?
11)statement: all green are blue are blue, all blue are white
conclusion:
I) some blue are green II) some white are green
III)some green are not white IV) all white are blue
a) he has given four choices like gre type
12)all teachers are students. some students are girls.
this type of questions are there.
we cant able to reproduce them.

TCS 4
[Home  | Prev]

——————————————————————————–

Verbal  Quantitative Critical Reasoning  Psychometric

1. VOCABULARY.(SYNONYMS)               40 BITS.    20 MARKS. 20MIN.
2. QUANTITATIVE APTITUDE               15 BITS     30 MARKS  15 MIN.
3. CRITICAL REASIONING.(COMPREHENSION) 50 BITS     50 MARKS  25 MIN.
4. PSYHOMETRIC TEST.                   150 BITS    150 MARKS 30 MIN
——–  ——
250 MARKS   90 MIN
——–  ——-

THE PSYCHOMETRIC TEST IS SIMPLE  AND THERE IS NO
NEED OF OF PREPARATION. IT SIMPLY TEST YOUR PSYCHOLOGY. GIVE MOST
POSITIVE  ANSWERS TO THIS SECTION. I AM SENDING SOME QUESTIONS TO
YOU. THE VOCAB. IS SAME. BUT THERE IS SOME CHANGES IN PASSAGES.BUT
THE IDEA IS SAME.

TAKE FOLLOWING PRECAUTIONS WHILE ANSWERING TEST.
————————————————————-
1.  DON’T WRITE FULL ANSWERS  TO VOCAB. SECTION. DO ONLY 36 to 37
QUE’s.BECAUSE THEY DISQUALIFIED SOME CANDIDATES HERE.

2.   ANSWERS TO THIS SECTION ARE GIVEN HERE. SO YOU SIMPLY MUG UP ANSWERS.

3.  FOR CRITICAL REASONING SECTION ANSWERS ARE GIVEN,BUT SOME OF THESE ANSWERS MAY CHANGE. SO YOU PLEASE CHECK IN EXAMINATION. THE ANSWERS ARE SIMPLY (TRUE) OR (FALSE) OR
(CAN’T SAY) TYPE.  FOR THIS SECTION YOU HAVE READ AS FAST AS YOU CAN. IT SIMPLY TEST YOUR COMPREHENSION ABILITY.

4.  EVENTHOUGH  WE ARE SENDING ANSWERS TO MATHEMATICAL ABILITY SECTION. YOU DO ” ROUGH ” WORK BACK OF YOUR PAGE. IT IS ALSO ONE OF IMPORTANT CAUTION.

5.  IN PSYCHOLOGY SECTION THE QWE’S MAY REPEATE AT LEAST FOUR TIMES. BY SIMPLY CHANGING SENTENCE FORMATION. SO BECAREFUL  GIVE SAME ANSWERS TO THOSE QWE’S.

THERE WILL BE NO NEGATIVE MARKING.Dated  : 31/07/97 TIME 90 Min., APPEARED FOR EXAM =255 STUDENTS
SELECTED FOR INTERVIEW =122,        FINALLY SHORT LISTED = 55 STUDENTS.

SECTION I VOCABULARY (SYNONYMS) TIME :15 Min.   MARKS: 20.
DIRECT ANSWERS :
—————————————————————–
Admonish : usurp         Meager :scanty         Alienate : estrange
Merry : gay              Brim : Boarder         obstinate : stubborn
Pretention:pretentioius  Tranquil:serene        solicit : urge
subside : wane           furtive :stealthy      misery : disstress
volume :quantity         veer : diverge         stiffle :sniths
adhesive : —           Hamper : obstruct      belief : conviction
lament : wail            to merit :to deserve   incentive : —-
inert: passive           Baffle : Frustrate     Confiscate : appropriat
Covet : crave            Caprice : whim         Concur :acquiesce
Cargo :freight           Dispel :  Scatter      Divulge : —–
Discretion: prudence     Emancipate : liberate  Efface : obliterate
Hover : linger           Heap : to pile         Instigate : incite
latitude : scope         latent : potential     lethergy : stupor
momentary : transient
—– means , for these words we are not able to reproduce answers.

PART II QUANTITATIVE APTITUDE ,TIME 20 Min. MARKS :30.
—————————————————————–
1. Two pencils costs 8 cents, then 5 pencils cost how much
(Ans:20 cents).
2. A work is done by the people in 24 min. one of them can do
this work a lonely in 40 min. how much time required to do the same
work for the second person.
(ans:60 min.)
3. A car is filled with four and half gallons of oil for full round
trip. fuel is taken 1/4 gallons mor3 in going than coming. what is
the fiel consumed in coming up? (2 gallons)
4. low temperature at the night in a city is 1/3 more than 1/2
hinge as higher temperature in a day. sum of the low temp and
higherst temp is 100C. then what is the low temperature (40 C)
5. A person who decided to go weekend trip should not exceed 8 hours
driving in a day Average speed of forward journy is 40 mph. due to
traffic in sundays, the return journey average speed is 30 mph.
how far he can select a picnic spot (120 miles).

6. A sales person multiplied a number and get the answer is 3,
instead of that number divided by 3. what is th answer he actually
has to get ? (1/3).
7. A ship started from port and moving with I mph and another ship
started from L and moving with H mph. At which place these two ships
meet ?  ( Ans is between  I and J and close to J)

!_____!_____!_____!_____!_____!_____!
port   G     H     I     J     K     L

8. A building with hight D ft shadow upto G A neighbour building with
what height shadow C ft is      (B ft.)

!_____!_____!_____!_____!_____!_____!_____!
A     B     C     D     E     F     G     H

9. A person was fined for exceeding the speed limit by 10 mph.Another
person was also fined for exceeding the same speed limit by twice
the same.  If the second person was travelling at a speed of 35 mph.
find the speed limit (15 mph)

10. A bus started from bustand at 8.00a m and after 30 min staying at
destination, it returned back to the bustand.  the destination is 27
miles from the bustand. the  speed of the bus 50 percent fast speed.
at what time it retur4ns to the bustand (11.00)

11.in a mixture, R is 2 parts, S is 1 part. in order to make S to 25%
of the mixture, howmuch R is to be added   ( one part).

12. wind flows 160 miles in 330 min, for 80 miles how much time
required.
13. with 4/5 full tank vehicle travels 12 miles, with 1/3 full tank
how much distance travels  ( 5 miles).

14. two trees are there. one grows at 3/5 of the other. in 4 years,
total growth of trees is 8 ft.  what growth will smaller tree will
have in 2 years.  (<2ft)

15. A storm will move with a velocity of    towords the center in
hours. At the same rate how much far will it move in hrs.
(but Ans is 8/3 or 2 2/3).

PART III: TIME 25 Min, MARKS :50.
———————————————–
CRITICAL REASONING : THERE WILL BE 13 PASSAGES WITH 50 QUESTIONS TIME 30 MIN.
HERE I AM SENDING ONLY SOME OF THE PASSAGES (these will give only rough idea)
(ANSWERS WILL BE AS  YES/NO/CAN’T SAY we are giving our answers, please check.)

1. My father has no brothers. he has three sisters who has two childs each.

1> my grandfather has two sons (f)
2> three of my aunts have two sons(can’t say)
3> my father is only child to his father(f)
4> i have six cousins from my mother side(f)
5> i have one uncle(f)

2. Ether injected into gallablader to dissolve galstones. this type oneday
treatment is enough for gallstones not for calcium stones. this method is
alternative to surgery for millions of people who are suffering from this
disease.
1> calcium stones can be cured in oneday (f)
2> hundreds of people contains calcium stones(can’t say)
3> surgery is the only treatment to calcium stones(t)
4> Eather will be injected into the gallbleder to cure the cholestrol
based gall stones(t).

3. Hacking is illigal entry into other computer. this is done mostly
because of lack of knowledge of computer networking with networks one
machine can access to another machine. hacking go about without knowing
that each network is accredited to use network facility.
1> Hacking people never break the code of the company which they
work for (can’t say).
2> Hacking is the only vulnerability of the computers for the usage
of the data.(f)
3> Hacking is done mostly due to the lack of computer knowledge (f).
(there will be some more questions in this one )

4. alphine tunnels are closed tunnels. in the past 30 yrs not even a single
accident has been recorded for there is one accident in the rail road
system. even in case of a fire accident it is possible to shift the passengers
into adjacent wagons and even the living fire can be detected and extinguished
with in the duration of 30 min.
1> no accident can occur in the closed tunnels (True)
2> fire is allowed to live for 30 min.  (False)
3> All the care that travel in the tunnels will be carried by rail
shutters.(t)
4>

5. In the past helicopters are forced to ground or crash because of the
formation of the ice on the rotors and engines. a new electronic device has
been developed which can detect the watercontent in the atmosphere and warns
the pilot if the temp.is below freezing temp. about the formation of the ice
on the rotors and wings.
1> the electronic device can avoid formation of the ice on the wings (False).
2> There will be the malfunction of rotor & engine because of formation of ice (t)
3> The helicopters are to be crashed or down (t)
4> There is only one device that warn about the formation of ice(t).

6.In the survey conducted in mumbai out of 63 newly married house wives not a single house
wife felt that the husbands should take equal part in the household work as
they felt they loose their power over their husbands. inspite of their careers
they opt to do the kitchen work themselves after coming back to home. the
wives get half as much leisure time as the husbands get at the week ends.
1> housewives want the husbands to take part equally in the household(f)
2> wives have half as much leisure time as the husbands have(f)
3> 39% of the men will work equally in the house in cleaning and washing
3>

7. copernicus is the intelligent. In the days of copernicus the transport and technology
development was less & it took place weeks to comunicate a message at that
time.wherein we can send it through satellite with in no time ———-.
even with this fast developments it has become difficult to understand each other.
1> people were not intelligent during Copernicus days (f).
2> Transport facilities are very much improved in noe a days (can’ say)
3> Even with the fast developments of the techonology we can’t live happily.(can’t say)
4> We can understand the people very much with the development of communication(f).

Q8) senior managers warned the workers that because of the intfoductors
of japanese industry in the car market. There is the threat to the workers.
They also said that there will be the reduction in the purchase of the sales of
car in public.the interest rates of the car will be increased with the loss in demand.
1> japanese workers are taking over the jobs of indian industry.(false)
2> managers said car interests will go down after seeing the raise in interest rates.(true)
3> japanese investments are ceasing to end in the car industry.(false)
4> people are very much interested to buy the cars.(false)

Q9) In the totalitariturican days,the words have very much devalued.In
the present day,they are becoming domestic that is the words will be much more devalued.
In that days, the words will be very much effected in political area.but
at present,the words came very cheap .we can say they come free at cost.
1> totalitarian society words are devalued.(false)
2> totalitarian       will have to come much about words(t)
3> The art totalitatian society the words are used for the political speeches.
4>

Q10) There should be copyright for all arts. The reele has came that all the
arts has come under one copy right society,they were use the money that come from
the arts for the developments . There may be a lot of money will come from
the Tagore works. We have to ask the benifiters from Tagore work to help for
the development of his works.
1> Tagore works are came under this copy right rule.(f)
2> People are free to go to the       because of the copy right rule.(can’t say)
3> People gives to theater and collect the money for development.(can’t say)
4> We have  ask the Tagore resedents to help for the developments of art.(can’t say)

NOTE :  DO 1,2,3,4,5 PASSAGES WHICH ARE EASY. LAST BUT ONE ALSO. DO THAT
PASSAGES CAREFULLY. TIME WILL BE INSUFFICIENT. PASSAGES ARE NOT AS EXACTLY
AS ABOVE. THERE IS HIGHLEVEL ENGLISH IN ALL THE PASSAGES, WE ARE GIVING
IN OUR OWN WORDS , U CANNOT EXPECT THE SAME TYPE OF ENGLISH THERE. WHILE
ANSWERING U SHOULD BE VERY FAST, DO NOT WASTE TIME, IT IS INSUFFICIENT,TRY TO ANSWER
AS MANY AS POSSIBLE.

SECTION 4. PSYCHOMETRIC TEST.
—————————————-
DO NOT BOTHERE ABOUT MUCH ABOUT THIS TEST. BE OPTIMISTIC WHILE ANSWERE.
THERE WILL BE 150 QUESTIONS IN 30 MIN. THE QUESTIONS IN THIS SECTION MAY
REPEATED WITH SLIGHT VARIATIONS ANSWER SHOULD BE SAME IN BOTH THE CASES.
(ans will be as yes/no/can’t say)

for example
1> you will be interested in social activities.
2> while going upstairs you will move two steps at a time.
3> you will be making friendship with same sex or with opposite sex also.
4> your friends will consider u as a leader in your group
5> people think that your’e serious minded.
6> some times you feel dull without any reason.
7> your’e host or hostes for several parties.
8> relatives come to your house you will entertain them.
9> you will do work for longtime without tireness.
10> in your company you want lead the organasition.
etc..  the qwestions may repeate several times so becareful and give same ans’s.

*************** ALL THE BEST **********************

——————————————————————————–

[Home  | Prev]
TCS

>     Source : jadavpur university
>     Dated  : 28/4/99
>
>
>      1. VOCABULARY.(SYNONYMS)               40 BITS.    20 MARKS. 20MIN.
>      2. QUANTITATIVE APTITUDE               15 BITS     30 MARKS  15
MIN.
>      3. CRITICAL REASIONING.(COMPREHENSION) 50 BITS     50 MARKS  25
MIN.
>      4. PSYHOMETRIC TEST.                   150 BITS    150 MARKS 30 MIN
>                                                     ——–  ——
>                                                    250 MARKS   90 MIN
>                                                         ——–
——-
>
>
>                    THE PSYCHOMETRIC TEST IS SIMPLE  AND THERE IS NO
>     NEED OF OF PREPARATION. IT SIMPLY TEST YOUR PSYCHOLOGY. GIVE MOST
>     POSITIVE  ANSWERS TO THIS SECTION. I AM SENDING SOME QUESTIONS TO
>     YOU. THE VOCAB. IS SAME. BUT THERE IS SOME CHANGES IN PASSAGES.BUT
>     THE IDEA IS SAME.
>
>      TAKE FOLLOWING PRECAUTIONS WHILE ANSWERING TEST.
>      ————————————————————-
>     1.  DON’T WRITE FULL ANSWERS  TO VOCAB. SECTION. DO ONLY 36 to 37
>         QWUE’s.BECAUSE THEY DISQUALIFIED SOME CANDIDATES HERE.
>
>     2.  WE ARE SENDING ANSWERS TO THIS SECTION. SO YOU SIMPLY MUG UP
>     ANSWERS.
>
>     3.  FOR CRITICAL REASONING SECTION WE ARE  SENDING ANSWERS.BUT
>     SOME OF THESE ANSWERS MAY CHANGE. SO YOU PLEASE CHECK IN
>     EXAMINATION. THE ANSWERS IS SIMPLY (TRUE) OR (FALSE) OR
>     (CAN’T SAY) TYPE.  FOR THIS SECTION YOU HAVE READ AS FAST
>     AS YOU CAN. IT SIMPLY TEST YOUR COMPREHENSION ABILITY.
>
>      4.  EVENTHOUGH  WE ARE SENDING ANSWERS TO MATHEMATICAL ABILITY.
>      SECTION. YOU DO ” ROUGH ” WORK BACK OF YOUR PAGE. IT IS ALSO
>      ONE OF IMPORTNANT CAUTION.
>
>      5.  IN PSYCHOLOGY SECTION THE QWE’S MAY REPEATE AT LEAST FOUR
>      TIMES. BY SIMPLY CHANGING SENTENCE FORMATION. SO BECAREFUL
>      GIVE SAME ANSWERS TO THOSE QWE’S.
>
>
>
>
>
>THERE WILL BE NO NEGATIVE MARKING. TIME 90 Min., APPEARED FOR EXAM =255
>STUDENTS
>SELECTED FOR INTERVIEW =122,        FINALLY SHORT LISTED = 55 STUDENTS.
>
>SECTION I   VOCABULARY (SYNONYMS) TIME :15 Min.   MARKS: 20.
>DIRECT ANSWERS :
>—————————————————————–
>Admonish : usurp      Meager :scanty         Alienate : estrange
>Merry : gay              Brim : Boarder              obstinate : stubborn
>Pretention:pretentioius  Tranquil:serene        solicit : urge
>subside : wane           furtive :stealthy      misery : disstress
>volume :quantity         veer : diverge         stiffle :sniths
>adhesive : —           Hamper : obstruct      belief : conviction
>lament : wail            to merit :to deserve   incentive : —-
>inert: passive           Baffle : Frustrate     Confiscate : appropriat
>Covet : crave            Caprice : whim         Concur :acquiesce
>Cargo :freight           Dispel :  Scatter      Divulge : —–
>Discretion: prudence     Emancipate : liberate  Efface : obliterate
>Hover : linger           Heap : to pile         Instigate : incite
>latitude : scope         latent : potential     lethergy : stupor
>momentary : transient
>  —– means , for these words we are not able to reproduce answers.
>
>PART II   QUANTITATIVE APTITUDE ,TIME 20 Min. MARKS :30.
>—————————————————————–
>     1. Two pencils costs 8 cents, then 5 pencils cost how much
>     (Ans:20 cents).
>     2. A work is done by the people in 24 min. one of them can do
>     this work a lonely in 40 min. how much time required to do the
>same
>     work for the second person.
>      (ans:60 min.)
>     3. A car is filled with four and half gallons of oil for full
>round
>     trip. fuel is taken 1/4 gallons mor3 in going than coming. what is
>     the fiel consumed in coming up? (2 gallons)
>     4. low temperature at the night in a city is 1/3 more than 1/2
>     hinge as higher temperature in a day. sum of the low temp and
>     higherst temp is 100C. then what is the low temperature (40 C)
>     5. A person who decided to go weekend trip should not exceed 8
>hours
>      driving in a day Average speed of forward journy is 40 mph. due
>to
>      traffic in sundays, the return journey average speed is 30 mph.
>      how far he can select a picnic spot (120 miles).
>
>     6. A sales person multiplied a number and get the answer is 3,
>     instead of that number divided by 3. what is th answer he actually
>     has to get ? (1/3).
>     7. A ship started from port and moving with I mph and another ship
>     started from L and moving with H mph. At which place these two
>ships
>      meet ?  ( Ans is between  I and J and close to J)
>
>              !_____!_____!_____!_____!_____!_____!
>             port   G     H     I     J     K     L
>
>     8. A building with hight D ft shadow upto G A neighbour building
>with
>      what height shadow C ft is      (B ft.)
>
>       !_____!_____!_____!_____!_____!_____!_____!
>       A     B     C     D     E     F     G     H
>
>     9. A person was fined for exceeding the speed limit by 10
>mph.Another
>      person was also fined for exceeding the same speed limit by twice
>      the same.  If the second person was travelling at a speed of 35
>mph.
>      find the speed limit (15 mph)
>
>     10. A bus started from bustand at 8.00a m and after 30 min staying
>at
>     destination, it returned back to the bustand.  the destination is
>27
>      miles from the bustand. the  speed of the bus 50 percent fast
>speed.
>       at what time it retur4ns to the bustand (11.00)
>
>     11.in a mixture, R is 2 parts, S is 1 part. in order to make S to
>25%
>     of the mixture, howmuch R is to be added   ( one part).
>
>     12. wind flows 160 miles in 330 min, for 80 miles how much time
>     required.
>     13. with 4/5 full tank vehicle travels 12 miles, with 1/3 full
>tank
>     how much distance travels  ( 5 miles).
>
>     14. two trees are there. one grows at 3/5 of the other. in 4
>years,
>     total growth of trees is 8 ft.  what growth will smaller tree will
>     have in 2 years.  (<2ft)
>
>     15. A storm will move with a velocity of    towords the center in
>      hours. At the same rate how much far will it move in hrs.
>      (but Ans is 8/3 or 2 2/3).
>
>PART III: TIME 25 Min, MARKS :50.
>———————————————–
>CRITICAL REASONING : THERE WILL BE 13 PASSAGES WITH 50 QUESTIONS TIME 30
>MIN.
>HERE I AM SENDING ONLY SOME OF THE PASSAGES (these will give only rough
>idea)
>(ANSWERS WILL BE AS  YES/NO/CAN’T SAY we are giving our answers, please
>check.)
>
>1. My father has no brothers. he has three sisters who has two childs
>each.
>
>       1> my grandfather has two sons (f)
>       2> three of my aunts have two sons(can’t say)
>       3> my father is only child to his father(f)
>       4> i have six cousins from my mother side(f)
>       5> i have one uncle(f)
>
>2. Ether injected into gallablader to dissolve galstones. this type
oneday
>treatment is enough for gallstones not for calcium stones. this method is
>alternative to surgery for millions of people who are suffering from this
>disease.
>       1> calcium stones can be cured in oneday (f)
>       2> hundreds of people contains calcium stones(can’t say)
>       3> surgery is the only treatment to calcium stones(t)
>       4> Eather will be injected into the gallbleder to cure the
>cholestrol
>       based gall stones(t).
>
>3. Hacking is illigal entry into other computer. this is done mostly
>because of lack of knowledge of computer networking with networks one
>machine can access to another machine. hacking go about without knowing
>that each network is accredited to use network facility.
>     1> Hacking people never break the code of the company which they
>     work for (can’t say).
>     2> Hacking is the only vulnerability of the computers for the
>usage
>     of the data.(f)
>         3> Hacking is done mostly due to the lack of computer knowledge
>(f).
>    (there will be some more questions in this one )
>
>4. alphine tunnels are closed tunnels. in the past 30 yrs not even a
>single
>accident has been recorded for there is one accident in the rail road
>system. even in case of a fire accident it is possible to shift the
>passengers
>into adjacent wagons and even the living fire can be detected and
>extinguished
>with in the duration of 30 min.
>     1> no accident can occur in the closed tunnels (True)
>         2> fire is allowed to live for 30 min.  (False)
>     3> All the care that travel in the tunnels will be carried by rail
>     shutters.(t)
>     4>
>
>5. In the past helicopters are forced to ground or crash because of the
>formation of the ice on the rotors and engines. a new electronic device
>has
>been developed which can detect the watercontent in the atmosphere and
>warns
>the pilot if the temp.is below freezing temp. about the formation of the
>ice
>on the rotors and wings.
>     1> the electronic device can avoid formation of the ice on the
>wings (False).
>     2> There will be the malfunction of rotor & engine because of
>formation of ice (t)
>     3> The helicopters are to be crashed or down (t)
>         4> There is only one device that warn about the formation of
>ice(t).
>
>6.In the survey conducted in mumbai out of 63 newly married house wives
>not a single house
>wife felt that the husbands should take equal part in the household work
>as
>they felt they loose their power over their husbands. inspite of their
>careers
>they opt to do the kitchen work themselves after coming back to home. the
>wives get half as much leisure time as the husbands get at the week ends.
>     1> housewives want the husbands to take part equally in the
>household(f)
>     2> wives have half as much leisure time as the husbands have(f)
>     3> 39% of the men will work equally in the house in cleaning and
>washing
>     3>
>
>7. copernicus is the intelligent. In the days of copernicus the transport
>and technology
>development was less & it took place weeks to comunicate a message at
that
>time.wherein we can send it through satellite with in no time ———-.
>even with this fast developments it has become difficult to understand
>each other.
>     1> people were not intelligent during Copernicus days (f).
>     2> Transport facilities are very much improved in noe a days (can’
>say)
>     3> Even with the fast developments of the techonology we can’t
>live happily.(can’t say)
>     4> We can understand the people very much with the development of
>communication(f).
>
>     Q8) senior managers warned the workers that because of the
>intfoductors
>     of japanese industry in the car market. There is the threat to the
>workers.
>       They also said that there will be the reduction in the purchase of
>the sales of
>       car in public.the interest rates of the car will be increased with
>the loss in demand.
>     1> japanese workers are taking over the jobs of indian
>industry.(false)
>     2> managers said car interests will go down after seeing the raise
in
>interest rates.(true)
>     3> japanese investments are ceasing to end in the car
industry.(false)
>     4> people are very much interested to buy the cars.(false)
>
>     Q9) In the totalitariturican days,the words have very much
devalued.In
>     the present day,they are becoming domestic that is the words will be
>much more devalued.
>     In that days, the words will be very much effected in political
>area.but
>     at present,the words came very cheap .we can say they come free at
>cost.
>      1> totalitarian society words are devalued.(false)
>      2> totalitarian       will have to come much about words(t)
>      3> The art totalitatian society the words are used for the
political
>speeches.
>      4>
>
>       Q10) There should be copyright for all arts. The reele has came
that
>all the
>       arts has come under one copy right society,they were use the money
>that come from
>       the arts for the developments . There may be a lot of money will
>come from
>       the Tagore works. We have to ask the benifiters from Tagore work
to
>help for
>       the development of his works.
>      1> Tagore works are came under this copy right rule.(f)
>      2> People are free to go to the       because of the copy right
>rule.(can’t say)
>      3> People gives to theater and collect the money for
>development.(can’t say)
>      4> We have  ask the Tagore resedents to help for the developments
of
>art.(can’t say)
>
>NOTE :  DO 1,2,3,4,5 PASSAGES WHICH ARE EASY. LAST BUT ONE ALSO. DO THAT
>PASSAGES CAREFULLY. TIME WILL BE INSUFFICIENT. PASSAGES ARE NOT AS
EXACTLY
>AS ABOVE. THERE IS HIGHLEVEL ENGLISH IN ALL THE PASSAGES, WE ARE GIVING
>IN OUR OWN WORDS , U CANNOT EXPECT THE SAME TYPE OF ENGLISH THERE. WHILE
>ANSWERING U SHOULD BE VERY FAST, DO NOT WASTE TIME, IT IS
INSUFFICIENT,TRY
>TO ANSWER
>AS MANY AS POSSIBLE.
>
>SECTION 4.  PSYCHOMETRIC TEST.
>—————————————-
>DO NOT BOTHERE ABOUT MUCH ABOUT THIS TEST. BE OPTIMISTIC WHILE ANSWERE.
>THERE WILL BE 150 QUESTIONS IN 30 MIN. THE QUESTIONS IN THIS SECTION MAY
>REPEATED WITH SLIGHT VARIATIONS ANSWER SHOULD BE SAME IN BOTH THE CASES.
>(ans will be as yes/no/can’t say)
>
>for example
>1> you will be interested in social activities.
>2> while going upstairs you will move two steps at a time.
>3> you will be making friendship with same sex or with opposite sex also.
>4> your friends will consider u as a leader in your group
>5> people think that your’e serious minded.
>6> some times you feel dull without any reason.
>7> your’e host or hostes for several parties.
>8> relatives come to your house you will entertain them.
>9> you will do work for longtime without tireness.
>10> in your company you want lead the organasition.
>etc..  the qwestions may repeate several times so becareful and give same
>ans’s.
In the paper I am sending,there r about 40 vocabulary questions.But
this year’s paper has only 20 of them.Time 5 min.Marks 10.Do only
15 or 16 bits correctly.

Quantitative aptitude:I am sending 15 questions.In the latest paper we got,
there r only 10 of them r present.Time 10 min.Marks 20.Do all the
problems correctly.

Reasoning:All answers r given.Remember them.In the exam, u willnot be
having time to read the passages.So remember the answers.
I dont remember twohe passages (R and Q).U can read these passages
in the exam and answer them.Remember: don’t answer all questions.Write
7 or 8 incorrect answers.Time 45 min.Total 70 questions and Marks 70.

Your ultimate aim is to get 75 to 85 marks.Because if u get high marks,
they may assune that u know the paper beforehand and u may be disqualified.
So don’t get morethan 90 marks.

WISH U ALL THE BEST.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Vocabulary
———-
Admonish-usurp,meager-scant,alienate-estrange,merry-gay,brim-boarder,obstinate-stubbourn
solicit-urge,subside-wane,furtive-stealthy,misery-distress,volume-quantity,
veer-diverge,stiffle-snithy,adhesive-sticky,hamper-obstruct,belief-co
nviction,lament-wail,incentive-spur,innert-passive,baffle-frustrate,confiscate-appropriate,c
rt-crave,caprice-whim,concur-acquiesce,cargo-frieght,dispel-scatter,divulge-reveal,tomerit-to
erve,discreation-prudence,emancipate-liberate,efface-obliterate,

hover-linger,heap-to
pile,instigate-incite,latitude-scope,latent-potential,lethargy-stupor
momentary-transient,pretentious-ostentatious,embrace-effigy

Apptitude
———
1)2 pencils costs 8 cents,then 5 pencils cost how much
a)20c
2)a work is done by the people in 24 min.one of them can do this work
a lonely in 40 min.how much time required to do the same work for the
second person
a)60min
3)a car is filled with four and half gallons of oil for full round
trip.fuel is taken 1/4 gallons more in going than coming.what is the fuel
consumed in coming up.
a)2 gallons
4)low temperature at the night in a city is 1/3 more than 1/2 hinge as
higher temperature in a day.sum of the low temp and high temp is 100 c.
then what is the low temp.
a)40 centigrade
5)a person who decided to go weekend trip should not exceed 8 hours
driving in a day average spped of forward journey is 40 mph.due to
traffic insundays the return journey average speed is 30 mph.how far he
can select a picnic spot.
a)120 miles
6)a sales person multiplied a number and get the answer is 3
instead of that number divided by 3.what is the answer he actually
has to get.
a)1/3
7)a ship started from a port and moving with I mph and another ship
started from L and moving with H mph.at which place these two ships
meet.
a)between I and J and close to J
8)a building with height D ft shadow upto G.A neighbour building
with what height shadow C ft is
a)B ft
9)a person was fined for exceeding the speed limit by 10mph.another
person was also fined for exceeding the same speed limit by twice the same
if the second person was travellling at a speed of 35 mph.find the
speed limit
a)15mph
10)a bus started from bustand at 8.00am and after 30min staying at
destination it returned back to the bustand.the destination is 27
miles from the bustand the speed of the bus 50percent fast speed at what
time it returns to the bustand.
a)11.00am
> > 11)in a mixture,R is 2 parts,s is 1 part
in order to make s to 25% of the
> > mixture,howmuch r is to be added
> > a)one part
> > 12)wind flows 160 miles in 330min.for 80 miles how much time required
> > a)—
> > 13)with 4/5 full tand vehicle travels 12 miles, with 1/3 full tand how
> > much distance travels
> > a)5 miles
> > 14)2 trees are there.one grows at 3/5 of the other.In 4 years
> > total growth of the trees is 8 ft.what growth will smaller tree will have
> > in 2 years.
> > a)2 ft
> > 15)a storm will move with a velocity of — towards the center in —
> > at the same rate how much far will it move in hrs
> > a)8/3 or 2 2/3
> > 15 not clear
> >
> >
> > Reasoning
> > ———-
> > A.
> > my father had no brothers but his 3 sisters are all married and each has 2
> > children.my grandfather has 2 sons.
> > 1.mu father was an only child     F
> > 2.3 of my aunts have sons         C
> > 3.i have six cousins on my mother’s side   C
> > 4. i have only one uncle   F
> >
> > B.
> > Senior managers in a leading company said that new japanese investment
> > in india was transforming the car industry and warned that jobs were
> > under threat from japanese competition. they stated that increasing
> > competition would be coupled with an in evitable downturn i the car market
> > and the recent rise in interst rates whaich had already hit demand.
> > 5.some senior managers said that more people will want to buy new cars in
> > the future.  F
> > 6.managers told workers that japanese workers are taking jobs away from
> > indian workers in the car industry.  F
> > 7.the managers issued their warning after a rise in interest rates.  T
> > 8.the increased rate of the interest will mean that japanese firms will
> > cease to operate in this country.  C
> >
> > C.Researchers in mumbai have found that certain types of gallstones can be
> > dissolved by injecting them with a gasoline additive in the form of ether
> > the ether is injected through a tube directly into a tube directly into
> > the gallbladder.the one day treatment works only on cholesterol-based
> > stones.not those composed largely o calcium.however as the clolesterol
> > stones are by far the most common typefor millions of gallstones
> > sufferers the treatment should offer a welcome alternative tosurgery
> > the commonest option in nost hospitals.
> > 9.injecting ether into the gallbladder dissolves most gallstones   T
> > 10.surgery is the only treatment for calcium stones   T
> > 11.hundreds of peoplecontains calcium stones    C
> > 12.calcium stones will be cured in one day  F
> >
> > D.organising the home can be perceived as conferring power so large
> > numbers of women are unwilling to let go of chores,even when they have
> > careers.a survey found that,out of 65 new marriages not one single wife
> > expected her husband to share work equally.according to the family policy
> > studies center 81% working wives return home to do all th cooking.The
> > average male has nearly half as much more tfree time at weekends
> > than his wife and the typical new father spends just 37 seconds a day
> > talking to his baby.
> > 13.most working wives do not expect their husbands to share chores
> > equally.   T
> > 14.the average wife has half as much free
time at weekends as her husband.
> > F
> > 15.some women collude in the unequal distribution of house hold work
> > because they want to retain control    C
> > 16. 39% of all men with working wives do
the cooking and all the cleaning
> > F
> >
> > E.confucius said that to know the future
we have to understand the pasthis
> > time transport ,communications and scientific knowledge were less
> > developed than they are today.news took weeks to travel where as today
> > satellite links connect the continents virtually instantaneously.but
> > our technological advances in the field of
communications seem not to have
> > improved our capacity to understand one another
> > 17.in confucius daay people were more intelligent    C
> > 18.we understand each otheer better now than in confucius time because
> > we can travel more quickly.  F
> > 19.we have made great improvements in transport since confucius day  T
> > 20.none of our scientific discoveries has really improved our lives  C
> >
> > F.words in totalitarian systems have an unhealthy importance and in such
> > states now attempting to return to a more democratic normality there has
> > been a natural inevitable and healthy devaluation of words whereas
> > previouslu a single word used in a sppech
or even a play or poem could be
> > a serious political event now the words come cheaper almost free.
> > politics is politics again and poetry only poetry
> > 21.totalitarian state devalue words  T
> > 22.only non-totalitarian regimes produce poetry of political importance
> > T
> > 23.writers under totalitarian regimes have to choose their words care
> > fully   T
> > 24. the democratic political system is healthier than others   C
>
>
>    G.statistics show that millions of vehicals have beencarried by shuttle
> over the past 30 years through alpine tunnels withouty one ever catching
> tire.in the alpine tunnels.drivers and passengers sit in theirvhehicals on
> the shuttle trains.only one vehical has evercaught fire on the bussy
> french motorail equivalent system.this sort of accidents is not possible
> in a closed shuttle. assertinos that a vehical fire  will lead to
> catastophe have no basis. since the resoures exit do detect,control and
> extingush  a fire and to remove any persons present safely to an adjoning
> wagon, leaving any surviving fire facing rapid extinction within a wagan
> built to contain fire for 30 minutes. catastrophe seems very unlikely.
>
> 25. if a car cauget fire in a rail shuttle, probably none would be killed.
>
>     (T)
> 26.at least one vehical has cauht fire in an alpine tunnel.(f)
> 27.if a fire started in a wagon, it would be allowed to burn itself out in
>    30 minutes.(f)
> 28.if would theoreticaly be possible for a car to cath fire in aclosed
>     shuttle system.(F)

>
> H)every form of art is protected by copy write,upon the expiration
>
>  of whitch the property passes into the public domain and becomes freely
> available to any one wishing to exploit it commercialy. the time has come
> when all treasures shoud pass to the controled of a trust,and by this made
> readily available to anyone on pament of a fee or royality.the income
> fromthe works of tagore would alone be enarmous.these who now main
> financialbenifit from his genius should make some contribution to the
> welfare of the arts in general.
> 29.tagore’s plays are not protected by copyright.  F
> 30.tagore’s decendants should be asked to make some contribution  to the
> arts C
> 31.instead of buying a ticket , theatregoers should pay a fee to trust for
> the benefit of the arts.  C
> 32. More people could go to the theatre if copy rightwere abolished  C

> I. Hacking is a crime made possible by a relatively new technology,
> which one of the reasons it is often poorly understood and reported.
> Many computers, but no means all,are now linked togetherin networks which
> allow users on one computer to communicate with others on the same
> network.If a computer is not networked,no manipulation of its datafrom
> another machine is possible.So long as users are authorised, networking
> is just a way of making work easier and more productive.Hacking on the
> other hand,is the unauthorised use of networks or unauthorised entty
> into the computers themselves.Most people do not need to break into the
> networks they use,since they are already accredited users.
> 33. Most hackers are authorised to break into networks  F
> 34. Computers are only vulerable to the unauthorised manipulation of
>   their data via another computer if they are networked  T
> 35.The main reason why it is relatively easy to break into a computer is
> that few people understand the technology.  C
> 36.Hackers do not work fot the firms whose networks they break into.  T

> J.Although invaders represent a threat to the conservation of flora and
> fauna,there are two special cases in which
invasion have been deliberately
> brought about.One is the desire to control presents by natural predators,
> whichmay have to be brought in from other countries.The second is
> releasing organisms into the wild(or on to farms,from which they might
> escape)that are completely novel,beacause they have been genetically
> engineered.There is nothing intrinsically sinister about engineered
> organisms,but any novelty must be regarded as a potential invader.
> 37.Pest control does not threat the conservation of flora and fauna. T
> 38.Genetically engineered organisms must always be regarded as poten-
> tially dangerous.  F
> 39.Natural predators are work harmful than pests.T
> 40.Genetically engineered organisms escaped from the farm,they will be
> pose a threat to wildlife. T
>

> >
> > K.electronics technology is coming to the
rescue of helicopters which can
> > be grounded or crash in icy conditions the machines are especially
> > vulnerable to the build up of ice on both their rotors and engine air
> > intake when operating in cold damp conditions.the problem is 2 fold
> > ice increases the weight and the build upp makes the aerofoils
> > less efficient .now at last a detector has been devised which the company
> > hopes will mean safer flightsand less frequent grounding.unlike most
> > devices in use at present it can detect the liquid water content of cloud
> > above freezing level.so the warning is ginven before the potential hazard
> > is encountered.
> >
> > 39.an electronic device has been invented which will prevent  the build
> > up of ice on helicopter rotors   F
> > 40.helicopters are sometimes grounded because in cold damp weather their
> > engine air intakes and rotors malfuntion
owing to the formatrion of ice.
> > T
> > 41.only one device can at present detect the liquid water content of
> > cloud above freezing level  C
> > 42.in future fewer helicopters will crash or have to grounded   T
> >

> > L.anyone whos has systematically examined faces will have perceived a
> > prepondreance although not a proliferation of asymmtry.whether or not
> > the expression is volitinal and self controlled or spontaneous appears
> > to predict facial asymmetry as does the type of emotion protrayed.positive
> > emotions are usually displayed symmetrically although a left sided
> > representation of a negative emotion is more common.posed expressions and
> > negative emotions are less likely to be symmetrically represented.
> > 43.an angry person is more likely to have a lopsided expression than
> > someone who is smiling  T
> > 44.a deliberately assumed facial expression will always be asymmetrical  F
> > 45.an actor is likely to smile symmetrically when acting   C
>   46.more self conscious people are likely to have less asymmetrically
> facial expressions than those who are less aware of themselves   T
>

>  M. human existence is not susceptible of arbitary division between
> consciousness and unconsciousness.the conscious world invades and shapes
> the activities of the unconscious while many of the great  achievements of
> humanity’s waking hours were wholly or partly inspires bu dreams .even if
> it could be argued that dreams precede experience such a dichotomy could
> not be drawn as the influence of dreaming on the waking state would remain
> unclear but as yet no common vocabulary exists to record the substance
> of prenatal dreaming
> 47.sleep can be a creative state.   T
> 48.it is difficult to tell whether a sleeper is dr3eaming or not   C
> 49. if we knew what babies dream about before they are born we could
> show that conscious and unconscious mond influence one another   F
> 50. it is untrue to claim that the conscious and unconscious worlds never
> impinge on one another  F
>

> New twenty questions
> ——————–
> N. disease x succeeds lung disease.it may also occur helthy persons the
> person looks healthier from outside.the number of red blood cells in
> the blood increased and this leads to thickness fo the blood as a result
> of which blood lacks inside the vessels .the person suffers heart attact.
> one possible solution is to remove a litre of blood or to control the
> growth of red blood cells.
> 53.lung disease precedes the disease x   T
> 54.a person who gets heart attack always has disease x   F
> 55.people suffering from disease x look healthier   C
> 56.one litre of blood must be removed to cure this   T
>

> O.a starfire engine has been designed to work only for unleaded
> petrol.this crossfire engine is designed for both 1500 and `1800 cc
> they internally and externally look alike except for the difference
> in wheels —-,2000 cc is differentr from the above.two in terms of 3
> features — —– —- on the bumber.
> 57.the engine run only on the leaded petrol   F
> 58.1500 and 1800 cc look alike   F
> 59.apart from cross fire engines they manfacture —-  F
> 60.internal structure of the 2000cc is same as that of both 1500 and
> 1800 cc     C
>

> P.a weed killer to kill the weeds has been developed.the weed killer
> solution has to be applied to the growing tips. it need not to be applied
> to all the tips.the solution has to be prepared in a can in one hand
> and the plants are taken in the other hand with a glove and are immersed
> in the solution if we cannot immerse them in the solution the solution
> can be applied to the roots with a brush.it used without care it can
> pose danger to other plants.
> 61.the solutions has to applied to growing leaves
> 62.to use the weedkiller first take the plants in the cn as then pour the
> solution into it.
> 63.it is sufficient to apply it only to some roots
> 64.it effects to the other plants.
>

> Q.
> 65.flora 3 sofa set gives value to ur money
> 66.padding is used to increase durablity
> 67.flora will made all other products other than sofa sets
> 68.can we use wood as —–  T
>

> R.
>
> 69.the length of the cracker will be less than 12 cm    F
> 70.the center part of the crackers is 4cm   T
>
>——————————————————————————-
>
>
> these are the questions given from tcs paper
> dont answer all questions.
>
> In reasoning test at the end of each question we indicated
> F,T,C
> where F represents    False
> “     T   “           True
> “     C    “           cant say.
>——————————————————————————
> Aafter this test,psychmetry test will be there.dont bother about it.
it is just
> formal.they will not consider it.But answer all 150 questions in 30
> minutes

Subject: C and COBOL (fwd)

this is the TCS C paper.it actually contains 50 questions.but i am

sending only 43 questions.though 46 questions are available only these are

visible.so it is i am sending 43 only.the set code is ‘D’.

1.The C language terminator is
a.semicolon
b.colon
c.period
d.exclamation mark
2.What is false about the following
A compound statement is
a.A set of simple statments
b.Demarcated on either side by curly brackets
c.Can be used in place of simple statement
d.A C function is not a compound statement.
3.What is true about the following
C Functions
a.Need not return any value
b.Should always return an integer
c.Should always return a float
d.Should always return more than one value.
4.Main must be written as
a.the first function in the program
b.Second function in the program
c.Last function in the program
d.any where in the program
5.Which of the following about automatic variables within a function
is correct ?
a.its type must be declared before using the variable
b.they are local
c.they are not initialised to zero
d.they are global.
6.Write one statement equalent to the following two statements
x=sqr(a);
return(x);
Choose from one of the alternatives
a.return(sqr(a));
b.printf(“sqr(a)”);
c.return(a*a*a);
d.printf(“%d”,sqr(a));
7.Which of the following about the C comments is incorrect ?
a.commentscan go over multiple lines
b.comments can start any where in the line
c.a line can contain comments with out any language statements
d.comments can occur within comments
8.What is the value of y in the following code?
x=7;y=0;
if(x=6)
y=7;
else
y=1;
a.7
b.0
c.1
d.6
9.Read the function conv() given below
conv(int t)
{
int u;
u=5/9 * (t-32);
return(u0;
}
What
a.15
b.0
c.16.1
d.29
10.which of the following represents true statement
either x is inthe range of 10 and 50 or y is zero
a.x>=10 && x<=50 || y==0;
b.
c.
d.
11.Which of the following is not an infinite loop ?
a.while(1){
….
}
b.for(;;){

}
c.x=0;
do{
/*x unaltered within theloop*/

}while(x==0);
d.# define TRUE 0

while(TRUE){
….
}
12.what does the following function print?
func(int i)
{
if(i%2)return 0;
eale return 1;
}
main()
{
int =3;
i=func(i);
i=func(i);
printf(“%d”,i);}
a.3
b.1
c.0
d.2
13.how does the C compiler interpret the following two statements
p=p+x;
q=q+y;
a.p=p+x;
q=q+y
b.p=p+xq=q+y
c.p=p+xq;
q=q+y
d.p=p+x/q=q+y

For questions 14,15,16,17 use the following alternatives

a.int
b.char
c.string
d.float
14.’9′
15.”1 e 02″
16.10e05
17. 15

18.read the folllowing code
# define MAX 100
# define MIN 100
….
….
if(x>MAX)
x=1;
else if(x<MIN)
x=-1;
x=50;
if the initial value of x=200,what is the vlaue after executing this code?
a.200
b.1
c.-1
d.50
19.a memory of 20 bytes is allocated to a string declared as char *s
then the following two statements are executed:
s=”Etrance”
l=strlen(s);
what is the value of l ?
a.20
b.8
c.9
d.21
20.given the piece of code
int a[50];
int *pa;
pa=a;
to access the 6th element of the array which of the following is incorrect?
a.*(a+5)
b.a[5]
c.pa[5]
d.*(*pa + 5)
21.consider the following structure:
struct num nam{
int no;
char name[25];
};
struct num nam n1[]={{12,”Fred”},{15,”Martin”},{8,”Peter”},{11,Nicholas”}};
…..
…..
printf(“%d%d”,n1[2],no,(*(n1 +  2),no) + 1);
What does the above statement print?
a.8,9
b.9,9
c.8,8
d.8,unpredictable value
22.identify the in correct expression
a.a=b=3=4;
b.a=b=c=d=0;
float a=int b=3.5;
d.int a;
float b;
a=b=3.5;
23.regarding the scope of the varibles;identify the incorrect statement:
a.automatic variables are automatically initialised to 0
b.static variables are are automatically initialised to 0
c.the address of a register variable is not accessiable
d.static variables cannot be initialised with any expression
24.cond 1?cond 2?cond 3?:exp 1:exp 2:exp 3:exp 4;
is equivalent to which of the following?
a.if cond 1
exp 1;
else if cond 2
exp 2;
else if cond 3
exp 3;
else
exp 4;
b.if cond 1
if cond 2
if cond 3
exp 1;
else
exp 2;
else
exp 3;
else
exp 4;
c.if cond 1 && cond 2 && cond 3
exp 1 |exp 2|exp 3|exp 4;
d.if cond 3
exp 1;
else if cond 2
exp 2;
else if cond 3
exp 3;
else
exp 4;
25.the operator for exponencation is
a.**
b.^
c.%
d.not available
26.which of the following is invalid
a.a+=b
b.a*=b
c.a>>=b
d.a**=b
27.what is y value of the code if input x=10
y=5;
if (x==10)
else if(x==9)
elae y=8;
a.9
b.8
c.6
d.7
28.what does the following code do?
fn(int n,int p,int r)
{
static int a=p;
switch(n){
case 4:a+=a*r;
case 3:a+=a*r;
case 2:a+=a*r;
case 1:a+=a*r;
}
}
a.computes simple interest for one year
b.computes amount on compound interest for 1 to 4 years
c.computes simple interest for four year
d.computes compound interst for 1 year
29.a=0;
while(a<5)
printf(“%d\n”,a++);
how many times does the loop occurs?
a.infinite
b.5
c.4
d.6
30.how many times does the loop iterated ?
for (i=0;i=10;i+=2)
printf(“Hi\n”);
a.10
b.2
c.5
d…..
31.what is incorrect among teh following
A recursive functiion
a.calls itself
b.is equivalent to a loop
c.has a termination cond
d.does not have a return value at all
32.which of the following go out of the loopo if expn 2 becoming false
a.while(expn 1){…if(expn 2)continue;}
b.while(!expn 1){if(expn 2)continue;…}
c.do{..if(expn 1)continue;..}while(expn 2);
d.while(!expn 2){if(expn 1)continue;..}
33.consider the following program
B
main()
OB   {unsigned int i=10;
while(i>=0){
printf(“%u”,i)
i–;
}
}
how many times the loop wxecuted
a.10
b.9
c.11
d.infinite
34.pick out the add one out
a.malloc()
b.calloc()
c.free()
d.realloc()
35.consider the following program
main()
{
int a[5]={1,3,6,7,0};
int *b;
b=&a[2];
}
the value of b[-1] is
a.1
b.3
c.-6
d.none
36.# define prod(a,b)=a*b
main()
{
int x=2;
int y=3;
printf(“%d”,prod(x+2,y-10)); }

the output of the program is
a.8
b.6
c.7
d.none
37.consider the following program sigment
int n,sum=1;
switch(n) {
case 2:sum=sum+2;
case 3:sum*=2;
break;
default:sum=0;}
if n=2, what is the value of sum
a.0
b.6
c.3
d.none
38.identify the incorrect one
1.if(c=1)
2.if(c!=3)
3.if(a<b)then
4.if(c==1)
a.1 only
b.1&3
c.3 only
d.all
39.teh format specified for hexa decimal is
a.%d
b.%o
c.%x
d.%u
40.find the output of the following program
main()
{
int x=5, *p;
p=&x;
printf(“%d”,++*p);
}
a.5
b.6
c.0
d.none
41.consider the following C code
main()
{
int i=3,x;
while(i>0)
{
x=func(i);
i–;
}
int func(int n)
{
static sum=0;
sum=sum+n;
return(sum);
}
the final value of x is
a.6
b.8
c.1
d.3
43.int *a[5] refers to
a.array of pointers
b.pointer to an array
c.pointerto a pointer
d……
46.which of the following statements is incorrect
a.typedef struct new{
int n1;
char n2;
} DATA;
b.typedef struct {
int n3;
char *n4;
}ICE;
c.typedef union {
int n5;
float n6;
} UDT;
d.#typedef union {
int n7;
float n8;
} TUDAT;

********************************************************************************
Only These Are The Questions Avilable For C Paper.

********************************************************************************
ANSWERS:
———–

1-5    D,C,D,C,C

6-10   D,C,C,A,D

11-15  D,C,A,A,A

16-20  B,C,D,C,A

21-25  C,D,B,D,A

26-30  C,B,B,A,D

31-35  B,C,C,C,B

36-40  A,B,A,B,B

41-45  A,D,D,D,A

46-50  B,C,C,A,A

This the COBOL paper.

01.consider the following piece of code

01 GROSS-PAY
05  BASIC-PAY  PIC 9(5)
05  ALLOWENCES PIC 9(3)
if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be
displayed by the statement
DISPLAY GROSS-PAY
a.1250
b.01000250
c.01250
d.1.250
02.consider two data items

77 W-A PIC  9(3)V99   VALUE  23.75
77 W-B PIC  ZZ9V99    VLAUE 123.45
after the statement
MOVE W-A  TO W-B
what will be W-B’s value?
a.123.75
b.b23.75 (where b indicates space)
c.023.75
d.invalid move
03.what is the result of the following?

DIVIDE  A INTO  B  GIVING C.

a.C=A/B
b.the reminder of B/A is stored in C
c.C=B/A
d.the reminder of A/B is stored in C
04.consider the statement (incomplete)
IF(A NUMERIC)
DISPLAY A
the variable A can be
a.NUMERIC
b.ALPHABETIC
c.ALPHANUMERIC
d.NUMERIC OR ALPHANUMERIC
05.which of the following can be used as a check protection symbol
a.Z
b.S
c.*
d.+
06.what if any ,is the syntex error in the following piece of code
01 B   PIC A(7)
02 C   PIC 9(4)
……..
IF(B NUMERIC)
ADD 10 TO C
a.the condition in the if statement is wrong
b.noting is wrong
c.because C is initialised.ADD 10 TO C is wrong
d.both B and C shoud have same size.
07.study the following code
01 A1
05 B    PIC 99
05 C    PIC X(4)
01 A2
05 B    PIC 99V99
05 C    PIC A(4)
pick out the valid statement from the following
a.A1 and A2 can not have sub-ordinates
b.A1 and A2 can have the same sub-ordinates but must have same PIC clause
c.there is nothing wrong
d.A1 and A2 can have same sub-ordinates provided they are not at 01 level
08.study the following
01 A    PIC 99V0 VALUE 5
01 B    PIC 9V9  VALUE 6
01 C    PIC 99V9 VALUE 2.5
01 D    PIC 99   VALUE 3
COMPUTE A ROUNDED B C = A+B*C/D
ON SIZE ERROR PERFORM PRINT-ERROR
the comments of A.B.C after execution of the above statement are
a.A=10  B=0   C=10
b.A=10  B=9.9 C=9.9
c.A=10  B=0   C=9.9
d.A=10  B=6   C=10
09.how many times PARA-A is performed :
PERFORM PARA-A VARYING TIMES-COUNTER FROM 1 BY 1
UNTIL TIMES-COUNTER >0
PARA-A
MOVE P TO Q
MOVE H TO TIMES COUNTER
a.10
b.1
c.11
d.0
10.consider the following piece of code
01 GROUP-ITEM
05  AMOUNT-1   PIC 99V9     USAGE COMP VALUE 50
05  AMOUNT-2   PIC 9(4)V99  USAGE COMP
MOVE ZERO TO GROUP-ITEM
ADD 50 TO AMOUNT-1
what will be the content of AMOUNT-1?
a.50
b.100
c.0
d.unpredictable
11.consider the following progrm statements
MOVE 0 TO SW.NO.OF.REC
PERFORM PRI-OUT UNTIL SW=1
DISPALY NO.OF.REC
STOP RUN
PRE-OUT
READ IN-FILE AT END
MOVE 1 TO SW
WRITE OUO-REC FROM IN-REC
ADD 1 TO NO.OF REC
if the IN-FILE contains 1000 records what value will be displayedafter the
PERFORM is over?assume that N0.OF.REC has PIC 9(4)
a.1000
b.1001
c.1
d.none of the above since there is a syntex error
12.study the data discriptions and answer the questions given below
i)01 ORDER RECORD
05 OUT-HEADER  PIC  X(50)
05 ITEM-COUNT  PIC  99
05 OUT-ITEM    PIC  X(20) OCCURS 1 TO 20 DEPENDING ON ITEM-COUNT
ii)01 NAME-AND-ADDRESS
05  N-AND-A-LINE OCCURES 5
05  LINE-LENGTH  PIC P9
05  N-AND-A-CHAR PIC X OCCURS 1 TO 20 DEPENDING ON LINE-LENGTH
iii)01 SALES-LIST
05 SALESMAN-COUNT  PIC  99
05 SALES           PIC  9(6) OCCURS 1 TO 100 DEPENDING ON
SALESMAN-COUNT
iv)01 ORDER-RECORD
05  NO-OF-BRANDS   PIC  99
05  BRAND-PURCHASED OCCURS 1 TO 15 DEPENDING ON NO-OF-BRANDS
which of the following is true?
a.i) and iii) are valid
b.i) and iv) are valid
c.i) and iii) are not valid
d.all are valid
13.C1 C2 C3 are three conditions whose TRUTH values are as folloes.
C1-TRUE    C2-FALSE   C3-TRUE
A,B,C are defined as given below
A:C1 AND(NOT C2) OR C3
B.(NOT C1) OR (NOT C2 AND NOT C3)
C.(C1 OR C2)AND C3
D.C1 AND C2 OR C3
given the above information which of the following statements are valid?
a.only A,B and C are TRUE
b.only A,C and D are TRUE
c.A,B,C and D are TRUE
d.only C and D are TRUE
14.consider the following
FD FILE-1
01 REC-1    PIC X(80)
……
WORKING-STORAGE SECTION
01 W-REC    PIC X(90)
……..
PROCEDURE DIVISION
FIRST-PARA
…….
READ FILE-1 INTO W-REC AT END MOVE 1 TO EOF-FLAG
which of the following is true with respect to the above?
a.REC-1 will contain nothing and W-REC will contain the contains of the
record read
b.REC-1 and W-REC contain the same data
c.syntex is invalid and error will occur
d.REC-1 and W-REC must be of same size
15.PERFORM ACCUMULATE-TOTALS
VARYING A FROM 1 BY 2 UNTIL A >2
AFTER B FROM1 BY 1 UNTIL B>2
AFTER C FROM 2 BY -1 UNTIL C<2
the paragraph ACCUMULATE-TOTALS would be exicuted
a.18 times
b.4 times
c.8 times
d.24 times
16.there is a file whose ORGANISATION is INDEXED.you want to read the records
from the file in RANDOM fashion as well as sequentially.then which of the
access mode would you specify?
a.SEQUENTIAL
b.RANDOM
c.DYNAMIC
D.ACCESS MODE has nothing to do with it
17.consider the following PROCEDURE DIVISION entry
OPEN EXTEND IN-FILE
identify the correct statement
a.organization of IN-FILE is sequential and records can be added in the
beginning
b.organization of IN-FILE is sequential and records can be added in the
end
c.organization of IN-FILE is indexed and records can be added in the
beginning
d.organization of IN-FILE is indexed and records can be added in the end
18.what is the size of W-REC in the following
01 W-REC
05 A       PIC 9(4)V99
05 B READLINES A
10 C PIC XX
10 D PIC S9(4)
05 E OCCURS  7   PIC ZZ.ZZ
05 F OCCURS  5
10 G PIC ZZ.ZZZ99
10 H OCCURS 3
15 J  PIC  9(3)
15 K  PIC  V99
a.177
b.161
c.180
d.none of yhe above
19.consider the following two IF statements:
IF X AND NOT Y MOVE A TO B
IF Z=1 OR 9 MOVE A TO B
select one of the following data divusion entries which gives identical
results for both the above IF statements
a.01  Z   PIC 9
88 X VALUE 1.9
88 Y VALUE 0.2 THRU 8
b.01  Z   PIC 9
88 X VALUE 0.2 THRU 8
Y VALUE 1.9
c.01  Z   PIC 9
88 X VALUE 1.9
88 NOT-Y VALUE 0.2 THRU 1.9
d.none of yhe above
20.consider the following two statements
MOVE 10 TO N
PERFORM PARA-X N TIMES
STOP RUN
PARA-X
MOVE 5 TO N
how many times PARA-X willbe exicuted?
a.10
b.5
c.infinate
d.execution error
21.given the following:
77 A    PIC    9V9    VALUE 9.5
77 B    PIC    9    VALUE 9.
77 C     PIC    V9    VALUE 0.8
77 D    PIC    9
77 E    PIC    9
77 F    PIC    9V999
what are the contenta of D E nad F after teh following statements are
executed:
COMPUTE F ROUNDED=A+C/B
MULTIPLY A BY C GIVING E
ADD B C A GIVING D ROUNDED
a.F=9.589  E=8   D=1
b.F=9.589  E=8   D=9
c.F=9.589  E=7   D=9
d.F=9.589  E=7   D=1

22. Consider the follwoing IF condition:

IF A LESS 1200 IF B GREATER 25 MOVE 47 TOC
ELSE MOVE 57 TO C
IF A GREATER 249 MOVE 67 TO C
ELSE NEXT SENTENCE ELSE IF B LESS 67
MOVE 27 TO C

What will be the value of C, when A is 137 and b is 25
(a) 27
(b) 57
(c) 67
(d) none

23. Consider the following:

77 W-NUM        PIC  9     VALUE 0
——
MOVE 1 TO W-NUM
PERFORM PARA-X UNTIL W-NUM > 9.
——
PARA-X
ADD 1 TO W-NUM

How many times PARA-X is executed ?
(a) 10
(b) 9
(c) 11
(d) Infinite loop

24. Consider the following code:

77 A    PIC   99V99    VALUE 55.35
77 B    PIC   99V999    VALUE 32.754

ADD B TO A ON SIZE ERROR DISPLAY “ERROR!!!”

What will be the result ?
(a) A=88.10,  B=32.754
(b) A=87.00   B=32.754
(c) A=87.10   B=32.754
(d) ERROR!!! will be DISPLAYed on the screen.

25. Consider the following:

77     A    PIC    9(10)
77    B    PIC    9(10)
77    C    PIC    9(19)

MULTIPLY AB  BY B GIVING C

Which of the following is true ?

(a) The execution of the above may result in size error.
(b) The execution of the above will result in size error.
(c) The definition of C is invalid resulting in compilation error.
(d) No error will be thee and the program would proceed correctly.

26. A paragraph PARA-X is to be executed when none oof the data names
A, B and C have value of 1. Which of the following will achieve this ?

(a) IF A NOT = 1 OR B NOT = 1 OR C NOT = 1 PERFORM PARA-X
(B) IF NOT A= 1 AND B= 1 AND C = 1 PERFORM PARA-X
(C) IF A NOT =1 IF NOT B = 1 OR C= 1 PERFORM PARA-X
(C) IF A NOT = 1 AND B NOT = 1 AND C NOT = 1 PERFORM PARA-X

27. Study the five expressions and the class to which they belong:
S.N.   Expression                Class
1      “SPACES”                  Figurative constant
2.     “Depreciation Schedule    Non-numeric literal
3.     “12%”                     Non-numeric literal
4.     INTEREST-DUE              Non-numeric literal
5.     ZEROES                    Figurative constant
Which of the following statement is true?
(a) 1 and 3 are incorrect
(b) 1 and 4 are incorrect
(c) 3 and 4 are incorrect
(d) All are correct

28. Identify the invalid dataname from the following:
(a) SAVINGS-ACCOUNT
(b) ANNUAL-ALLOCATION-FOR-OVERHEAD
(c) SAMOUNT250
(d) 12DEMAND

29. Study the DATA DIVISION entries and the three PROCEDURE DIVISION entries
given below:
01 END-OF-FILE-SWITCH  PIC XXX.
88 NO-MORE-RECS     VALUE “YES”.
88 MORE-RECS        VALUE “NO”.
(i)   READ SAMPLE-FILE AT END MOVE “YES” TO NO-MORE-RECS.
(ii)  IF NO-MORE-RECS = “YES” GO TO LAST-PARA.
(iii) IF NO-MORE-RECS GO TO LAST-PARA.
Which are wrong?
(a) (i) and (ii)
(b) (ii) and (iii)
(c) (i) and (iii)
(d) all

30. The following entries appear in the WORKING-STORAGE SECTION:
01 DATE-TODAY.
05 YY  PIC XX VALUE “90″.
05 MM  PIC XX VALUE “12″.
05 DD  PIC XX VALUE :31″.
01 DATE-EDIT  PIC XX/XX/XX.
MOVE DATE-TODAY TO DATE-EDIT.
(a) 901231
(b) 90/12/31
(c) 31/12/90
(d) 311290

31. How many bytes will be allocated for the following record description
entries?
01 REC-A.
05 A PIC S9(4).
05 B PIC XXXBXXX.
05 C PIC ____9.99.
05 D PIC S9(5) COMP-3.
05 E PIC 9(3) COMP.
(a) 29
(b) 26
(c) 25
(d) 28

32. What is wrong with the following data declaration?
01 W-DATE   PIC X(6).
05 DD PIC 99.
05 MM PIC 99.
05 YY PIC 99.
(a) Nothing is wrong.
(b) Under W-DATE all level 05 items are having a PIC 99 but level
01 has PIC X(6).
(c) PIC can’t be specified for a group item.
(d) DD, MM, and YY are invalid datanames.

33. What is the output generated by the following code?
01 GRP-I.
05 SUBFLD1 PIC XX VALUE “AB”.
05 FILTER PIC X(6) VALUE SPACES.
01 GRP-2 REDEFINED GRP-1.
05 SUB-FLD2 PIC XX.
05 SUB-FLD3 PIC XX.
05 FILTER PIC X(4).
IF SUB-FLD1 NOT = SPACES
DISPLAY “SUBFLD1″
MOVE “ABBCCD” TO GRP-1
IF SUB-FLD3 = SPACES
DISPLAY “SPACES”
ELSE
DISPLAY “SUBFLD3″
DISPLAY “END”
ELSE
DISPLAY “SPACES”
DISPLAY “END”.
(a) SUBFLD1
SUBFLD3
END
(b) SPACES
END
(c) SUBFLD1
END
(d) SUBFLD1
SPACES

34. 88 level entry is used for
(a) data items in WORKING-STORAGE SECTION
(b) items with RENAMES clause
(c) condition-names
(d) None of the above

35. ZEROES and SPACES are _______ constants
(a) Figurative
(b) Numeric
(c) Non-numeric
(d) Alphabete

36. COMPUTE X = A * B – C * D  and
COMPUTE X = (A * B) – (C * D)
(a) Are not the same
(b) Are same
(c) Syntactically wrong
(d) Will yield a run time error

37. OCCURS clause is used in the DATA DIVISION  on data names at
(a) 01 level
(b) 77 level
(c) 88 level
(d) any level from 02 to 49

38. Consider the following COBOL entries:
05 X PIC 99 VALUE 10.
SUBTRACT 20 FROM X.
The resultant value of X wil be
(a) 10
(b) 00
(c) compile-time error
(d) none of these

39. Consider the following COBOL entries
05 X PIC 99 VALUE 10.
ADD 40 X TO X.
COMPUTE X = 3 * X – 40.
The result in X is
(a) 10
(b) 40
(c) Compile or Run time error
(d) none of these

40. given the following piece of code:
CALL SUB-PGM USING A, B, C.
CALL SUB-PGM USING A, C, C.
(a) Both CALL statements will always produce same result.
(d) Both CALL statements may produce different result.
(c) Compile-time error because SUB-PGM is a dataname.
(d) Compile-time error because A, B, C are used twice.

41. The hierarchy of the execution of logical operators is
(a) NOT AND OR
(b) AND OR NOT
(c) OR AND NOT
(d) OR NOT AND

42. The order of precedence of arithmetic operators in an expression can be
overridden with the use of
(a) []
(b) ()
(c) {}
(d) Any of the above

Consider the following passage for answering questions 43 to 47.

A program is written to accept an answer to the query “enough fo the Day?”
If the respons is “N” then the program accepts quantity purchased and rate
of the item and displays the amount to be collected. Then the above query
is again displayed and the loop continues.  At the end of the day, when
the response to the above query is “Y”, the day collections are displayed.

The program checks that the quantity purchased is between 25 and 125 and the
rate of the item is between 10.00 and 75.00.  If any of these two conditions
are violated, the program displays an appropriate message and asks for next
input.  The amounts are displayed with proper editing.  The program is written
assuming that there can be  a maximum of 1000 transactions a day.

43. How many variables would you declare for the above problem?
(a) 3
(b) 4
(c) 5
(d) 7

44. What should be the PICTURE clause of the variable used to calculate
end of the day collections?
(a) 9(9)v99
(b) 9(8)v99
(c) 995)v99
(d) Information given is insufficient to arrive at the answer

45. What should be the PICTURE clause of the variable used to calculate
to be collected.
(a) 9(9)v99
(b) 9(8)v99
(c) 9(5)v99
(d) Information given is insufficient to arrive at the answer

46. Assuming that the above program is being executed in a Department
Stores in MADRAS  which of the following PICTURE clause will be
suitable for DISPLAYing the end of the day collections?
(a) Z(5)V99
(b) Z(5).99
(c) ZZ,ZZ,ZZ,ZZ9.99
(d) Information given is insufficient to arrive at the answer

47. How many _____ statements do you think will be there in the program?
(a) 3
(b) 4
(c) 5
(d) Information given is insufficient to arrive at the answer

48. Which of the following paragraphs is compulsory in every COBOL program?
(a) SPECIAL-NAMES
(b) PROGRAM-ID
(c) FILE-CONTROL
(d) OBJECT-COMPUTER

49. Which of the following files can be OPENed in all the 4 modes?  The four
modes are INPUT, I-O, OUTPUT and EXTEND.
(a) INDEXED
(b) RELATIVE
(c) SEQUENTIAL
(d) All of the above

50. Which of the following EDITind and PICTURE  symbols is to be used if a
minus(-) is to appear before the value if the value is -ve and a plus(+)
is to appear before the value if the value is +ve?
(a) +
(b) -
(c) + OR
(d) It is not possible

solutions

b,b,c,c,c,a,d,a,b,a,c,c,b,b,b,c,b,d,a,a,c,b,d,a,d,d,b,c,d,b,a,c,a,c,a,b,d,
a,c,b,a,b,b,b,c,c,a,b,c,a

tcs

Filed under: plcement paper — colwmk @ 12:53 pm

Tata Consultancy Services (TCS)

Psychometry

Direction:
In this section you will find different questions with the same meaning. In all such questions your answer has to be same. for e.g.:
In being thrown by chance with a stranger, you wait for the person to introduce himself or herself.
(a) Yes                            (b) No                            (c) ?

It is difficult for you to chat about things in general with people.
(a) Yes                            (b) No                            (c) ?

These two questions have similar meanings. If you answer the first one ‘NO’ and the second one ‘YES’, i.e. if you differ in your answers to similar questions you lose marks for every question with the above meaning.


The choices to these questions are:
(a) Yes.
(b) No.
(c) ?

1.   You start to work on a project with great deal of enthusiasm.
2.   You would rather plan an activity than take part in it.
3.   You have more than once taken lead in organizing project or a group of some kind.
4.   You like to entertain guests.
5.   Your interests change quickly from one thing to another.
6.   When you eat a meal with others, you are usually one of the last to finish.
7.   You believe in the idea that we should ” eat, drink and be merry, for tomorrow we die.”
8.   When you find that something you have bought is defective, you hesitate to demand an exchange or a
refund.
9.   You find it easy to find new acquaintances.
10. You are sometimes bubbling over with energy and sometimes very sluggish.
11. You are happiest when you get involved in some projects that calls for rapid action.
12. Other people think of you as being very serious minded.
13. In being thrown by chance with a stranger, you wait for the person to introduce himself or herself.
14. You like to take part in many social activities.
15. You sometimes feel “just miserable” for no good reason at all.
16. You are often so much ” on the go” that sooner or later you may wear yourself out.
17. You like parties you attend to be lively.
18. If you hold an opinion that is radically different that expressed by a lecturer, you are likely to tell the
person about it either during or after the lecture.
19. It is difficult for you to chat about things in general with people.
20. You give little thought to your failures after they are passed.
21. You often wonder where others get all the excess energy they seem to have.
22. You are inclined to stop to think things over before you act.
23. You avoid arguing over a price with a clerk or sales person.
24. You would dislike very much to work alone in some alone place.
25. You often find it difficult to go to sleep at night because you keep thinking of what happened during the
day.
26. You find yourself hurrying to get to places even when there is plenty of time.
27. You like work that requires considerable attention to details.
28. You are satisfied to let some one else take the lead in group activities.
29. You enjoy getting acquainted with people.
30. It takes a lot to get you emotionally stirred up or excited.
31. You work more slowly and deliberately than most people of your sex and age.
32. You are a carefree individual.
33. When people do not play fair you hesitate to say anything about it to them.
34. It bothers you to have people watch you at your work.
35. You have usually been optimistic about your future.
36. You like to have plenty of time to stop and rest.
37. You take life very seriously.
38. You enjoy applying for a job in person.
39. You would like to be a host or hostess for parties at club.
40. You often feel uncomfortable or uneasy.
41. You are the kind of person who is “on the go” all the time.
42. You often crave excitement.
43. The thought of making a speech frightens you.
44. You find it easy to start conversation with strangers.
45. You often feel guilty without a very good reason for it.
46. People think you are a very energetic person.
47. You sometimes make quick decisions that you later wish you hadn’t made.
48. You find it difficult to ask people for money or other donations, even for a cause in which you are
interested.
49. You are so naturally friendly that people immediately feel at ease with you.
50. You daydream a great deal.
51. You are quick in your actions.
52. You have a habit of starting things and then losing interest in them.
53. When you were a child many of your playmates naturally expected you to be the leader.
54. You sometimes avoid social contacts for fear of doing or saying the wrong thing.
55. You have frequent ups and downs in mood, sometimes with and sometimes without apparent cause.
56. You always seem to have plenty of vigour and vitality.
57. It is difficult for you to understand people who get very concerned about things.
58. When a clerk in a store waits on others who come after you, you call his or her attention to the fact.
59. You would be very unhappy if you were prevented from making numerous social contacts.
60. There are times when your future looks very dark.
61. You sometimes wish that people would slow down a bit and give you a chance to catch up.
62. Many of your friends think you take your work too seriously.
63. You hesitate to walk into a meeting when you know that everyone’s eye will be upon you.
64. You limit your friendships mostly to members of your own sex.
65. You almost always feel well and strong.
66. You seem to lack the drive necessary to get as much as other people do.
67. You make decisions on the spur of the moment.
68. You are rather good at bluffing when you find yourself in difficulty.
69. After being introduced to someone , you just cannot think of things to say to make good conversation.
70. You feel lonesome even when with other people.
71. You are able to work for unusually long hours without feeling tired.
72. You often act on the first thought that comes into your head.
73. At the scene of an accident, you take an active part in helping out.
74. You have difficulty in making new friends.
75. Your mood often changes from happiness to sadness or vice versa without knowing why.
76. You talk more slowly than most people.
77. You like to play practical jokes upon others.
78. You take the lead in putting life into a dull party.
79. You would like to belong to as many clubs and social organizations as possible.
80. There are times when your mind seems to work very slowly and other times when it works very rapidly.
81. You like to do things slowly and deliberately.
82. You are a happy-go-lucky individual.
83. When you are served stale or inferior food in a restaurant, you say nothing about it.
84. You would rather apply for a job by writing a letter than by going through with a personal interview.
85. You are often in low spirits.
86. You are inclined to rush from one activity to another without pausing enough for rest.
87. You are so concerned about the future that you do not get as much fun out of the present as you might.
88. When you are attracted to a person whom you have not met earlier you make an active attempt to get
acquainted even though it may be quite difficult.
89. You are inclined to limit your acquaintances to select few
90. you seldom give your past mistakes a second thought.
91. You are less energetic than many people you know.
92. You often stop to analyzed your thoughts and feelings.
93. You speak out in meetings to oppose those whom you feel sure are wrong.
94. You are so shy it bothers you.
95. You are sometimes bothered by having a useless thought come into your mind over and over.
96. You get things in hurry.
97. It is difficult for you to understand how some people can be so unconcerned about the future.
98. You lie to sell things (i.e. to act as a sales person)
99. You are often “Life of the Party”.
100. You find daydreaming very enjoyable.
101. At work or at play other people find it hard to keep up with the pace you set.
102. You can listen to a lecture without feeling restless.
103. You would rather work for a good boss than for yourself.
104. You can express yourself more easily in speech than in writing.
105. You keep in fairly uniform spirits.
106. You dislike to be hurried in your work.
107. You sometimes find yourself “crossing bridges before you come to them”.
108. You find it somewhat difficult to say “no” to a sales person who tries to sell you something you do not
really want.
109. There are only a few friends with whom you can relax and have a good time.
110. You usually keep cheerful in spite of trouble.
111. People sometimes tell you to “slow down” or “take it easy”.
112. You are one of those who drink or smoke more than they know they should.
113. When you think you recognize people you see in a public place, you ask them whether you have met
them before.
114. You prefer to work alone.
115. Disappointment affect you so little that you seldom think about them twice.
116. You are slow and deliberate in movements.
117. You like wild enthusiasm, sometimes to a point bordering on rowdyism at a football or baseball game.
118. You feel self conscious in the presence of important people.
119. People think of you as being a very social type of person.
120. You have often lost sleep over your worries.
121. You can turn out a large amount of work in a short time.
122. You keep at a task until it is done, even after nearly everyone else has given up.
123. You can think of a good excuse when you need one.
124. Other people say that it is difficult to get to know you well.
125. You daydreams are often about things that can never come true.
126. You often run upstairs taking two steps at a time.
127. You seldom let your responsibility interfere with your having a good time.
128. You like to take on important responsibilities such as organizing a new business.
129. You have hesitated to make or to accept “dates” because of shyness.
130. Your mood is very easily influenced by people around you.
131. Others are often amazed by the amount of work you turn out.
132. You generally feel as though you haven’t a care in the world.
133. You find it difficult to get rid of sales person whom you do not care to listen or give your time.
134. You are a listener rather than a talker in a social conversation.
135. You almost always feel that life is very much worth living.
136. It irritates you to have to wait at a crossing for a long freight train to pass.
137. You usually say what you feel like saying at the moment.
138. You like to speak in public.
139. You like to be with people.
140. You generally keep cool and think clearly in exciting situations.
141. Other people regard you as a lively individual.
142. When you get angry, if you let yourself go, you feel better.
143. You seek to avoid all trouble with other people.
144. People seem to enjoy being with you.
145. You sometimes feel listless and tired for no good reason.
146. It is hard to understand why many people are so slow and get so little done.
147. You are fond of betting on horse races and games, whether you can afford it or not.
148. If someone you know has been spreading untrue and bad stories about you, you see the person as
soon as possible and have a talk about it.
149. Shyness keep you from being as popular as you should be.
150. You are generally free from worry about possible misfortunes.

tcs

Filed under: plcement paper — colwmk @ 12:53 pm

Tata Consultancy Services (TCS)

Verbal           

ACUMEN
a. exactness
b. potential
c. shrewdness
d. bluntness
e. None of theseBEHEST
a. behavior
b. hold down
c. hold up
d. relieve
e. condemn

DISCRETION
a. prudence
b. consistency
c. precipice
d. disturbance
e. distemper

ORDAIN
a. arrange
b. command
c. contribute
d. establish
e. control

FLORID
a. ornate
b. thriving
c. artistic
d. elegant
e. None of these

PENITENCE
a. liking
b. insightful
c. attractive
d. penetrable
e. compunction

WHET
a. stimulate
b. humorous
c. inculate
d. dampen
e. None of these

INCENTIVE
a. reflex
b. amplitude
c. inflection
d. provocation
e. escutcheon

LATITUDE
a. scope
b. segment
c. globule
d. legislature
e. lamentation

MORTIFY
a. make a cavity
b. displease
c. humiliate
d. relapse
e. murder

ADAGE
a. advice
b. proverb
c. enlargement
d. advantage
e. usage

TO DISPEL
a. to dissipate
b. to dissent
c. to distort
d. to disfigure
e. to dissectERRATIC
a. unromantic
b. free
c. popular
d. steady
e. unknown

TO MERIT
a. to embrace
b. to devote
c. to deserve
d. to combine
e. to display

RAPT
a. lively
b. concealed
c. engrossed
d. prototype
e. None of these

TO HEAP
a. to pile
b. to forbid
c. to proceed
d. to share
e. to stoop

CAJOLE
a. coax
b. motivate
c. profound
d. mollify
e. evade

OVULATE
a. penury
b. immunize
c. fertilize
d. reproduce
e. incisions

ABODE
a. clay
b. obstacle
c. dwelling
d. bind
e. to beguile

POTENTIAL
a. latent
b. hysterical
c. conventional
d. symmetrical
e. conscientious

EXTRICATE
a. terminate
b. isolate
c. liberate
d. simplify
e. frustrate

DISPARITY
a. inequality
b. impartiality
c. unfairness
d. twist
e. None of these

TO CONFISCATE
a. to harass
b. to repulse
c. to console
d. to appropriate
e. to congregatePIOUS
a. historic
b. devout
c. multiple
d. fortunate
e. authoritative

LETHARGY
a. reminiscence
b. category
c. fallacy
d. unanimity
e. stupor

CARGO
a. cabbage
b. camel
c. lance
d. freight
e. flax

OVATION
a. oration
b. gesture
c. emulation
d. applause
e. nourish

Aptitude

1. A family, planning a weekend trip, decides to spend not more than a total of 8 hours driving. By leaving early in the morning, they can average 40 miles per hour on the way to their destination. Due to the heavy Sunday traffic, they can average only 30 miles per hour on the return trip. What is the farthest distance from home they can plan to go?
(a) 120 miles or less                               (b) Between 120and 140 miles                   (c) 140 miles
(d) Between 140 and 160 miles              (e) 160 miles or more

2. A car is filled with four and half gallons of fuel for a round trip. If the amount of fuel taken while going is 1/4 more than the amount taken for coming, what is the amount of fuel consumed while coming back?
(a) Less than 2 gallons                            (b) 2 gallons                                               (c) 2 1/2 gallons
(d) 3 gallons                                           (e) More than 3 gallons

3. A 3-gallon mixture contains one part S and two parts R. In order to change it to a mixture containing 25% S, how much R should be added?
(a) 1/2 gallon               (b) 2/3 gallon               (c) 3/4 gallon               (d) 1 gallon               (e) 1 1/2 gallon

4. A tree grows only 3/5 as fast as the one beside it. In four years the combined growth of the two trees is eight feet.
How much does the shorter tree grow in two years?
(a) Less than 2 feet                                         (b) 2 feet                                                       (c) 2 1/2 feet
(d) 3 feet                                                        (e) more than 3 feet.

5. Wind flows at 160 miles in 330 minutes, for traveling 80 miles how much time does it require?
(a) 1 hour 30 minutes                                      (b) 1 hour 45 minutes                                     (c) 2 hours
(d) 2 hours 45 minutes                                    (e) 3 hours

6. A stationary engine has enough fuel to run 12 hours when its tank is 4/5 full. How long will it run when the tank is 1/3 full?
(a) Less than 2 hours                                       (b) 2 hours                                                     (c) 3 hours
(d) 4 hours                                                      (e) 5 hours

7. If A is traveling at 72 km per hour on a highway. B is traveling at a speed of 25 meters per second on a highway. What is the difference in their speeds in meters per second?
(a) 1/2 m/sec                                                   (b) 1 m/sec                                                     (c) 1 1/2 m/sec
(d) 2 m/sec                                                      (e) 3 m/sec

8. A salesperson by mistake multiplied a number and got the answer as 3, instead of dividing the number by 3. What is the answer he should have actually got?
(a) 0                              (b) 1/3                         (c) 1                                   (d) 2                            (e) 3

9. If the length of a rectangle is increased by 30% and the width is decreased by 20%, then the area is increased by…
(a) 10%                        (b) 5%                          (c) 4%                                (d) 20%                        (e) 25%

10. In the class of 40 students, 30 speak Hindi and 20 speak English. What is the lowest possible number of students who speak both the languages?
(a) 5                               (b) 20                       (c) 15                               (d) 10                      (e) 30

11. The most economical prices among the following prices is:
(a) 10 kilo for Rs.160                                     (b) 2 kilo for Rs.30                                   (c) 4 kilo for Rs.70
(d) 20 kilo for Rs.340                                     (e) 8 kilo for Rs.130

12. A truck contains 150 small packages, some weighing 1 kg each and some weighing 2 kg each. how many packages weighing 2 kg each are in the truck if the total weight of all the packages is 264 kg?
(a) 36                           (b) 52                         (c) 88                               (d) 124                       (e) 114

13. A man was arrested for exceeding the speed limit by 10 miles an hour. A second man was charged with exceeding the same limit by twice as much. The second man was driving 35 miles per hour. What was the speed limit?
(a) 10 miles per hour                                       (b) 15 miles per hour                               (c) 20 miles per hour
(d) 25 miles per hour                                       (e) 30 miles per hour

14. One year ago Pandit was three times his sister’s age. Next year he will be only twice her age. How old will Pandit be after five years?
(a) 8                               (b) 12                       (c) 11                           (d) 13                     (e) 15

15. If two pencils cost 8 cents, then how much do 5 pencils cost?
(a) 18 cents                   (b) 20 cents               (c) 22 cents                  (d) 23 cents            (e) 24 cents

 

Passage

All the questions are of multiple choice type. You have to answer the questions based on the preceding paragraph. All the questions have the same answer choice. The choices are as given below:
(a) True.
(b) False.
(c) Cannot Say.

Consider the following paragraph:
Researchers in Mumbai have found that certain types of gallstones can be dissolved by injecting them with a gasoline additive in the form of ether. The ether is injected through a tube directly into the gall bladder. The one-day treatment works only on cholesterol-based stones, not those composed largely of calcium. However, as the cholesterol stones are by far the most common type, for millions of gallstone sufferers the treatment should offer a welcome alternative to surgery, the commonest option in most hospitals.

# “It takes more than one day for ether to dissolve a calcium-based gallstone”.

# “Gallstones can only be dissolved by injections”.

# “Gallstones can quickly be cured with surgery”.

# “Ether is largely used for dissolving gallstones”.

# “Calcium stones can be cured in one day”.

# “Hundreds of people contains calcium stones”.

Consider the following paragraph:
My father had no brothers, but his three sisters are all married and each has two children. My grandfather has two sons.

# “My father was the only child”.

# “I have only one uncle”.

# “One of my aunts is a spinster”.

# “I have six cousins on my father’s side”.

# “My grandfather was the only son”.

Consider the following paragraph:
In the Totalitarian days, the words have very much devalued. In the present day, they are becoming domestic, that is, the words will be much more devalued. In that days, the words will be very much effected in political area. But at present, the words came very cheap. We can say they come free at cost.

# “In Totalitarian society, words are devalued”.

# “Totalitarians will have to come much about words”.

# “In the Totalitarian society the words are used for the political speeches”.

Consider the following paragraph:
In past helicopters were forced to ground or crash because of the formation of the ice on the rotors and engines. A new electronic device has been developed which can detect the water content in the atmosphere and warns the pilot, if the temperature is below freezing temperature; about the formation of ice on the rotors and wings.

# “The electronic device can avoid the formation of ice on the wings”.

# “There will be malfunction of rotor and engine because of formation of ice”.

# “The helicopters were to be crashed or grounded”.

# “There is only one device that warns about the formation of ice”.

Consider the following paragraph:
Human existence is not susceptible of arbitrary division between consciousness and unconsciousness. The conscious world invaders and shapes the activities of the unconscious, while many of the great achievements of humanity’s waking hours where wholly or partly inspired by dreams. Even if it could argued that dreams precede experience such a dichotomy could not be drawn, as the influence of the dreaming on the waking state would remain unclear, but as yet no common vocabulary exists to record the substance of prenatal dreaming.

# “Sleep can be a creative state”.

Consider the following paragraph:
FLORA 3-piece sofa-set is at the top of our upholstery range. This high-backed quality sofa-set boasts an impressive specification which starts with a hardwood frame in teak and a padded front edge ensuring really deep, long-lasting comfort. Seat cushions are of high resilience foam and back cushions of softest hollow fill. The whole set is carefully upholstered throughout in a choice of superb fabrics ranging from cotton print to velvet.

# “The padding is there to ensure that the furniture will last for a long time”.

# “The firm sells other upholstery furniture”.

Consider the following paragraph:
Hacking is a crime made possible by a relatively new technology, which is one of the reasons it is often poorly understood and reported. Many computers, but by no means all, are now linked together in networks which allow users on one computer to communicate with others on the same network. If a computer is not networked, no manipulation of its data from another machine possible. So long as users are authorized, networking is just a way of making work easier more productive. Hacking, on the other hand is the unauthorized use of networks or unauthorized entry into the computers themselves. Most people do not break into the networks they use, since they are already accredited users.

# “Hackers do not work for the firms whose networks they break into”.

# “Hacking is the only vulnerability of the computers for the usage  of the data”.

# “Hacking is done mostly due to the lack of computer knowledge”.

Consider the following paragraph:
Polycythemia often occurs in people who have chronic lung disease, but can appear spontaneously in healthy individuals. Excessive numbers of red blood cells manufactured by the body and the individual then develops a very healthy-looking, ruddy complexion. The blood becomes thicker and is liable to clot and block major blood vessels. High blood pressure is another frequent complication. Treatment involves venesection, in which a liter or so of blood is removed from the body. Medication may also be given to reduce the numbers of red blood cells manufactured in the body.

# “Lung disease frequently precedes polycythemia”.

Consider the following paragraph:
Bindweed is only effectively controlled by applying a solution of brushwood-killer to the growing tips. It is necessary to unwind a suitable length from the host plant before treatment, but this is not so very difficult, and it does not seem essential to find and treat every leader on the same weed. The solution should be made up in a can which is carried in one hand, while the other, in a rubber glove, inserts the leaders in the can. If the the leaders can be laid out on the the ground , they can easily be wetted with a small brush. As long as the weather is calm, there is no real risk of damage to adjacent plants, and in two or three weeks the weeds should have disappeared.

# “Brushwood-killer can pose a threat to other plants in the garden”.

Consider the following paragraph:
Senior managers in a leading company said that new Japanese investment in India was transforming the car industry, and warned that jobs were under threat from Japanese competition. They stated that increasing competition would be coupled with an inevitable downturn in the car market and the recent rise interest rates which has already hit demand.

# “The managers issued their warning after a rise in the interest rates”.

# “According to the senior managers, the Japanese investment in India will lead to a glut in the car market”.

# “Some senior managers said that more people will want to by new cars in the future”.

# “The perception of the senior managers is the new Japanese investment in India is leading to more automation of the car industry”.

# “The increased rate of interest will mean that Japanese firms will cease to operate in this country”.

# “The increase in loan interest will adversely affect car sales”.

# “Japanese workers are taking over the jobs of Indian industry”.

# “Managers said that  interests in car will go down after seeing the raise in interest rates”.

# “People are very interested to buy the cars”.

Consider the following paragraph:
The new Starfire has an advanced four-cylinder engine with catalytic converter and uses only unleaded petrol. Versatility is a major feature of the range and the 1500 and 1800 models have the same high level of specification inside and out. The only obvious visual difference, internally and externally, is the use of alloy wheels on the 1800 version, together with a discreet change in badging. The StarFire 2000 is distinguished by its tailgate spoiler and the rectangular fog and driving lamps integrated into the front bumper which are also included in the specification.

# “Internally, the Starfire 2000 looks like the 1500 model”.

Consider the following paragraph:
Pierre Claude Jean Allouez explored lake superior from 1665 to 1667. At his little mission station near the western end of the lake, he heard from the Indians of a great river to the west. Pierre Jacques Marquette determined to investigate. In 1673, accompanied by Louis Jolliet and five others, he left St. Ignace mission and ascended the fox river, which flows into green bay crossed over to Wisconsin river and followed it to the upper Mississippi. The party then descended the Mississippi to the mouth of Arkansas. These Frenchmen were not first Europeans to sight or travel the Mississippi. De Soto and Moscoso had done so a century and a half before. The report of the exploration was rushed back to Quebec, where, in 1672, Count Frontenac had arrived as Governor of the province. He and his friend, the remarkable La Salle-who earlier may have penetrated the Ohio river valley-listened with deep interest.

# “Allouez explored the western end of lake superior”.

# “Marquette and his party were not the first French men to travel the Mississippi river”.

# “La Salle listened with deep interest- the report of exploration of De Soto and Moscoso”.

# “La Salle explored the Mississippi river valley”.

Consider the following paragraph:
Dr. Goddard was the first to fire a rocket that reached a speed faster than the speed of sound. He was the first to develop a gyroscopic steering apparatus for rockets. He was the first to use vanes in the jet stream for rocket stabilization during the initial phase of a rocket flight. And he was the first to patent the idea of step rockets. After proving on paper and in actual tests that a rocket can travel in vacuum, he developed the mathematical theory of rocket propulsion and rocket flight, including basic designs for long-range rockets. All of this information was available to our military men before World War II, but evidently its immediate use didn’t seem applicable. Near the end of World War II we started intense work on rocket-powered guided missiles, using the experiments and developments of Dr. Goddard and the American Rocket Society.

# “The stabilization problem of rockets in the initial phase was solved by Dr. Goddard.”

# “Rockets can travel faster than sound, thanks to gyroscopic steering.”

# “Goddard lived before World War II”.

# “After careful mathematical calculations, Dr. Goddard proved that rockets can travel in vacuum”.

Consider the following paragraph:
In March 1513, de Leon sailed off confidently from Peuto Rico for the Bahamas. Landing briefly at San Salvador, Bahamas, he wound through unchartered islands until he sighted an extensive coastline. He had no reason to suspect that it is anything more than an island, but he followed the coast for a day without rounding its end or finding a suitable landing place. He named the “island” La Florida. This name came to be applied by the Spanish to the entire Southeastern United States and beyond. Then, near the 30th parallel, de Leon landed at the mouth of the St. Johns river. Determined to be the first to circumnavigate the “island”, he turned south, traced the coast around the tip of the peninsula, moved to the west, perhaps reaching Tampa bay. After 7 weeks, he gave up hope of circling the northern tip of this “island”; it was incredibly large and he may have suspected that he had discovered the long sought mainland. If so, it all belonged to his King, for he had earlier planted the Spanish flag and claimed Florida for Ferdinand.

# “de Leon is from Spain, ruled by Ferdinand”.

# “de Leon is very patriotic”.

# “de Leon discovered part of US during his journey”.

Consider the following paragraph:
James Madison understood that interests groups will inevitably develop within a free political system. The problem, as Madison saw it, was to prevent any single interest group from becoming so strong that it was able to dominate the political system. This could be accomplished by legislating restrictions on political behavior, but that solution meant a sacrifice of some of the freedom that Madison prized so highly. A better solution, he thought, was to extend the territorial scope of the government. This would allow for greater diversity of interests in the nation, and a greater number of groups competing for power. Each interest group would thereby find it more difficult to appeal to a majority of the people, and to dominate the political process.

# “The more interest groups there are in a political system, the less freedom there is for everyone.”

# “Legislating restrictions on political behavior is sometimes the only method of preserving political freedom.”

# “Increasing the territorial scope of a government can help to preserve freedom.”

# “According to Madison, in a free political system, interest groups are undesirable.”

Consider the following paragraph:
The regulations and expenses to invent, patent and market new ideas and products imposes a heavy burden on inventors. The cost is often absorbed by large corporations with research and development facilities they provide. Corporations also help creative people contribute to society without suffering the loss of income or security of the private inventor. The realities of this arrangement are that many good ideas are never brought into the marketplace and the cost of products on the market is high because of the development cost. However, protection provided by the patents and the safety to the public to avoid placing harmful products on the market is important to maintain. Thus, as is often the case, rules and regulations have their favorable and unfavorable consequences.

# “The regulations and expenses to invent, patent and market new ideas is an expensive proposition to the inventors”.

# “Good ideas are never brought into the marketplace because of the costs involved in inventing, patenting marketing them”.

# “Corporations steal the individual inventor of their inventions”.

Consider the following paragraph:
Being born female and black were two handicaps Gwendolyn Brooks states that she faced from her birth, in 1917, in Kansas. Brooks was determined to succeed. Despite the lack of encouragement she received from her teachers and others, she was determined to write and found the first publisher for one of her poems when she was 11. In 1945, she marketed and sold her first book; national recognition ensued. She applied for and received grants and fellowships from such organizations as the AAAL and the Guggenheim Foundation. Later she received the Pulitzer prize for poetry; she was the first black woman to receive such an honor. Brooks’ reaction to fame is atypical. She continues to work and work hard. She writes, travels, and helps many who are interested in writing. Especially important for her is increasing her knowledge of her black heritage and encouraging other people to do the same. She encourages dedication to the art to would-be writers.

# “Brooks’ story illustrates the power of strong determination”.

# “She became the author of a book in her teens”.

# “Gwendolyn received the Pulitzer prize for her first poetry”.

Consider the following paragraph:
A cave is a natural opening in the ground extending beyond the zone of light and large enough to permit the entry of man. Occurring in a wide variety of rock types and caused by widely differing geological processes, caves range in size from single small rooms to interconnecting passages many miles long. The scientific study of caves is called speleology. It is a composite science based on geology, hydrology, biology and archeology, and thus holds special interest for earth scientists. Caves have been natural attractions since prehistoric times. Prolific evidence of early man’s interest has been discovered in caves scattered throughout the world. Skeletons of some of the earliest manlike creatures (Australopithecines) have been discovered in cave deposit in South Africa, and the first evidence of primitive Neanderthal man was found in Germany. Cro-Magnon man created his remarkable murals on the walls of caves in France.

# “Primitive human form originated in Germany”.

# “Study of caves is the study of earth, water, life and early man”.

# “Cro-Magnon man was more intelligent than Neanderthal man”.

# “Caves are a natural attraction because they reveal information about the early man”.

Consider the following paragraph:
Although invaders represent the threat to the conservation of flora and fauna, there are two special cases in which invasion have been deliberately brought about. One is the desire to control pests by natural predators, which may have to be brought from other countries. The second is releasing organisms into the wild (or on to farms, from which they might escape) that are completely novel, because they have been genetically engineered. There is nothing intrinsically sinister about engineered organisms, but any novelty must be regarded as potential invader.

# “Pests are more dangerous than their natural predators”.

Consider the following paragraph:
Life in colonial times was harsh, and the refinements of the mother country were ordinarily lacking. The colonists, however, soon began to mold their English culture into the fresh environment of new land. The influence of religion permeated the entire way of life. In most Southern colonies, the Anglican church was the legally established church. In New England, the Puritans were dominant; and in Pennsylvania, the Quakers. Especially in the New England colonies, the local or village church was the hub of community life; the authorities strictly enforced the Sabbath and sometimes banished non-believers. Unfortunately, the same sort of religious intolerance, bigotry and superstition associated with the age of Reformation in Europe also prevailed in some of the colonies, though on a lesser scale. In the last half of the 17th century, during sporadic outbreak of religious fanaticism and hysteria, Connecticut authorities tried and hanged several women as “witches”. Early in the 17th century, some other witchcraft persecution occurred in Virginia. As the decades passed, however, religious tolerance developed in colonies.

# “New England was part of the Southern colonies”.

# “During the mid 17th century there was significant improvement in religious tolerance and superstition”.

# “Life in colonial times was harsh due to the strong influence of religion”.

# “The Anglican church used to govern the people in most Southern colonies”.

Consider the following paragraph:
Confucius said that to know the future we have to understand the past. in his time, transport, communications and scientific knowledge were less developed than they are today. news took weeks to travel whereas today satellite links connect the continents virtually instantaneously, but our technological advances in the field of communications seem not to improved our capacity to understand one another.

# “We understand each other better now than in Confucius’ time because we can travel more quickly”.

# “In Confucius’ day people were more intelligent”.

# “We have made great improvements in transport since Confucius’ day”.

# “Technological advances in communication and human capacity to understand one another are directly proportional”.

# “In Confucius’ day time news took months to travel”.

# “According to Confucius the past has a linkage to the future”.

# “Even with the fast developments of the technology we can’t live happily”.

Consider the following paragraph:
Every form of art is protected by copyright, upon the expiration of which the property passes to the public domain and becomes freely available to anyone wishing to exploit it commercially. the time has come when all treasures should pass to the control of a trust, and by this be made readily available to anyone on payment of a fee or royalty. The income from the works Van Gogh would alone be enormous. Those who now gain financial benefit from his genius should make some contribution to the welfare of the arts in general.

# “Instead of buying a ticket, museum goers should pay a fee to a trust for the benefit of arts”.

# “It is not desirable to pass the control of treasures to a trust”.

# “Van Gogh’s paintings are not protected by copyright”.

# “All artworks must be managed by a trust, so that the income generated can be used for the welfare of the arts”.

# “Copyright in art is valid only for a limited period of time”.

# “Van Gogh’s descendants should be asked to make some contribution to the arts”.

# “Van Gogh’s works are under this copy right rule”.

# “People are free to go to the public because of the copy right rule”. 

# “People gives to theater and collect the money for development”. 

# “We have  asked the Van Gogh descendants to help for the developments of art”. 

Consider the following paragraph:
Organizing the home can be perceived as conferring power, so large numbers of women are unwilling to let go of chores, even when they have careers. A survey found that, out of 65 new marriages, not one single wife expected her husband to share work equally. According to the Family Policy Studies Center, 81% of working wives return home to do all the cooking. The average male has nearly half as much as more free time at weekends than his wife, and the typical new father spends just 37 seconds a day talking to his baby.

# “Only career women perceive organizing the home as conferring power”.

# “The average wife has half as much free time at weekends as her husband”.

# “The family planning studies center shows that 81% working wives do all the cooking at home”.

# “19% working wives do not want to do the cooking at home”.

# “Housewives want the husbands to take part equally in the household”.

# “Wives have half as much leisure time as the husbands have”.

# “39% of the men will work equally in the house in cleaning and washing”.

Consider the following paragraph:
Statistics show that millions of vehicles have been carried by shuttle over the past 30 years through Alpine tunnels without one ever catching fire. In the Alpine tunnels, drivers and passengers sit in their vehicles on the shuttle trains. Only one vehicle has ever caught fire on the busy French motorail equivalent system. This sort of accident is not possible in a closed shuttle. Assertion that a vehicle fire will lead to catastrophe have no basis. Since the resources exist to detect, control and extinguish a fire, and to remove any persons present safely to an adjoining wagon, leaving any surviving fire facing rapid extinction within a wagon built to contain fire for 30 minutes, catastrophe seems very unlikely.

# ” It is theoretically possible for a vehicle to catch fire even in a closed wagon”.

# ” The French motorail system is inferior to the shuttle train system.”

# “No accident can occur in the closed tunnels”.

# “Fire is allowed to live for 30 min”.

# “All the cars that travel in the tunnels will be carried by rail shutters”. 

Microsoft Placement paper

Filed under: plcement paper — colwmk @ 12:51 pm
  • You have 5 jars of pills. Each pill weighs 10 gram, except for contaminated pills contained in one jar, where each pill weighs 9 gm. Given a scale, how could you tell which jar had the contaminated pills in just one measurement?
  • One train leaves Los Angeles at 15 MPH heading for New York. Another train leaves from New York at 20mph heading for Los Angeles on the same track. If a bird, flying at 25mph, leaves from Los Angeles at the same time as the train and flies back and forth between the two trains until they collide, how far will the bird have traveled?
  • Imagine that you have 26 constants, labelled A through Z. Each constant is assigned a value in the following way: A = 1; the rest of the values equal their position in the alphabet (B corresponds to the second position so it equals 2, C = 3, etc.) raised to the power of the preceeding constant value. So, B = 2 ^ (A’s value), or B = 2^1 = 2. C = 3^2 = 9. D = 4^9, etc., etc. Find the exact numerical value to the following equation:

    (X – A) * (X – B) * (X – C) * … * (X – Y) * (X – Z)

  • How would you find a cycle in a linked list? Try to do it in O(n) time. Try it using a constant amount of memory.
  • Design a memory management scheme.
  • Implement an algorithm to reverse a doubly linked list.
  • A square picture is cut into 16 squares and they are shuffled. Write a program to rearrange the 16 squares to get th e original big square.
  • Write C code to implement strtok() ‘c’ library function.
  • The Web can be modeled as a directed graph. Come up with a graph traversal algorithm.Make the algorithm non-recursive an d breadth-first.
  • How would you implement a hash table ? How do you deal with collisions.?

ibm placement paper

Filed under: plcement paper — colwmk @ 12:50 pm

1)speed of boat in still water is 10kmph..if it travels 24km
downstream,16km upstream in the same
amount of time,what is the speed of the stream?
(a)3kmph
(b)3.5kmph
(c)2kmph
(d)…

2)a cube of 3 units is painted on all sides.If this cube is divided
into cubes of 1 unit,how many cube
have none of their faces painted?
(a)…
(b)2
(c)1
(d)0
(e)none of these

3)if a person sells a product for rs141/- he suffers a loss of 6%.if he
has to have a profit of 10%,
at what price should he sell it?
(a)
(b)rs.175
(c)..
(d)rs.165
ans.rs.165 (i think,check)

4)a ball falls from a height of 8ft ,bounces back to half the distance
& continues till it comes to rest.
what is the total distance travelled by the ball?
(a)24ft
(b)…
(c)infinite
(d)cannot be determined
ans:(a)

5)which of the following is the sum of 3 consecutive prime nos?
(a)49
(b)59
(c)both a &b
(d)….
ans:c

6)if the area of a square has increased by 69%,by what % has its side
increased?

7)in a class the average age is 16yrs.if the teacher who is 40 yrs of
age is also included ,the
average becomes 17yrs,how many students were there?

8)if 3 houses are to be painted,mr A can paint a house in 6 days(nos
are not same)…mr B can do
the same in 8 days…& mr.C in 12 days.if mr A does the work for 8 days
& leaves for vacation, & mr B continues the work
for the next 6 days, for how many days should mr.C work?
ans:11 days(check)

9)4 thieves rob a bakery of the breadone after the other.each thief
takes half of what is present ,& half
a bread…if at the end 3 bread remains,what is the no of bread that
was present initiallly?
ans:63(check)

10)if the 1rst day of 1999 is a sunday,what is the last day?
(a)sunday
(b)monday
(c)….
(d)cannot be determined.

11) If A driver drives a car four times a lap 10,20 30,60 kmph what
is his average speed.
ans:20kmph

In a group there are two kinds of people type A & type B.type A
people answer for any question as YES & that of type B as NO.if
they can not answer to these question then they remain silent.
the mayor asks question to them as follows……..

12).if he asks a person are u type A
a.YES b.NO c. Silent d.Can not be determined

13)he asks two persons X &Ysimultaneously  whether u of same type
a. YES b. NO c.YES or NO d. Silent e. can not be determined

14).pointing to a person X he asks Y what is his type
a. YES b. No c. Silent d can not be determined

15).pointing to a person X he asks Y if I ask him whether r u
type A ,will he answer YES.Y says NO .what type of B is
a. YES b. NO . c. Silent d. can not be determined

16)six squares of same dimension are kept side by side to make a
rectangle with a perimeter of
182 cm. what is the perimeter of each square.
ans) 52.

17)one student takes 20 mins to reach school  if he goes at a  speed of
15kmph .At what
speed should he go to reach in 15 mins ( nos are not same)
ans: 16kmph( check)
18)how many rational numbers are there between 0 & 5
ans:infinite

19)A certain number of bullets were shared by 3 people equally.Each of
them fired 4 bullets
and the sum of the remaining bullets was equal to the initial share
each had got.what was the initial
number of bullets?
ans:18..( 18/3=6;
6-4=2,6-4=2,6-4=2;
2+2+2=6=ans)

1 more question which i cant remember was there:)

Technical:

20)A trigger is
(a) a statement ..start of database..
(b)statements that r executed as a side effect to the modification to
the database
(c)…
(d)…
ans (b)

21)what does the following statement mean?
int (*a)[4]
(a)’a’ is  a pointer to an array of 4 integers
(b)’a’ is an array of pointers to integer
(c)’a’ is a pointer to function returning an integer
(d)…
ans:a

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

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

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

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

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

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

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

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

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

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

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

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

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

35)What is vector processing?

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

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

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

ibm placement paper

Filed under: plcement paper — colwmk @ 12:49 pm

 

1) I give a jcl code with

Programmer name: smith

Jobname:ABC

Jobclass=c

Message class = a

All messages are to be displaced code it  in a JCL.

A)     //ABC,smith,class=c,message class=a,message level=(2,1)

B)      //ABC,smith,class=c,message class=a,message level =(!,1)

C)      //ABC,smith,class=c,message class=a,message level=(0,1)

D)      none of these.

2) for a cobol program

 

       Move 5 to work-sd.

       A statement which says that the value of work-st is 0.

       perform Para1.

      ……………

Para1.

       Add 3 to work-sd

       Add 2 to work-st

      If work-st <11 go to main-para.

      ………………

 

      go to para1.

 

Wat wud b the value of  work-sd?

a)       15

b)       18

c)       10

d)       none

 

3) given 2 tables T1 and T2.

 

                T1           T2

              A               1

                B             2

                                3

u make a query

 

SELECT * FROM T1,T2.

Wat is the no: of rows that are fetched frm this query?

a)                   4

b)                   5

c)                   6

d)                   9

 

4) wat is the full form of RACF?

5) who is the data base manager of db2?

a)       buffer register

b)       runtime suprivisor

c)       DBRM

d)       None

 

5)u have a file with DISP=SHR, when u open the file in output mode

a)       the records get appended

b)       the records gets overwritten

c)       the job abbends

d)       none of these

 

6) u open a file with disp= MOD, when u open the file in output mode

(same options as the above question)

7) to exclude some records while sorting which parameter do we use?

a)       OMIT

b)       EXCLUDE

c)       ….d)….

 

8)when u insert into db2 with cics, it works as

a)       foreground

b)       a job working in background

c)       ..

d)       …..

 

9)u have a dataset TIME.WORK.OCT88, u want to concatenate other datasets

like TIME.WORK.JUL88, TIME.WORK.APR88, TIME.WORK.MAY88. how do u do that?

 

a)//DDname DD DSN = TIME.WORK.OCT88, DISP = SHR

                     DD DSN = TIME.WORK.JUL88, DISP = SHR

                       DD DSN = TIME.WORK.APR88, DISP = SHR

                       DD DSN = TIME.WORK.MAY88, DISP = SHR

b)//DDname DD DSN = TIME.WORK.JUL88, DISP = SHR

                      DD DSN = TIME.WORK.OCT88, DISP = SHR

                     DD DSN = TIME.WORK.APR88, DISP = SHR

                     DD DSN = TIME.WORK.MAY88, DISP = SHR

c)//DDname DD DSN = TIME.WORK.APR88, DISP = SHR

                      DD DSN = TIME.WORK.JUL88, DISP = SHR

                      DD DSN = TIME.WORK.MAY88, DISP = SHR

                      DD DSN = TIME.WORK.OCT88, DISP = SHR

e)       none of these

 

10) when db2 entries are made while working in cics, the enteries

should be made in

a)       TCT

b)       PCT

c)       DCT

d)       RCT

 

11) find the odd one out

a)       KSDS

b)       RRDS

c)       LDS

d)       PDS

 

12) full form of VTOC

13) question based on SKIP and COUNT parameter

 

ibm placement paper

Filed under: plcement paper — colwmk @ 12:47 pm

——————————————————————————–

IBM Global    IBM -1

1. In 1978, a kg of paper was sold at Rs25/-.
If the paper rate increases at 1.5% more than the inflation rate which is 6.5% a year,
then what wil be the cost of a kg of paper after 2 years?

(a) 29.12
(b) 29.72
(c) 30.12
(d) 32.65
(e) none of these

2. In A,B,C are having some marbles with each of them.
A has given B and C the same number of marbles each of them already have.
Then, B gave C and A the same number of marbles they already have.
Then C gave A and B the same number of marbles they already have.
At the end A,B,and C have equal number of marbles.

(i) If x,y,z are the marbles initially with A,B,C respectively.
Then the number of marbles B have at the end

(a) 2(x-y-z)
(b) 4(x-y-z)
(c) 2(3y-x-z)
(d)  x + y-z

Ans. (c)

(ii) If the total number of marbles are 72, then the number of marbles with A at the starting

(a) 20
(b) 30
(c) 32
(d) 39

Ans. (d)

3. If a car starts from A towards B with some velocity.
Due to some problem in the engine after travelling 30km, the car goes with 4/5 th of its actual velocity
The car reaches B 45 min later to the actual time.
If the car engine fails ofter travelling 45km, the car reaches the destination B 36min late to the actual time
What is the initial velocity of car and what is the distance between A and B in km

Ans. 20 & 130.

4. A person has Rs 100/- in his pocket, he can as 25 pencils or 15 books.
He kept 15% of the money for travelling expenses and purchased 5 pencils.
So how many books he can purchase with the remaining money.

5. Ten questions on analogies.

eg: chief : tribe :: governer : state
epaulette : shoulder :: tiara : head
guttural : throat :: gastric : stomach
inept : clever :: languid : active
knife : butcher ::
hammer : carpenter ::

6. The values of shares (in Rs).of A, B and C from January to June are as follows.

Month A B C
January 30 60 80
February 35 65 85
March 45 75 65
April 40 75 82
May 55 75 85
June 50 75 80

i) During this period which share has undergone maximium fluctuation?
ii) In which month it is possible to buy B and C selling A?
iii) In which month the share values are very low?
iv) By purchasing one share of A and 4 each of B and C in the beginning of the period,
when shoudl these be sold to get maximum profit?

7. In a computer institute 9 languages can be taught.
The module is of 6 months duration and of the six languages only one can be taught each month .
In addition to that BASIC is always taught and should be in first month itself

WORD PERFECT is to be taught in the preceeding week of WORD STAR.
FORTRAN can not be taught until COBAL is taught prior to that
BINO, FIFO can never be taught in single module
languages are BASIC, WORD STAR, WORD PERFECT, FORTRAN, COBAL, BINO, FIFO, LOTUS, C

i) If word star is in 3rd month , what could be in 6th month.
ii) If COBAL is in the 2nd month and BINO in 6th month. FORTRAN will be taught in which month.

8. In a class, except 18 all are above 50 years.
15 are below 50 years of age. How many people are there

(a) 30
(b) 33
(c) 36
(d) none of these.

Ans. (d)

9. A square plate of some size is cut at four corners. Equal squares of the same size are cut and is formed as open box.
If this open box carries 128 ml of oil. What is the size of the side of the plate?

(a) 17
(b) 14
(c) 13
(d) None of these

10. In a square, all the mid points are joined. The inner square is shaded.
If the area of the square is A, what is the area of the shaded area?

11. Two questions on basic angles i.e given a circle, a few chords or diameter is drawn etc.

12. If the follwoing statements are given

@(a,b)= (a+b)/2
/(a,b)= a/b
*(a,b)= ab
If a=1, b=2 then find

i) /(a,(@(a,b),*(a,b)))

ii) */(a,@(*(a,b)))

13. If the follwoing statements are given

(x#y) = x + y- xy
(x*y) = (x + y)/2
i) Find the values of x, y will satisfy this equation (x#y)#(x*y) < (x#y)
ii) Find the values of x, y will satisfy this equation (a*b)#(b*c)< (a#b)*(b*c)

14. Export PS1 results in(PS1 pwd)

a) primary prompt being your current directory
b) primary prompt and secondary prompts being the current directory
c) primary prompt prompt being your home directory
d) primary prompt and secondary prompts being the home directory
e) None of the above.

15. If you type in the command

nohup sort employees > list 2 > error out &

and log off ,the next time you log in, the output will be

a) in a file called list and the error will de typed in a file error out
b) there will be no file called list or error out
c) error will be logged in a file called list and o/p will be in error out
d) you will not be allowed to log in
e) none of the above

16. In UNIX a files i-node ……?

Ans. Is a data structure that defines all specifications of a file like the file size,
number of lines to a file, permissions etc.

17. The UNIX shell ….

a) does not come with the rest of the system
b) forms the interface between the user and the kernal
c) does not give any scope for programming
d) deos not allow calling one program from with in another
e) all of the above

Ans. (b)

18. enum number { a= -1, b= 4,c,d,e}
What is the value of e ?

(a) 7
(b) 4
(c) 5
(d) 15
(e) 3

19. The very first process created by the kernal that runs till the kernal process is halts is

a) init
b) getty
c) both (a) and (b)
d) none of these

Ans. (a)

20. Output of the following program is

main()
{int i=0;
for(i=0;i<20;i++)
{switch(i)
case 0:i+=5;
case 1:i+=2;
case 5:i+=5;
default i+=4;
break;}
printf(“%d,”,i);
}
}

a) 0,5,9,13,17
b) 5,9,13,17
c) 12,17,22
d) 16,21
e) Syntax error

Ans. (d)

21. What is the ouptut in the following program

main()
{char c=-64;
int i=-32
unsigned int u =-16;
if(c>i)
{printf(“pass1,”);
if(c<u)
printf(“pass2″);
else
printf(“Fail2″);
}
else
printf(“Fail1);
if(i<u)
printf(“pass2″);
else
printf(“Fail2″)
}

a) Pass1,Pass2
b) Pass1,Fail2
c) Fail1,Pass2
d) Fail1,Fail2
e) None of these

Ans. (c)

22. In the process table entry for the kernel process, the process id value is

(a) 0
(b) 1
(c) 2
(d) 255
(e) it does not have a process table entry

Ans. (a)

23. Which of the following API is used to hide a window

a) ShowWindow
b) EnableWindow
c) MoveWindow
d) SetWindowPlacement
e) None of the above

Ans. (a)

24. What will the following program do?

void main()
{
int i;
char a[]=”String”;
char *p=”New Sring”;
char *Temp;
Temp=a;
a=malloc(strlen(p) + 1);
strcpy(a,p); //Line number:9//
p = malloc(strlen(Temp) + 1);
strcpy(p,Temp);
printf(“(%s, %s)”,a,p);
free(p);
free(a);
} //Line number 15//

a) Swap contents of p & a and print:(New string, string)
b) Generate compilation error in line number 8
c) Generate compilation error in line number 5
d) Generate compilation error in line number 7
e) Generate compilation error in line number 1

Ans. (b)

25. In the following code segment what will be the result of the function,

value of x , value of y
{unsigned int x=-1;
int y;
y = ~0;
if(x == y)
printf(“same”);
else
printf(“not same”);
}

a) same, MAXINT, -1
b) not same, MAXINT, -MAXINT
c) same , MAXUNIT, -1
d) same, MAXUNIT, MAXUNIT
e) not same, MAXINT, MAXUNIT

Ans. (a)

26. PATH = /bin : /usr : /yourhome
The file /bin/calender has the following line in it

cal 10 1997

The file /yourhome/calender has the following line in it

cal 5 1997

If the current directory is /yourhome and calender is executed

a) The calendar for May 1997 will be printed on screen
b) The calendar for Oct 1997 will be printed on screen
c) The calendar for the current month( whatever it is) will be printed
d) Nothing will get printed on screen
e) An error massage will be printed

27. What will be the result of the following program ?

char *gxxx()
{static char xxx[1024];
return xxx;
}

main()
{char *g=”string”;
strcpy(gxxx(),g);
g = gxxx();
strcpy(g,”oldstring”);
printf(“The string is : %s”,gxxx());
}

a) The string is : string
b) The string is :Oldstring
c) Run time error/Core dump
d) Syntax error during compilation
e) None of these

Ans. (b)

28. What will be result of the following program?

void myalloc(char *x, int n)
{x= (char *)malloc(n*sizeof(char));
memset(x,,n*sizeof(char));
}

main()
{char *g=”String”;
myalloc(g,20);
strcpy(g,”Oldstring”);
printf(“The string is %s”,g);
}

a) The string is : String
b) Run time error/Core dump
c) The string is : Oldstring
d) Syntax error during compilation
e) None of these

29. Which of the following function is used to repaint a window immediately

a) Sendmessage(hWnd,WM_PAINt,……)
b) InvalidateRect(…….)
c) MoveWindow
d) WM_COPY
e) None

30. Which function is the entry point for a DLL in MS Windows 3.1

a) Main
b) Winmain
c) Dllmain
d) Libmain
e) None

Ans. (b)

31. The standard source for standard input, standard output and standard error is

a) the terminal
b) /dev/null
c) /usr/you/input, /usr/you/output/, /usr/you/error respectively
d) None

Ans. (a)

32. What will be the result of the following program?

main()
{char p[]=”String”;
int x=0;
if(p==”String”)
{printf(“Pass 1″);
if(p[sizeof(p)-2]==’g')
printf(“Pass 2″);
else
printf(“Fail 2″);
}
else
{
printf(“Fail 1″);
if(p[sizeof(p)-2]==’g')
printf(“Pass 2″);
else
printf(“Fail 2″);
}
}

a) Pass 1, Pass 2
b) Fail 1, Fail 2
c) Pass 1, Fail 2
d) Fail 1, Pass 2
e) syntax error during compilation

33. Which of the choices is true for the mentioned declaration ?

const char *p;
and
char * const p;

a) You can’t change the character in both
b) First : You can’t change the characterr & Second : You can;t change the pointer
c) You can’t change the pointer in both
d) First : You can’t change the pointer & Second : You can’t chanage the character
e) None

34. The redirection operators > and >>

a) do the same function
b) differ : > overwrites, while >> appends
c) differ : > is used for input while >> is used for output
d) differ : > write to any file while >> write only to standard output
e) None of these

Ans. (b)

35. The command grep first second third /usr/you/myfile

a) prints lines containing the words first, second or third from the file /usr/you/myfile
b) searches for lines containing the pattern first in the files
second, third, and /usr/you/myfile and prints them
c) searches the files /usr/you/myfiel and third for lines containing the words first or second and prints them
d) replaces the word first with the word second in the files third and /usr/you/myfile
e) None of the above

Ans. (b)

Mba software

Filed under: cat, mba — colwmk @ 10:33 am

Softwares for CAT:

Super Vocablury: Very easy to use software for learning synonyms & antonyms. words & test: Manage your new words and take tests.

Vocablury Blast: Improve your vocablury with this great software.

Word list: This’ll prove out to be your word bank.

Maths test: You’ll surely appriciate these Flash generated Maths tests.

Verbal test: Yet another Flash generated verbal tests.

ImP link

Filed under: linux — colwmk @ 10:02 am

install smbha

Filed under: linux — colwmk @ 10:01 am

If you have other Windows computers on your Lan and want to share files with them, you must setup Samba.

To setup Samba you must (1) install samba, (2) add you ’shares’, (3) add users, (4) start Samba service.

1. Install Samba

It is best to have Samba installed in the installation process. If not yum users can install using: Add/Remove Software > Servers > Windows File Server. Users without yum can install the following packages from their DVD (or download): samba, samba-common, samba-client.

2. Add Shares

You must edit /etc/samba/smb.conf as root: (use nano instead of gedit if you do not have a GUI)

[mirandam@charon ~]$ sudo gedit /etc/samba/smb.conf

Set your Windows Workgroup name in [global] section.

Added shares at the end of the file. Example:

[c_drive]
   path = /media/c_drive
   public = yes
   writable = no
[netshare]
   path = /data/
   public = yes
   writable = yes

If 'writable' the location must be writable in Linux first. Additionally permissions must match (for example: drw-rw-rw-).

If home data (all personal files under /home/username) is to be accessible, then set 'browseable = yes' under [homes] (~line 250). This configuration file is very descriptive, read through it to get more ideas or information.

3. Add Users

To access shares, you must be a valid user. Add valid users AND passwords using the smbpasswd command.

This login name WILL be the login name and password you use from Windows to access your Linux computer. The password does NOT need to match your Linux password.

[mirandam@charon ~]$ sudo smbpasswd -a username
New SMB password:
Retype new SMB password:
account_policy_get: (warnings ignore)
Added user username.

(Note: 'username' must be a valid account on the machine)

4. Start Samba Service

Run samba and check for any errors:

[mirandam@charon ~]$ sudo /etc/init.d/smb start
Starting SMB services:                                     [  OK  ]
Starting NMB services:                                     [  OK  ]

Use chkconfig or serviceconf to enable samba (smb) in both runlevels 3 and 5. This will make sure to run Samba each time Fedora boots.

[mirandam@charon ~]$ /sbin/chkconfig --list smb
smb             0:off   1:off   2:off   3:off   4:off   5:off   6:off
[mirandam@charon ~]$ sudo /sbin/chkconfig --level 35 smb on
[mirandam@charon ~]$ /sbin/chkconfig --list smb
smb             0:off   1:off   2:off   3:on    4:off   5:on    6:off

Restart Samba for every change to users/passwords or 'smb.conf'

[mirandam@charon ~]$ sudo /etc/init.d/smb restart
Shutting down SMB services:                                [  OK  ]
Shutting down NMB services:                                [  OK  ]
Starting SMB services:                                     [  OK  ]
Starting NMB services:                                     [  OK  ]

————–

Firewall Users

Run system-config-securitylevel

To allow Samba access to work through your firewall you must set ‘Samba’ as a ‘Trusted service’.

SELinux Users

SELinux has significant control over restricting different parts of Samba. Run system-config-selinux. Please read lines #23 – #51 in /etc/samba/smb.conf for a better explanation. Run man samba_selinux for more help. The following is NOT complete.

Select Boolean > Samba >
Allow Samba to share any file/directory read/write

On the command line you can run:

[mirandam@charon ~]# sudo  /usr/sbin/setsebool -P samba_export_all_rw 1
Next Page »

Blog at WordPress.com.