i
TCS
Filter interviews by
Program to sort array
React is a JavaScript library for building user interfaces. Redux is a predictable state container for JavaScript apps.
React is used for building reusable UI components
Redux is used for managing the state of the application
React and Redux are often used together in web development
React uses a virtual DOM to efficiently update the UI
Redux follows a unidirectional data flow pattern
I was interviewed before Oct 2022.
I applied via Approached by Company and was interviewed in May 2022. There was 1 interview round.
I applied via Approached by Company and was interviewed before Jun 2023. There were 2 interview rounds.
TCS interview questions for designations
I applied via Recruitment Consulltant and was interviewed in Jun 2022. There were 2 interview rounds.
Get interview-ready with Top TCS Interview Questions
I applied via Naukri.com and was interviewed in Aug 2022. There were 3 interview rounds.
I applied via Job Portal and was interviewed before Jan 2023. There were 5 interview rounds.
Questions on Java concepts and features
Method hiding is when a subclass defines a method with the same name as a method in the superclass, hiding the superclass method
Java 8 introduced features like lambda expressions, streams, and default methods
String is immutable in Java to ensure security, thread safety, and performance
Fail safe iterators create a copy of the collection and iterate over it, while fail fast iterator...
Explaining immutability of String and other software engineering concepts
String is immutable to ensure thread safety and prevent unintended modification
Spring boot annotations simplify configuration and reduce boilerplate code
Hashmap uses hashing to store and retrieve key-value pairs efficiently
Arraylist and Linked list are both used to store collections of objects, but have different performance characteristics
REST AP...
I applied via Naukri.com and was interviewed in Jul 2021. There was 1 interview round.
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 {}
Example of...
Hooks are a feature in React that allow functional components to have state and lifecycle methods.
Hooks were introduced in React 16.8
useState is a hook that allows functional components to have state
useEffect is a hook that allows functional components to have lifecycle methods
Custom hooks can be created to reuse stateful logic across components
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 HTTP ...
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 manipulati...
Strict mode is a feature in React that helps with debugging and identifying potential issues.
Enables additional checks and warnings during development
Helps identify unsafe code and deprecated features
Can be enabled globally or for specific components
Example:
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 component
Exam...
Yes, I have worked on Bootstrap extensively.
I have used Bootstrap to create responsive and mobile-first web pages.
I have utilized Bootstrap's grid system, components, and utilities to design and develop web applications.
I have customized Bootstrap's CSS and JavaScript to meet specific project requirements.
I have integrated Bootstrap with other front-end frameworks and libraries such as React and jQuery.
I have also cont...
Security tools for React applications
Use ESLint and Prettier to enforce code quality and security standards
Implement authentication and authorization using libraries like Passport.js and JSON Web Tokens
Use security-focused libraries like Helmet to secure HTTP headers
Implement input validation and sanitization using libraries like Joi and DOMPurify
Use HTTPS to encrypt data in transit
Implement rate limiting and other sec...
I would rate myself 4 out of 5 in React, HTML, CSS, and JS.
I have extensive experience in developing web applications using React, HTML, CSS, and JS.
I have worked on several projects that involved building complex UI components using React.
I am proficient in writing clean and maintainable code using HTML, CSS, and JS.
I am familiar with modern front-end development tools and frameworks such as Redux, Webpack, and Babel.
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
Axios is a promise-based HTTP client for making API requests in ReactJs.
Axios is used to make HTTP requests from the client-side in ReactJs
It supports all modern browsers and can be used with Node.js
Axios can be used to make GET, POST, PUT, DELETE requests and more
It can also handle request and response interceptors for global error handling and authentication
Axios can be installed using npm or yarn
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
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
2 Interview rounds
based on 282 reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹1 L/yr - ₹9 L/yr |
IT Analyst
67.7k
salaries
| ₹5.1 L/yr - ₹16 L/yr |
AST Consultant
51k
salaries
| ₹8 L/yr - ₹25 L/yr |
Assistant System Engineer
31.3k
salaries
| ₹2.2 L/yr - ₹5.6 L/yr |
Associate Consultant
28.6k
salaries
| ₹8.9 L/yr - ₹32 L/yr |
Amazon
Wipro
Infosys
Accenture