Prepare for TCS, round by round.
Prepare for the TCS NQT: the official eligibility and test pattern, aptitude and coding practice, interview questions and a 30-day plan. Sources and last-verified date on every fact.
Free account, no card. Sample topics, a numerical mock and a coding mock are included. See what Pro adds.
Written by Hirenix from public sources and our own practice material. Not affiliated with TCS.
Inside the full TCS prep
27
aptitude topics
7
technical topics
60
coding problems
50
interview Q&A
8
timed mocks
4
week roadmap
375 mock questions plus a coding section that runs your Python. Free with an account: sample topics, a 25-minute numerical mock and a coding mock you can run in your browser. Pro opens all of it.
Free, no sign-up
Try 3 TCS aptitude questions right now
Numerical, reasoning and verbal. You see the right answer and the working after each one.
1. Overview
Typical fresher roles
Prime · Digital · Ninja
Hiring routes
TCS All India NQT, in-centre test at TCS iON
TCS hires freshers through the TCS National Qualifier Test (NQT). You take one integrated test, and your performance decides whether you are interviewed for a Prime, Digital or Ninja role. TCS describes Prime work as complex projects with advanced technologies and algorithms, Digital as solution development and integration on modern technologies, and Ninja as application development and maintenance.
This page follows the 2026 NQT drive described on TCS's official page (registration ran from 18 February to 20 March 2026 and is now closed). Later drives can change the rules, so read the current notice before you apply.
2. Eligibility and hiring process
These are the eligibility rules TCS published for the 2026 drive:
- Batch and degree: batch of 2024, 2025 or 2026, with B.Tech, B.E, M.Tech, M.E, MCA or M.Sc/M.S in any specialization from an AICTE/UGC recognised institution.
- Marks: at least 60% (or equivalent CGPA) aggregate in class 10, class 12, diploma (if any), graduation and post-graduation (if any). To convert CGPA, TCS says to multiply by 10, so 7.2 CGPA is 72%.
- Backlogs: no pending backlog at the time you appear for the selection process.
- Course: full-time only, completed within the stipulated duration (no extended education).
- Education gap: declare any gap. The overall academic gap should not exceed 24 months until your highest qualification.
- Experience: up to 2 years of work experience is eligible.
- Age: 18 to 28 years.
TCS also says it reviews eligibility at every stage, and a candidate with discrepant details is disqualified.
| Round | What it covers | Status |
|---|---|---|
| Register on TCS NextStep and click Apply For Drive | Create a profile under category IT, choose the skill you want to be evaluated on, pick 3 preferred test centres. Skipping Apply For Drive means you are not considered. | Verified · source ↗ |
| NQT integrated test (in-centre, 190 minutes) | Part A Foundation (75 min): numerical, verbal, reasoning. Part B Advanced (115 min): advanced quantitative and reasoning, advanced coding. | Verified · source ↗ |
| Shortlisting for Prime, Digital or Ninja interviews | Your test performance decides which interview you qualify for. The Advanced section is mandatory if you want a Digital or Prime offer. | Verified · source ↗ |
| Interview and document check | Evaluated mainly on the skill you chose, plus the usual interview. Original marksheets and degree certificates are checked at the interview. | Verified · source ↗ |
| Number and format of interview rounds | Candidates report a technical round and an HR round, sometimes combined or with a managerial round. TCS does not publish this. | Unverified · candidate reports |
Assessment pattern
The test is taken in person at a TCS iON centre. TCS publishes the structure and the time per section:
| Part | Section | Minutes |
|---|---|---|
| A. Foundation | Numerical Ability | 25 |
| A. Foundation | Verbal Ability | 25 |
| A. Foundation | Reasoning Ability | 25 |
| B. Advanced | Advanced Quantitative and Reasoning Ability | 25 |
| B. Advanced | Advanced Coding | 90 |
| Total | 190 |
Part A is 75 minutes and Part B is 115 minutes. The Advanced part is mandatory if you want a Digital or Prime offer.
What TCS does not publish: the number of questions, whether there is negative marking, and any cut-off. Prep websites quote different numbers for these, so we do not repeat any of them. Read the instructions on your test screen.
3. Aptitude preparation
Foundation has three 25-minute sections, so practise each one on a timer. Every practice answer was calculated by script, except blood relations, which is step-by-step reasoning.
Percentages and ratiosFree+
The idea. A percentage is a ratio out of 100. Most TCS-style problems reduce to one of three moves: convert the percentage to a multiplier, split a total in a given ratio, or compare "before" and "after".
Worked example. A price rises by 20% and then falls by 20%. Is it back where it started?
Multiply, do not add. Rising 20% is x 1.2 and falling 20% is x 0.8, so the net factor is 1.2 x 0.8 = 0.96. The price ends 4% lower, not unchanged. Adding and subtracting percentages directly is the most common mistake here.
Practice (try each one before reading the answer).
- A class of 40 has boys and girls in the ratio 3 : 2. How many boys?
- 35% of a number is 140. What is the number?
- A town of 20,000 grows by 10% in year one and 10% in year two. What is the population after two years?
- Split 96 in the ratio 5 : 7.
- A shirt is marked down from 800 to 680. What is the percentage discount?
Answers.
- 3 + 2 = 5 parts, so each part is 40 / 5 = 8. Boys = 3 x 8 = 24.
- Number = 140 / 0.35 = 400.
- 20,000 x 1.1 x 1.1 = 24,200. Growth compounds, so it is not 20% of 20,000.
- 5 + 7 = 12 parts, so one part is 8. The shares are 40 and 56.
- Discount = 120, and 120 / 800 = 15%.
Number seriesFree+
The idea. Find the rule that turns one term into the next. Check these in order: constant difference, differences that themselves follow a pattern, multiply-and-add, squares or factorials, and alternating series.
Worked example. 4, 9, 19, 39, ? Each term is the previous one x 2 + 1: 4 x 2 + 1 = 9, 9 x 2 + 1 = 19, 19 x 2 + 1 = 39, so the next is 79.
Practice.
- 3, 7, 15, 31, 63, ?
- 2, 6, 12, 20, 30, ?
- 2, 3, 5, 9, 17, ?
- 1, 2, 6, 24, 120, ?
- 100, 96, 88, 72, 40, ?
Answers.
- Previous x 2 + 1, so 127.
- Terms are n x (n + 1): 1x2, 2x3, 3x4, 4x5, 5x6, so the next is 6x7 = 42.
- Differences are 1, 2, 4, 8, so the next difference is 16 and the term is 33.
- Factorials: 1!, 2!, 3!, 4!, 5!, so the next is 6! = 720.
- The differences are 4, 8, 16, 32, each double the one before. The next difference is 64, so the term is 40 - 64 = -24. Series can go negative.
- Time, speed and distance
- Profit, loss and discount
- Time and work
- Probability
- Reasoning: coding-decoding and seating arrangement
- Verbal ability: grammar and vocabulary
- Reasoning: blood relations and direction sense
- Averages
- Mixtures and alligation
- Ages
- Ratio and proportion
- Permutations and combinations
- Data interpretation
- Syllogisms
- +11 more
4. Technical concepts and coding
Operating systemsFree+
What to know.
- Process and thread: a process has its own memory, threads of one process share it (see the process vs thread answer below).
- CPU scheduling: the OS decides which ready process runs next. FCFS runs in arrival order, SJF runs the shortest job first, and Round Robin gives each process a fixed time slice in turn.
- Deadlock: processes wait on each other forever. It needs four conditions together: mutual exclusion, hold and wait, no preemption and circular wait. Break any one and deadlock cannot happen.
- Memory: paging splits memory into fixed-size pages so a program need not sit in one continuous block. Virtual memory lets a program use more memory than is physically free by keeping part of it on disk.
Example (we calculated this). Three jobs arrive together with CPU bursts of 6, 8 and 3.
- FCFS in that order: waiting times 0, 6 and 14, so the average wait is 6.67.
- SJF (3, 6, 8): waiting times 0, 3 and 9, so the average wait is 4.0. Running short jobs first lowers the average wait.
- Round Robin with a time slice of 2 on two jobs of 5 and 3: the 3-unit job finishes at time 7 and the 5-unit job at time 8.
Commonly confused. Starvation is one process never getting the CPU; deadlock is processes blocking each other. Candidates report process, thread and deadlock questions in TCS technical rounds, but TCS does not publish this.
Practice questions.
- What are the states of a process? New, Ready (waiting for the CPU), Running, Waiting or Blocked (waiting for I/O or an event) and Terminated. A running process moves to Waiting when it asks for I/O, and back to Ready when the I/O finishes.
- What is a context switch, and why is it costly? Saving the state of the running process and loading the state of the next one. No useful work happens during the switch, and the CPU cache also tends to go cold, so too many switches waste time.
- Compare FCFS, SJF and Round Robin on bursts 5, 3, 8, 6 (all arrive at time 0). Average waiting time: FCFS 7.25 (waits [0, 5, 8, 16]), SJF 6.25 (waits [3, 0, 14, 8]), Round Robin with a quantum of 3 10 (waits [9, 3, 14, 14]). SJF gives the lowest average wait, but it can starve long jobs and needs the burst time in advance.
- What is the difference between a mutex and a semaphore? A mutex is a lock owned by the thread that locks it, and only that thread unlocks it, so it protects one resource. A semaphore is a counter that lets up to N threads in, and any thread can signal it, so it also coordinates work between threads.
- What is a race condition and a critical section? A critical section is code that touches shared data. A race condition is when the result depends on the unlucky timing of two threads in it, for example two threads both reading a balance of 100 and both writing back 110. Locks make the critical section run one thread at a time.
- How does paging turn an address into a page and an offset? Divide the logical address by the page size. With a 1 KB (1024 byte) page, address 5000 is page 4, offset 904 (5000 = 4 x 1024 + 904).
- Compare FIFO, LRU and Optimal page replacement on a reference string. We simulated the reference string 7 0 1 2 0 3 0 4 2 3 0 3 2 1 2 0 1 7 0 1 with 3 frames: FIFO gave 15 page faults, LRU 12 and Optimal 9. Optimal is the lowest possible but needs the future, so it is a yardstick, not something an OS can use. Note: FIFO can even get worse with more frames (Belady's anomaly).
- What is internal and external fragmentation? Internal fragmentation is unused space inside an allocated block. A 10 KB process in 4 KB pages needs 3 pages and wastes 2 KB in the last one. External fragmentation is free memory scattered in pieces too small to use, even though the total is enough.
- What are user mode, kernel mode and a system call? Kernel mode can run privileged instructions and touch hardware. User mode cannot. A system call (such as reading a file) is how a user program asks the kernel to do something privileged on its behalf.
- What is thrashing? When the system spends more time swapping pages in and out than running programs, because too many processes compete for too little memory. The fix is fewer running processes, more memory, or better page replacement.
- Object-oriented programming (OOP)
- DBMS and SQL
- Computer networks
- Data structures basics
- SDLC and Agile
- Programming language basics (Python)
Coding practice
The Advanced section gives you 90 minutes for coding. Each problem below has the approach, a solution and the tests we ran. Try it yourself first, with a timer, before reading the solution. These are practice problems written for Hirenix, not TCS test questions.
Second largest distinct numberFree+
Problem. Given a list of integers, return the second largest distinct value, or None if there is none.
Approach. Scan once and keep the largest and second largest seen so far. Skip values equal to the largest, otherwise duplicates would be returned as the "second" value. This is O(n) time and O(1) extra space.
def second_largest(nums):
first = second = None
for x in nums:
if first is None or x > first:
first, second = x, first
elif x != first and (second is None or x > second):
second = x
return second
Tests we ran (all passed).
| Input | Output |
|---|---|
[4, 9, 1, 9, 7] |
7 |
[5, 5, 5] |
None |
[2] |
None |
[-3, -1, -2] |
-2 |
[1, 2] |
1 |
[10, 10, 9] |
9 |
Mistake to avoid. Sorting and taking index -2 returns the wrong value when the largest repeats, and it costs O(n log n).
- Check whether two strings are anagrams
- Check whether a number is prime
- Reverse a number and check a palindrome number
- Print the first n Fibonacci numbers
- Find the duplicate values in a list
- Count how often each letter appears
- Rotate a list to the right by k places
- GCD and LCM of two numbers
- Armstrong number
- Two Sum
- Sort a list without sort() (bubble sort)
- Factorial of a number
- Is a string a palindrome?
- Count vowels and consonants
- +45 more
5. Questions with answers
Each answer has three parts: the answer itself, why interviewers ask it, and an example you can say out loud.
What is the difference between a process and a thread?Free+
Answer. A process is a running program with its own memory space. A thread is a path of execution inside a process, and all threads of one process share that process's memory.
Why it is asked. It checks whether you understand that sharing memory makes threads cheap to create and fast to communicate, but also means two threads can corrupt shared data unless access is controlled.
Example. A text editor is one process. Its UI, autosave and spell-check can run as separate threads that all read the same document in memory. Two separate editor windows opened as two processes do not share that document.
What is the difference between a primary key and a unique key?Free+
Answer. A primary key identifies each row of a table and cannot be NULL, and a table has only one. A unique key also prevents duplicate values, but a table can have several, and it can usually hold NULL.
Why it is asked. It checks whether you know how a database enforces uniqueness and identity.
Example. In a users table, id is the primary key (every user has exactly one id). email can be a unique key: no two users share an email. We ran this in SQLite: inserting a second row with the same email failed with UNIQUE constraint failed: users.email, and inserting two rows with a NULL email succeeded. How many NULLs a unique key allows differs between databases, so check the one you use.
6. HR interview preparation
Candidates report HR questions on attitude, why TCS, relocation and willingness to switch domain, but TCS does not publish its interview format. The questions below are the ones that come up in almost every fresher HR round. The examples are templates: replace the details with your own true ones, and never memorise them word for word. For more practice, use the HR interview chapter in Hirenix Interview Prep and the mock interview.
Tell me about yourself.Free+
How to answer. Keep it to about a minute in three parts: who you are now (degree, college, main skill), what you have done (one or two projects or experiences), and why you want this role.
Example. "I am a final-year B.Tech student in computer science. I built a lab-booking web app in Python and SQL and practise coding every day. I want to start my career as a software developer where I can learn from large real projects."
Avoid. Reading your resume line by line, or starting with your family and hobbies.
7. Resume tips
TCS says original marksheets and certificates are verified at the interview, and that eligibility is checked at every stage. So treat your resume as a document that will be compared with your papers:
- Make every mark, year and course name match your marksheets exactly.
- List projects with what you built, the technology, and what it did. Be ready to explain any project line by line, because candidates report that projects come up in the interview.
- List only skills you can answer questions on. TCS says it evaluates you mainly on the skill you chose.
- Keep it to one page in a plain single-column layout so it reads cleanly in an applicant system.
8. Roadmap: your 30 days
Four weeks, built around the real test: three 25-minute Foundation sections and a 90-minute coding section. It runs week by week.
- W1
Week 1 (days 1 to 7): know the test and find your baseline
- Day 1: read the official NQT page end to end. Check each eligibility rule against your own documents.
- Day 2: write the test timetable on paper: 25 + 25 + 25 minutes, then 25 + 90. Practise reading it until it is automatic.
- Day 3: take a timed 25-minute set from each of numerical, verbal and reasoning. Note which one cost you the most time.
- Day 4: percentages and ratios (this page), then redo the practice without looking.
- Day 5: number series (this page), then make your own five series and solve a friend's.
- Day 6: refresh programming basics in your chosen language: variables, loops, functions, arrays, strings.
- Day 7: start a mistakes log. Write each wrong answer and the rule you missed, then rest.
9. Checklist and revision plan
Then rehearse it out loud
Practise in the HR round and the technical tracks. You answer by voice or text, and when you finish every answer gets a 0 to 10 score and a one-line fix. It is not specific to TCS and it does not ask live follow-up questions.
See the mock interviewOpen the TCS prep, free
Create a free account to try sample topics, a numerical mock and a coding mock inside the dashboard. Pro opens every topic, all 8 timed mocks and the coding mock that runs your Python.
TCS preparation: the facts
Counts are read from the same content this page is built from.
- Company
- TCS
- Aptitude topics
- 27 topics
- Technical topics
- 7 topics
- Coding questions
- 60 questions, each with run output
- Interview questions with answers
- 50 questions
- HR questions
- 10 questions
- Roadmap
- 4 weeks
- Checklist
- 10 items
- Hiring process facts
- Each row marked Verified (with source) or Unverified
- Last verified
- 2026-10-10
- Free
- Overview, hiring process and a free sample quiz on this page. A free account adds sample topics, a numerical mock and a coding mock in the dashboard.
- Full access
- Hirenix Pro opens every topic and all timed mocks (current plan on the pricing page)
- Affiliation
- Hirenix is not affiliated with this company
FAQ
Is the Advanced section compulsory?+
TCS says both sections are part of the integrated test and that the Advanced section is mandatory if you want a Digital or Prime offer. Your test performance decides whether you are interviewed for Prime, Digital or Ninja.
How long is the TCS NQT and where is it taken?+
190 minutes in total: 75 minutes for the Foundation part and 115 minutes for the Advanced part. It is taken in person at a TCS iON centre, not from home.
Is there negative marking?+
TCS's official page does not say. Different prep sites say different things, so rely on the instructions shown on your test screen rather than on a website.
Can I apply with a pending backlog?+
For the 2026 drive, TCS says no pending backlog is permitted at the time you appear for the selection process. Check the notice for the drive you are applying to.
Does Hirenix guarantee a TCS job?+
No. Hirenix is independent and not affiliated with TCS. This page helps you prepare, and TCS decides who is selected.
Other companies
- Infosys · soon
- Accenture · soon
- Wipro · soon
- Cognizant · soon
- Capgemini · soon
- HCLTech · soon