i
TCS
Filter interviews by
I applied via LinkedIn and was interviewed in Sep 2022. There were 3 interview rounds.
List of Spring Boot annotations
SpringBootApplication - main annotation to enable Spring Boot features
RestController - annotation to create RESTful web services
Autowired - annotation to inject dependencies
GetMapping/PostMapping/PutMapping/DeleteMapping - annotations for HTTP methods
ConfigurationProperties - annotation to bind external properties to a class
EnableAutoConfiguration - annotation to enable Spring Boot's auto...
Answering the question about Rest Api using Spring Boot
Spring Boot is a popular framework for building RESTful APIs
It provides easy configuration and setup for REST endpoints
Annotations like @RestController and @RequestMapping are used to define endpoints
Spring Boot also includes features like security, caching, and database integration
Example: @GetMapping("/users") public List
MySQL join types and their differences
INNER JOIN returns only matching rows from both tables
LEFT JOIN returns all rows from left table and matching rows from right table
RIGHT JOIN returns all rows from right table and matching rows from left table
FULL OUTER JOIN returns all rows from both tables
CROSS JOIN returns all possible combinations of rows from both tables
Design patterns used in Microservices
Service Registry Pattern
API Gateway Pattern
Circuit Breaker Pattern
Event Sourcing Pattern
Saga Pattern
I applied via Job Fair and was interviewed in Oct 2024. There was 1 interview round.
Microservices communicate with each other through APIs and messaging protocols.
Microservices communicate via RESTful APIs, using HTTP requests and responses.
Message brokers like Kafka or RabbitMQ are used for asynchronous communication between microservices.
Service discovery tools like Eureka or Consul help microservices locate and communicate with each other.
Microservices can also communicate through gRPC, a high-perf
We are using Log4j2 for logging in the current project.
Log4j2 is a popular logging framework in Java.
It provides support for logging at different levels like DEBUG, INFO, WARN, ERROR, etc.
Configuration can be done through XML, JSON, or properties file.
Example:
I applied via Naukri.com and was interviewed in Nov 2024. There were 3 interview rounds.
Time and distance, speed, XYZ, blood relations
Arrays, strings, stack, queue, linklist etc
Experienced Senior Java Developer with a passion for creating efficient and scalable solutions.
Over 8 years of experience in Java development
Strong knowledge of Spring framework and Hibernate
Experience in designing and implementing RESTful APIs
Proficient in database management with MySQL and Oracle
Skilled in troubleshooting and debugging complex code issues
What people are saying about TCS
I applied via Naukri.com and was interviewed in Jul 2024. There were 2 interview rounds.
Easy questions DSA array and string.
TCS interview questions for designations
Java is a popular programming language known for its platform independence and object-oriented approach. New features include modules, var keyword, and more.
Java is a high-level, class-based, object-oriented programming language.
New features in Java include modules for better code organization, the var keyword for type inference, and enhancements in the Java Platform Module System (JPMS).
Java 14 introduced switch expre...
Springbok and jam are popular South African dishes.
Springbok is a type of antelope commonly found in South Africa.
Jam is a sweet spread made from fruits and sugar.
Springbok meat is often used in traditional South African dishes like biltong and potjiekos.
Jam is commonly used as a topping for bread, scones, or desserts.
Get interview-ready with Top TCS Interview Questions
Index in DB is a data structure that improves the speed of data retrieval operations on a database table.
Index in DB is used to quickly locate and access the rows in a table based on the values in specific columns.
It helps in optimizing query performance by reducing the number of rows that need to be scanned.
Examples of indexes include primary keys, unique keys, and composite indexes.
Creating indexes on frequently quer...
I applied via Company Website and was interviewed in May 2024. There was 1 interview round.
Exceptions are unexpected events that occur during the execution of a program, disrupting the normal flow of the program.
Exceptions are objects that represent an abnormal condition or error in a program.
They can be caught and handled using try-catch blocks.
Unchecked exceptions do not need to be declared in a method's throws clause, while checked exceptions do.
Examples include NullPointerException, ArrayIndexOutOfBounds
FlatMap is a method in Java that transforms each element of a stream into a new stream and then concatenates all the streams into a single stream.
FlatMap is used to flatten nested collections or maps in Java streams.
It is particularly useful when dealing with streams of collections or arrays.
Example: List> nestedList = Arrays.asList(Arrays.asList(1, 2), Arrays.asList(3, 4)); nestedList.stream().flatMap(List::strea
I applied via Naukri.com and was interviewed in May 2024. There was 1 interview round.
The duration of TCS Senior Java Developer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 18 interviews
2 Interview rounds
based on 28 reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹1 L/yr - ₹9 L/yr |
IT Analyst
66.6k
salaries
| ₹5.1 L/yr - ₹16 L/yr |
AST Consultant
51.5k
salaries
| ₹8 L/yr - ₹25.1 L/yr |
Assistant System Engineer
29.8k
salaries
| ₹2.2 L/yr - ₹8.6 L/yr |
Associate Consultant
29.5k
salaries
| ₹9 L/yr - ₹32 L/yr |
Amazon
Wipro
Infosys
Accenture