View All
View All
View All
View All
View All
View All
View All
View All
View All
View All
View All
View All
  • Home
  • Blog
  • General
  • TCS Interview Questions: Top 70 Questions for Freshers & Experienced

TCS Interview Questions: Top 70 Questions for Freshers & Experienced

By upGrad

Updated on Apr 17, 2025 | 32 min read | 2.0k views

Share:

Tata Consultancy Services (TCS) conducts a structured, multi-stage recruitment process that assesses both technical proficiency and problem-solving abilities. Candidates are typically evaluated through online assessments, technical interviews, and HR rounds. The process usually begins with an online assessment that tests programming logic, numerical ability, and basic computer science concepts. Candidates who move forward can expect technical interviews that cover areas such as data structures, algorithms, database queries, object-oriented programming, and core concepts in languages like C, Java, or Python.

With over 602,000 employees worldwide (as of 2024), TCS provides excellent job opportunities to professionals well-versed in technical, behavioral, and analytical domains. In this guide, we will discuss the top 70 TCS interview questions and their potential answers so that you can prepare for a rewarding career with the company.

Top 70 TCS Interview Questions and Answers

As a candidate, you can expect a variety of challenging, domain-specific questions designed to test your technical knowledge and problem-solving skills. This fresher interview guide helps the selection team assess whether you are a good fit for the organization.

This detailed section covers commonly asked TCS interview questions with well-explained answers to help you face your interview confidently.

Technical Interview Questions for Freshers

Freshers applying to TCS can expect questions that test their understanding of basic programming concepts, data structures, and object-oriented programming (OOP) principles. Below are common TCS technical interview questions you should prepare for.

1. Explain the concept of Object-Oriented Programming.

Definition: Object-Oriented Programming (OOP) is a programming paradigm centered around the concept of “objects,” which are instances of classes. These objects can contain both data, in the form of fields (also known as attributes), and code, in the form of methods.

Importance: 

OOP focuses on organizing software as a collection of interacting objects, unlike traditional procedural programming, which emphasizes functions and logic. It primarily aims to increase the modularity, reusability, and scalability of code.

2. What are the four pillars of OOP?

OOP is designed to organize code in a way that models real-world entities and their interactions. This makes software systems easier to understand, maintain, and scale.

Four pillars of OOP: 

  • Encapsulation: Binding data and methods into a single unit (class) while restricting direct access to some of the object’s components.
  • Abstraction: Hiding internal implementation details and exposing only the necessary features of an object.
  • Inheritance: Allowing a new class to inherit properties and behaviors (methods) from an existing class.
  • Polymorphism: Enabling objects to take on multiple forms depending on the context, typically through method overriding and overloading.

Professionals interested in learning more about OOP can pursue the Object-oriented programming tutorial. 

3. Write a program to check if a number is prime.

A prime number is a number greater than 1 that has no divisors other than 1 and itself.

Here’s a detailed program to check if a number is prime:

#include <stdio.h>

int main() {
    int num, i, flag = 0;
    printf("Enter a positive integer: ");
    scanf("%d", &num);

    if (num <= 1) {
        printf("Not a prime number.");
        return 0;
    }

    for (i = 2; i <= num / 2; ++i) {
        if (num % i == 0) {
            flag = 1;
            break;
        }
    }

    if (flag == 0)
        printf("%d is a prime number.", num);
    else
        printf("%d is not a prime number.", num);

    return 0;
}

4. Explain the difference between C and C++.

  • C: A procedural programming language.
  • C++: Supports both procedural and object-oriented programming.

The following table highlights the primary differences between C and C++ in detail: 

Feature

C

C++

Programming Paradigm

Procedural

Procedural + Object-Oriented

Encapsulation

Not supported

Supported through classes

Inheritance

Not supported

Fully supported

Function Overloading

Not supported

Supported

Namespace

Not available

Available

Exception Handling

Manual

Built-in

5. What is recursion? Provide an example.

Recursion is a programming technique where a function calls itself directly or indirectly to solve a problem. It is commonly used to solve problems that can be broken down into smaller, similar subproblems, such as calculating a factorial, generating a Fibonacci sequence, or performing tree traversal.

Example: 

Calculating the factorial of a number using recursion:

#include <stdio.h>

int factorial(int n) {
    if (n == 0)
        return 1;
    else
        return n * factorial(n - 1);
}

int main() {
    int number = 5;
    printf("Factorial of %d is %d", number, factorial(number));
    return 0;
}

6. Differentiate between a stack and a queue.

  • Stack: Follows a Last-In, First-Out (LIFO) principle, meaning the last item added is the first one removed.
  • Queue: Follows a First-In, First-Out (FIFO) principle, where the first item added is the first one removed.

Both stack and queue are linear data structures, but they differ in how elements are inserted and removed.

Feature

Stack

Queue

Order

LIFO (Last In, First Out)

FIFO (First In, First Out)

Insertion

Performed at the top

Performed at the rear

Deletion

Performed at the top

Performed at the front

Use Cases

Function calls, the undo feature

Scheduling, order processing

7. What are pointers in C? How do they work?

Definition: Pointers are variables in C that store the memory address of another variable. They are powerful tools that enable efficient array handling, dynamic memory allocation, and function argument manipulation.

