TCS Interview Prep
TCS interviews focus on core CS fundamentals, SQL proficiency, and JavaScript basics. For freshers and junior roles, expect aptitude, coding tests, and one or two technical rounds.
What TCS tests in interviews
Questions are curated in TCS's known interview style — not generic practice, but targeted prep.
How the TCS interview process usually works
- TCS National Qualifier Test (NQT): aptitude, reasoning, verbal ability and programming sections
- Technical interview on programming fundamentals, your projects, DBMS and SQL
- Managerial round on situational and team questions
- HR round covering relocation, shifts and documentation
NQT scores decide which track you are considered for (for example Ninja or Digital), so programming and SQL fundamentals matter as much as aptitude.
Rounds vary by role, level and hiring year — always confirm the current process on TCS's official careers page.
TCS roles and pay in India
TCS hires freshers through the NQT into three tracks, decided by your score and interviews: Ninja (the standard track), Digital and Prime (for higher scorers).
Commonly reported for the 2026 cycle: Ninja about ₹3.4–3.9 LPA, Digital about ₹7–7.5 LPA, Prime about ₹9–11.5 LPA. These figures are annual cost-to-company for freshers, compiled from placement-preparation sources rather than published by TCS; your offer letter is the only reliable number.
Sample TCS-style questions
Two questions from each topic above, with the answer and why it is correct.
- JavaScript · Q1
Which keyword declares a variable with block scope in modern JavaScript?
- A. var
- B. let ✓
- C. function
- D. global
Why: let (and const) are block-scoped to the nearest enclosing {} block. var is function-scoped and can leak out of if/for blocks, causing hard-to-find bugs.
- JavaScript · Q2
What is the output of `typeof undefined`?
- A. 'null'
- B. 'object'
- C. 'undefined' ✓
- D. ReferenceError
Why: typeof undefined returns the string 'undefined'. Unlike accessing an undeclared variable directly, typeof never throws — it returns 'undefined' for unset variables too.
- SQL · Q3
Which SQL command is used to retrieve data from a table?
- A. INSERT
- B. SELECT ✓
- C. UPDATE
- D. FETCH
Why: SELECT is the DML (Data Manipulation Language) command for querying data. It can filter (WHERE), sort (ORDER BY), group (GROUP BY), and join multiple tables.
- SQL · Q4
What does the WHERE clause do in a SQL query?
- A. Groups rows
- B. Filters rows based on a condition before aggregation ✓
- C. Sorts results
- D. Joins tables
Why: WHERE filters individual rows before any aggregation. Only rows matching the condition are included in further processing.
- Python · Q5
What is the output of `print(type([]))`?
- A. <class 'tuple'>
- B. <class 'array'>
- C. <class 'list'> ✓
- D. <class 'dict'>
Why: [] creates an empty list. type([]) returns <class 'list'>.
- Python · Q6
Which keyword is used to define a function in Python?
- A. function
- B. def ✓
- C. fn
- D. func
Why: def introduces a function definition in Python. It is followed by the function name, parentheses with optional parameters, and a colon.
A four-week TCS prep plan
- Week 1 — fundamentals: take the Trainee and Junior levels of the JavaScript quiz, the SQL quiz and the Python quiz, and note every question you miss.
- Week 2 — depth: move to the Junior level for each topic and re-read the explanations for wrong answers.
- Week 3 — company focus: practise the TCS question sets above untimed, then explain each answer out loud as you would to an interviewer.
- Week 4 — interview conditions: repeat the sets in timed mode (60 seconds per question) and aim for a consistent score above 80%.
Questions are curated to reflect TCS's known interview focus areas and style based on public information. They are not verbatim questions from actual interviews. Use this as targeted prep to build confidence in the topics TCS values most.