Filter interviews by
Lists are mutable, tuples are immutable in Python.
Lists are enclosed in square brackets [], tuples are enclosed in parentheses ().
Lists can be modified (add, remove, change elements), tuples cannot be modified once created.
Lists are slower than tuples for iteration and indexing.
Example: list_example = [1, 2, 3], tuple_example = (4, 5, 6)
Primary key in SQL is a unique identifier for each record in a table.
Primary key ensures each record in a table is unique
It can be a single column or a combination of columns
Primary key values cannot be NULL
Example: 'id' column in a 'users' table can be a primary key
Windows function in SQL is used to perform calculations across a set of table rows related to the current row.
Windows functions are used to calculate values based on a specific window or subset of rows within a table.
They allow for aggregation and ranking functions to be applied to a specific set of rows.
Examples include ROW_NUMBER(), RANK(), DENSE_RANK(), and NTILE().
Multi-programming involves running multiple programs on a single processor, while multi-tasking involves running multiple tasks within a single program.
Multi-programming allows multiple programs to be loaded into memory and executed concurrently, switching between them to utilize processor time efficiently.
Multi-tasking allows a single program to perform multiple tasks simultaneously, such as running multiple thre...
Multiprogramming involves running multiple programs on a single processor, while multitasking involves executing multiple tasks within a single program.
Multiprogramming allows multiple programs to be loaded into memory and executed concurrently, while multitasking involves switching between multiple tasks within a single program.
In multiprogramming, the operating system decides which program gets the processor's a...
To delete the middle element of a linked list, find the middle element using slow and fast pointers, then remove it by adjusting the pointers.
Use slow and fast pointers to find the middle element
Adjust pointers to remove the middle element
Update the links to maintain the integrity of the linked list
TCS offers a challenging work environment and opportunities for growth after a long gap.
TCS is known for its diverse projects and cutting-edge technologies, providing a stimulating work environment.
After a long gap, I am eager to re-enter the workforce and TCS offers a platform for me to showcase my skills and expertise.
TCS has a strong reputation in the industry and I believe working here will help me enhance my ...
A friendly function is a function that is not a member of a class but has access to its private and protected members.
Allows a function to access private and protected members of a class
Declared with the 'friend' keyword in the class definition
Not a member of the class itself
Virtual function is a function in a base class that is overridden in a derived class.
Virtual functions allow a derived class to provide a specific implementation of a function that is already defined in a base class.
They are used in polymorphism to achieve runtime binding.
The base class function must be declared as virtual for a function in a derived class to be considered as overriding it.
A list is mutable and can be changed, while a tuple is immutable and cannot be changed.
List is defined using square brackets [], while tuple is defined using parentheses ().
Elements in a list can be modified, added, or removed, while elements in a tuple cannot be changed once defined.
Lists are typically used for collections of items that may need to be modified, while tuples are used for fixed collections of items...
I appeared for an interview in May 2025, where I was asked the following questions.
I applied via Walk-in and was interviewed in Nov 2024. There was 1 interview round.
An array is a data structure that stores a collection of elements of the same data type.
Arrays are used to store multiple values in a single variable.
Elements in an array are accessed by their index, starting from 0.
Example: String[] names = {"Alice", "Bob", "Charlie"};
Data structures are used to organize and store data efficiently in computer memory.
Data structures help in efficient data retrieval, insertion, and deletion operations.
Examples include arrays, linked lists, stacks, queues, trees, and graphs.
Each data structure has its own advantages and use cases based on the requirements of the application.
For example, arrays are used for random access to elements, while linked lists ...
Jump Game problem involves determining if you can reach the last index of an array based on jump lengths.
The input is an array of non-negative integers, where each element represents the maximum jump length at that position.
You start at the first index and need to determine if you can reach the last index.
Example: For the array [2,3,1,1,4], you can jump to index 1 (3) and then to index 4 (last index).
A greedy approach ...
To rotate a matrix by 45 degrees, transpose the matrix and then reverse the rows.
Transpose the matrix
Reverse the rows of the transposed matrix
Encapsulation is the concept of bundling data and methods that operate on the data into a single unit.
Encapsulation helps in hiding the internal state of an object and restricting access to it.
It allows for data hiding, which prevents direct access to an object's attributes.
Encapsulation also enables the concept of data abstraction, where only relevant details are exposed to the outside world.
By using access modifiers ...
MySQL database can be configured using configuration files like my.cnf, command line options, and environment variables.
Use my.cnf file to configure settings like port number, data directory, and buffer sizes
Command line options can be used to override settings from my.cnf file
Environment variables like MYSQL_ROOT_PASSWORD can be used to set passwords during installation
I applied via Company Website and was interviewed in Nov 2024. There were 3 interview rounds.
Multiple-choice question.
TCS NQT consists of MCQ and coding
Yes, reallocation is acceptable in certain situations to optimize resources.
Reallocation can be acceptable if it helps optimize resources and improve efficiency.
For example, reallocating server resources to handle increased traffic during peak hours.
Reallocation should be carefully planned and executed to avoid negative impacts on system performance.
Regular monitoring and evaluation of the reallocated resources is impo...
I applied via Naukri.com and was interviewed in Nov 2024. There were 2 interview rounds.
Duration is 1 hr and topic is core java
I applied via Campus Placement
Time value distance clock
I appeared for an interview in Mar 2025, where I was asked the following questions.
TCS (Tata Consultancy Services) is a global IT services, consulting, and business solutions organization headquartered in India.
Founded in 1968, TCS is part of the Tata Group, one of India's largest conglomerates.
It operates in over 46 countries, providing services in IT, consulting, and business solutions.
TCS is known for its strong focus on innovation and has invested heavily in research and development.
The company s...
I applied via Campus Placement
2 questions were asked. Questions were easy - one from graph and one from dp.
Multi-programming involves running multiple programs on a single processor, while multi-tasking involves running multiple tasks within a single program.
Multi-programming allows multiple programs to be loaded into memory and executed concurrently, switching between them to utilize processor time efficiently.
Multi-tasking allows a single program to perform multiple tasks simultaneously, such as running multiple threads o...
To delete the middle element of a linked list, find the middle element using slow and fast pointers, then remove it by adjusting the pointers.
Use slow and fast pointers to find the middle element
Adjust pointers to skip the middle element and connect the surrounding nodes
Free the memory of the deleted node
Yes, I am open to relocating for the right opportunity.
I am open to relocating for the right job opportunity.
I am willing to move to a new location if required for the job.
I am flexible and willing to relocate for the right position.
I want to join TCS because of its reputation for providing challenging projects and opportunities for growth.
TCS is known for its innovative projects in various industries.
I am impressed by TCS's commitment to employee development.
I believe TCS will provide me with a platform to enhance my skills and knowledge.
I appeared for an interview in May 2025, where I was asked the following questions.
Top trending discussions
The duration of TCS iON interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 362 interview experiences
Difficulty level
Duration
based on 1.3k reviews
Rating in categories
Operations Executive
264
salaries
| ₹1.2 L/yr - ₹5 L/yr |
System Engineer
151
salaries
| ₹2 L/yr - ₹9.5 L/yr |
Software Engineer
123
salaries
| ₹1 L/yr - ₹9.1 L/yr |
Software Developer
122
salaries
| ₹8.2 L/yr - ₹17 L/yr |
IT Manager
64
salaries
| ₹1.2 L/yr - ₹4.2 L/yr |
Wipro
Amazon
TCS
ITC Infotech