i
TCS
Filter interviews by
I appeared for an interview in Jul 2024.
Idempotent term in patch and put means that multiple identical requests have the same effect as a single request.
Idempotent means that the result of a successful request is the same regardless of how many times it is repeated.
In PATCH and PUT requests, idempotent means that sending the same request multiple times will not have any additional side effects.
For example, if a PATCH request updates a resource with specific ...
Java memory types and where objects are stored
Java memory consists of stack and heap
Primitive data types are stored in stack
Objects and arrays are stored in heap
References to objects are stored in stack
Example: int num = 5; // num is stored in stack, value 5 is stored in stack
Example: String str = new String(); // str reference is stored in stack, actual String object is stored in heap
Yes, hash map stores unique keys.
Hash map in Java does not allow duplicate keys. If you try to insert a duplicate key, it will replace the existing value with the new one.
However, hash map allows duplicate values.
Example: HashMap<String, Integer> map = new HashMap<>(); map.put("John", 25); map.put("Jane", 30); map.put("John", 35); // 'John' key will now have value 35.
Java 8 introduced new methods for HashMap such as forEach, compute, merge, etc.
Java 8 introduced new methods like forEach, compute, merge for HashMap operations
Java 8 allows using lambda expressions for iterating over HashMap entries
Java 8 introduced default methods in Map interface for HashMap
No, static methods or variables cannot be created inside static main() method.
Static methods or variables cannot be created inside another static method.
Static methods or variables can only be created at the class level, outside of any method.
Example: public class MyClass { static int myVariable = 10; }
I applied via Company Website and was interviewed before Mar 2022. There were 3 interview rounds.
Basic aptitude question, you can follow Study Smart Youtube channel. Some question you will get same
What people are saying about TCS
I applied via Campus Placement and was interviewed before May 2021. There were 4 interview rounds.
VERBAL QUANT DI/LR and Picture based test
Fibonacci series can be easily implemented using loops in C++ or C.
Declare variables for first two numbers of the series
Use a loop to calculate and print the next number in the series
Repeat the loop until desired number of terms are printed
I applied via Naukri.com and was interviewed in Mar 2021. There was 1 interview round.
I am open to working nights and weekends if it aligns with project needs and team goals, ensuring productivity and collaboration.
Flexibility: I understand that software development can require off-hours work, especially during critical project phases.
Team Collaboration: Working nights or weekends can enhance communication with team members in different time zones.
Project Deadlines: I am willing to put in extra hours to...
I applied via LinkedIn and was interviewed in Apr 2021. There were 4 interview rounds.
Data structures are ways of organizing and storing data in a computer so that it can be accessed and used efficiently.
Data structures are used to manage and manipulate data.
They can be implemented using arrays, linked lists, trees, graphs, and other methods.
Examples include stacks, queues, hash tables, and binary search trees.
Databases are essential for storing and managing large amounts of data efficiently.
Databases allow for easy organization and retrieval of data
They provide data security and integrity
Databases enable scalability and performance optimization
Examples include MySQL, Oracle, MongoDB, and SQL Server
I applied via Naukri.com and was interviewed before May 2021. There were 3 interview rounds.
based on 4 interview experiences
Difficulty level
Duration
based on 25 reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹3.9 L/yr - ₹8.3 L/yr |
IT Analyst
65.5k
salaries
| ₹7.7 L/yr - ₹12.7 L/yr |
AST Consultant
53.6k
salaries
| ₹12 L/yr - ₹20.6 L/yr |
Assistant System Engineer
33.2k
salaries
| ₹2.5 L/yr - ₹6.4 L/yr |
Associate Consultant
33k
salaries
| ₹16.2 L/yr - ₹28 L/yr |
Amazon
Wipro
Infosys
Accenture