IN THIS CONTAIN SOME TCS QUESTIONS WITH SOLVED ANS CHECK ONCE FRIEND
DOWNLOAD
Showing posts with label TCS PAPERS. Show all posts
Showing posts with label TCS PAPERS. Show all posts
Thursday, November 25, 2010
Friday, November 19, 2010
TCS Placement Paper (Aptitude, Technical, Interview) August 2010
No of Rounds: 4
1.Aptitude
2.Technical Interview
3.Management Interview
4.HR Interview
Aptitude: I gave my aptitude at 11:00am on 29th of august 2010. This round was online (touch stone ) with +1 for each correct answer and -0.33 for every incorrect answer. In all there were 35 questions to be solved in 60 mins..No verbal questions. Logical And Quantitative Questions on subjects like age, average, series, permutation and combinations etc were asked..the difficulty level was not so high but the questions were lengthy and unnecessarily made complicated.
Half of the question (especially first half) was just to increase the length of question n divert attention..Formulae are also provided for reference which i dinn go to chk whether they wer useful ;)
For age related problems for eg.
Peter and Paul were frnds........After six years Paul vil be twice as old as Peter was when peter was as old as paul..if sum of their ages is 36 find the age of peter.
1.
2.
3.
4.
here we have to solve by considering the options and substituting the value in the equation obtained..This was the nac for these type questions..i got 3-4 age related problms.
A women has some gloves and hats..she has 15 red,37 yellow and 47 white colored gloves in a box..(then some lines just to distract.....)As there is no light, how many minimum no of gloves should she pick so that she has a pair of each color..
A farmer buys a horse for Rs 9 in 2003.(some essay...............) and decides to sell it at Rs 19 in 2006.(..............)he again invests in purchase of horse by purchasing it at Rs 27 in 2009 and selling it t Rs 39 in 2010.....wht is the average profit made.
if the ratio of ages of fathe and son is 6:5 , when will the average of thier ages be 8:7 if the sum of their ages is 44.this question is very simple but contained a lot of unwanted data wich is skipped here.
a girl tries to build a building of 100cc with 5cc,4 cc and 2cc blocks..how many minimum number of blocks vil be required to constrct a buildin of (some given dimension)....
one crape cloth piece of 57inch length is be cut make........the tailor thn decides to use 8cms long and 12 cms wide instead of crape cloth piece..Minimum how many such pieces wil be required...
one scale 10cms wide is kept.another scale of 14cms width is overlapped on this scale.Then the scale of width 10 is placed adjacent .
Again the 14cms scale is overlapped....so on and so forth....How many scales are required to make a combined width of 52cms in the same fashion....
then there was a simple logical question on directions..A man travels 20 kms west then takes a right n goes 7 kms....He takes a right again n travels 20 kms..and moves straight for another 8 kms....find the distance he came frm his orginal position...
some questions regarding series completion and volumes and cisterns was asked..
The results of the aptitude were announced soon and out of the ~380 students who gave the aptitude only 35 were selected for the Technical Round.
Technical Interview:
TR:hello ..
Me: hello sir
TR:tel me somethg abt urself
Me: (told)
TR: what was ur final year proj..
Me: (told)
TR: what is the reason for your low percentage..(an expected question)
Me: (told – please don’t lie here as the interviewer’s r smarter than us. sir was in fact impressed by my honest answer.)
TR: wht languages did u learn in col..
Me: c.c++,java,
TR:Wht is diff bet java n C++.
TR:y do we prefer object oriented languages? Advantages and disadvantages of OO lang..
TR:what is segmentation n paging? Types of segmentation.
Where is a program stored?
What is cache and RAM/ROM.?
WAP to generate diff combination of 3 distinct characters without repetition.(in any lang)
Concepts of overloading, polymorphism ,inheritance and threads was asked.
Management Interview:
I had my MI and TI together..for my MI i was asked all routine questions..
Tel me ur strengths and weakness..
Do u knw whts going on in IT industry..recent activities in IT sector..
y shud i hire u?
Wht do u knw abt TCS? Why do u want to join this company..vil any other company besides TCS do..? Do u have facts and figures to support ur arguments?
Do you have any of your acquaintances in TCS?
Where do you see yourself 5 years later..?
R u ready to relocate?Veg/Nonveg...... etc etc
After this was a complete nail biting tension of TI+MI results.....Some 25 mins later i was taken for HR round.
HR Round:
This was the best interview..all similar questions.....gave a puzzle to solve....asked about diff languages i knew..was made to speak in a few of them.. :) sir was very lenient and hence i din have any sort of uneasiness.. Few hours later at around 6:30pm,our results wer announced and my happiness knew no bounds whn my name was called and everyone around clapped..
Out of 380+ who appeared for aptitude, 35 qualified for the TI and finally after all rounds, only 11 were selected on the second day at Nagpur......I am proud to be among them. Very happy to join TCS family.
1.Aptitude
2.Technical Interview
3.Management Interview
4.HR Interview
Aptitude: I gave my aptitude at 11:00am on 29th of august 2010. This round was online (touch stone ) with +1 for each correct answer and -0.33 for every incorrect answer. In all there were 35 questions to be solved in 60 mins..No verbal questions. Logical And Quantitative Questions on subjects like age, average, series, permutation and combinations etc were asked..the difficulty level was not so high but the questions were lengthy and unnecessarily made complicated.
Half of the question (especially first half) was just to increase the length of question n divert attention..Formulae are also provided for reference which i dinn go to chk whether they wer useful ;)
For age related problems for eg.
Peter and Paul were frnds........After six years Paul vil be twice as old as Peter was when peter was as old as paul..if sum of their ages is 36 find the age of peter.
1.
2.
3.
4.
here we have to solve by considering the options and substituting the value in the equation obtained..This was the nac for these type questions..i got 3-4 age related problms.
A women has some gloves and hats..she has 15 red,37 yellow and 47 white colored gloves in a box..(then some lines just to distract.....)As there is no light, how many minimum no of gloves should she pick so that she has a pair of each color..
A farmer buys a horse for Rs 9 in 2003.(some essay...............) and decides to sell it at Rs 19 in 2006.(..............)he again invests in purchase of horse by purchasing it at Rs 27 in 2009 and selling it t Rs 39 in 2010.....wht is the average profit made.
if the ratio of ages of fathe and son is 6:5 , when will the average of thier ages be 8:7 if the sum of their ages is 44.this question is very simple but contained a lot of unwanted data wich is skipped here.
a girl tries to build a building of 100cc with 5cc,4 cc and 2cc blocks..how many minimum number of blocks vil be required to constrct a buildin of (some given dimension)....
one crape cloth piece of 57inch length is be cut make........the tailor thn decides to use 8cms long and 12 cms wide instead of crape cloth piece..Minimum how many such pieces wil be required...
one scale 10cms wide is kept.another scale of 14cms width is overlapped on this scale.Then the scale of width 10 is placed adjacent .
Again the 14cms scale is overlapped....so on and so forth....How many scales are required to make a combined width of 52cms in the same fashion....
then there was a simple logical question on directions..A man travels 20 kms west then takes a right n goes 7 kms....He takes a right again n travels 20 kms..and moves straight for another 8 kms....find the distance he came frm his orginal position...
some questions regarding series completion and volumes and cisterns was asked..
The results of the aptitude were announced soon and out of the ~380 students who gave the aptitude only 35 were selected for the Technical Round.
Technical Interview:
TR:hello ..
Me: hello sir
TR:tel me somethg abt urself
Me: (told)
TR: what was ur final year proj..
Me: (told)
TR: what is the reason for your low percentage..(an expected question)
Me: (told – please don’t lie here as the interviewer’s r smarter than us. sir was in fact impressed by my honest answer.)
TR: wht languages did u learn in col..
Me: c.c++,java,
TR:Wht is diff bet java n C++.
TR:y do we prefer object oriented languages? Advantages and disadvantages of OO lang..
TR:what is segmentation n paging? Types of segmentation.
Where is a program stored?
What is cache and RAM/ROM.?
WAP to generate diff combination of 3 distinct characters without repetition.(in any lang)
Concepts of overloading, polymorphism ,inheritance and threads was asked.
Management Interview:
I had my MI and TI together..for my MI i was asked all routine questions..
Tel me ur strengths and weakness..
Do u knw whts going on in IT industry..recent activities in IT sector..
y shud i hire u?
Wht do u knw abt TCS? Why do u want to join this company..vil any other company besides TCS do..? Do u have facts and figures to support ur arguments?
Do you have any of your acquaintances in TCS?
Where do you see yourself 5 years later..?
R u ready to relocate?Veg/Nonveg...... etc etc
After this was a complete nail biting tension of TI+MI results.....Some 25 mins later i was taken for HR round.
HR Round:
This was the best interview..all similar questions.....gave a puzzle to solve....asked about diff languages i knew..was made to speak in a few of them.. :) sir was very lenient and hence i din have any sort of uneasiness.. Few hours later at around 6:30pm,our results wer announced and my happiness knew no bounds whn my name was called and everyone around clapped..
Out of 380+ who appeared for aptitude, 35 qualified for the TI and finally after all rounds, only 11 were selected on the second day at Nagpur......I am proud to be among them. Very happy to join TCS family.
TCS Job Interview Placement Paper Pattern: September 2010
TCS Recruitment process consists of four rounds:
The questions are like..
Q.1. The ticket for a journey is in the range of 1 to 63 paise. You have 63 paise in your pocket and so on. and the question is You have to change the money into coins and all denominations are available at final. You have to buy the ticket and you should have at least one coin? (not same figures)
Ans. 64 (Just add 1 to highest i.e. 63+1)
Q.2. The sum of two numbers is given and product is also given find the square of difference of two numbers..
Ans. (a-b)2=a2+b2+2ab..
Q.3. The dog and here are running, dog crosses the roads, rivers and different. Here start running after 2 hours of dog running, dog runs 30kmph in 6 hours then what is the average speed of here?
(values are not same)
Ans. 30*6/4
Q.4. In a restaurant there are different nine flavours of pizzas.....
Q.5. A length of rod is turned into triangle. The sides of a triangle are 12,16,10. if this rod is turned into square then find the area of the square?
Ans. rod length=12+16+10=38
length of the side is a square=38/4;
area=(38/4)*(38/4)
Q.6. There are some chocolates. A woman can eat 3chocolates and a man can eat 1 chocolate and a child can eat half chocolate. then 20 chocolates is divided in...
Ans. Go through the options( 5Woman, 3man, 4children).
Q.7. A water tank is filled in the way as 256,128,64,... th parts in every hour, then in how many hours the tank will filled?
Ans. 256,128,64,32,16,8,4,2,1 ( 9 hours) values are not same..
Q.8. The age of Ram and Sayam are in the ratio 5:6 and after 4 years their ratios are 7:8 then what is the present age of Sayam?
Ans. 12years (names and values may change)
The result of written test is given with in 24 hours time and by luck I am one of the short listed candidates.. and the remaining rounds are conducted for me 2nd September.
Sir: Tell me about yourself?
Me: I answered This is best question to impress the panel. so prepare yourself.
Sir: Which project You have done in the academics?
Me: I answered my project details nearly 10mins for this answered sir was impressed.
Sir: Which platform you have developed?
Me: Java
Sir: How many marks you will give for Java?
Me: 7
Sir: He asked some questions on java like
What is the difference b/w String and StringBuffer?
What are the life cycles of servelet and Applets?
Some questions on MuktiThreading?
Sir: Sir wrote some lines of code like ..
String s1="abc";
String s2="abc";
String s3=new String("abc");
if(s1==s2)//what it returns wheather true or false and why?
if(s1==s3)//what it returns wheather true or false and why?
I answered with explanation..
Sir: What is the difference between '=='operator and .equals() func?
And some questions on SQL joins like difference between right join and left join and natural join etc..
and finally he asked what is your favorite core subject?
Me: OS but he did not asked any questions on OS.
So be confident in this round if you cleared this round then you are almost placed but do not neglect HR..
She asked tell me about yourself?
What is you are native place and for what it is famous?
Who is the founder of GOOGLE?
Who are the competitors for the TCS in the world market as well as in Indian market?
Are you willing to relocate?
What is your favorite working location?
Finally the results was given after 20 days and I am one the selected candidates..
- Written test ( 35questions-60minutes 1/3 negative)
- Technical round
- Management round
- HR.
Written Test:
It is the most important round to achieve success. In this round 35 questions with 60 minutes .The questions are very lengthy and time consuming but if you found the logic it is very simple. All most all questions are having 7 to 10 lines but the useful data is in the last two lines. And one more point is in this round there is a negative marking of 1/3. If you answered the above 20 questions you will be short listed.The questions are like..
Q.1. The ticket for a journey is in the range of 1 to 63 paise. You have 63 paise in your pocket and so on. and the question is You have to change the money into coins and all denominations are available at final. You have to buy the ticket and you should have at least one coin? (not same figures)
Ans. 64 (Just add 1 to highest i.e. 63+1)
Q.2. The sum of two numbers is given and product is also given find the square of difference of two numbers..
Ans. (a-b)2=a2+b2+2ab..
Q.3. The dog and here are running, dog crosses the roads, rivers and different. Here start running after 2 hours of dog running, dog runs 30kmph in 6 hours then what is the average speed of here?
(values are not same)
Ans. 30*6/4
Q.4. In a restaurant there are different nine flavours of pizzas.....
Q.5. A length of rod is turned into triangle. The sides of a triangle are 12,16,10. if this rod is turned into square then find the area of the square?
Ans. rod length=12+16+10=38
length of the side is a square=38/4;
area=(38/4)*(38/4)
Q.6. There are some chocolates. A woman can eat 3chocolates and a man can eat 1 chocolate and a child can eat half chocolate. then 20 chocolates is divided in...
Ans. Go through the options( 5Woman, 3man, 4children).
Q.7. A water tank is filled in the way as 256,128,64,... th parts in every hour, then in how many hours the tank will filled?
Ans. 256,128,64,32,16,8,4,2,1 ( 9 hours) values are not same..
Q.8. The age of Ram and Sayam are in the ratio 5:6 and after 4 years their ratios are 7:8 then what is the present age of Sayam?
Ans. 12years (names and values may change)
The result of written test is given with in 24 hours time and by luck I am one of the short listed candidates.. and the remaining rounds are conducted for me 2nd September.
Technical Interview:
My interview is like..Sir: Tell me about yourself?
Me: I answered This is best question to impress the panel. so prepare yourself.
Sir: Which project You have done in the academics?
Me: I answered my project details nearly 10mins for this answered sir was impressed.
Sir: Which platform you have developed?
Me: Java
Sir: How many marks you will give for Java?
Me: 7
Sir: He asked some questions on java like
What is the difference b/w String and StringBuffer?
What are the life cycles of servelet and Applets?
Some questions on MuktiThreading?
Sir: Sir wrote some lines of code like ..
String s1="abc";
String s2="abc";
String s3=new String("abc");
if(s1==s2)//what it returns wheather true or false and why?
if(s1==s3)//what it returns wheather true or false and why?
I answered with explanation..
Sir: What is the difference between '=='operator and .equals() func?
And some questions on SQL joins like difference between right join and left join and natural join etc..
and finally he asked what is your favorite core subject?
Me: OS but he did not asked any questions on OS.
Management Round:
Its very easy round and less elimination round in this round they ask simple questions and give a situations and observe your feelings..So be confident in this round if you cleared this round then you are almost placed but do not neglect HR..
HR Round:
For its me very simple.She asked tell me about yourself?
What is you are native place and for what it is famous?
Who is the founder of GOOGLE?
Who are the competitors for the TCS in the world market as well as in Indian market?
Are you willing to relocate?
What is your favorite working location?
Finally the results was given after 20 days and I am one the selected candidates..
Monday, November 15, 2010
(Aptitude + PSYCHO + Technical + HR) TCS Placement Procedure
Firstly, TCS has several levels of tests/interview in their selection procedure.
1. Aptitude test (generally online test) consisting of three sections,
verbal abilities, quantitive abilities and logical reasoning abilities. In
verbal, u r asked antonyms of several words in english language, similar but
less exhaustive than GRE verbal section. Quantitive consists of class X
level mathematical skill testing problems. loogical reasoning will ask you
yes/no/can't say type qstns based on a paragraph. u will have to read
through the paragraph fast but efficiently understanding only the main pith
of the written material.
regading the words, they ask the same words over and over again. So,
memorise the word meanings from all the papers that i have put up. U will surely get all of them common. In case, u have given GRE, don't bother abt this section
at all. All words are common. Each section is time limited. I have forgotten the exact time division. So u can not afford to waste too much time on any one section.
2. Psychometry: When u clear the above three section, u will be allowed to
appear for psychometry. Its 150 qstns to be answered in 30 min. Always
remember to give POSITIVE and CONSISTENT answers since the same qstn repeats with a different sentense construction sometimes later. Try to hide -ve
traits in ur character as like being impatient, getting bored easily,
distracted easily, feeling uneasy in a gathering of many people, unsocial
and over talkative nature, etc. They ask qstns like whether u wld make
friendship with a person of opposite sex, feel insomnia without reason,
consistently brood over a mistake u did in the past, the type of person u r,
etc etc. what u r actually is not important, what qualities wld make ur
employers happy is important.
3. After u clear psycho, is ur technical interview. Qstns come mainly from
the projects, experiences u have gathered. They check ur resume and the blue
form and ask qstns from there. Even sometimes they test ur logical ablities
by asking puzzles like the type they ask at Infy. get through with the
project works and stuff and be smart and reply confidently.
4. Clearing technical inter will make u elligible for HR interview which is
also the final stage. Qstns are various types, including ur background, ur
hobbies, etcx etc. They are known to harrass people with their hobbies. so,
whatever hobbies u write, plzz be through with it and prepare so that u can
answer qstns from ur hobbies. Like if u say singing, plzz get through with
ur scale and technical things related to singing etc. If u like reading,
plzz be prepared to name a few novels and face qstns on those novels. Also,
they might try to embarras u by asking qstns of personal and slightly
indecent nature like abt ur boyfriend, ur affairs(if any) etc. Stay calm and
answer them with a smiling face. Keep eye contact. Don't get provoked by any
means.
Thats abt all. They take a week or so to announce results. So have patience
and hope for the best.
1. Aptitude test (generally online test) consisting of three sections,
verbal abilities, quantitive abilities and logical reasoning abilities. In
verbal, u r asked antonyms of several words in english language, similar but
less exhaustive than GRE verbal section. Quantitive consists of class X
level mathematical skill testing problems. loogical reasoning will ask you
yes/no/can't say type qstns based on a paragraph. u will have to read
through the paragraph fast but efficiently understanding only the main pith
of the written material.
regading the words, they ask the same words over and over again. So,
memorise the word meanings from all the papers that i have put up. U will surely get all of them common. In case, u have given GRE, don't bother abt this section
at all. All words are common. Each section is time limited. I have forgotten the exact time division. So u can not afford to waste too much time on any one section.
2. Psychometry: When u clear the above three section, u will be allowed to
appear for psychometry. Its 150 qstns to be answered in 30 min. Always
remember to give POSITIVE and CONSISTENT answers since the same qstn repeats with a different sentense construction sometimes later. Try to hide -ve
traits in ur character as like being impatient, getting bored easily,
distracted easily, feeling uneasy in a gathering of many people, unsocial
and over talkative nature, etc. They ask qstns like whether u wld make
friendship with a person of opposite sex, feel insomnia without reason,
consistently brood over a mistake u did in the past, the type of person u r,
etc etc. what u r actually is not important, what qualities wld make ur
employers happy is important.
3. After u clear psycho, is ur technical interview. Qstns come mainly from
the projects, experiences u have gathered. They check ur resume and the blue
form and ask qstns from there. Even sometimes they test ur logical ablities
by asking puzzles like the type they ask at Infy. get through with the
project works and stuff and be smart and reply confidently.
4. Clearing technical inter will make u elligible for HR interview which is
also the final stage. Qstns are various types, including ur background, ur
hobbies, etcx etc. They are known to harrass people with their hobbies. so,
whatever hobbies u write, plzz be through with it and prepare so that u can
answer qstns from ur hobbies. Like if u say singing, plzz get through with
ur scale and technical things related to singing etc. If u like reading,
plzz be prepared to name a few novels and face qstns on those novels. Also,
they might try to embarras u by asking qstns of personal and slightly
indecent nature like abt ur boyfriend, ur affairs(if any) etc. Stay calm and
answer them with a smiling face. Keep eye contact. Don't get provoked by any
means.
Thats abt all. They take a week or so to announce results. So have patience
and hope for the best.
(Quantitative + PSYCHO + Technical) TCS Placement Paper
Quantitative Section 1. There are 150 weights .Some are 1 kg weights and some are 2 kg weights. The sum of the weights is 260.What is the number of 1kg weights?
Ans. 40
2. A is driving on a highway when the police fines him for overspeeding and exceeding the limit by 10 km/hr.At the same time B is fined for overspeeding by twice the amount by which A exceeded the limit.If he was driving at 35 km/hr what is the speed limit for the road?
Ans. 15 kmph
3. A moves 3 kms east from his starting point . He then travels 5 kms north. From that point he moves 8 kms to the east.How far is A from his starting point?
Ans. 13 kms
4. A car travels 12 kms with a 4/5th filled tank.How far will the car travel with 1/3 filled tank?
Ans. 5 kms
5. The sum of the digits of a two digit number is 8. When 18 is added to the number, the digits are reversed. Find the number?
Ans. 35
6. The cost of one pencil, two pens and four erasers is Rs.22 while the cost of five pencils, four pens and two erasers is Rs.32.How much will three pencils, three pens and three erasers cost?
Ans. 27
7. Fathers age is 5 times his son's age. 4 years back the father was 9 times older than son.Find the fathers' present age.
Ans. 40 years
8. What number should be added to or subtracted from each term of the ratio 17 : 24 so that it becomes equal to 1 : 2.
Ans. 10 should be subtracted
9. What is the 12th term of the series 2, 5, 8, ....
Ans. 35
10. If 20 men take 15 days to to complete a job, in how many days can 25 men finish that work?
Ans. 12 days
11. In a fraction, if 1 is added to both the numerator at the denominator, the fraction becomes 1/2. If numerator is subtracted from the denominator, the fraction becomes 3/4. Find the fraction.
Ans. 3/7
12. If Rs.1260 is divided between between A, B and C in the ratio 2:3:4, what is C's share?
Ans. Rs. 560
13. A shopkeeper bought a watch for Rs.400 and sold it for Rs.500.What is his profit percentage?
Ans. 25%
14. What percent of 60 is 12?
Ans. 20%
15. Hansie made the following amounts in seven games of cricket in India : Rs.10, Rs.15, Rs.21, Rs.12, Rs.18, Rs.19 and Rs.17(all figures in crores of course).Find his average earnings.
Ans. Rs.16 crore
Psychometric Test
This test consists of 150 questions and is just a pyshcology test which should be answered confidently and doesn't require any preparation.One must try being consistent while answering as the same questions are repeatedly asked in different forms.Also one must answer all questions.Questions are of yes or no kind.
Example:
Are you sincere?
If you find a purse in the market with loads of money would you return it to the rightful owner?
While climbing up the stairs do you take two steps at a time?
Do you drink and smoke more than you think you should?
Are you the life of the party you attend?
Are you shy?
Technical Test
consists of 50 questions. The Set Code for this paper 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) Tthey are local
(c) They are not initialised to zero
(d) They are global
6. Write one statement equivalent 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) Ccommentscan 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(u);
}
What is returned
(a) 15
(b) 0
(c) 16.1
(d) 29
10. Which of the following represents true statement either x is in the range of 10 and 50 or y is zero
(a) x >= 10 && x <= 50 || y = = 0
(b) x<50
(c) y!=10 && x>=50
(d) None of these
11. Which of the following is not an infinite loop ?
(a) while(1)\{ ....}
(b) for(;;)
{
...
}
(c) x=0;
do{
/*x unaltered within the loop*/
.....}
while(x = = 0);
(d) # define TRUE 0
...
while(TRUE){
....}
12. What does the following function print?
func(int i)
{ if(i%2)return 0;
else 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 value 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="Entrance"
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;
(c)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)
else 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) None of these
31. What is incorrect among the following
A recursive function
(a) calls itself
(b) is equivalent to a loop
(c) has a termination condition
(d) does not have a return value at all
32. Which of the following go out of the loop 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
main()
{unsigned int i=10;
while(i>=0){
printf("%u",i)
i--;}
}
How many times the loop will get executed
(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 segment
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 of these
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 of the above
39. The 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 of these
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) none of these
44.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;
Tata Consultancy Services
Ans. 40
2. A is driving on a highway when the police fines him for overspeeding and exceeding the limit by 10 km/hr.At the same time B is fined for overspeeding by twice the amount by which A exceeded the limit.If he was driving at 35 km/hr what is the speed limit for the road?
Ans. 15 kmph
3. A moves 3 kms east from his starting point . He then travels 5 kms north. From that point he moves 8 kms to the east.How far is A from his starting point?
Ans. 13 kms
4. A car travels 12 kms with a 4/5th filled tank.How far will the car travel with 1/3 filled tank?
Ans. 5 kms
5. The sum of the digits of a two digit number is 8. When 18 is added to the number, the digits are reversed. Find the number?
Ans. 35
6. The cost of one pencil, two pens and four erasers is Rs.22 while the cost of five pencils, four pens and two erasers is Rs.32.How much will three pencils, three pens and three erasers cost?
Ans. 27
7. Fathers age is 5 times his son's age. 4 years back the father was 9 times older than son.Find the fathers' present age.
Ans. 40 years
8. What number should be added to or subtracted from each term of the ratio 17 : 24 so that it becomes equal to 1 : 2.
Ans. 10 should be subtracted
9. What is the 12th term of the series 2, 5, 8, ....
Ans. 35
10. If 20 men take 15 days to to complete a job, in how many days can 25 men finish that work?
Ans. 12 days
11. In a fraction, if 1 is added to both the numerator at the denominator, the fraction becomes 1/2. If numerator is subtracted from the denominator, the fraction becomes 3/4. Find the fraction.
Ans. 3/7
12. If Rs.1260 is divided between between A, B and C in the ratio 2:3:4, what is C's share?
Ans. Rs. 560
13. A shopkeeper bought a watch for Rs.400 and sold it for Rs.500.What is his profit percentage?
Ans. 25%
14. What percent of 60 is 12?
Ans. 20%
15. Hansie made the following amounts in seven games of cricket in India : Rs.10, Rs.15, Rs.21, Rs.12, Rs.18, Rs.19 and Rs.17(all figures in crores of course).Find his average earnings.
Ans. Rs.16 crore
Psychometric Test
This test consists of 150 questions and is just a pyshcology test which should be answered confidently and doesn't require any preparation.One must try being consistent while answering as the same questions are repeatedly asked in different forms.Also one must answer all questions.Questions are of yes or no kind.
Example:
Are you sincere?
If you find a purse in the market with loads of money would you return it to the rightful owner?
While climbing up the stairs do you take two steps at a time?
Do you drink and smoke more than you think you should?
Are you the life of the party you attend?
Are you shy?
Technical Test
consists of 50 questions. The Set Code for this paper 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) Tthey are local
(c) They are not initialised to zero
(d) They are global
6. Write one statement equivalent 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) Ccommentscan 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(u);
}
What is returned
(a) 15
(b) 0
(c) 16.1
(d) 29
10. Which of the following represents true statement either x is in the range of 10 and 50 or y is zero
(a) x >= 10 && x <= 50 || y = = 0
(b) x<50
(c) y!=10 && x>=50
(d) None of these
11. Which of the following is not an infinite loop ?
(a) while(1)\{ ....}
(b) for(;;)
{
...
}
(c) x=0;
do{
/*x unaltered within the loop*/
.....}
while(x = = 0);
(d) # define TRUE 0
...
while(TRUE){
....}
12. What does the following function print?
func(int i)
{ if(i%2)return 0;
else 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 value 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="Entrance"
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;
(c)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)
else 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) None of these
31. What is incorrect among the following
A recursive function
(a) calls itself
(b) is equivalent to a loop
(c) has a termination condition
(d) does not have a return value at all
32. Which of the following go out of the loop 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
main()
{unsigned int i=10;
while(i>=0){
printf("%u",i)
i--;}
}
How many times the loop will get executed
(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 segment
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 of these
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 of the above
39. The 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 of these
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) none of these
44.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;
Tata Consultancy Services
TCS COBOL PAPER
TCS 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
1,2,3,4,5,6,7,8,9,10, ..15 ..20 ..25 ..30 ..35
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,
38 ..43 ..48
a, c, b, a, b, b, b, c, c, a, b, c, a
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
1,2,3,4,5,6,7,8,9,10, ..15 ..20 ..25 ..30 ..35
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,
38 ..43 ..48
a, c, b, a, b, b, b, c, c, a, b, c, a
(VERBAL + LOGICAL + QUANTITATIVE + REASONING + Antonyms + Synonyms) TCS APTITUDE PAPERS
TCS Aptitude Paper
SECTION 1: VERBAL
COMPREHENSION HAD SIX QUESTIONS.SO HAD FILL IN THE BLANKS.FORMER WAS A VERY BORING PASSAGE.FILL IN HAD A PASSAGE WITH SIX SENTENCES IN BETWEEN TO BE FILLED WITH EIGHT CHOICES GIVEN.ALL STUDENTS HAD DIFFERENT PASSAGES.THE DATABASE IS VERY LARGE.FOR FILL IN GRE BOOK IS RECOMMENDED.
MOST OF THEM WERE NOT ABLE TO UNDERSTAND THE PASSAGE.
I HAVE GIVEN BELOW THE WORDS THAT WERE ASKED IN SYNONYMS AND ANTONYMS.
1. WHIMSICAL
2. CENSURE.
3. OPTIMUM.
4. MISAPPREHENSION.
5. CANDID.
6. TORSE.
7. CITE.
8. EFFUSIVE.
9. IRRADIATE.
10. TENACIOUS.
11. VOLUBLE.
12. BANAL.
13. RUPTURE.
14. STANDING.
15. NASCENT.
16. TRANSIENT.
17. CLUTCH.
18. GENERIC.
19. EMPIRICAL.
20. ANOMALY.
21. CIRCUITOUS.
22. HAMPER.
23. SURVEILLANCE.
24. OBJECTIVE.
25. RAUCOUS.
26. VORACIOUS.
27. PEDIGREE.
28. FIDELITY.
29. AUGMENT.
30. PRECARIOUS.
31. TRANSIENT.
32. ALACRITY.
33. DEROGATORY.
34. ONUS.
35. ANALOGUE.
36. EXPEDIENT.
37. ANALOGOUS.
38. ASSUAGE.
39. COMPLIANCE.
40. IRRADIATE.
41. DIFFIDANT.
42. PLAINTIVE.
43. INCINUATE.
44. MISDEMEANOR.
45. EXONERATE.
46. GREGARIOUS.
47. ANATHEMATIZE.
48. BENIGN.
49. ATTENUATE.
50. SONOROUS.
51. BOLSTER.
52. DIVERGENT.
53. DECOLLATE
54. HETERODOX
55. RESTIVENESS
56. IGNONIMOUS.
57. PLAGARIOUS.
58. EFFIGY.
59. TENACIOUS.
60. RETROGADE.
61. SACROSANCT.
62. DANGLE.
63. ANOMALY.
64. CRYPTIC.
65. DEBILIATE.
66. DIVULGE.
67. SCEPTIC.
68. SPENDTHRIFT.
69. INDIGENOUS.
70. ERRONIUS.
71. RUPTURE.
72. MINION.
73. VERACITY.
74. QUAIL.
75. DESULTORY.
76. SAGE.
SECTION 2: QUANTITATIVE AND LOGICAL REASONING.
MOST OF THE QUESTIONS WERE FROM TCS OLD PAPERS.
THE QUESTIONS WILL BE OF THIS PATTERN TO EVERYONE. ONLY THE DATA GETS CHANGED.
1. In a two-dimensional array, X (9, 7), with each element occupying 4 bytes of memory, with the address of the first element X (1, 1) is 3000, find the address of X (8, 5).
2. In the word ORGANISATIONAL, if the first and second, third and forth, forth and fifth, fifth and sixth words are interchanged up to the last letter, what would be the tenth letter from right?
3. What is the largest prime number that can be stored in an 8-bit memory?
4. Select the odd one out. a. Java b. Lisp c. Smalltalk d. Eiffel.
5. Select the odd one out a. SMTP b. WAP c. SAP d. ARP
6. Select the odd one out a. Oracle b. Linux c. Ingress d. DB2
7. Select the odd one out a. WAP b. HTTP c. BAAN d. ARP
8. Select the odd one out a. LINUX b. UNIX c. SOLARIS d. SQL SEVER
9. Select the odd one out a. SQL b. DB2 c. SYBASE d. HTTP
10. The size of a program is N. And the memory occupied by the program is given by M = square root of 100N. If the size of the program is increased by 1% then how much memory now occupied?
11. A man, a woman, and a child can do a piece of work in 6 days. Man only can do it in 24 days. Woman can do it in 16 days and in how many days child can do the same work?
12. In which of the system, decimal number 384 is equal to 1234?
13. Find the value of the 678 to the base 7.
14. Number of faces, vertices and edges of a cube
15. Complete the series 2, 7, 24, 77,__
16. Find the value of @@+25-++@16, where @ denotes "square" and + denotes "square root".
17. Find the result of the following expression if, M denotes modulus operation, R denotes round-off, T denotes truncation: M(373,5)+R(3.4)+T(7.7)+R(5.8)
18. If TAFJHH is coded as RBEKGI then RBDJK can be coded as ---------
19. G(0)=-1, G(1)=1, G(N)=G(N-1) - G(N-2), G(5)= ?
20. What is the max possible 3 digit prime number?
21. A power unit is there by the bank of the river of 750 meters width. A cable is made from power unit to power a plant opposite to that of the river and 1500mts away from the power unit. The cost of the cable below water is Rs. 15/- per meter and cost of cable on the bank is Rs.12/- per meter. Find the total of laying the cable.
22. The size of a program is N. And the memory occupied by the program is given by M = square root of 100N. If the size of the program is increased by 1% then how much memory now occupied?
23. In Madras , temperature at noon varies according to -t^2/2 + 8t + 3, where t is elapsed time. Find how much temperature more or less in 4pm to 9pm.
24. The size of the bucket is N kb. The bucket fills at the rate of 0.1 kb per millisecond. A programmer sends a program to receiver. There it waits for 10 milliseconds. And response will be back to programmer in 20 milliseconds. How much time the program takes to get a response back to the programmer, after it is sent?
25. A man, a woman, and a child can do a piece of work in 6 days. Man only can do it in 24 days. Woman can do it in 16 days and in how many days child can do the same work?
26. If the vertex (5,7) is placed in the memory. First vertex (1,1) ?s address is 1245 and then address of (5,7) is ----------
27. Which of the following are orthogonal pairs? a. 3i+2j b. i+j c. 2i-3j d. -7i+j
28. If VXUPLVH is written as SURMISE, what is SHDVD?
29. If A, B and C are the mechanisms used separately to reduce the wastage of fuel by 30%, 20% and 10%. What will be the fuel economy if they were used combined.
30. What is the power of 2? a. 2068 b.2048 c.2668
31. Complete the series. 3, 8, --, 24, --, 48, 63
32. Complete the series. 4, -5, 11, -14, 22, ---
33. A, B and C are 8 bit no?s. They are as follows:
A 1 1 0 1 1 0 1 1
B 0 1 1 1 1 0 1 0
C 0 1 1 0 1 1 0 1
Find ( (A-B) u C )=?
Hint :
A-B is {A} ? {A n B}
34. A Flight takes off at 2 A.M from northeast direction and travels for 11 hours to reach the destination which is in north west direction. Given the latitude and longitude of source and destination. Find the local time of destination when the flight reaches there?
35. A can copy 50 papers in 10 hours while both A & B can copy 70 papers in 10 hours. Then for how many hours required for B to copy 26 papers?
36. A is twice efficient than B. A and B can both work together to complete a work in 7 days. Then find in how many days A alone can complete the work?
37. A finish the work in 10 days. B is 60% efficient than A. So how days does B take to finish the work?
38. A finishes the work in 10 days & B in 8 days individually. If A works for only 6 days then how many days should B work to complete A?s work?
39. Given the length of the 3 sides of a triangle. Find the one that is impossible? (HINT : sum of smaller 2 sides is greater than the other one which is larger)
40. Find the singularity matrix from a given set of matrices?(Hint det(A)==0)
41. A 2D array is declared as A[9,7] and each element requires 2 byte. If A[ 1,1 ] is stored in 3000. Find the memory of A[8,5] ?
42. Sum of slopes of 2 perpendicular st. lines is given. Find the pair of lines from the given set of options which satisfy the above condition?
43. (a) 2+3i (b)1+i (c) 3-2i (d) 1-7i .Find which of the above is orthogonal.
44. (Momentum*Velocity)/(Acceleration * distance ) find units.
45. The number 362 in decimal system is given by (1362)x in the X system of numbers find the value of X a}5 b) 6 c) 7 d) 8 e) 9
46. Given $ means Tripling and % means change of sign then find the value of $%$6-%$%6
47. My flight takes of at 2am from a place at 18N 10E and landed 10 Hrs later at a place with coordinates 36N70W. What is the local time when my plane landed.
a) 6:00 am b) 6:40am c)7:40 d)7:00 e)8:00 (Hint : Every 1 deg longitude is equal to 4 minutes . If west to east add time else subtract time)
48. Find the highest prime number that can be stored in an 8bit computer.
49. Which of the following set of numbers has the highest Standard deviation?
1,0,1,0,1,0
-1,-1,-1,-1,-1,-1
1,1,1,1,1,1
1,1,0,-1,0,-1
50. Match the following:
1. Male - Boy ---> a. A type of
2. Square - Polygon ---> b. A part of
3. Roof - Building ---> c. Not a type of
4. Mushroom - Vegetables ---> d. A superset of
Ans: 1- d, 2- a, 3- b, 4- c
51. Match the following.
1. brother ? sister ---> a. Part of
2. Alsatian ? dog ---> b. Sibling
3. sentence ? paragraph ---> c. Type of
4. car - steering ---> d. Not a type of
Ans. 1-b, 2-c, 3-a, 4-d
*****Remaining Questions were from Graph, pie charts, Bar chart and Venn diagram which were very easy.
SECTION 3: CRITICAL REASONING
(BRM ?LOGICAL REASONING PACKAGE WILL BE VERY HELPFUL) I.The players G,H,J,K,L,M,N,O are to be felicitated of representing the county team in Baseball Out of these H,M,O also are in the Football team and K,N are there in the Basket ball team . These players are to be seated on a table and no two players who has represented the county in more than one game are to sit together.
1.Which one of the orders can they be seated in
2. Which of the orders is not possible
3. If N is seated in the middle then which of the following pairs cannot be seated near him .
4. If M is seated then which of the following pairs can be seated next to him.
Choices are given for all the questions
II There are 2 groups named Brown and red. They can?t marry in the same group. If the husband or wife dies then the person will convert to their own group. If a person is married then the husband will have to change his group to his wife?s group. The child will own the mothers group. From these a set of 4 questions were given .Solve them
Eg;
1.Brown?s daughter is red (False)
2. If a person is red. Then his/her mother?s brother belong to which group if he is married (Brown)
III 7 people ? a,b,c,d,e,f,g
Need to make a seating arrangement for them.
Conditions: 1)A should be at the center 2) B,F should be at the right extreme 3)C,E always in pair 4)D,G as far as possible
Questions from the above were asked?
Eg:
Which of the following pairs were not possible?
Others questions were similar to the above. More questions were from Barrons.
HR QUESTIONS:
For all the questions they expect a elaborate answer with justifications and not a short one.
1) Market urself
2) Why TCS ?
3) Will u switch over to any other company after joining TCS? If NO then why?
4) R u mobile? ( R u ready to go anywhere ?)
5) R u ready to go to places of extreme temperature. If yes what do u think of ur safety?
6) What are the requirements for leadership quality ?
7) Why u switch over to s/w from ur own back ground?
8) What are the qualities required for a s/w engineer and Project manager?
9) Rate ur good qualities?
10) What is the difference between hard and smart work?
11) Do u have a plan of doing higher studies ?
TCS Aptitude test :
1.if the word 'ddosszm' is changed to 'central' then what will be the change for 'rtjbl' ?
ans:quick
2.what is the largest prime number in 8 digit number?
3.the word unimpressive was given.they asked us to do change 1st & 2nd,3rd & 4th,so on.then they asked what will be 10th letter from right?
ans:m
4.the plane question was asked.it took off from 7 degree 53' 6.1'' and landed at 8 degree 6' 43.5''.it takes 12 hours to travel between these points.then what will be local time at destination ?[just follow previous ques paper the problem was same]
5.g[0]=1,g[1]=-1,g[n]=2*g[n-1]-3*g[n-2] then calculate g[4]= ?
6.the series was asked : 5,6,7,8,10,11,14,..?
7.they asked the temperature problem.it was same as previous papers.the ratio was -t*t/6+4t+12.
8.the ques on a man,a woman and a boy finish work together in 6 days.man takes 10 days,woman takes 24 days then how much boy will take?
ans:40 days
8.the matrix of a(7,9) was given.the address of the first byte of a(1,1)=1258.it takes 4 bytes to store the nuymber.then calculate the address of the last byte of a(5,8).
9.the program requires 4000(n)1/2 [ie square root of n].if size of program was increased by 1% then calculate the percentage change in size of program.
10.modulo(373,7)+round(5.8)+truncat(7.2)-round(3.4) = ?
i exactly don't remember the truncate function.but the function was where we skip the '.' part.
ans : 12
11.the bucket size is 10KB.it takes 0.0001 KB/milisec to fill bucket.the bucket takes 100 or 1000 milisec to reach to destination.it takes 100 milisec to pass acknowledgement from dest to source.so calculate how much time will it take to pass N KB ,write formula.
[i don't remember the exact figures of bucket transmission time from source to dest]
12.the graph was given.the x and y axes were there.the line is intersecting them.the points of intersection were y=3,x=0 and x=-2,y=0.write the equation of line.
13.the decimal number was given.it was converted to other system.they asked to identify the
system.i.e. octal,hexadecimal.
14.they asked us to match the pairs.they were like,
A B
basmati-wheat not type of
15.the paragraph was given.it was on associations and the example of lecturer was there in para.
SECTION I
1. If VXUPLVH is written as SURMISE, what is SHDVD ?
Ans. PEASA (hint: in the first
word, the alphabets of the jumbled one is three
alphabets after the corresponding alphabet in the word
SURMISE. S = V-3, similarly find the one for SHDVD)
2. If DDMUQZM is coded as CENTRAL then RBDJK can be
coded as ---------
Ans. QCEIL (hint: Write both the
jumbled and the coded word as a table, find the
relation between the corresponding words, i.e C= D-1,
N=M+1 & so on
3. In the word ECONOMETRICS, if the first and second ,
third and forth ,forth and fifth, fifth and sixth
words are interchanged up to the last letter, what
would be the tenth letter from right?
Ans. word is CENOMOTEIRSC tenth word is R
4. Find the result of the following __expression if, M
denotes modulus operation, R denotes round-off, T
denotes truncation: M(373,5)+R(3.4)+T(7.7)+R(5.8)
Ans. 19
5. What is the largest prime number that can be stored
in an 8-bit memory?
Ans.
6. Find the physical quantity in units from the
equation: (Force*Distance)/(Velocity*Velocity)
Ans. Ns2/m
7. Find the value of @@+25-++@16, where @ denotes
"square" and + denotes "square root".
Ans: 621
8. If f(0)=1 and f(n)= f(n-1)*n, find the value of
f(4).
Ans: 24
9. Convert the decimal number 310 to the base 6.
Ans: 1234
10. Find the missing number in the series: 2, 5,
__ , 19 , 37, 75
Ans: 9
11. In a two-dimensional array, X(9,7), with each
element occupying 4 bytes of memory, with the address
of the first element X(1,1) is 3000, find the address
of X(8,5).
Ans.
12. Find the fourth row, having the bit pattern as an
integer in an 8-bit computer, and express the answer
in its decimal value.
A 0 0 0 0 1 1 1 1
B 0 0 1 1 0 0 1 1
C 0 1 0 1 0 1 0 1
(AU(B-C)) ?
Ans. 29
13. Complete the series 2, 7, 24, 77,__ (hint: 2*12=
24, 7*11= 77, therefore 24*10= 240)
Ans: 240
14. Consider the following diagram for answering the
following questions:
A. Find the difference between people playing
cricket and tennis alone.
Ans: 4
B. Find the percentage of people playing
hockey to that playing both hockey and cricket.
Ans:
C. Find the percentage of people playing all
the games to the total number of players.
Ans: 6%
15. One more question of the same type (Same type of
diagram; of course in a different set)
1. How many more or less speak English thanFrench?
2. What % people speak all the three languages?
3. What % people speak German but not English?
{In another set cricket, hockey and tennis are changed
with the name of some computer languages, such as
Java, Cobol, Fortran (may be some other name)}
16. Select the odd one out
a. Oracle b.
Linux c. Ingress
d. DB2
17. Select the odd one out
a. SMTP b. WAP
c. SAP
d. ARP
18. Select the odd man out.
a. Java b.
Lisp c. Smalltalk
d. Eiffel
19. Which of the following are orthogonal pairs?
a. 3i+2j
b. i+j c. 2i-3j
d. -7i+j
20. Number of faces, vertices and edges of a cube
a. 12,8,6
b. 4,6,8 c. 6,8,12
d. 6,12,8
21. Given a Bar Chart showing the sales of a company.
(In Figure) The sales in years as shown in the figure
are (in crores) 1998-1999 - 130, 1997-1998 - 90,
1996-1997 - 90, 1995-1996 - 70
1. The highest growth rate was for the year
Ans. 1998-1999
2. The net increase in sales of the company in the
year span of 1995-1999
Ans. 60 crores.
3. The lowest growth rate was for the year
Ans. 1997
22. Find the value of the decimal number to the base
7.
Ans. 1436.
23. Complete the series:5,6,7,8,10,11,14,__.
Ans. 15
24. If the vertex (5,7) is placed in the memory. First
vertex (1,1) ?s address is 1245 and then address of
(5,7) is ----------
Ans.
25. In which of the system, decimal number 384 is
equal to 1234?
Ans.
26. A man, a woman, and a child can do a piece of work
in 6 days. Man only can do it in 24 days. Woman can do
it in 16 days and in how many days child can do the
same work?
Ans.
27. In Madras , temperature at noon varies according to
-t^2/2 + 8t + 3, where t is elapsed time. Find how
much temperature more or less in 4pm to 9pm.
Ans.
28. The size of the bucket is N kb. The bucket fills
at the rate of 0.1 kb per millisecond. A programmer
sends a program to receiver. There it waits for 10
milliseconds. And response will be back to programmer
in 20 milliseconds. How much time the program takes to
get a response back to the programmer, after it is
sent?
Ans.
29. The size of a program is N. And the memory
occupied by the program is given by M = square root of
100N. If the size of the program is increased by 1%
then how much memory now occupied ?
Ans.
30. A power unit is there by the bank of the river of
750 meters width. A cable is made from power unit to
power a plant opposite to that of the river and
1500mts away from the power unit. The cost of the
cable below water is Rs. 15/- per meter and cost of
cable on the bank is Rs.12/- per meter. Find the total
of laying the cable.
Ans. Rs. 22,500 (hint: the plant
is on the other side of the plant i.e. it is not on
the same side as the river)
{There are two questions, both showing a curve. In the
first one, you have to identify the curve. In the
second one you have to Write the equation of the
curve. In }
SECTION II
1. If A can copy 50 pages in 10 hours and A and B
together can copy 70 pages in 10 hours, how much time
does B takes to copy 26 pages?
a. b.
c. d.
2. Match the following:
1. Male - Boy --->
a. A type of
2. Square - Polygon ---> b.
A part of
3. Roof - Building --->
c. Not a type of
4. Mushroom - Vegetables ---> d.
A superset of
Ans: 1- d, 2- a, 3- b, 4- c
3. Match the following.
1. brother ? sister --->
a. Part of
2. Alsatian ? dog --->
b. Sibling
3. sentence ? paragraph ---> c.
Type of
4. car - steering --->
d. Not a type of
Ans. 1-b, 2-c, 3-a, 4-d
Questions 20- 24 are based on the following passage:
The office staff of the XYZ
corporation presently consists of three bookkeepers
(A, B and C) and five secretaries (D, E, F, G and H).
Management is planning to open a new office in another
city using three secretaries and two bookkeepers of
the current staff. To do so they plan to separate
certain individuals who do not function well together.
The following guidelines were established to set up
the new office:
I. Bookkeepers A and C are
constantly finding fault with one another and should
not be sent as a team to the new office.
II. C and E function well alone but
not as a team. They should be separated.
III. D and G have not been on
speaking terms for many months. They should not go
together.
IV. Since D and F have been competing
for promotion, they should not be a team.
Ans.
4. If A is to be moved as one of the bookkeepers,
which of the following cannot be a possible working
team?
(a) ABDEH (b) ABDGH
(c) ABEFH (d) ABEGH (e) ABFGH
5. If C and F are moved to the new office, how many
combinations are possible?
(a) 1 (b) 2
(c) 3 (d) 4
(e) 5
6. If C is sent to the new office, which member of the
staff cannot go with C?
(a) B (b) D
(c) F (d) G
(e) H
7. Under the guidelines developed, which of the
following must go to the new office?
(a) B (b) D
(c) E (d) G
(e) H
8. If D goes to the new office which of the following
is (are) true?
I. C cannot go.
II. A cannot go.
III. H must also go.
a. I only. b. II only.
c. I and II only. d. I and III only.
e. I, II and III.
9. Two stations A & B are 110 km apart. One train
starts from A at 7 am, and travels towards B at
20kmph. Another train starts from B at 8 am and
travels towards A at 25kmph. At what time will they
meet?
a. 9 am b. 10 am
c. 11 am d. 10.30 am
10. If a man can swim downstream at 6kmph and upstream
at 2kmph, his speed in still water is:
a. 4kmph b. 2kmph
c. 3kmph d. 2.5kmph
Answer the following three questions based on the
paragraph:
A student applying at a college should take three
courses. There are altogether four courses, namely,
Science, Maths, Social Sudies and Economics. (The
names may vary, but the pattern is the same)
One can take a Science course onty if he has taken a
Maths course.
One can take a Maths course only if he has taken a
Science course.
One can take a n Economics course only if he has taken
a Social Studies course.
11. Which of the following is a possible course?
a. Two Science courses and a Social
Studies Course.
b. Two Maths courses and an Economics
course.
c. One Mats course, one Science course and
a Social Studies course.
d. One Maths course, one Science course
and an Economics course.
12. Which of the following courses a student can take?
I. One Science, one Social Studies,
one Economics
II. Two Science, one Social Studies
III. Two Science, one Maths.
a. I only
b. III only c. I and II only
d. II and III only
13. Which of the following is not a possible course?
a. Two Science courses and a Maths course.
b. Two Maths course and a
Science course.
c. One Maths course, one Science course
and a Social Studies Course.
d. One Maths course, one Science course
and an Economics course.
Synonyms:
Pillage ? steal , loot , plunder
Cleft - split , crack
Incesment ?
Brazen - bold , shameless
Awry - skewed , twisted , crooked
Remiss ? careless , negligent
Defection - desertion
Ensue - follow
Avid - keen , eager
Rupidiate Repudiate - reject,deny
Gauche - clumsy, vulgar
Intrinsic - essential
Gaudy ? flashy , showy
Hidebound ? narrow minded
Incognitent -
Intermittent ? irregular,broken
Clastrophobia - fear
Contraband ? illegal trade
Pagm concealed rapt
Voracious ? avid,hunger,greedy
Seedy ? sleazy,seamy
Omniscience ? knowing all
Diatribe ? attack,criticism
Slack - loose, relaxed
Felicitous ? fortunate,luck
Relish ? enjoy,savor
Aloofness ? unfriendliness, remoteness
Ambiguity - unknown
Pattry
Baleful ? threatening, malevolent
Odium ? hatred, disgust
Lapidarian
Gambol - skip
High handed ? dominant,imperious
Retrospection - perception
Antithe
Pagan
Genuflect ? kneel,bow
coerce ? force,compel
Indubitably ? undoubtedly, certainly
Extraneous ? irrelevant , unrelated
Corpulent ? fat,pump
Transient ? momentary
Spurious ? false,fake
Whimsical - fancy
Braggadocio -
Chimerical
Callow ? inexperience,naive
Menial ? unskilled,boring
Indigenous ? native,original
Ambiguity
Foil ? frustrate,halt
Antonyms:
Awry
Consensus * disagreement
Retrograde * forward looking
Galleon
Chide * praise
Depravity * goodness,righteousness
Paradox * consistency
Stilted * natural
Levity * gravity
Fritty
Genry
SECTION 1: VERBAL
COMPREHENSION HAD SIX QUESTIONS.SO HAD FILL IN THE BLANKS.FORMER WAS A VERY BORING PASSAGE.FILL IN HAD A PASSAGE WITH SIX SENTENCES IN BETWEEN TO BE FILLED WITH EIGHT CHOICES GIVEN.ALL STUDENTS HAD DIFFERENT PASSAGES.THE DATABASE IS VERY LARGE.FOR FILL IN GRE BOOK IS RECOMMENDED.
MOST OF THEM WERE NOT ABLE TO UNDERSTAND THE PASSAGE.
I HAVE GIVEN BELOW THE WORDS THAT WERE ASKED IN SYNONYMS AND ANTONYMS.
1. WHIMSICAL
2. CENSURE.
3. OPTIMUM.
4. MISAPPREHENSION.
5. CANDID.
6. TORSE.
7. CITE.
8. EFFUSIVE.
9. IRRADIATE.
10. TENACIOUS.
11. VOLUBLE.
12. BANAL.
13. RUPTURE.
14. STANDING.
15. NASCENT.
16. TRANSIENT.
17. CLUTCH.
18. GENERIC.
19. EMPIRICAL.
20. ANOMALY.
21. CIRCUITOUS.
22. HAMPER.
23. SURVEILLANCE.
24. OBJECTIVE.
25. RAUCOUS.
26. VORACIOUS.
27. PEDIGREE.
28. FIDELITY.
29. AUGMENT.
30. PRECARIOUS.
31. TRANSIENT.
32. ALACRITY.
33. DEROGATORY.
34. ONUS.
35. ANALOGUE.
36. EXPEDIENT.
37. ANALOGOUS.
38. ASSUAGE.
39. COMPLIANCE.
40. IRRADIATE.
41. DIFFIDANT.
42. PLAINTIVE.
43. INCINUATE.
44. MISDEMEANOR.
45. EXONERATE.
46. GREGARIOUS.
47. ANATHEMATIZE.
48. BENIGN.
49. ATTENUATE.
50. SONOROUS.
51. BOLSTER.
52. DIVERGENT.
53. DECOLLATE
54. HETERODOX
55. RESTIVENESS
56. IGNONIMOUS.
57. PLAGARIOUS.
58. EFFIGY.
59. TENACIOUS.
60. RETROGADE.
61. SACROSANCT.
62. DANGLE.
63. ANOMALY.
64. CRYPTIC.
65. DEBILIATE.
66. DIVULGE.
67. SCEPTIC.
68. SPENDTHRIFT.
69. INDIGENOUS.
70. ERRONIUS.
71. RUPTURE.
72. MINION.
73. VERACITY.
74. QUAIL.
75. DESULTORY.
76. SAGE.
SECTION 2: QUANTITATIVE AND LOGICAL REASONING.
MOST OF THE QUESTIONS WERE FROM TCS OLD PAPERS.
THE QUESTIONS WILL BE OF THIS PATTERN TO EVERYONE. ONLY THE DATA GETS CHANGED.
1. In a two-dimensional array, X (9, 7), with each element occupying 4 bytes of memory, with the address of the first element X (1, 1) is 3000, find the address of X (8, 5).
2. In the word ORGANISATIONAL, if the first and second, third and forth, forth and fifth, fifth and sixth words are interchanged up to the last letter, what would be the tenth letter from right?
3. What is the largest prime number that can be stored in an 8-bit memory?
4. Select the odd one out. a. Java b. Lisp c. Smalltalk d. Eiffel.
5. Select the odd one out a. SMTP b. WAP c. SAP d. ARP
6. Select the odd one out a. Oracle b. Linux c. Ingress d. DB2
7. Select the odd one out a. WAP b. HTTP c. BAAN d. ARP
8. Select the odd one out a. LINUX b. UNIX c. SOLARIS d. SQL SEVER
9. Select the odd one out a. SQL b. DB2 c. SYBASE d. HTTP
10. The size of a program is N. And the memory occupied by the program is given by M = square root of 100N. If the size of the program is increased by 1% then how much memory now occupied?
11. A man, a woman, and a child can do a piece of work in 6 days. Man only can do it in 24 days. Woman can do it in 16 days and in how many days child can do the same work?
12. In which of the system, decimal number 384 is equal to 1234?
13. Find the value of the 678 to the base 7.
14. Number of faces, vertices and edges of a cube
15. Complete the series 2, 7, 24, 77,__
16. Find the value of @@+25-++@16, where @ denotes "square" and + denotes "square root".
17. Find the result of the following expression if, M denotes modulus operation, R denotes round-off, T denotes truncation: M(373,5)+R(3.4)+T(7.7)+R(5.8)
18. If TAFJHH is coded as RBEKGI then RBDJK can be coded as ---------
19. G(0)=-1, G(1)=1, G(N)=G(N-1) - G(N-2), G(5)= ?
20. What is the max possible 3 digit prime number?
21. A power unit is there by the bank of the river of 750 meters width. A cable is made from power unit to power a plant opposite to that of the river and 1500mts away from the power unit. The cost of the cable below water is Rs. 15/- per meter and cost of cable on the bank is Rs.12/- per meter. Find the total of laying the cable.
22. The size of a program is N. And the memory occupied by the program is given by M = square root of 100N. If the size of the program is increased by 1% then how much memory now occupied?
23. In Madras , temperature at noon varies according to -t^2/2 + 8t + 3, where t is elapsed time. Find how much temperature more or less in 4pm to 9pm.
24. The size of the bucket is N kb. The bucket fills at the rate of 0.1 kb per millisecond. A programmer sends a program to receiver. There it waits for 10 milliseconds. And response will be back to programmer in 20 milliseconds. How much time the program takes to get a response back to the programmer, after it is sent?
25. A man, a woman, and a child can do a piece of work in 6 days. Man only can do it in 24 days. Woman can do it in 16 days and in how many days child can do the same work?
26. If the vertex (5,7) is placed in the memory. First vertex (1,1) ?s address is 1245 and then address of (5,7) is ----------
27. Which of the following are orthogonal pairs? a. 3i+2j b. i+j c. 2i-3j d. -7i+j
28. If VXUPLVH is written as SURMISE, what is SHDVD?
29. If A, B and C are the mechanisms used separately to reduce the wastage of fuel by 30%, 20% and 10%. What will be the fuel economy if they were used combined.
30. What is the power of 2? a. 2068 b.2048 c.2668
31. Complete the series. 3, 8, --, 24, --, 48, 63
32. Complete the series. 4, -5, 11, -14, 22, ---
33. A, B and C are 8 bit no?s. They are as follows:
A 1 1 0 1 1 0 1 1
B 0 1 1 1 1 0 1 0
C 0 1 1 0 1 1 0 1
Find ( (A-B) u C )=?
Hint :
A-B is {A} ? {A n B}
34. A Flight takes off at 2 A.M from northeast direction and travels for 11 hours to reach the destination which is in north west direction. Given the latitude and longitude of source and destination. Find the local time of destination when the flight reaches there?
35. A can copy 50 papers in 10 hours while both A & B can copy 70 papers in 10 hours. Then for how many hours required for B to copy 26 papers?
36. A is twice efficient than B. A and B can both work together to complete a work in 7 days. Then find in how many days A alone can complete the work?
37. A finish the work in 10 days. B is 60% efficient than A. So how days does B take to finish the work?
38. A finishes the work in 10 days & B in 8 days individually. If A works for only 6 days then how many days should B work to complete A?s work?
39. Given the length of the 3 sides of a triangle. Find the one that is impossible? (HINT : sum of smaller 2 sides is greater than the other one which is larger)
40. Find the singularity matrix from a given set of matrices?(Hint det(A)==0)
41. A 2D array is declared as A[9,7] and each element requires 2 byte. If A[ 1,1 ] is stored in 3000. Find the memory of A[8,5] ?
42. Sum of slopes of 2 perpendicular st. lines is given. Find the pair of lines from the given set of options which satisfy the above condition?
43. (a) 2+3i (b)1+i (c) 3-2i (d) 1-7i .Find which of the above is orthogonal.
44. (Momentum*Velocity)/(Acceleration * distance ) find units.
45. The number 362 in decimal system is given by (1362)x in the X system of numbers find the value of X a}5 b) 6 c) 7 d) 8 e) 9
46. Given $ means Tripling and % means change of sign then find the value of $%$6-%$%6
47. My flight takes of at 2am from a place at 18N 10E and landed 10 Hrs later at a place with coordinates 36N70W. What is the local time when my plane landed.
a) 6:00 am b) 6:40am c)7:40 d)7:00 e)8:00 (Hint : Every 1 deg longitude is equal to 4 minutes . If west to east add time else subtract time)
48. Find the highest prime number that can be stored in an 8bit computer.
49. Which of the following set of numbers has the highest Standard deviation?
1,0,1,0,1,0
-1,-1,-1,-1,-1,-1
1,1,1,1,1,1
1,1,0,-1,0,-1
50. Match the following:
1. Male - Boy ---> a. A type of
2. Square - Polygon ---> b. A part of
3. Roof - Building ---> c. Not a type of
4. Mushroom - Vegetables ---> d. A superset of
Ans: 1- d, 2- a, 3- b, 4- c
51. Match the following.
1. brother ? sister ---> a. Part of
2. Alsatian ? dog ---> b. Sibling
3. sentence ? paragraph ---> c. Type of
4. car - steering ---> d. Not a type of
Ans. 1-b, 2-c, 3-a, 4-d
*****Remaining Questions were from Graph, pie charts, Bar chart and Venn diagram which were very easy.
SECTION 3: CRITICAL REASONING
(BRM ?LOGICAL REASONING PACKAGE WILL BE VERY HELPFUL) I.The players G,H,J,K,L,M,N,O are to be felicitated of representing the county team in Baseball Out of these H,M,O also are in the Football team and K,N are there in the Basket ball team . These players are to be seated on a table and no two players who has represented the county in more than one game are to sit together.
1.Which one of the orders can they be seated in
2. Which of the orders is not possible
3. If N is seated in the middle then which of the following pairs cannot be seated near him .
4. If M is seated then which of the following pairs can be seated next to him.
Choices are given for all the questions
II There are 2 groups named Brown and red. They can?t marry in the same group. If the husband or wife dies then the person will convert to their own group. If a person is married then the husband will have to change his group to his wife?s group. The child will own the mothers group. From these a set of 4 questions were given .Solve them
Eg;
1.Brown?s daughter is red (False)
2. If a person is red. Then his/her mother?s brother belong to which group if he is married (Brown)
III 7 people ? a,b,c,d,e,f,g
Need to make a seating arrangement for them.
Conditions: 1)A should be at the center 2) B,F should be at the right extreme 3)C,E always in pair 4)D,G as far as possible
Questions from the above were asked?
Eg:
Which of the following pairs were not possible?
Others questions were similar to the above. More questions were from Barrons.
HR QUESTIONS:
For all the questions they expect a elaborate answer with justifications and not a short one.
1) Market urself
2) Why TCS ?
3) Will u switch over to any other company after joining TCS? If NO then why?
4) R u mobile? ( R u ready to go anywhere ?)
5) R u ready to go to places of extreme temperature. If yes what do u think of ur safety?
6) What are the requirements for leadership quality ?
7) Why u switch over to s/w from ur own back ground?
8) What are the qualities required for a s/w engineer and Project manager?
9) Rate ur good qualities?
10) What is the difference between hard and smart work?
11) Do u have a plan of doing higher studies ?
TCS Aptitude test :
1.if the word 'ddosszm' is changed to 'central' then what will be the change for 'rtjbl' ?
ans:quick
2.what is the largest prime number in 8 digit number?
3.the word unimpressive was given.they asked us to do change 1st & 2nd,3rd & 4th,so on.then they asked what will be 10th letter from right?
ans:m
4.the plane question was asked.it took off from 7 degree 53' 6.1'' and landed at 8 degree 6' 43.5''.it takes 12 hours to travel between these points.then what will be local time at destination ?[just follow previous ques paper the problem was same]
5.g[0]=1,g[1]=-1,g[n]=2*g[n-1]-3*g[n-2] then calculate g[4]= ?
6.the series was asked : 5,6,7,8,10,11,14,..?
7.they asked the temperature problem.it was same as previous papers.the ratio was -t*t/6+4t+12.
8.the ques on a man,a woman and a boy finish work together in 6 days.man takes 10 days,woman takes 24 days then how much boy will take?
ans:40 days
8.the matrix of a(7,9) was given.the address of the first byte of a(1,1)=1258.it takes 4 bytes to store the nuymber.then calculate the address of the last byte of a(5,8).
9.the program requires 4000(n)1/2 [ie square root of n].if size of program was increased by 1% then calculate the percentage change in size of program.
10.modulo(373,7)+round(5.8)+truncat(7.2)-round(3.4) = ?
i exactly don't remember the truncate function.but the function was where we skip the '.' part.
ans : 12
11.the bucket size is 10KB.it takes 0.0001 KB/milisec to fill bucket.the bucket takes 100 or 1000 milisec to reach to destination.it takes 100 milisec to pass acknowledgement from dest to source.so calculate how much time will it take to pass N KB ,write formula.
[i don't remember the exact figures of bucket transmission time from source to dest]
12.the graph was given.the x and y axes were there.the line is intersecting them.the points of intersection were y=3,x=0 and x=-2,y=0.write the equation of line.
13.the decimal number was given.it was converted to other system.they asked to identify the
system.i.e. octal,hexadecimal.
14.they asked us to match the pairs.they were like,
A B
basmati-wheat not type of
15.the paragraph was given.it was on associations and the example of lecturer was there in para.
SECTION I
1. If VXUPLVH is written as SURMISE, what is SHDVD ?
Ans. PEASA (hint: in the first
word, the alphabets of the jumbled one is three
alphabets after the corresponding alphabet in the word
SURMISE. S = V-3, similarly find the one for SHDVD)
2. If DDMUQZM is coded as CENTRAL then RBDJK can be
coded as ---------
Ans. QCEIL (hint: Write both the
jumbled and the coded word as a table, find the
relation between the corresponding words, i.e C= D-1,
N=M+1 & so on
3. In the word ECONOMETRICS, if the first and second ,
third and forth ,forth and fifth, fifth and sixth
words are interchanged up to the last letter, what
would be the tenth letter from right?
Ans. word is CENOMOTEIRSC tenth word is R
4. Find the result of the following __expression if, M
denotes modulus operation, R denotes round-off, T
denotes truncation: M(373,5)+R(3.4)+T(7.7)+R(5.8)
Ans. 19
5. What is the largest prime number that can be stored
in an 8-bit memory?
Ans.
6. Find the physical quantity in units from the
equation: (Force*Distance)/(Velocity*Velocity)
Ans. Ns2/m
7. Find the value of @@+25-++@16, where @ denotes
"square" and + denotes "square root".
Ans: 621
8. If f(0)=1 and f(n)= f(n-1)*n, find the value of
f(4).
Ans: 24
9. Convert the decimal number 310 to the base 6.
Ans: 1234
10. Find the missing number in the series: 2, 5,
__ , 19 , 37, 75
Ans: 9
11. In a two-dimensional array, X(9,7), with each
element occupying 4 bytes of memory, with the address
of the first element X(1,1) is 3000, find the address
of X(8,5).
Ans.
12. Find the fourth row, having the bit pattern as an
integer in an 8-bit computer, and express the answer
in its decimal value.
A 0 0 0 0 1 1 1 1
B 0 0 1 1 0 0 1 1
C 0 1 0 1 0 1 0 1
(AU(B-C)) ?
Ans. 29
13. Complete the series 2, 7, 24, 77,__ (hint: 2*12=
24, 7*11= 77, therefore 24*10= 240)
Ans: 240
14. Consider the following diagram for answering the
following questions:
A. Find the difference between people playing
cricket and tennis alone.
Ans: 4
B. Find the percentage of people playing
hockey to that playing both hockey and cricket.
Ans:
C. Find the percentage of people playing all
the games to the total number of players.
Ans: 6%
15. One more question of the same type (Same type of
diagram; of course in a different set)
1. How many more or less speak English thanFrench?
2. What % people speak all the three languages?
3. What % people speak German but not English?
{In another set cricket, hockey and tennis are changed
with the name of some computer languages, such as
Java, Cobol, Fortran (may be some other name)}
16. Select the odd one out
a. Oracle b.
Linux c. Ingress
d. DB2
17. Select the odd one out
a. SMTP b. WAP
c. SAP
d. ARP
18. Select the odd man out.
a. Java b.
Lisp c. Smalltalk
d. Eiffel
19. Which of the following are orthogonal pairs?
a. 3i+2j
b. i+j c. 2i-3j
d. -7i+j
20. Number of faces, vertices and edges of a cube
a. 12,8,6
b. 4,6,8 c. 6,8,12
d. 6,12,8
21. Given a Bar Chart showing the sales of a company.
(In Figure) The sales in years as shown in the figure
are (in crores) 1998-1999 - 130, 1997-1998 - 90,
1996-1997 - 90, 1995-1996 - 70
1. The highest growth rate was for the year
Ans. 1998-1999
2. The net increase in sales of the company in the
year span of 1995-1999
Ans. 60 crores.
3. The lowest growth rate was for the year
Ans. 1997
22. Find the value of the decimal number to the base
7.
Ans. 1436.
23. Complete the series:5,6,7,8,10,11,14,__.
Ans. 15
24. If the vertex (5,7) is placed in the memory. First
vertex (1,1) ?s address is 1245 and then address of
(5,7) is ----------
Ans.
25. In which of the system, decimal number 384 is
equal to 1234?
Ans.
26. A man, a woman, and a child can do a piece of work
in 6 days. Man only can do it in 24 days. Woman can do
it in 16 days and in how many days child can do the
same work?
Ans.
27. In Madras , temperature at noon varies according to
-t^2/2 + 8t + 3, where t is elapsed time. Find how
much temperature more or less in 4pm to 9pm.
Ans.
28. The size of the bucket is N kb. The bucket fills
at the rate of 0.1 kb per millisecond. A programmer
sends a program to receiver. There it waits for 10
milliseconds. And response will be back to programmer
in 20 milliseconds. How much time the program takes to
get a response back to the programmer, after it is
sent?
Ans.
29. The size of a program is N. And the memory
occupied by the program is given by M = square root of
100N. If the size of the program is increased by 1%
then how much memory now occupied ?
Ans.
30. A power unit is there by the bank of the river of
750 meters width. A cable is made from power unit to
power a plant opposite to that of the river and
1500mts away from the power unit. The cost of the
cable below water is Rs. 15/- per meter and cost of
cable on the bank is Rs.12/- per meter. Find the total
of laying the cable.
Ans. Rs. 22,500 (hint: the plant
is on the other side of the plant i.e. it is not on
the same side as the river)
{There are two questions, both showing a curve. In the
first one, you have to identify the curve. In the
second one you have to Write the equation of the
curve. In }
SECTION II
1. If A can copy 50 pages in 10 hours and A and B
together can copy 70 pages in 10 hours, how much time
does B takes to copy 26 pages?
a. b.
c. d.
2. Match the following:
1. Male - Boy --->
a. A type of
2. Square - Polygon ---> b.
A part of
3. Roof - Building --->
c. Not a type of
4. Mushroom - Vegetables ---> d.
A superset of
Ans: 1- d, 2- a, 3- b, 4- c
3. Match the following.
1. brother ? sister --->
a. Part of
2. Alsatian ? dog --->
b. Sibling
3. sentence ? paragraph ---> c.
Type of
4. car - steering --->
d. Not a type of
Ans. 1-b, 2-c, 3-a, 4-d
Questions 20- 24 are based on the following passage:
The office staff of the XYZ
corporation presently consists of three bookkeepers
(A, B and C) and five secretaries (D, E, F, G and H).
Management is planning to open a new office in another
city using three secretaries and two bookkeepers of
the current staff. To do so they plan to separate
certain individuals who do not function well together.
The following guidelines were established to set up
the new office:
I. Bookkeepers A and C are
constantly finding fault with one another and should
not be sent as a team to the new office.
II. C and E function well alone but
not as a team. They should be separated.
III. D and G have not been on
speaking terms for many months. They should not go
together.
IV. Since D and F have been competing
for promotion, they should not be a team.
Ans.
4. If A is to be moved as one of the bookkeepers,
which of the following cannot be a possible working
team?
(a) ABDEH (b) ABDGH
(c) ABEFH (d) ABEGH (e) ABFGH
5. If C and F are moved to the new office, how many
combinations are possible?
(a) 1 (b) 2
(c) 3 (d) 4
(e) 5
6. If C is sent to the new office, which member of the
staff cannot go with C?
(a) B (b) D
(c) F (d) G
(e) H
7. Under the guidelines developed, which of the
following must go to the new office?
(a) B (b) D
(c) E (d) G
(e) H
8. If D goes to the new office which of the following
is (are) true?
I. C cannot go.
II. A cannot go.
III. H must also go.
a. I only. b. II only.
c. I and II only. d. I and III only.
e. I, II and III.
9. Two stations A & B are 110 km apart. One train
starts from A at 7 am, and travels towards B at
20kmph. Another train starts from B at 8 am and
travels towards A at 25kmph. At what time will they
meet?
a. 9 am b. 10 am
c. 11 am d. 10.30 am
10. If a man can swim downstream at 6kmph and upstream
at 2kmph, his speed in still water is:
a. 4kmph b. 2kmph
c. 3kmph d. 2.5kmph
Answer the following three questions based on the
paragraph:
A student applying at a college should take three
courses. There are altogether four courses, namely,
Science, Maths, Social Sudies and Economics. (The
names may vary, but the pattern is the same)
One can take a Science course onty if he has taken a
Maths course.
One can take a Maths course only if he has taken a
Science course.
One can take a n Economics course only if he has taken
a Social Studies course.
11. Which of the following is a possible course?
a. Two Science courses and a Social
Studies Course.
b. Two Maths courses and an Economics
course.
c. One Mats course, one Science course and
a Social Studies course.
d. One Maths course, one Science course
and an Economics course.
12. Which of the following courses a student can take?
I. One Science, one Social Studies,
one Economics
II. Two Science, one Social Studies
III. Two Science, one Maths.
a. I only
b. III only c. I and II only
d. II and III only
13. Which of the following is not a possible course?
a. Two Science courses and a Maths course.
b. Two Maths course and a
Science course.
c. One Maths course, one Science course
and a Social Studies Course.
d. One Maths course, one Science course
and an Economics course.
Synonyms:
Pillage ? steal , loot , plunder
Cleft - split , crack
Incesment ?
Brazen - bold , shameless
Awry - skewed , twisted , crooked
Remiss ? careless , negligent
Defection - desertion
Ensue - follow
Avid - keen , eager
Rupidiate Repudiate - reject,deny
Gauche - clumsy, vulgar
Intrinsic - essential
Gaudy ? flashy , showy
Hidebound ? narrow minded
Incognitent -
Intermittent ? irregular,broken
Clastrophobia - fear
Contraband ? illegal trade
Pagm concealed rapt
Voracious ? avid,hunger,greedy
Seedy ? sleazy,seamy
Omniscience ? knowing all
Diatribe ? attack,criticism
Slack - loose, relaxed
Felicitous ? fortunate,luck
Relish ? enjoy,savor
Aloofness ? unfriendliness, remoteness
Ambiguity - unknown
Pattry
Baleful ? threatening, malevolent
Odium ? hatred, disgust
Lapidarian
Gambol - skip
High handed ? dominant,imperious
Retrospection - perception
Antithe
Pagan
Genuflect ? kneel,bow
coerce ? force,compel
Indubitably ? undoubtedly, certainly
Extraneous ? irrelevant , unrelated
Corpulent ? fat,pump
Transient ? momentary
Spurious ? false,fake
Whimsical - fancy
Braggadocio -
Chimerical
Callow ? inexperience,naive
Menial ? unskilled,boring
Indigenous ? native,original
Ambiguity
Foil ? frustrate,halt
Antonyms:
Awry
Consensus * disagreement
Retrograde * forward looking
Galleon
Chide * praise
Depravity * goodness,righteousness
Paradox * consistency
Stilted * natural
Levity * gravity
Fritty
Genry
TCS MOCK TEST PAPPER
26) IMPROMPTU
a) Carefully rehearsed b) Widely recognized
c) Narrowly focused d) Purposefully vague
27) BALLOON
a) Regain completely b) Decrease slowly
c) Respond rapidly d) Request humbly
28) AVID
a) Independent b) Inquisitive
c) Swift d) Indifferent
29) MOROSE
a) Fast talking b) Quick witted
c) Lighthearted d) Casual
30) ANOMALY
a) Predicted occurrence b) Temporary solution
c) Easy problem d) Continuous process
31) NEOLOGISM
a) Syllogism b) Idealism
c) archaism d) ostracism
32) RAREFY
a) Condense b) Conceive
c) Consign d) Conduct
33) CAUSTIC
a) Nonflammable b) Anesthetic
c) Antiseptic d) Innocuous
34) SOLVENT
a) Catalyst b) Detergent
c) Reactant d) Precipitant
35) ESTIMABLE
a) Recalcitrant b) Mendacious
c) Infamous d) Obstinate
Directions (36-45): Each question has four items. Select the item that does not belong to this group
36.
(a) Spiritual (b) Devout
(c) Pious (d) Atheist
37.
(a) Prohibit (b) Warrant
(c) Permit (d) Allow
38.
(a) Extrovert (b) Reticent
(c) Amiable (d) Gregarious
39.
(a) Repose (b) Doze
(c) Slumber (d) Agitation
40.
(a) Jeer (b) Scoff
(c) Sweep (d) Deride
41.
(a) Steadfast (b) Staunch
(c) Unswerving (d) Treacherous
42.
(a) Moan (b) Beat
(c) Tremble (d) Cry
43.
(a) Astronaut (b) Galaxy
(c) Comet (d) Argot
44.
(a) Collage (b) Pieces
(c) Art form (d) Presentation
45.
(a) Pride (b) Cub
(c) Roar (d) Whine
Directions (46-55): Choose the lettered word or phrase that is most nearly similar in meaning to the word in capital letters.
46. DISCRETION
a. prudence b. consistency
c. precipice d. disturbance
47. ORDAIN
a. arrange b. command
c. contribute d. establish
48. PENITENCE
a. liking b. insightful
c. compunction d. penetrable
49. INCENTIVE
a. reflex b. amplitude
c. inflection d. provocation
50.OVULATE
a. penury b. immunize
c. fertilize d. reproduce
51.CAJOLE
a. coax b. motivate
c. profound d. mollify
52. TO HEAP
a. to pile b. to forbid
c. to proceed d. to share
53.RAPT
a. lively b. concealed
c. engrossed d. prototype
54. TO MERIT
a. to embrace b. to devote
c. to deserve d. to combine
55. ERRATIC
a. unromantic b. free
c. unknown d. steady
a) Carefully rehearsed b) Widely recognized
c) Narrowly focused d) Purposefully vague
27) BALLOON
a) Regain completely b) Decrease slowly
c) Respond rapidly d) Request humbly
28) AVID
a) Independent b) Inquisitive
c) Swift d) Indifferent
29) MOROSE
a) Fast talking b) Quick witted
c) Lighthearted d) Casual
30) ANOMALY
a) Predicted occurrence b) Temporary solution
c) Easy problem d) Continuous process
31) NEOLOGISM
a) Syllogism b) Idealism
c) archaism d) ostracism
32) RAREFY
a) Condense b) Conceive
c) Consign d) Conduct
33) CAUSTIC
a) Nonflammable b) Anesthetic
c) Antiseptic d) Innocuous
34) SOLVENT
a) Catalyst b) Detergent
c) Reactant d) Precipitant
35) ESTIMABLE
a) Recalcitrant b) Mendacious
c) Infamous d) Obstinate
Directions (36-45): Each question has four items. Select the item that does not belong to this group
36.
(a) Spiritual (b) Devout
(c) Pious (d) Atheist
37.
(a) Prohibit (b) Warrant
(c) Permit (d) Allow
38.
(a) Extrovert (b) Reticent
(c) Amiable (d) Gregarious
39.
(a) Repose (b) Doze
(c) Slumber (d) Agitation
40.
(a) Jeer (b) Scoff
(c) Sweep (d) Deride
41.
(a) Steadfast (b) Staunch
(c) Unswerving (d) Treacherous
42.
(a) Moan (b) Beat
(c) Tremble (d) Cry
43.
(a) Astronaut (b) Galaxy
(c) Comet (d) Argot
44.
(a) Collage (b) Pieces
(c) Art form (d) Presentation
45.
(a) Pride (b) Cub
(c) Roar (d) Whine
Directions (46-55): Choose the lettered word or phrase that is most nearly similar in meaning to the word in capital letters.
46. DISCRETION
a. prudence b. consistency
c. precipice d. disturbance
47. ORDAIN
a. arrange b. command
c. contribute d. establish
48. PENITENCE
a. liking b. insightful
c. compunction d. penetrable
49. INCENTIVE
a. reflex b. amplitude
c. inflection d. provocation
50.OVULATE
a. penury b. immunize
c. fertilize d. reproduce
51.CAJOLE
a. coax b. motivate
c. profound d. mollify
52. TO HEAP
a. to pile b. to forbid
c. to proceed d. to share
53.RAPT
a. lively b. concealed
c. engrossed d. prototype
54. TO MERIT
a. to embrace b. to devote
c. to deserve d. to combine
55. ERRATIC
a. unromantic b. free
c. unknown d. steady
TCS, C, C++ Language Paper
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 statements (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 initialized to zero (d) They are global
6. Write one statement equivalent 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) Comments can 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(u);
}
What is returned
(a) 15 (b) 0 (c) 16.1 (d) 29
10. Which of the following represents true statement either x is in the range of 10 and 50 or y is zero
(a) x >= 10 && x <= 50 || y = = 0 (b) x<50
(c) y!=10 && x>=50 (d) None of these
11. Which of the following is not an infinite loop ?
(a) while(1)\{ ....} (b) for(;;){...}
(c) x=0; (d) # define TRUE 0
do{ /*x unaltered within the loop*/ ...
.....}while(x = = 0); while(TRUE){ ....}
12. What does the following function print?
func(int i)
{
if(i%2)return 0;
else 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; (b) p=p+xq=q+y; (c) p= p+xq; (d) p=p+x/q=q+y;
q=q+y; 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 following 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 value 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="Entrance"
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; (c)float a=int b= 3.5; (d)int a; floatb;a=b=3.5;
23. Regarding the scope of the varibles;identify the incorrect statement:
(a) automatic variables are automatically initialized to 0 (b) static variables are are automatically initialized to 0
(c) the address of a register variable is not accessible (d) static variables cannot be initialized 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 exponentiation 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)
else 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 interest 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) None of these
31. What is incorrect among the following
A recursive function
(a) calls itself (b) is equivalent to a loop
(c) has a termination condition (d) does not have a return value at all
32. Which of the following go out of the loop 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
main()
{
unsigned int i=10;
while(i>=0)
{
printf("%u",i)
i--;
}
}
How many times the loop will get executed
(a)10 (b)9 (c)11 (d) infinite
34.Pick out the odd 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 segment
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 of these
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 of the above
39. The 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 of these
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
42. Int *a[5] refers to
(a) array of pointers (b) pointer to an array (c) pointer to a pointer (d) none of these
43.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;
(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 statements (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 initialized to zero (d) They are global
6. Write one statement equivalent 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) Comments can 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(u);
}
What is returned
(a) 15 (b) 0 (c) 16.1 (d) 29
10. Which of the following represents true statement either x is in the range of 10 and 50 or y is zero
(a) x >= 10 && x <= 50 || y = = 0 (b) x<50
(c) y!=10 && x>=50 (d) None of these
11. Which of the following is not an infinite loop ?
(a) while(1)\{ ....} (b) for(;;){...}
(c) x=0; (d) # define TRUE 0
do{ /*x unaltered within the loop*/ ...
.....}while(x = = 0); while(TRUE){ ....}
12. What does the following function print?
func(int i)
{
if(i%2)return 0;
else 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; (b) p=p+xq=q+y; (c) p= p+xq; (d) p=p+x/q=q+y;
q=q+y; 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 following 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 value 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="Entrance"
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; (c)float a=int b= 3.5; (d)int a; floatb;a=b=3.5;
23. Regarding the scope of the varibles;identify the incorrect statement:
(a) automatic variables are automatically initialized to 0 (b) static variables are are automatically initialized to 0
(c) the address of a register variable is not accessible (d) static variables cannot be initialized 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 exponentiation 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)
else 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 interest 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) None of these
31. What is incorrect among the following
A recursive function
(a) calls itself (b) is equivalent to a loop
(c) has a termination condition (d) does not have a return value at all
32. Which of the following go out of the loop 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
main()
{
unsigned int i=10;
while(i>=0)
{
printf("%u",i)
i--;
}
}
How many times the loop will get executed
(a)10 (b)9 (c)11 (d) infinite
34.Pick out the odd 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 segment
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 of these
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 of the above
39. The 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 of these
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
42. Int *a[5] refers to
(a) array of pointers (b) pointer to an array (c) pointer to a pointer (d) none of these
43.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;
Subscribe to:
Posts (Atom)