TCS interview prep · updated Oct 2026

TCS Software Engineer Interview Questions

Software Engineer 8 questions

Software engineers at TCS often look after systems that a client has run for many years, then maintain and modernise them without a break in service. Prepare to talk about proving that old code is wrong, refusing shortcuts that would rot a system, working out the impact of a small change across a large codebase, replacing old modules while proving the results still match, and following a client's change process under pressure. What to show here: careful ownership of long-running client systems. Each question below has what the interviewer is checking, an answer frame and a sample spoken answer to adapt.

Behavioral

1. Tell me about a time you found a bug in code that had run unchanged for years on a client's system. How did you convince people it was a bug and not intended behaviour?

What they are checking
Checks whether you investigate old behaviour carefully and can make a case with evidence to people who trust the system as it is.
Answer frame
  1. Describe what you noticed and why it looked wrong.
  2. Explain how you checked the rule with documents and business people.
  3. Share the evidence you gathered and how you presented it.
  4. Give the result and how the fix was handled.
Sample spoken answer

“While tracing a customer complaint, I found that a fee calculation rounded down before adding a charge, which was against the written rule. It had run that way for years, and the client's team assumed it was intended. I did not argue from opinion. I pulled the rule document, worked through several real cases by hand, and showed the difference between the code and the rule for each. I also estimated how many accounts were affected. The client agreed it was a defect, and we fixed it through a change request with a correction for past cases. The result was your result.”

Red flag to avoid

Weak answers change the old behaviour quietly, or drop the issue because nobody had complained before.

Behavioral

2. Describe a time a client's business user asked you for a shortcut in the code, such as a special case for one branch or one customer. What did you do?

What they are checking
Checks whether you can keep a system maintainable while still meeting a real business need.
Answer frame
  1. Describe the request and the need behind it.
  2. Explain the cost of a hard-coded exception over time.
  3. Share the alternative you offered.
  4. Give the result.
Sample spoken answer

“A client's operations manager asked me to make one branch skip a validation step, because that branch handled a special type of customer. The quick way was an if statement with the branch code in it. I explained that such exceptions pile up, nobody remembers why they exist, and they break when branches merge. Instead I proposed a setting on the branch record that switched the validation, so the rule was visible and could be changed by their admin team without code. It took a little longer, and the manager agreed. The result was your result.”

Red flag to avoid

Weak answers add the special case to keep the user happy, or refuse without offering a proper way to meet the need.

Technical

3. A bank client wants to make the account number field longer. That field is used in hundreds of programs, files and screens. How do you work out the impact before changing anything?

What they are checking
Checks whether you can do a careful impact analysis across a large old system.
Answer frame
  1. Search code, database definitions, file layouts and screens for the field.
  2. Trace where the value flows to other systems and reports.
  3. Group findings by type of change needed.
  4. Plan the order of change and the testing.
Sample spoken answer

“I would begin with a wide search for the field name and its copies across programs, database columns, file layouts, screens and reports. Names differ in old systems, so I would also trace the data flow from known places to find fields that hold the same value under another name. Interfaces to other systems matter most, because they cannot change on our date alone. I would list each item with the kind of change it needs, such as a wider column or a new file layout. Then I would propose an order where the system accepts both lengths for a while, and plan full regression tests.”

Red flag to avoid

Weak answers search for one field name and stop, or forget the files exchanged with other systems.

Technical

4. You are rewriting an old program that calculates insurance premiums into a modern language. How do you prove the new one gives the same answers as the old one?

What they are checking
Checks whether you know how to verify a rewrite by comparing behaviour, and not by trusting old documents.
Answer frame
  1. Treat the old program's output as the specification.
  2. Run both on the same real inputs and compare results.
  3. Investigate every difference and decide with the business which is right.
  4. Run side by side for a period before switching.
Sample spoken answer

“Documents for old programs are often out of date, so I treat the old program's behaviour as the real rule book. I would collect a large set of real inputs with personal details masked, run both programs on them, and compare outputs field by field. Every difference is looked into. Sometimes the old program has a bug the business has come to depend on, so the client decides which answer is correct. I would pay attention to rounding and date handling, where languages differ. Before switching, both run side by side for some cycles with automatic comparison.”

Red flag to avoid

Weak answers rewrite from the specification alone and test with a few hand-made cases.

System Design