Pointers allow programmers to access and manipulate memory locations directly. This often leads to more optimized and faster code execution.

Example:

Using int *ptr declares a pointer to an integer. 

int a = 10;
int *ptr;

ptr = &a;  // ptr now holds the address of variable a

Using *ptr allows you to access or modify the value stored at that memory location.

8. Write a program to swap two numbers without using a third variable.

The following program demonstrates how to swap two numbers without using a third variable:

#include <stdio.h>

int main() {
    int a = 5, b = 10;

    printf("Before swap: a = %d, b = %d\n", a, b);

    a = a + b;
    b = a - b;
    a = a - b;

    printf("After swap: a = %d, b = %d\n", a, b);
    return 0;
}

This method uses arithmetic operations to perform the swap without the need for extra space.

9. Explain the difference between ‘==’ and ‘equals()’ in Java.

  • ==: Compares memory references (i.e., checks whether two references point to the same object).
  • equals(): Compares the actual contents or state of two objects.

In Java, == and .equals() serve different purposes when comparing objects:

Operator/Method

Purpose

Compares

==

Checks if two references point to the same object

Memory addresses

.equals()

Checks if two objects are logically equivalent

Object contents

10. What is a linked list? How is it different from an array?

A linked list is a linear data structure in which elements (called nodes) are stored in separate memory locations and connected via pointers. 

Each node typically contains two parts:

  • Data
  • Pointer to the next node in the list

Unlike arrays, linked lists do not require contiguous memory allocation and can grow or shrink dynamically at runtime.

The following table showcases the primary differences between a linked list and an array in detail: 

Feature

Array

Linked List

Memory Allocation

Fixed and contiguous

Dynamic and non-contiguous

Access Time

Constant (O(1)) using index

Linear (O(n))

Insertion/Deletion

Costly (shift required)

Easier and more efficient

Flexibility

Less flexible (fixed size)

Highly flexible (dynamic size)

Want to improve your technical skills for better job roles? Pursue upGrad’s latest tech courses now. 

TCS Technical Interview Questions for Experienced Candidates

The technical interview is a part of TCS’s experienced hire process, designed to assess your understanding of core concepts and your approach to problem-solving. Below are some commonly asked TCS interview questions for experienced candidates during technical rounds.

1. Explain the SOLID principles in software design.

The SOLID principles are a set of five object-oriented design principles aimed at building scalable, maintainable software:

  • S – Single Responsibility Principle:
    A class should have only one reason to change, meaning it should do only one job.
  • O – Open/Closed Principle:
    Software entities should be open for extension but closed for modification.
  • L – Liskov Substitution Principle:
    Objects of a superclass should be replaceable with objects of its subclasses without altering the correctness of the program.
  • I – Interface Segregation Principle:
    Clients should not be forced to depend on interfaces they do not use.
  • D – Dependency Inversion Principle:
    High-level modules should not depend on low-level modules; both should depend on abstractions.

2. What is a design pattern? Explain the Singleton pattern.

A design pattern is a general, reusable solution to a commonly occurring problem in software design. Patterns represent best practices and help in developing robust, scalable systems.

Singleton Pattern:

Ensures a class has only one instance and provides a global point of access to it. It is commonly used in cases like database connections and logging.

Example in Java:

   public class Singleton {
    private static Singleton instance;
     private Singleton() {}

    public static synchronized Singleton getInstance() {
        if (instance == null) {
            instance = new Singleton();
        }
        return instance;
    }
}

3. How do you optimize a database query?

Optimizing database queries is crucial for performance and resource efficiency. Key techniques include:

  • Use indexes on frequently queried columns.
  • Avoid SELECT *; retrieve only necessary columns.
  • Optimize joins and avoid unnecessary nested subqueries.
  • Apply WHERE clauses early to reduce row scans.
  • Use query execution/explain plans to identify bottlenecks.
  • Cache frequently executed queries when applicable.

4. Explain multithreading and its advantages.

Multithreading is the concurrent execution of two or more threads within a process, allowing efficient CPU utilization.

Advantages:

  • Better CPU resource utilization.
  • Faster execution of tasks running in parallel.
  • Improved application responsiveness.
  • Suitable for I/O-bound operations like file access and network communication.

Read More: Multithreading in C#: Definition, Implementation, Challenges, and Best Practices

5. How does garbage collection work in Java?

Garbage collection in Java is the automatic process of reclaiming memory occupied by objects that are no longer in use.

Key features include:

  • No manual memory deallocation is required by the programmer.
  • Common algorithms include Mark and Sweep, Generational GC, and the G1 Garbage Collector.
  • Prevents memory leaks and optimizes overall application performance.

6. What is the difference between TCP and UDP?

  • TCP (Transmission Control Protocol): A connection-oriented protocol that ensures reliable and ordered delivery of data packets between devices over a network.
  • UDP (User Datagram Protocol): A connectionless and lightweight protocol used for transmitting data where speed is more critical than reliability.

The primary differences between TCP and UDP are: 

Feature

TCP (Transmission Control Protocol)

UDP (User Datagram Protocol)

Connection

Connection-oriented

Connectionless

Reliability

Reliable (guaranteed delivery)

