i
TCS
Filter interviews by
Components in Angular are reusable building blocks that encapsulate HTML, CSS, and TypeScript code.
Components are the basic building blocks of Angular applications.
They are reusable and can be used to create complex UIs.
Each component has its own HTML template, CSS styles, and TypeScript code.
Components can communicate with each other using inputs and outputs.
Examples of components include buttons, forms, and navi...
State management libraries other than Redux
MobX - simple and scalable state management
Flux - unidirectional data flow architecture
Vuex - state management for Vue.js
Apollo Client - state management for GraphQL
React Context API - built-in state management for React
Recoil - experimental state management library for React
XState - state management for finite state machines
Fetch API is a built-in web API in modern browsers used to make HTTP requests from the browser to the server.
Fetch API is used to make asynchronous HTTP requests from the browser to the server.
It returns a Promise that resolves to the Response object representing the response to the request.
It can be used with React to fetch data from an API and update the state of a component.
Fetch API can be used with different ...
Class components are ES6 classes while functional components are functions.
Class components have state and lifecycle methods while functional components don't.
Functional components are simpler and easier to read and test.
Functional components are preferred for simple UI components while class components are used for complex UI components.
Example of class component: class MyComponent extends React.Component {}
Examp...
What people are saying about TCS
State is mutable data owned by a component, while props are immutable data passed to a component.
State can be changed by the component itself, while props cannot be changed by the component
State is used to store data that can change over time, while props are used to pass data from parent to child components
State is initialized in the constructor of a component, while props are passed down from the parent componen...
componentDidMount is called after the component is mounted while componentWillMount is called before the component is mounted.
componentDidMount is used for fetching data from APIs and updating the state
componentWillMount is used for setting the initial state and making preparations for rendering
componentDidMount is called once while componentWillMount is called multiple times
componentDidMount is used for DOM manip...
setState is asynchronous
setState schedules an update to a component's state
The update may not happen immediately, but will be batched and executed later
This can lead to unexpected behavior if not handled properly
Yes, I am flexible with location and willing to relocate if required.
I am open to working remotely or on-site
I am willing to relocate for the right opportunity
I have experience working with remote teams
MVC is a software design pattern that separates an application into three interconnected components: Model, View, and Controller.
Model represents the data and business logic of the application
View is responsible for rendering the user interface
Controller handles user input and updates the model and view accordingly
MVC promotes separation of concerns and modularity
Examples of MVC frameworks include Ruby on Rails, D...
Angular is a powerful framework for building dynamic single-page applications (SPAs) using TypeScript.
Angular provides a structured approach to building web applications, making it easier to manage complex UIs.
It uses components to encapsulate functionality, promoting reusability and maintainability.
Angular's two-way data binding ensures that changes in the UI reflect in the model and vice versa, enhancing user ex...
I appeared for an interview in Feb 2025.
Angular is a powerful framework for building dynamic single-page applications (SPAs) using TypeScript.
Angular provides a structured approach to building web applications, making it easier to manage complex UIs.
It uses components to encapsulate functionality, promoting reusability and maintainability.
Angular's two-way data binding ensures that changes in the UI reflect in the model and vice versa, enhancing user experie...
As a Senior Software Engineer, my day involves coding, collaboration, and continuous learning to deliver high-quality software.
Daily stand-up meetings to discuss progress and blockers.
Code reviews to ensure quality and share knowledge with the team.
Collaborating with product managers to refine requirements and prioritize tasks.
Writing and maintaining unit tests to ensure code reliability.
Participating in sprint plannin...
I applied via Job Fair and was interviewed in Dec 2024. There was 1 interview round.
Java 11 introduced new features like local-variable syntax for lambda parameters, HTTP client API, and more.
Local-variable syntax for lambda parameters allows var to be used in lambda expressions.
HTTP client API provides a standard API for making HTTP requests and handling responses.
Nest-based access control enhances the security and maintainability of Java code.
Flight recorder API enables Java Flight Recorder to be us...
Parameterised testing in JUnit allows running the same test with different inputs.
Parameterised tests use @ParameterizedTest annotation in JUnit 5.
Parameters are provided using @MethodSource or @CsvSource annotations.
Each set of parameters is passed to the test method as arguments.
Helps in testing multiple scenarios with a single test method.
Example: @ParameterizedTest @ValueSource(ints = {1, 2, 3}) void test(int num) ...
I applied via Indeed and was interviewed in Nov 2024. There was 1 interview round.
Lambda function is an anonymous function used for short tasks. Threads allow for concurrent execution in a program.
Lambda function is a concise way to define small functions without a name.
Threads allow multiple tasks to run concurrently in a program.
Lambda functions are often used in functional programming and for callbacks.
Threads can improve performance by utilizing multiple cores of a CPU.
Example of lambda function...
CI/CD stands for Continuous Integration/Continuous Deployment, a practice in software development to automate the process of testing and deploying code changes.
CI/CD automates the process of integrating code changes from multiple developers into a shared repository.
It includes automated testing to ensure that code changes do not break existing functionality.
CI/CD also automates the deployment of code changes to product...
React Fiber is a complete rewrite of React's core algorithm for rendering UI components.
React Fiber is designed to improve performance by allowing React to pause work and come back to it later.
It enables features like async rendering, error boundaries, and more granular control over rendering priorities.
Fiber reconciles the virtual DOM tree in a more incremental and interruptible way compared to the previous stack-base...
React portal is a feature in React that allows rendering a child component into a different part of the DOM tree.
Used for rendering a child component outside of its parent component's DOM hierarchy
Helps in creating modals, tooltips, and other UI elements that need to break out of the parent's styling
Maintains the component's state and lifecycle methods even when rendered in a different part of the DOM
Synthetic events in React are cross-browser wrappers around the browser's native events, providing consistent behavior.
Synthetic events are used in React to handle events in a consistent manner across different browsers.
They are created by React to wrap native browser events and provide additional functionality.
Synthetic events have the same interface as native browser events but are normalized to work consistently acr...
Designing a system for a 1L REST API involves creating a scalable and efficient architecture to handle large amounts of data and requests.
Use microservices architecture to break down the system into smaller, independent services
Implement caching mechanisms to improve performance and reduce load on the database
Use load balancers to distribute incoming requests evenly across multiple servers
Implement rate limiting to pre...
I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.
Join and functions in SQL are used to combine data from multiple tables and perform operations on the data.
Joins are used to combine rows from two or more tables based on a related column between them.
Functions in SQL are used to perform operations on data, such as mathematical calculations or string manipulations.
Examples of functions in SQL include SUM, AVG, CONCAT, and SUBSTRING.
Coding question: Write a java program to divide the number
I applied via Naukri.com and was interviewed in Jul 2024. There was 1 interview round.
Singleton design pattern ensures a class has only one instance and provides a global point of access to it.
Create a private static instance of the class within the class itself.
Provide a public static method to access the instance.
Ensure the constructor is private to prevent instantiation from outside the class.
Use lazy initialization to create the instance only when needed.
IoC (Inversion of Control) and DI (Dependency Injection) are design patterns used in software development to decouple components and improve maintainability.
IoC is a design principle where the flow of control is inverted compared to traditional programming. It allows for better separation of concerns.
DI is a technique where the dependencies of a component are provided externally rather than created within the component...
Collections store data while streaming processes data in a sequential manner. Streaming API improves performance by reducing memory usage and increasing efficiency.
Collections store data in memory while streaming processes data in a sequential manner without storing it.
Streaming API allows for lazy evaluation, meaning data is processed only when needed, reducing memory usage.
Streaming API can improve performance by ena...
Some of the top questions asked at the TCS Senior Software Engineer interview -
The duration of TCS Senior Software Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 63 interview experiences
Difficulty level
Duration
based on 340 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