i
TCS
Filter interviews by
I appeared for an interview in Mar 2025, where I was asked the following questions.
Checked exceptions are checked at compile-time, while unchecked exceptions are checked at runtime.
Checked exceptions must be declared in a method or constructor's throws clause.
Example of checked exception: IOException, SQLException.
Unchecked exceptions do not need to be declared or caught.
Example of unchecked exception: NullPointerException, ArrayIndexOutOfBoundsException.
Checked exceptions are typically used for reco...
Asynchronous programming in threads allows tasks to run independently, improving efficiency and responsiveness in applications.
Use callbacks to handle results once a thread completes its task.
Implement futures or promises to manage asynchronous results.
Utilize thread pools to manage multiple threads efficiently.
Example: In Java, use CompletableFuture for non-blocking operations.
In Python, use the asyncio library to run
Genric mathematical question
What people are saying about TCS
I appeared for an interview in Sep 2024.
Quantitative,general,english
TCS interview questions for designations
I applied via Campus Placement
The questions were based on ratios, percentages and profits
Simple 2 coding questions based on arrays and strings
C is a procedural programming language while C++ is a combination of procedural and object-oriented programming language.
C is a procedural programming language while C++ is a combination of procedural and object-oriented programming language.
C does not support classes and objects while C++ does.
C does not have function overloading and namespaces like C++.
C does not have exception handling like C++.
C does not have refer
A program to determine if a given number is prime or not.
Iterate from 2 to the square root of the number and check if it divides the number evenly
If any number divides the given number evenly, it is not prime
If no number divides the given number evenly, it is prime
Get interview-ready with Top TCS Interview Questions
I applied via Campus Placement and was interviewed in Feb 2024. There were 2 interview rounds.
General aptitude question with 2 coding problems
C++ is a statically typed language with high performance, while Python is dynamically typed with simpler syntax.
C++ is statically typed, while Python is dynamically typed
C++ is compiled, while Python is interpreted
C++ is better for performance-critical applications, while Python is better for rapid development
C++ requires explicit memory management, while Python has automatic memory management
C++ is used for system pro...
Use pymongo library to connect mongoDB in python
Install pymongo library using pip
Import pymongo in your python script
Create a MongoClient object with the connection string
Access the database and collection using the MongoClient object
Query optimization is the process of improving the efficiency and performance of database queries.
Identifying slow queries and analyzing their execution plans
Creating appropriate indexes on tables to speed up query execution
Rewriting queries to use efficient joins and filters
Using query hints or optimizer hints to guide the query optimizer
Regularly monitoring and tuning the database for optimal performance
Polymorphism in programming refers to the ability of a single function or method to operate on different types of data.
Types of polymorphism include compile-time polymorphism (function overloading) and runtime polymorphism (function overriding)
Compile-time polymorphism is achieved through method overloading, where multiple methods have the same name but different parameters
Runtime polymorphism is achieved through metho...
High level aptitude need 3-4 months practice
2 codes easy to medium
I applied via Walk-in and was interviewed in May 2024. There were 3 interview rounds.
Very difficult 2 question one is easy
Question is very easy
Array sorting can be done using different algorithms like bubble sort, merge sort, quick sort, etc.
Bubble sort compares adjacent elements and swaps them if they are in the wrong order.
Merge sort divides the array into two halves, sorts them separately, and then merges them.
Quick sort picks a pivot element and partitions the array around the pivot.
Example: Sorting an array of strings alphabetically using merge sort.
The heap is a region of a computer's memory used for dynamic memory allocation.
The heap is managed by the operating system and is separate from the stack.
Memory allocated on the heap must be explicitly deallocated to prevent memory leaks.
Common functions for heap memory management include malloc, calloc, realloc, and free.
I applied via Walk-in and was interviewed in May 2024. There were 2 interview rounds.
It was easy to modern questions.
HashMap is a data structure that stores key-value pairs and allows for fast retrieval of values based on keys.
HashMap uses hashing to store and retrieve key-value pairs efficiently.
Keys in a HashMap must be unique, but values can be duplicated.
HashMap allows for null keys and null values.
Example: HashMap<String, Integer> map = new HashMap<>(); map.put("apple", 5); int value = map.get("apple");
Some of the top questions asked at the TCS System Engineer interview for freshers -
The duration of TCS System Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 90 interviews
5 Interview rounds
based on 12.8k reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹1 L/yr - ₹9 L/yr |
IT Analyst
66.3k
salaries
| ₹5 L/yr - ₹16 L/yr |
AST Consultant
52k
salaries
| ₹8 L/yr - ₹25 L/yr |
Associate Consultant
30.5k
salaries
| ₹9 L/yr - ₹32 L/yr |
Assistant System Engineer
29.8k
salaries
| ₹2.2 L/yr - ₹5.8 L/yr |
Amazon
Wipro
Infosys
Accenture