Unreliable (no delivery guarantee)

Data sequencing

Maintains order

No ordering of messages

Speed

Slower due to overhead

Faster with low overhead

Use Cases

File transfer, web browsing

Streaming, gaming, Voice over Internet Protocol (VoIP)

Those interested in learning more about TCP can enroll in a Transmission Control Protocol tutorial

7. How do you handle memory leaks in C++?

Memory leaks in C++ occur when dynamically allocated memory is not properly deallocated. To handle and prevent them:

  • Use smart pointers (std::shared_ptr, std::unique_ptr) for automatic memory management.
  • Always delete dynamically allocated memory when it's no longer needed.
  • Apply the RAII (Resource Acquisition Is Initialization) pattern to manage resources via object lifetimes.
  • Use tools like Valgrind or AddressSanitizer to detect leaks during development and testing.

8. Explain API testing and why it's important.

API testing involves verifying the functionality, performance, reliability, and security of an application programming interface (API). It focuses on the logic layer of the software architecture.

Importance:

  • Identifies issues in the business logic layer early.
  • Faster and more stable than UI testing.
  • Ensures seamless communication between services and systems.
  • Essential for microservices and headless applications.

Read More: 55+ Top API Testing Interview Questions to Advance Your Career in 2025

9. How would you implement a caching mechanism in a web application?

Caching improves performance by minimizing server load and reducing response times. Here's how to implement caching effectively:

Steps: 

  • Use in-memory caching with tools like Redis or Memcached.
  • Cache static resources (CSS, JS, images) at the browser or CDN level.
  • Apply HTTP caching headers like Cache-Control and ETag for client-side caching.
  • Cache database queries for frequently accessed data.
  • Use framework-specific caching tools (e.g., Spring Cache, Django caching).

10. What are microservices, and how do they differ from monolithic architecture?

Microservices are an architectural style where an application is built as a collection of small, loosely coupled, independently deployable services. Each service handles a specific business functionality and communicates via APIs.

Comparison:

Parameter

Microservices

Monolithic Architecture

Structure

Distributed services

Single, unified codebase

Deployment

Independent for each service

Entire application redeployed

Scalability

Scales individual components

Scales as a whole

Technology Stack

Polyglot (can use different stacks per service)

Uniform stack across the app

Fault Isolation

Better (failure of one service doesn’t affect all)

Poor (one failure can bring down the entire app)

Want to upskill your technical knowledge? Enroll in upGrad’s Introduction to Product Management course now.

 Tata Consultancy Services (TCS) Coding Questions

If you're preparing for technical rounds, whether for experienced or entry-level roles at TCS, being confident in writing code on the spot is crucial. The following coding questions TCS are frequently asked in TCS interviews to assess your problem-solving ability, knowledge of data structures, and skill in writing clean, efficient code.

1. Write a program to reverse a linked list.

A linked list is a collection of nodes where each node points to the next node. To reverse a linked list, we need to reverse the direction of the pointers between nodes.

class Node:
    def __init__(self, data):
        self.data = data
        self.next = None

def reverse_linked_list(head):
    prev = None
    curr = head
    while curr:
        next_node = curr.next
        curr.next = prev
        prev = curr
        curr = next_node
    return prev

2. Implement a binary search algorithm.

Binary search is an efficient algorithm for finding an item from a sorted list by repeatedly dividing the search interval in half.

def binary_search(arr, target):
    low, high = 0, len(arr) - 1
    while low <= high:
        mid = (low + high) // 2
        if arr[mid] == target:
            return mid
        elif arr[mid] < target:
            low = mid + 1
        else:
            high = mid - 1
    return -1

3. Find the second-largest number in an array.

The second largest element is the number that is smaller than the largest but greater than all others.

Process:

  • Traverse once to find the largest.
  • Traverse again to find the largest number smaller than the first.

Python Code:

def second_largest(arr):
    first = second = float('-inf')
    for num in arr:
        if num > first:
            second = first
            first = num
        elif first > num > second:
            second = num
    return second

4. Write a SQL query to fetch the top 5 highest salaries from an employee table.

This query fetches the top 5 highest salaries from an employee table by ordering the salaries in descending order and limiting the result.

SELECT DISTINCT salary 
FROM employee 
ORDER BY salary DESC 
LIMIT 5;

5. Implement Fibonacci series using recursion.

The Fibonacci sequence is a series of numbers where each number is the sum of the two preceding ones. Below is the recursive implementation to print the first 5 terms.

def fibonacci(n):
    if n <= 1:
        return n
    return fibonacci(n-1) + fibonacci(n-2)

# Print first 5 terms
for i in range(5):
    print(fibonacci(i))

6. How do you detect a loop in a linked list?

To detect a cycle in a linked list, I use Floyd’s Cycle Detection Algorithm (Tortoise and Hare approach).

Python Code:

def has_cycle(head):
    slow = fast = head
    while fast and fast.next:
        slow = slow.next
        fast = fast.next.next
        if slow == fast:
            return True
    return False

7. Write a program to check if two strings are anagrams.

Two strings are anagrams if they contain the same characters in the same frequency, regardless of order.

Python Code:

def is_anagram(str1, str2):
    return sorted(str1) == sorted(str2)