5. An airport check-in system depends on a central reservation system. Design it so staff can still check passengers in when the link to the central system is lost.

What they are checking
Checks whether you can design for a lost connection with local data, limited functions and safe syncing afterwards.
Answer frame
  1. Decide which functions must work offline.
  2. Keep a local copy of the data needed for upcoming flights.
  3. Record actions locally and sync when the link returns.
  4. Handle conflicts, such as one seat given twice.
Sample spoken answer

“I would decide first what must work offline: finding a passenger, confirming a seat and printing a boarding pass. Changing a ticket can wait. Each airport keeps a local copy of passenger lists and seat maps for flights in the next several hours, refreshed often while the link is up. When the link fails, the system moves to local mode and shows staff a clear notice. Every action is written to a local log with a unique id. When the link returns, the log is replayed to the central system. Conflicts, like a seat given twice, are flagged for staff to settle before boarding.”

Red flag to avoid

Weak answers simply show an error when the link is down, or sync afterwards with no plan for conflicts.

Technical

6. Ten defects are open on a client's system and the team can fix four this week. How do you decide which ones, and how do you explain the difference between severity and priority?

What they are checking
Checks whether you can triage defects by business impact and explain your choices to a client.
Answer frame
  1. Define severity as technical impact and priority as business urgency.
  2. Gather facts: who is affected, how often, is there a workaround.
  3. Rank with the client's input and the service agreement.
  4. Communicate the plan for what is not fixed now.
Sample spoken answer

“Severity is how badly the defect breaks the system. Priority is how soon the business needs it fixed. They can differ: a spelling error on the login page is low severity but may be high priority if customers see it. For each defect I would ask how many users are affected, how often, whether money or compliance is involved, and whether a workaround exists. I would also check what the service agreement promises for each level. Then I propose a ranking to the client and agree on it. The remaining six get a planned date and a workaround.”

Red flag to avoid

Weak answers fix the easiest defects first, or decide alone without asking the business.

Scenario

7. A senior manager at the client calls you directly and asks you to apply a quick fix to the live system today, skipping the usual change approval. What do you do?

What they are checking
Checks whether you can respect a client's process under pressure while still being helpful.
Answer frame
  1. Understand the urgency and the real business impact.
  2. Explain the risk of skipping the process in plain words.
  3. Offer the emergency route that the process itself provides.
  4. Involve your lead and keep everything on record.
Sample spoken answer

“I would listen first and understand what is hurting the business and how urgent it is. I would not say yes on the call, and I would not flatly refuse either. I would explain that an untracked change to the live system is a risk for them, and that their own process usually has an emergency path with faster approval. I would offer to prepare the fix and the emergency request straight away, and inform my lead and the client's change manager. If it is truly urgent, the fix can go out the same day, tested and recorded.”

Red flag to avoid

Weak answers apply the fix quietly to please the manager, or hide behind process without offering a fast route.

Why this company

8. Why do you want to work as a software engineer at TCS, looking after systems that clients have run for years?

What they are checking
Checks whether you understand the long-term nature of services work and find meaning in it.
Answer frame
  1. Say what you value in engineering work.
  2. Connect it to running and modernising systems for clients.
  3. Link to your experience.
  4. Say how you want to grow.
Sample spoken answer

“I value being trusted with systems that matter. TCS delivers IT services to client companies and often looks after their important applications for years, so an engineer gets to understand a system and a business deeply, not only pass through. I have enjoyed maintenance and modernisation work, where success means nothing breaks and the system gets a little better each release. I know that means process, documentation and patience, and I am comfortable with that. I want to grow into someone who can lead the modernisation of a large system safely.”

Red flag to avoid

Weak answers want only new projects and see maintenance as something to escape from.

Salary questions come last

No figures on this page: pay depends on the level, the city and the offer in front of you. When the offer comes, the free salary negotiation script helps with that part.

For the call itself

The questions above are the prep. On the real call, ClapAssist helps with the ones you did not practice.

ClapAssist is an AI interview assistant for Mac and Windows. It listens to the interview on your computer and shows you what to say, in short lines you can read while you talk. Your live interview audio and screen are never stored. Your resume and notes are saved to your account so the app fills them in on any computer. It is hidden from screen share on every plan, including Free; only you can see it.

Download with 10 free minutes
Mac and Windows · Stays out of screen share · No card