TCS Ninja Technical Interview — Project, DBMS, OOP, Coding, Why-TCS
- Field
- Engineering
- Company
- Tata Consultancy Services
- Role
- Assistant System Engineer Trainee (Ninja)
- Duration
- 20 min
- Difficulty
- Medium
- Completions
- New
- Updated
- 2026-05-24
What this round is about
- Topic focus. The post-NQT TCS Ninja Technical Round — final-year project deep-dive, DBMS (1NF/2NF/3NF normalization, joins, ACID, indexes), OOP four pillars with examples from YOUR project, one coding question (typically a pattern print or a SQL query), language fundamentals, and a why-TCS probe.
- Conversation dynamic. Arjun Kumar, a 14-year TCS Technical Lead from the Chennai BFSI delivery centre, is calm and structured. He never raises his voice. After almost every technical answer he asks why did you choose that.
- What gets tested. Project ownership, DBMS basics under live recall, OOP applied to your own work, one coding problem written and dry-run cleanly, language fundamentals at hygiene level, why-TCS articulated with one specific reason, and clear yes on relocation.
- Round format. Forty-five to sixty minutes, four blocks, candidate-led on the project, interviewer-led on DBMS and OOP. Arjun will deliberately push back on one correct answer to test conviction.
- Time budget. Roughly five to ten minutes on the project deep-dive, fifteen on DBMS plus OOP, ten on the coding problem, and the last five on language fundamentals plus why-TCS. Arjun keeps the pace tight and cuts long-winded answers short.
What strong answers look like
- Specific module ownership. Name the module YOU built, not what your team built collectively. Name the technology and the alternative you rejected, with a one-sentence reason.
- Non-textbook OOP examples. Encapsulation as the private fields on YOUR Patient class, inheritance as YOUR Admin extending User, polymorphism as YOUR generateReport behaving differently for PDF and CSV subclasses. Two sentences per pillar is enough.
- SQL subquery for second-highest salary. SELECT MAX(salary) FROM Employee WHERE salary less than (SELECT MAX(salary) FROM Employee). No LIMIT. Dry-run mentally on five rows.
- Pattern that runs on first dry-run. Loops with correct bounds (no off-by-one), sensible variable names, walked through for N equals 3 or 4 verbally.
- Why-TCS with one specific anchor. Reference the BFSI vertical and BaNCS, the ILP at Trivandrum, the Chennai Tidel Park delivery centre, or the All India NQT scale. One specific reason beats three generic ones.
What weak answers look like (and how to avoid them)
- Resume inflation. Listing Spring Boot or Machine Learning without being able to explain dependency injection or model selection. Avoid by removing technologies you cannot defend in two sentences.
- Textbook OOP examples. The car-engine polymorphism example, the bank-account encapsulation example. Avoid by preparing one project-specific example per pillar before the interview.
- SQL with LIMIT when asked without LIMIT. Reads as tutorial copy, no internalisation. Practice the subquery form before the interview.
- Frozen on pattern printing. Off-by-one loops you cannot debug. Avoid by hand-writing three different patterns on paper the week before.
- Generic why-TCS. TCS is a good company is the most cited soft-reject signal. Look up one specific TCS thing before the interview and reference it.
- Hesitating on relocation. I prefer Bengaluru only is a no-hire signal. The right answer is a clear yes to relocation anywhere in India.
Pre-interview checklist (2 minutes before you start)
- Have your project one-liner ready. What the system does, who uses it, which module is YOURS. Thirty seconds, not three minutes.
- Pre-rehearse the four OOP pillars with project examples. One sentence per pillar, drawn from your final-year project. No car engines, no bank accounts.
- Write the second-highest-salary SQL once on paper. Both forms: with LIMIT and the subquery form. Be ready to use only the subquery form.
- Hand-write one star pattern on paper. Right triangle of stars, N equals 4. Read your own code back and verify it works.
- Look up one specific TCS thing. BaNCS product, ILP programme, BFSI vertical, Chennai delivery centre at Tidel Park. Pick one and remember it.
- Confirm with yourself: yes to relocation, yes to 1-year service agreement. Anywhere in India, no preference, no hesitation.
How the AI behaves
- Probes every technical answer. After almost every answer Arjun asks why did you choose that. Have a one-sentence reason ready.
- No mid-interview praise. He will not say great answer or exactly. He acknowledges with Okay, fine. or Understood. and pushes deeper.
- Allergic to textbook examples. If you give the car-engine polymorphism, he will visibly tire and ask for a project example. The bank-account encapsulation triggers the same response.
- Deliberate pushback once. He will challenge one correct answer during the round to test your conviction. Defend with reasoning. Capitulating immediately reads as low conviction.
- Cross-questions resume claims. If you list Spring Boot or Machine Learning, expect a deep follow-up. False statements get exposed and become an instant reject signal.
Common traps in this type of round
- Project answered at team level, not personal level. We built a hospital management system instead of I built the appointment-scheduling module.
- OOP definitions without examples from your work. Reciting the textbook definition then stopping. Always pair definition with a one-sentence project example.
- SQL with LIMIT when told without LIMIT. A common tutorial habit; practice the subquery form.
- Off-by-one loops in pattern printing. Common when nervous; dry-run mentally before saying you are done.
- Generic why-TCS. The single most cited soft-reject signal. Name one specific thing.
- Hesitating on relocation or service agreement. Both are expected to be a confident yes.
- Asking salary in the technical round. Salary discussion belongs in the HR round, not the TR.
Sample problems you'll face
The 2 problems below are the same ones you'll work through in the live session — no surprises. Read the constraints carefully; the AI persona will refer you to the on-canvas card by problem number.
- 1SQL — Second Highest Salary
Write a SQL query to return the second highest salary from the Employee table. Do NOT use LIMIT or TOP. Defend your approach against duplicate salaries.
Example inputEmployee table: { id, name, salary } Rows: (1, A, 100), (2, B, 200), (3, C, 200), (4, D, 150)Example outputResult: 150 (since 200 is highest, 150 is second-highest distinct)- No LIMIT, no TOP clause
- Handle duplicate salaries (DISTINCT or subquery)
- Standard ANSI SQL — Arjun will press on what your query returns if all salaries are equal
- 2Pattern Printing — Right Triangle
Print a right-triangle star pattern of height N. Pick any language you are comfortable with (C, C++, Java, Python). Walk Arjun through your loop bounds before writing code.
Example inputN = 4Example output* ** *** ****- Choose any language
- Correct loop bounds — Arjun will probe off-by-one cases
- Dry-run for N=4 verbally after writing
- Use the canvas to sketch your logic — draw, write pseudocode, or freehand whatever helps you think.
Interview framework
You will be scored on these 5 dimensions. The full rubric with definitions is below.
What we evaluate
Your final scorecard breaks down across these dimensions. The full rubric and tier criteria are revealed inside the interview itself.
- Project Ownership Specificity20%
- DBMS Recall Under Pressure20%
- OOP Applied To Own Work20%
- Coding Dry Run Discipline15%
- Why TCS Specificity10%
- Relocation And Service Agreement Clarity10%
- Resume Defensibility5%
Common questions
Sources this interview is built on
Real candidate-report URLs (Glassdoor / AmbitionBox / PrepInsta / GeeksforGeeks / Medium) reviewed when authoring the questions, persona, and rubric. Verify the realism yourself.
- TCS Ninja Technical Interview Questions and Answers — PrepInstaprepinsta.com
- TCS Ninja Interview Experience for 2026 Batch — PrepInstaprepinsta.com
- TCS NINJA Profile Interview Questions — Glassdoor Indiaglassdoor.co.in
- TCS Ninja Final Interview (All India Campus) — GeeksforGeeksgeeksforgeeks.org
- TCS NQT 2026 Hiring Process — GeeksforGeeks Academygeeksforgeeks.org
- TCS All India NQT Hiring — TCS Careerstcs.com
- TCS Ninja Interview Questions Interview Experience 2024 — InterviewBitinterviewbit.com