8. Implement a stack using an array.

A stack follows LIFO (Last In, First Out) and can be implemented using lists.

Python Code:

class Stack:
    def __init__(self):
        self.stack = []

    def push(self, data):
        self.stack.append(data)

    def pop(self):
        return self.stack.pop() if self.stack else "Stack is empty"

    def peek(self):
        return self.stack[-1] if self.stack else "Stack is empty"

9. Write a query to get duplicate records from a table.

This SQL query is used to find duplicate records in a table by grouping data based on the column and counting the occurrences.

SELECT column_name, COUNT(*) 
FROM table_name 
GROUP BY column_name 
HAVING COUNT(*) > 1;

10. Implement a queue using two stacks.

A queue follows the FIFO (First In, First Out) principle. You can implement a queue using two stacks by transferring elements between them.

python

CopyEdit

class QueueUsingStacks:
    def __init__(self):
        self.stack1 = []
        self.stack2 = []

    def enqueue(self, x):
        self.stack1.append(x)

    def dequeue(self):
        if not self.stack2:
            if not self.stack1:
                return "Queue is empty"
            while self.stack1:
                self.stack2.append(self.stack1.pop())
        return self.stack2.pop()

# Usage:
q = QueueUsingStacks()
q.enqueue(10)
q.enqueue(20)
print(q.dequeue())  # Output: 10

Want to improve your coding skills for better opportunities at TCS? Learn Basic Python Programming with upGrad now. 

Tata Consultancy Services (TCS) Managerial Round Questions

Managerial interviews at TCS focus less on technical depth and more on evaluating leadership qualities, decision-making, communication skills, and adaptability under pressure. Here’s how to approach some of the most commonly asked TCS interview questions during the managerial round:

1. Describe a situation where you resolved a conflict in your team.

Conflict resolution involves addressing disagreements and finding constructive solutions to maintain a healthy and productive team environment.

Example:

In one project, two developers clashed over overlapping responsibilities. I began with individual one-on-one discussions to understand their perspectives. Then, I facilitated a neutral meeting to align expectations. I redefined their roles based on individual strengths and project needs for effective conflict management. This helped clarify ownership, reduced friction, and improved team collaboration moving forward.

2. How do you handle tight deadlines and pressure?

Effective time management under pressure requires strategic planning, prioritization, and clear communication.

Approach:

I break down large tasks into smaller, manageable units and prioritize them based on deadlines and impact. I allocate time blocks and buffers to handle unforeseen issues. Keeping the team informed and supported ensures we stay on track even under high pressure.

3. What would you do if you had a disagreement with your manager?

Professional disagreement arises when you and your manager have differing views on a decision or approach.

Response:

I actively listen to understand my manager’s rationale and then respectfully present my viewpoint, supported by data or case study scenarios. If a consensus isn't reached, I align with their decision while noting the outcome for future review. The key is to maintain mutual respect while contributing constructively.

4. Have you ever taken a leadership role in a project?

Project leadership involves guiding a team toward shared goals while managing timelines, responsibilities, and collaboration.

Example:

Yes, I led a product redesign project involving UI/UX, development, and QA teams. I created a roadmap, delegated responsibilities, managed stakeholder communication, and addressed blockers. The project launched on schedule and resulted in a 20% increase in user engagement.

5. How do you prioritize tasks when managing multiple projects?

Task prioritization is about ranking work based on urgency, importance, and resource availability.

Strategy:

I use the Eisenhower Matrix, a time management tool that helps prioritize tasks by categorizing them based on urgency and importance to categorize tasks by urgency and importance. I also account for dependencies, deadlines, and stakeholder expectations. Regular reviews help adapt priorities as project dynamics shift.

6. Describe a time when you failed at a task. What did you learn?

Failure can offer valuable learning opportunities and help improve future performance.

Example:

During a module integration, I missed a compatibility issue with legacy code, which caused a delay and required rework. I learned the importance of early compatibility checks and cross-team code reviews. Since then, I have always included dependency audits in my project planning phase. To solve the issue, I quickly identified the root cause, coordinated with the legacy team to update the necessary code, and implemented additional testing protocols to prevent future issues. This proactive approach has greatly improved the integration process in subsequent projects.

7. How do you deal with an uncooperative team member?

Managing difficult team dynamics requires empathy, transparency, and clear expectations.

Approach:

I begin with a one-on-one conversation to understand the root cause, whether it’s a motivation, communication, or clarity issue. I try to align tasks with the team member’s strengths and clarify deliverables. If there’s no improvement, I document the behavior and escalate the matter to HR or upper management when necessary.

8. What steps do you take to ensure smooth team collaboration?

Team collaboration is about coordinated, cooperative effort toward shared goals.

Steps I Follow:

  • Clearly define roles and responsibilities
  • Use collaboration tools (Slack, Trello, JIRA)
  • Hold regular stand-ups and retrospectives
  • Encourage open communication and continuous feedback
  • Address issues early to prevent escalation

9. How do you measure success in a project?

Project success metrics are quantifiable indicators used to evaluate whether a project has achieved its intended goals.

I use key performance indicators (KPIs) such as on-time delivery, budget adherence, product performance, and customer satisfaction. In addition, I consider internal feedback, team morale, and lessons learned from post-project reviews to assess overall success.

