Faster and better experience!
i
TCS
Filter interviews by
The return statement in Java is used to explicitly return a value from a method.
The return statement is followed by the value that is to be returned from the method.
It can only be used within a method body.
Once a return statement is executed, the control is transferred back to the caller of the method.
Get set methods are used in object-oriented programming to retrieve and update the values of private variables.
Get methods are used to retrieve the value of a private variable.
Set methods are used to update the value of a private variable.
They are commonly used to ensure data encapsulation and control access to class variables.
Interface is a contract specifying methods that a class must implement, while abstract class can have both implemented and abstract methods.
Interface cannot have method implementations, while abstract class can have both implemented and abstract methods.
A class can implement multiple interfaces but can only extend one abstract class.
Interfaces are used to achieve multiple inheritance in Java.
Abstract classes can have c...
Implement a stack in Java using an array
Create an array to store the elements of the stack
Keep track of the top of the stack using an index variable
Implement push() to add elements to the stack
Implement pop() to remove elements from the stack
Example: String[] stackArray = new String[10];
HashMap is unordered and uses hashing to store key-value pairs, while TreeMap is ordered and uses a red-black tree to store key-value pairs.
HashMap uses hashing to store key-value pairs, allowing for O(1) time complexity for get and put operations.
TreeMap uses a red-black tree to store key-value pairs, maintaining order based on the keys.
HashMap does not guarantee any specific order of elements, while TreeMap maintains...
I applied via campus placement at Sathyabama University and was interviewed in Nov 2024. There were 3 interview rounds.
Aptitude round
English exam
Maths tricky questions exam
Coding 1 easy 1 tuff
CSS is the standard styling language for websites, while CSS3 is the latest version with new features like animations and transitions.
CSS is the standard styling language used for describing the look and formatting of a document written in HTML.
CSS3 is the latest version of CSS with new features like animations, transitions, gradients, and more.
CSS3 introduced new layout modules like Flexbox and Grid, making it easier ...
Some disadvantages of my projects include scalability issues, lack of documentation, and limited testing.
Scalability issues: The project was not designed to handle a large amount of data or users, leading to performance issues.
Lack of documentation: There was insufficient documentation on the codebase, making it difficult for new team members to onboard or for future maintenance.
Limited testing: Due to time constraints...
Yes, I am okay with night shifts as I am comfortable working during those hours.
I have previous experience working night shifts in my previous job.
I am a night owl and tend to be more productive during late hours.
I understand the importance of round-the-clock support in the software industry.
Yes, I am okay with reallocation as it is a common practice in the software engineering field.
I am comfortable with reallocation as it is a common practice in software development.
I understand that reallocation may be necessary for project requirements or team dynamics.
I am adaptable and willing to take on new challenges that may come with reallocation.
What people are saying about TCS
I applied via Job Portal and was interviewed in Nov 2024. There was 1 interview round.
TCS interview questions for designations
TCS NQT exam -> Out of 2 coding questions I did one and matched all test cases. I also solve aptitude, verbal and logical questions
Get interview-ready with Top TCS Interview Questions
Leetcode medium asked. Merging the intervals
Spring framework is a Java platform that provides comprehensive infrastructure support for developing Java applications.
Spring framework facilitates the development of enterprise applications by providing solutions for dependency injection, aspect-oriented programming, and more.
It promotes good design practices such as loose coupling and separation of concerns.
Decorator pattern is a structural design pattern that allow...
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
Indexes are data structures used to improve the speed of data retrieval in databases by allowing quick access to specific rows.
Indexes are created on columns in a database table to speed up the retrieval of rows matching a certain condition.
They work similar to the index in a book, allowing you to quickly find the information you need.
Examples of indexes include primary keys, unique keys, and non-unique indexes.
Round robin is a scheduling algorithm that assigns equal time slices to each process in a circular manner.
Each process is given a small unit of time to execute before moving to the next process
Helps in achieving fairness in resource allocation
Used in CPU scheduling, load balancing, and network routing
I applied via Recruitment Consulltant and was interviewed in Sep 2024. There was 1 interview round.
Volatile keyword is used in multithreaded programming to indicate that a variable's value can be changed unexpectedly.
Ensures that the variable is always read from and written to the main memory, not from a cache
Useful for variables shared between multiple threads to prevent unexpected behavior
Does not guarantee atomicity or thread safety, additional synchronization may be needed
Spring Boot is a framework that simplifies the development of Java applications by providing pre-configured settings and tools.
Spring Boot eliminates the need for manual configuration by providing defaults for most settings.
It includes embedded servers like Tomcat, Jetty, or Undertow, making it easy to deploy standalone applications.
Spring Boot offers production-ready features like metrics, health checks, and externali...
4 Interview rounds
based on 1.4k reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹1 L/yr - ₹9 L/yr |
IT Analyst
67.6k
salaries
| ₹5.1 L/yr - ₹16 L/yr |
AST Consultant
51.2k
salaries
| ₹8 L/yr - ₹25 L/yr |
Assistant System Engineer
29.9k
salaries
| ₹2.2 L/yr - ₹5.6 L/yr |
Associate Consultant
28.8k
salaries
| ₹8.9 L/yr - ₹32 L/yr |
Amazon
Wipro
Infosys
Accenture