TCS
IT Services

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.

Software DevAnalystQAData Analyst
CS Fundamentals SQL Proficiency Fresher-Friendly

What TCS tests in interviews

Questions are curated in TCS's known interview style — not generic practice, but targeted prep.

Core

JavaScript

Junior10 questions
Must Know

SQL

Junior10 questions
Common

Python

Junior10 questions

How the TCS interview process usually works

  1. TCS National Qualifier Test (NQT): aptitude, reasoning, verbal ability and programming sections
  2. Technical interview on programming fundamentals, your projects, DBMS and SQL
  3. Managerial round on situational and team questions
  4. 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.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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'>.

  6. 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

  1. 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.
  2. Week 2 — depth: move to the Junior level for each topic and re-read the explanations for wrong answers.
  3. Week 3 — company focus: practise the TCS question sets above untimed, then explain each answer out loud as you would to an interviewer.
  4. 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.

Prepare for other companies

Back to all companies