10. Explain a complex problem you solved at work.

Solving complex problems involves identifying the root cause of multifaceted issues and implementing structured, sustainable solutions.

Case Example:

Our product exhibited inconsistent behavior due to environmental differences between the testing and production environments.

Steps Taken:

  • Conducted a root cause analysis across the Development, QA, and Operations teams
  • Standardized environments using Docker containers
  • Integrated CI/CD pipelines to ensure seamless and consistent deployments

Outcome:

This reduced production bugs by 85% and significantly improved deployment reliability.

Want to learn how to acquire managerial skills? Pursue upGrad’s Management Essentials program now. 

TCS HR Interview Questions

Preparing for the TCS HR interview is essential, as it helps candidates align their values, communication styles, and career goals with the company's expectations. TCS HR interviews aim to assess personality, team compatibility, adaptability, and long-term aspirations. Below are some commonly asked HR questions during the TCS interview process, along with guidance on how to approach each one effectively.

1. Tell me about yourself.

I'm a recent graduate with a Bachelor’s degree in Computer Science, and I’ve always been passionate about technology and problem-solving. During university, I worked on several software development and data analysis projects. I also completed an internship focused on web development, using data structures in JavaScript and React. I'm now eager to begin my career at a reputed organization like TCS, where I can apply my skills, grow professionally, and contribute to impactful projects.

2. Why do you want to join TCS?

I want to join TCS because it is a globally recognized leader in IT services, known for its innovation, employee development, and strong ethical values. The company’s involvement in diverse industries and digital transformation initiatives aligns with my interests. I believe the collaborative culture at TCS will provide the perfect environment for me to learn continuously and build a successful career.

3. What are your strengths and weaknesses?

One of my key strengths is adaptability. I'm highly adaptable and quick to learn new technologies. I'm also organized, which helps me manage tasks efficiently. As for weaknesses, I used to struggle with public speaking, but I’ve been actively working to improve through group discussion rounds and presentations, which have helped build my confidence.

4. Where do you see yourself in five years?

In five years, I see myself growing within TCS, having taken on increasingly challenging roles that allow me to contribute meaningfully to the organization. I aim to gain domain expertise, mentor junior team members, and possibly take on a leadership role. I’m especially interested in exploring project management and technical leadership opportunities as I develop professionally.

5. Why should we hire you?

You should hire me because I have a solid technical foundation, a proactive mindset, and a strong desire to learn and contribute. I’m a dependable team player who adapts quickly and thrives in collaborative environments. I’m excited about the opportunities TCS offers and am confident that I can add value from day one.

6. Have you worked in a team before? How was your experience?

Yes, I’ve worked in multiple teams during academic projects and my internship. One notable experience was building an e-commerce website as part of a group project. We assigned roles based on individual strengths, maintained consistent communication, and completed the project ahead of schedule. This experience taught me the importance of coordination, empathy, and accountability within a team.

7. How do you handle constructive criticism?

I view constructive criticism as a valuable opportunity for growth. I actively listen, reflect on the feedback, and implement suggested improvements. For example, during my internship, my mentor advised me to improve my coding style. I studied best practices, made changes, and noticed significant improvements in code readability and performance.

8. Are you open to relocating for this job?

Yes, I’m open to relocation. I understand that TCS operates globally, and I’m excited about the chance to work in different environments. I believe such experiences will enrich both my professional skills and personal growth.

9. What do you know about TCS’s work culture?

Based on my research and employee testimonials, TCS is known for its inclusive, collaborative, and growth-oriented work culture. The company emphasizes integrity, continuous learning, and innovation. TCS fosters a healthy work-life balance and provides numerous opportunities for skill development and career advancement through its extensive learning platforms like TCS iON and mentorship programs. The emphasis on diversity and employee well-being contributes to a positive and productive environment.

10. Do you have any questions for us?

Yes, I do. I’d love to know more about the typical career path for someone in this role at TCS. Additionally, I’m curious about how the company supports continuous learning and development, especially for new employees. Understanding how TCS fosters long-term professional growth would help me better align my goals with the organization’s vision.

Want to learn more about the tricks to answer HR questions? Enroll in upGrad’s Communication Courses online now. 

TCS Aptitude Test Questions

Thorough preparation for the TCS aptitude and system design questions and tests is essential, as these are key components of the recruitment process. These assessments evaluate your numerical ability, logical reasoning, and problem-solving skills. With dedicated practice and strategic aptitude test preparation, you can significantly improve your chances of success.

Below are some commonly asked TCS aptitude questions, often including step-by-step solutions to help you understand the logic behind the answers:

1. A train 120 meters long is running at 60 km/hr. How much time will it take to cross a platform 180 meters long?

Solution:

Length of train = 120 meters

Length of platform = 180 meters

Here, 

Distance =  Length of Train + Length of Platform

Speed = Speed in km/hr×1000/3600

Total distance to cross = 120 + 180 = 300 meters

Speed of train = 60 km/hr = (60 × 1000) / 3600 = 16.67 m/s

Answer: Approximately 18 seconds

2. Solve: (2x + 3 = 11). What is x?

Solution:

2x + 3 = 11

