Real questions asked in TCS interviews. Each includes a preparation tip to help you frame the best answer.
Q1HR
Tell me about yourself and why you want to join TCS.
Tip: Structure your answer as: brief background, academic highlights, relevant skills, and why TCS specifically (mention their global presence, learning culture, or specific projects like TCS iON or TCS BaNCS).
Q2Technical
What are the four pillars of Object-Oriented Programming? Explain with examples.
Tip: Cover encapsulation, inheritance, polymorphism, and abstraction. Use a real-world analogy (e.g., a car class) and mention how you used OOP in your project. TCS interviewers love practical examples over textbook definitions.
Q3Aptitude
A train travels 360 km in 4 hours. If speed is increased by 20 km/h, how long will the same journey take?
Tip: Speed = 360/4 = 90 km/h. New speed = 110 km/h. Time = 360/110 = 3.27 hours. For TCS NQT, practice time-speed-distance, percentages, and profit-loss daily. Focus on shortcut methods for speed.
Q4Technical
What is the difference between a process and a thread? When would you use multithreading?
Tip: A process has its own memory space; threads share memory within a process. Mention real use cases like a web server handling multiple requests. If you know Java or Python threading, give a code-level example.
Q5HR
TCS has a 2-year service agreement. Are you comfortable with it? Are you willing to relocate anywhere in India?
Tip: Be direct and positive. Say you understand the bond is a mutual commitment and you see it as an opportunity to grow. On relocation, express openness and mention it as a chance to experience different cities and projects.
Q6Technical
Write an SQL query to find the second highest salary from an Employee table.
Tip: Use SELECT MAX(salary) FROM Employee WHERE salary < (SELECT MAX(salary) FROM Employee). Also know the DENSE_RANK() approach. TCS frequently asks SQL queries involving joins, group by, and subqueries.
Q7Aptitude
What is the output of the following pseudocode: for(i=0; i<5; i++) { if(i%2==0) print(i); }
Tip: Output is 0 2 4. TCS NQT programming logic section tests pseudocode tracing, loop analysis, and basic algorithm understanding. Practice tracing code mentally without running it.
Q8Technical
Explain normalization in DBMS. What is the difference between 2NF and 3NF?
Tip: Normalization eliminates redundancy. 2NF removes partial dependencies; 3NF removes transitive dependencies. Use a student-course-instructor table example to show how each normal form restructures data.
Q9HR
Where do you see yourself in 5 years? What are your strengths and weaknesses?
Tip: For the 5-year plan, align your goals with TCS career paths (technical architect, project lead). For weaknesses, pick something genuine but show active improvement. Never say "I have no weaknesses" or pick a cliche like "perfectionism."
Q10Technical
Explain your final year project. What technologies did you use and what challenges did you face?
Tip: This is the most important question in TCS technical rounds. Know your project inside out: architecture, tech stack, your specific contribution, one key challenge and how you solved it. Be ready for follow-up questions on any technology you mention.