i
TCS
Filter interviews by
I applied via Walk-in
Create a Spring Boot application to generate an XML file from two input values.
Create a Spring Boot project using Spring Initializr
Create a REST controller to accept two input values
Use JAXB to generate XML from the input values
Return the generated XML file as response
Program to insert comma after every character in a string.
Iterate through each character in the string
Append the character and a comma to a new string
Handle the last character to avoid adding an extra comma
Use SQL query with ROW_NUMBER() function to find the third max salary in Oracle.
Use ROW_NUMBER() function to assign a unique row number to each row based on the salary in descending order.
Filter the result where the row number is 3 to get the third max salary.
Circuit breaker is a design pattern used in microservices to prevent cascading failures.
Circuit breaker is used to detect failures and prevent them from causing further issues.
It works by wrapping a protected function call in a circuit breaker object.
Annotations like @CircuitBreaker in Spring Cloud are used to implement circuit breaker pattern.
These annotations allow developers to easily add circuit breaker functionali
JPA is a specification while Hibernate is an implementation of JPA.
JPA is a Java specification for managing relational data in applications.
Hibernate is an ORM framework that implements the JPA specification.
Hibernate provides additional features beyond JPA, such as caching and lazy loading.
JPA is vendor-neutral, allowing developers to switch between different JPA implementations.
Hibernate is a popular choice for JPA i...
I appeared for an interview before Jul 2021.
This will be a general apptitude test where a questionnaire is consist of reasoning, English and Maths questions
I applied via Naukri.com and was interviewed in Apr 2021. There was 1 interview round.
To check Java version, use command prompt/terminal and type 'java -version'.
Open command prompt/terminal
Type 'java -version'
Press enter
The installed Java version will be displayed
The main method syntax is a standard entry point for Java programs.
The main method must be declared as public, static, and void.
The method name must be 'main'.
The method must accept an array of strings as an argument.
The method must be defined within a class.
Example: public static void main(String[] args) { }
I appeared for an interview before Nov 2020.
Round duration - 180 Minutes
Round difficulty - Medium
The test was started in the evening 4pm approx.
It was flexible due to Corona so we gave the test from our home only.
It had listening skill activity too according to which we were marked .
Interviewer was very supportive because of which it was easier for us to open up easily .
You are provided with a string expression
consisting of characters '+', '-', '*', '/', '(', ')' and digits '0' to '9', representing an arithmetic express...
Evaluate arithmetic expressions in infix notation with given operators and precedence rules.
Parse the infix expression to postfix using a stack and then evaluate the postfix expression using another stack
Use a stack to keep track of operators and operands while parsing the expression
Handle operator precedence and associativity rules while converting to postfix and evaluating the expression
Given a string 'STR' consisting solely of the characters “{”, “}”, “(”, “)”, “[” and “]”, determine if the parentheses are balanced.
The first line contains an...
The task is to determine if a given string of parentheses is balanced or not.
Iterate through the characters of the string and use a stack to keep track of opening parentheses.
When encountering an opening parenthesis, push it onto the stack. When encountering a closing parenthesis, check if it matches the top of the stack.
If the stack is empty at the end or there are unmatched parentheses, the string is not balanced.
Exa...
Round duration - 20 Minutes
Round difficulty - Medium
Interview
Ninja is exploring new challenges and desires to reverse a given number. Your task is to assist Ninja in reversing the number provided.
If a number has trailing ze...
Implement a function to reverse a given number, omitting trailing zeros.
Create a function that takes an integer as input and reverses it while omitting trailing zeros
Use string manipulation to reverse the number and remove any trailing zeros
Handle test cases where the number has leading zeros as well
Ensure the reversed number is printed for each test case on a new line
Tip 1 : confidence is the key.
Tip 2 : focus on communication skills.
Tip 3 : be honest and well prepared about your projects and trainings .
Tip 1 : it should be to the point.
Tip 2 : be honest. And one should know everything that is written down there.
I applied via Referral and was interviewed before Apr 2021. There were 2 interview rounds.
Puzzles, Psychometric Test
I applied via Recruitment Consulltant and was interviewed before Aug 2021. There were 2 interview rounds.
I applied via LinkedIn and was interviewed in Apr 2021. There was 1 interview round.
I applied via LinkedIn and was interviewed in May 2021. There were 3 interview rounds.
Garbage collection is an automatic memory management process.
It frees up memory that is no longer being used by the program.
It helps prevent memory leaks and crashes caused by running out of memory.
Examples of languages that use garbage collection are Java, Python, and Ruby.
Some of the top questions asked at the TCS Springboot Developer interview -
based on 1 interview
Interview experience
based on 9 reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹1 L/yr - ₹9 L/yr |
IT Analyst
66.1k
salaries
| ₹5.1 L/yr - ₹16 L/yr |
AST Consultant
51.8k
salaries
| ₹8 L/yr - ₹25 L/yr |
Associate Consultant
30.1k
salaries
| ₹9 L/yr - ₹32 L/yr |
Assistant System Engineer
29.8k
salaries
| ₹2.2 L/yr - ₹7 L/yr |
Amazon
Wipro
Infosys
Accenture