⇒ 2x = 11 - 3 = 8

⇒ x = 8 ÷ 2 = 4

Answer: x = 4

3. If the price of a product increases by 20% and then decreases by 10%, what is the net change in price?

Solution: 

Let the original price be ₹100.

After a 20% increase: ₹100 + ₹20 = ₹120

Then a 10% decrease on ₹120 = ₹120 - ₹12 = ₹108

Net change = ₹108 - ₹100 = ₹8 increase

Answer: 8% increase

4. A can complete a task in 10 days, and B can complete it in 15 days. How long will they take together?

Solution:

A's work rate = 1 task / 10 days = 1/10

B's work rate = 1 task / 15 days = 1/15

Combined work rate = 1/10 + 1/15
= (3 + 2) / 30
= 5/30 = 1/6

So, together they complete the task in 6 days

Answer: 6 days

5. What is the probability of rolling an even number on a fair six-sided die?

Solution:

Favourable outcomes = 2, 4, 6 → 3 outcomes

Total outcomes = 6

Answer: ½ or 0.5

6. Solve for x: 5x² - 20 = 0.

Solution:

5x² - 20 = 0

⇒ x² = 4

⇒ x = ±√4 = ±2

Answer: x = 2 or x = -2

Read More: Top Probability Aptitude Questions & Answers [2025]

7. If the sum of three consecutive numbers is 72, find the numbers.

Solution:

Let the numbers be x, x+1, and x+2

x + (x + 1) + (x + 2) = 72

⇒ 3x + 3 = 72

⇒ 3x = 69

⇒ x = 23

Numbers = 23, 24, 25

Answer: 23, 24, and 25

8. A car covers 150 km in 3 hours. What is its average speed?

Solution:
Average speed = 150 km ÷ 3 hr = 50 km/h

Answer: 50 km/hr

9. If a product costs ₹500 and is sold at a 10% profit, what is the selling price?

Solution:
Profit = 10% of ₹500 = ₹50
Selling price = ₹500 + ₹50 = ₹550

Answer: ₹550

10. Solve: (8 × 4) ÷ (2 × 2)

Solution:
(8 × 4) = 32
(2 × 2) = 4
⇒ 32 ÷ 4 = 8

Answer: 8

Want to learn more about solving aptitude problems? Enroll in upGrad’s AptitudePro Program now. 

TCS Behavioral Interview Questions

Behavioral interview questions are designed to evaluate how you think, react, and behave in different professional scenarios. The best approach to answering them is by using the STAR method (Situation, Task, Action, Result), which helps structure real-life examples clearly and effectively. Here's how to answer them effectively:

1. How do you stay motivated during repetitive tasks?

I stay motivated by focusing on the bigger picture, understanding how even routine tasks contribute to the overall success of the project or team. I set mini-goals and celebrate small achievements to maintain momentum. Additionally, I use productivity techniques like the Pomodoro method and occasionally listen to music (when appropriate) to stay focused and engaged.

2. Have you ever faced failure in your career? How did you handle it?

Yes, early in my career, I missed a critical deadline due to poor time estimation. I took full responsibility, informed my manager immediately, and proposed a revised timeline. Since then, I’ve improved my planning by using project tracking tools and adding realistic buffer time to schedules. This experience taught me to be proactive, transparent, and solution-oriented.

3. What is your biggest professional achievement?

One of my most significant achievements was leading a product documentation project that reduced client onboarding time by 40%. I initiated the project, collaborated with cross-functional teams, and ensured timely delivery while maintaining high quality. This effort enhanced the user experience and improved internal operational efficiency.

4. How do you handle feedback and criticism?

I see feedback as a growth opportunity. I actively listen, ask clarifying questions when necessary, and focus on implementing suggestions without taking criticism personally. I also make it a point to follow up with the person who provided the feedback to demonstrate progress and a willingness to improve.

5. How do you adapt to new technologies and trends?

I remain proactive and curious about learning. I subscribe to tech newsletters, take online courses, and engage with hands-on tutorials. Whenever possible, I volunteer to explore and use emerging technologies in projects. This approach helps me adapt quickly and stay ahead in a fast-changing industry.

6. Describe a situation where you handled a difficult customer/client.

In one instance, a client was upset due to a delay in project delivery. I acknowledged their concerns, explained the cause of the delay, and provided a revised timeline with clearly defined milestones. I ensured they received regular progress updates, which helped rebuild trust. The client appreciated the transparency, and the partnership was successfully maintained.

7. What values do you think are essential for success in a corporate job?

In my opinion, the following values are essential for long-term success in a corporate setting:

  • Integrity and honesty
  • Accountability
  • Teamwork and collaboration
  • Adaptability
  • Strong communication skills
  • A continuous learning mindset

These TCS company values foster trust, drive results, and support personal and professional growth.

8. How do you handle multiple tasks with tight deadlines?

I begin by listing all tasks and assessing their urgency and impact. Then I prioritize using tools like the ABCDE method which involves breaking down large tasks into manageable actions. I block focused work time, avoid multitasking, and proactively communicate updates to stakeholders. This structured approach ensures timely delivery without compromising quality. 

9. How do you keep yourself updated with industry trends?

