Tata Consultancy Services Placement paper

Company: Tata Consultancy Services (TCS)

I received a hall ticket from TCS to attend the off campus drive
at SRMCEM, Lucknow on 29th August at 8am. There was a crowd of around 250-300 candidates in the morning batch.

It was a Computer Based
Test(CBT) for 60 minutes. We were to attempt 35 questions. The questions were based on logics; some of them were aptitude and a few were analytical.

The computer based test had questions from:
Area and Perimeter, Probability (Many questions from this chapter).
Problems on Ages (Many questions from this chapter).
Pipes and Cisterns, Ratio and Proportion and some logical questions

The questions are pretty lengthy but with all irrelevant statements. I remember one question where they told about a romantic story of Alice and Paul and then right at the end after 5-6 lines, they came up with a question on ages of Alice and Paul. I’d rather suggest everyone to start reading the question from where they find any Numerica data.

I don’t remember many questions but only a few (and that too not with exact numerical value). I’ll share with u a few questions such that you can understand what the question asked for.

Question 1: There is a toy train that can make 10 musical sounds. It makes 2 musical sounds after being defective. What is the probability that same musical sound would be produced 5 times consecutively? ( 1 of )
Answer: 1/2 * 1/2 * 1/2 * 1/2 * 1/2 = 1/32
32 will be the answer. (My friends got similar question with “3 times consecutively”; for that the answer would be 8)

Question 2: Peter and Paul are two friends. The sum of their ages is 35 years. Peter is twice as old as Paul was when Peter was as old as Paul is now. What is the present age of Peter?
Luckily, I had this question twice. Initially I left it because of the confusing statement but when I got the same question second time with different names of the friends (Pooja and Prasad) then I gave a little extra time and solved it.
Answer: 20 years. I simply substituted the answers in the statement to find the best fit, because the statement in the question was pretty confusing.

Question 3: The ages of two friends is in the ratio 5:6. After how many years will the ages be in the ratio 7:8?

Question 4: (There was a long story, I’ll cut short it). There are 5 materials to make a perfume: Lilac, Balsalmic, Lemon, Woody and Mimosaic. To make a perfume that is in demand the following conditions are to be followed: Lilac and Balsalmic go together. Woody and Mimosaic go together, Woody and Balsalmic never go together. Lemon can be added with any material. (Actually they had also mentioned how much amount of one can be added with how much quantity of the other; but that’s not needed for the question.) All of the following combinations are possible to make a perfume EXCEPT:
1) Balsalmic and Lilac
2) Woody and Lemon
3) Mimosaic and Woody
4) Mimosaic and Lilac
Answer: Mimosaic and Lilac. I have made the question here really easy to understand. But the actual question was in a twisted language and it was difficult to find the answer. It took me some time to get to the answer.

Question 5: A girl has to make pizza with different toppings. There are 8 different toppings. In how many ways can she make pizzas with 2 different toppings.
Answer: 8 * 7 = 56

Question 6: A triangle is made from a rope. The sides of the triangle are A cm, B cm and C cm. (I do not remember the numerical value). What will be the area of the square made from the same rope?

Question 7: What is the distance of the z-intercept from the x-intercept in the equation ax+by+cz+d=0. (I do not remember the values of a,b,c,d)

Question 8: An athlete decides to run the same distance in 1/4th less time that she usually took. By how much percent will she have to increase her average speed?

Question 9: A horse chases a pony 3 hours after the pony runs. Horse takes 4 hours to reach the pony. If the average speed of the horse is 35 kmph, what s the average speed of the pony? (This question was really long with loads of irrelevant statement)

These are a few questions that I could recall. I made through the aptitude round by attempting 16 questions. Next was Technical Interview Round.

Technical Interview:
Here I will discuss the technical questions that were asked to me and also the questions asked to my friends.

Question 1: Write the pointer representation of a[i][j][k].

Question 2: i = 5
i++, ++i, –i, i–, 5
What will be the output if it is printed?

Question 3: How will you insert a new node between any two nodes in a linked list? Write the code.

Question 4: How will you find a particular data in the linked list?

Question 5: What is MD5?

Question 6: What is RSA? Explain its principle.

Question 7: There is a triangle and 3 ants on each vertex of the triangle. The 3 ants start to move randomly along the edges of the triangle. What is the probability that two ants will collide?

Question 8: What is the difference between C and C++?

Question 9: What do you mean by polymorphism?

Question 10: Give an example of polymorphism with code.

Question 11: What do you mean by OOP?

Question 12: What is inheritance?

Question 13: What is a friend function?

Question 14: What is an abstract class?

Question 15: Suppose there is a number 235 such that sum of first two digits is equal to the third digit. How many such 3 digits number are possible?

Question 16: Why is the VIRTUAL keyword used in C++?

Question 17: Which keyword is written to use a variable declared in one class in the other class?

Question 18: Suppose a code is written in C and you want to use that code in C++. How can you do that?

Question 19 What do you mean by DML?

Question 20: Is there any language other than SQL where DML is used? If yes, then which?

Question 21: How many normal forms do we have?

Question 22: Here is a tic-tac-toe game which is being played by 2 people:
x o _
o _ _
x o x

Represent the blank spaces. Who played the last chance (x or o)?

Technical Questions asked to my friends:

Question 1: What is a transaction? Properties of Transaction?

Question 2: What “condition” will be written in the if statement such that both Hello World are printed when the following code is executed.

if(condition)
{
printf(“Hello”);
}
else
{
printf(“World”);
}

Question 3: What will be the output of the following code?
int i=5;
printf(“%d, %d, %d”, i++, i, ++i);

Which C compiler do you use? (My friend said TURBO)
What will be the output of above code in TURBO compiler? (He said same)
No! It will not be the same.

After the Technical round, there was an MR i.e. Managerial Round.
It was just a 2-3 minutes round. The interviewer asked me to introduce myself. Then asked about my father. Then core values and strengths. Your hobbies? Which latest novel have you read?
Next was the HR round. This was a little time taking round as the technical one.
Question 1: Introduce yourself?
Question 2: Your family background; father, mother, siblings.
Question 3: How does TCS earns its revenues? How it does its business?
Question 4: What was the need of bringing Information Technology in India?
Question 5: There is a round cake. You have 3 chances to cut the cake. Divide the cake into 8 pieces in these 3 chances.
Question 6: Suppose if I reject you today, what will you do next?
Question 7: You have a good communication skill. Why is it so? Is it because of your schooling or family atmosphere? Whom do you give the credit for this?
Question 8: What are your strengths? Give 2 examples of your life incidents that portray this strength in you.
Question 9: What are your weaknesses?

This was it. Out of some 250-300 candidates, only 10 could make it till the HR round and I’m glad to be one of them. They have asked us to wait for 2 weeks for the mail.

I’m waiting for my email.

Wish all you guys a very good luck!

Tata Consultancy Services Placement paper