Tcs Interview Questions

1,576 tcs interview questions shared by candidates

TR Questions: 1.write a code for checking the occurrences of each character in a string 2.write the code for adding two numbers without using arithmetic operators 3.code for printing the pattern 1 0 1 1 1 1 4.code for method overriding 5.code for swapping two numbers without using a third variable 6.how can you identify duplicates in a database , and handle them MR Questions: 1.why tcs 2.family background 3.would you continue in tcs , if Microsoft offered you 20 lpa 4.why should tcs hire you 5.what are your strengths and weakness HR Questions: 1.self intro 2.did you read the declaration page given to you . if yes , what is there in here 3.backlogs ? education gaps ? 4.projects explanation 5.short term and long term goals 6.are you okay for relocation
avatar

Systems Engineer TCS Digital

Interviewed at Tata Consultancy Services

3.5
Apr 15, 2025

TR Questions: 1.write a code for checking the occurrences of each character in a string 2.write the code for adding two numbers without using arithmetic operators 3.code for printing the pattern 1 0 1 1 1 1 4.code for method overriding 5.code for swapping two numbers without using a third variable 6.how can you identify duplicates in a database , and handle them MR Questions: 1.why tcs 2.family background 3.would you continue in tcs , if Microsoft offered you 20 lpa 4.why should tcs hire you 5.what are your strengths and weakness HR Questions: 1.self intro 2.did you read the declaration page given to you . if yes , what is there in here 3.backlogs ? education gaps ? 4.projects explanation 5.short term and long term goals 6.are you okay for relocation

They asked me to write a small program logic where, given an HTML form that takes a contact number and a country code (IN or USA), I had to validate that the contact number: • Is exactly 10 digits long • Contains only numbers • Then append the country code prefix: +91 for India or +1 for USA This tested basic string handling and logic-building skills.
avatar

Tcs- Digital role

Interviewed at Tata Consultancy Services

3.5
Jun 13, 2025

They asked me to write a small program logic where, given an HTML form that takes a contact number and a country code (IN or USA), I had to validate that the contact number: • Is exactly 10 digits long • Contains only numbers • Then append the country code prefix: +91 for India or +1 for USA This tested basic string handling and logic-building skills.

Viewing 1301 - 1310 interview questions

Glassdoor has 1,576 interview questions and reports from Tcs interviews. Prepare for your interview. Get hired. Love your job.