I stay updated using a multi-pronged approach:

  • Subscribing to platforms like TechCrunch, Wired, and The Verge
  • Participating in LinkedIn groups and technical forums
  • Attending webinars and virtual conferences
  • Enrolling in online courses each quarter
  • Following industry thought leaders and influencers

These strategies help me stay in sync with evolving technologies and industry best practices.

10. Tell us about a time you went beyond your job role to get a task done.

During a client presentation prep, we faced a delay due to the unavailability of our designer. Although it wasn’t part of my role, I took the initiative to create basic visuals using Canva and PowerPoint to ensure the presentation was delivered on time. My manager appreciated the extra effort, which reinforced the importance of team-first thinking over strict role definitions.

Want more behavioral interview tips from experts? Pursue upGrad’s Soft Skills courses now. 

TCS Recruitment Process Overview (2025 Updates)

The TCS recruitment process for 2025 has been further refined to align with evolving industry demands. With a strong emphasis on artificial intelligence (AI), cloud computing, and the ethical use of technology, TCS is now prioritizing candidates who are not only technically proficient but also purpose-driven and future-ready. Candidates passionate about innovation and meaningful careers will find this journey truly transformative.

Revised TCS NQT (National Qualifier Test)

The TCS National Qualifier Test (NQT) is the primary gateway for aspiring candidates looking to begin their tech careers at TCS. The test evaluates both foundational and advanced capabilities through an integrated test structure.

The NQT now consists of two parts:

  • Foundation Section: Mandatory for all candidates
  • Advanced Section: Mandatory for those aiming for Digital or TCS Prime roles

The key updates of the TCS NQT test for 2025 are: 

  • Inclusion of generative AI tools in the reasoning and comprehension sections
  • Introduction of low-code/no-code platform concepts to assess rapid development understanding
  • Greater emphasis on cloud platform knowledge, especially Azure and AWS

Here is an overview of the current TCS NQT patterns:

Part A - Foundation Section (75)

Sections

Duration (in mins)

Numerical Ability

25

Verbal Ability

25

Reasoning Ability

25

Part B - Advanced Section (115)

Advanced Quantitative and Reasoning Ability

  25

Advanced Coding

  90

Total Duration

190

Here is an overview of the marking scheme for the TCS exam 2025:

Parameter

Details

Marking Scheme

Equal weight for all questions; no specific marks disclosed.

Negative Marking

No negative marking; all questions can be attempted without penalty.

Question Types

MCQs, fill-in-the-blanks, case-based questions, code writing problems.

Coding Languages

C, C++, Java, Python, Perl (for Advanced Coding round).

Test Mode

Online; Can be taken from home or at TCS iON-authorized centers.

Eligibility

BE/BTech/ME/MTech/MCA/MSc (2025 pass-outs or 2024 pass-outs with no backlogs).

Role Mapping

Foundation Score → Basic eligibility

Advanced Score → Digital/Prime roles

Virtual Interview Workflow

TCS continues to follow a fully virtual, AI-augmented interview process designed for fairness and efficiency. AI-based scoring systems provide unbiased, data-driven evaluations, ensuring a more inclusive selection process.

The key stages of the interview are: 

  • Technical Round: Assesses coding ability, core tech knowledge, and analytical problem-solving
  • Managerial Round: Evaluates leadership traits, project handling capabilities, and decision-making in real-world scenarios
  • HR Round: Focuses on personality fit, cultural alignment, communication skills, and career aspirations

Professionals interested in upskilling themselves can consider pursuing an MBA program from upGrad to seek employment across global firms like TCS. 

Group Discussion Topics

TCS has reintroduced Group Discussions (GDs) for select hiring tracks as part of its holistic evaluation process. GDs assess communication skills, general awareness, leadership potential, and the ability to function under pressure. The topics reflect the values of empathy, responsibility, and innovation in modern tech roles.

Here is a list of the trending GD topics for 2025 candidates: 

  • Sustainability in Technology: Carbon-neutral data centers, green software engineering
  • Ethical Use of AI: Addressing bias, responsible AI deployment, and data privacy
  • Cross-functional Collaboration in Global Teams: Remote team management, digital collaboration tools, diversity and inclusion.
  • Rise of Generative AI: AI-assisted productivity, content creation, impact on jobs
  • Cybersecurity in the Quantum Era: Post-quantum encryption, evolving threats, data protection
  • Digital Health Revolution: AI in diagnostics, remote consultations, health data privacy
  • Future of Work Trends: Skills-based hiring, continuous learning, gig economy

Want to learn how to clear your test on the first attempt? Enroll in upGrad’s Complete Guide to Problem-solving Skills now. 

Placement Assistance

Executive PG Program11 Months
background

O.P.Jindal Global University

MBA from O.P.Jindal Global University

Live Case Studies and Projects

Master's Degree12 Months

Preparation Tips for TCS Interviews

Preparing for TCS interviews requires more than just academic knowledge. It’s about aligning with the company’s values, honing your technical expertise, and presenting yourself confidently during assessments. Here are some key preparation tips to help you succeed in answering TCS interview questions.

Researching TCS's Work Culture

Before stepping into your interview, make sure you understand what makes TCS unique. Knowing the company's core values and operational ethos shows you're serious about becoming part of their journey.

  • Visit the official TCS website and explore their mission and vision statements.
  • Read recent news articles and annual reports to learn about TCS's global presence and key initiatives.
  • Watch employee testimonial videos on YouTube or LinkedIn to gain insight into the work culture.
  • Follow TCS on LinkedIn for updates on workplace innovations and social impact projects.

Enhancing Technical Skills

Technical prowess is a key factor in the selection process. Focus on strengthening your fundamentals, coding skills, and analytical reasoning through consistent practice.

You can seek assistance from platforms like upGrad for coding exercises. Consider enrolling in online data science courses that align with the job role you’re applying for and help you build project-ready skills.

Program Name

Duration 

Key Skills

Data Structures & Algorithms

50 hours

Aptitude, logical reasoning, verbal ability, resume writing

Professional Certificate Program in Cloud Computing and DevOps

8 months

Core GenAI and DevOps skills

Master's in Data Science Degree

18 months

Popular tools and technologies in the data science domain

Executive Diploma in Data Science and AI

12 months

Python & advanced concepts like Deep Learning, Gen AI & NLP

Executive Post Graduate Certificate Programme in Data Science & AI

8 months

Big Data, cloud computing, deep learning, NLP 

Business Analytics Certification Program

3 months

Statistics and optimization, predictive modeling

Mock Interviews and Feedback

Mock interviews are a game-changer when it comes to performance improvement. They help simulate real interview pressure and refine your responses.

  • Participate in peer-to-peer mock sessions or use platforms like Preplaced, InterviewBuddy, or Prep Mind.
  • Record yourself answering common TCS HR and technical questions to evaluate tone, confidence, and clarity.
  • Seek feedback from mentors, college professors, or experienced professionals.
  • Focus particularly on improving your problem-solving explanations and behavioral responses under time constraints.

How upGrad Can Help You? Top 5 Courses

Looking to build a future-proof tech career and ace the TCS interview process? upGrad offers industry-relevant, mentor-led courses that guide you from beginner to advanced levels. The online platform enables you to gain in-demand skills that top companies like TCS highly value, including other resume screening criteria. 

Here’s a list of the top 5 upGrad courses for TCS aspirants:

Program Name

Duration

Key Skills

Master Public Speaking and Presentation Skills

2 hours

Stage presence, articulation, persuasive speaking

Mastering the Art of Effective Communication

8 hours

Verbal and non-verbal cues, conflict resolution, empathy

Time and Productivity Management Techniques

1 hour

Time-blocking, priority setting, digital tools

Fundamentals of Communication

1 hour

Grammar, clarity, active listening

Effective Business Communication

6 hours

Email etiquette, presentations, corporate writing

Want more assistance in upskilling yourself? Enroll in upGrad’s Tech Bootcamps now. 

Wrapping Up

TCS is one of the top IT services companies in India, and it consistently seeks professionals with strong expertise in technical fields. However, securing a position at TCS is not as easy as it seems because it requires meticulous preparation to answer TCS interview questions on your first attempt confidently.

Thoroughly researching the company and practicing potential interview questions are key steps in impressing the interviewers. Additionally, you must work on upskilling your leadership and communication abilities to complement your technical proficiency.

You can strengthen your resume easily with upGrad’s free courses. Still unsure which course to choose? Talk to our experts for a 1:1 consulting session now. 

Reference Links:

https://www.statista.com/statistics/328244/tcs-employees-numbers/
https://www.tcs.com/careers/india/tcs-fresher-hiring-nqt-batch-2025
https://www.glassdoor.co.in/Community/tech-india/how-much-time-will-tcs-take-to-complete-the-interview-process-after-giving-the-interview-and-once-they-call-and-say-us-we-fcso-5#:~:text=one%20week%20to%20four%20weeks

Frequently Asked Questions (FAQs)

1. What are the eligibility criteria to apply for a TCS job as a fresher?

2. How important are communication skills during a TCS interview?

3. Can non-engineering graduates apply for roles at TCS?

4. How long does the TCS recruitment process take?

5. Do I need prior internship experience to get selected at TCS?

6. What is the dress code for TCS interviews?

7. Does TCS provide training after selection?

8. What kind of job roles does TCS offer for experienced professionals?

9. How do I track my TCS job application status?

10. What is the work environment like at TCS?

11. How frequently does TCS conduct off-campus drives?

upGrad

484 articles published

Get Free Consultation

+91

By submitting, I accept the T&C and
Privacy Policy

Top Resources

Recommended Programs

PMI® | upGrad KnowledgeHut

PMI® | upGrad KnowledgeHut

Project Management Professional (PMP)® Certification

Guaranteed Exam Pass Study Plan

Certification

36 Hrs Live Expert-Led Training

Scaled Agile Inc.® | upGrad KnowledgeHut

Scaled Agile Inc.® | upGrad KnowledgeHut

Implementing SAFe® 6.0 with SPC Certification

1-Year Access to SA Community

Certification

32 Hrs Live Expert-Led Training

PeopleCert® | upGrad KnowledgeHut

PeopleCert® | upGrad KnowledgeHut

PRINCE2® Foundation and Practitioner Certification

Simulations, Mock Tests and More

Certification

32 Hrs Live Expert-Led Training