Filter interviews by
Hooks are functions that allow you to use state and other React features without writing a class.
useState is a hook that allows you to add state to functional components.
useEffect is a hook that allows you to perform side effects in functional components.
Hooks can only be used in functional components.
Hooks must be called at the top level of a functional component.
Hooks can be used to replace lifecycle methods in ...
The 'this' keyword in JS refers to the object that is currently executing the code.
The value of 'this' depends on how a function is called.
In a method, 'this' refers to the object that the method belongs to.
In a regular function, 'this' refers to the global object (window in a browser).
In an event handler, 'this' refers to the element that triggered the event.
The value of 'this' can be explicitly set using call(),...
setState is a method used in React to update the state of a component.
setState is asynchronous and batched for performance optimization.
It merges the new state with the previous state.
It schedules a re-render of the component and its children.
Passing a function to setState ensures the previous state is used correctly.
Example: this.setState({ count: this.state.count + 1 })
Export types in ReactJS allow components, functions, and variables to be accessed and used in other files.
Exporting a component allows it to be imported and used in other files
Exporting a function allows it to be imported and used in other files
Exporting a variable allows it to be imported and used in other files
ES6 features: Spread Operator, Rest Parameter, Object Destructuring
Spread Operator: allows an iterable to be expanded into individual elements
Rest Parameter: allows a function to accept an indefinite number of arguments as an array
Object Destructuring: allows extracting properties from an object and assigning them to variables
Promises are a way to handle asynchronous operations in JavaScript. Promise.all is used to execute multiple promises concurrently.
Promises represent a value that may not be available yet
They have three states: pending, fulfilled, and rejected
Promise.all takes an array of promises and returns a new promise that resolves when all promises in the array have resolved
If any promise in the array is rejected, the returne...
Answer to a React Developer interview question about class and functional components and passing props.
Class component: class MyComponent extends React.Component {}
Functional component: const MyComponent = (props) => {}
Passing props from parent to child:
I applied via Naukri.com and was interviewed in Mar 2021. There was 1 interview round.
Export types in ReactJS allow components, functions, and variables to be accessed and used in other files.
Exporting a component allows it to be imported and used in other files
Exporting a function allows it to be imported and used in other files
Exporting a variable allows it to be imported and used in other files
Hooks are functions that allow you to use state and other React features without writing a class.
useState is a hook that allows you to add state to functional components.
useEffect is a hook that allows you to perform side effects in functional components.
Hooks can only be used in functional components.
Hooks must be called at the top level of a functional component.
Hooks can be used to replace lifecycle methods in class...
The 'this' keyword in JS refers to the object that is currently executing the code.
The value of 'this' depends on how a function is called.
In a method, 'this' refers to the object that the method belongs to.
In a regular function, 'this' refers to the global object (window in a browser).
In an event handler, 'this' refers to the element that triggered the event.
The value of 'this' can be explicitly set using call(), appl...
setState is a method used in React to update the state of a component.
setState is asynchronous and batched for performance optimization.
It merges the new state with the previous state.
It schedules a re-render of the component and its children.
Passing a function to setState ensures the previous state is used correctly.
Example: this.setState({ count: this.state.count + 1 })
Answer to a React Developer interview question about class and functional components and passing props.
Class component: class MyComponent extends React.Component {}
Functional component: const MyComponent = (props) => {}
Passing props from parent to child:
Promises are a way to handle asynchronous operations in JavaScript. Promise.all is used to execute multiple promises concurrently.
Promises represent a value that may not be available yet
They have three states: pending, fulfilled, and rejected
Promise.all takes an array of promises and returns a new promise that resolves when all promises in the array have resolved
If any promise in the array is rejected, the returned pro...
ES6 features: Spread Operator, Rest Parameter, Object Destructuring
Spread Operator: allows an iterable to be expanded into individual elements
Rest Parameter: allows a function to accept an indefinite number of arguments as an array
Object Destructuring: allows extracting properties from an object and assigning them to variables
Top trending discussions
I applied via Campus Placement and was interviewed before May 2021. There were 4 interview rounds.
VERBAL QUANT DI/LR and Picture based test
Fibonacci series can be easily implemented using loops in C++ or C.
Declare variables for first two numbers of the series
Use a loop to calculate and print the next number in the series
Repeat the loop until desired number of terms are printed
I applied via Referral and was interviewed before Jan 2021. There was 1 interview round.
Abstract class is a class that cannot be instantiated, List is a collection of objects, SQL is a language used to manage databases, ADO.net is a framework for accessing databases.
Abstract class is used as a base class for other classes
List is a generic collection of objects
SQL is used to create, modify, and query databases
ADO.net provides a set of classes for accessing databases
Example: abstract class Animal { public a...
I applied via Company Website and was interviewed before Jan 2021. There were 5 interview rounds.
I applied via Naukri.com and was interviewed in Jul 2020. There were 3 interview rounds.
I'm a passionate software developer with 5 years of experience in building scalable web applications and a strong focus on user experience.
Experience in full-stack development using technologies like React, Node.js, and MongoDB.
Led a team project that improved application performance by 30% through code optimization.
Strong background in Agile methodologies, having participated in multiple sprints and retrospectives.
Dev...
I excel in problem-solving, collaboration, and adaptability, which enhance my effectiveness as a software developer.
Strong problem-solving skills: I enjoy tackling complex coding challenges, like optimizing algorithms for better performance.
Effective collaboration: I have successfully worked in Agile teams, contributing to projects like a web application that improved user engagement.
Adaptability: I quickly learn new t...
I tend to be overly critical of my work, which can slow down my progress and affect my confidence in delivering projects.
I often spend too much time refining code, which can delay project timelines. For example, I once spent an extra week on a feature.
I sometimes struggle with delegation, preferring to handle tasks myself to ensure quality. This was evident in a group project where I took on too much.
I can be hesitant ...
I am looking for a competitive salary that reflects my skills and experience in software development.
Based on my research, the average salary for a software developer in this region is between $80,000 and $100,000.
I have over 5 years of experience in full-stack development, which I believe warrants a salary towards the higher end of that range.
I am open to discussing the entire compensation package, including benefits ...
I applied via Referral and was interviewed before Jun 2021. There were 2 interview rounds.
Java, program logic, software engineering
I applied via Recruitment Consulltant and was interviewed before Aug 2021. There were 2 interview rounds.
I applied via Company Website and was interviewed in May 2021. There were 3 interview rounds.
I applied via Walk-in and was interviewed before Feb 2021. There were 3 interview rounds.
I come from a close-knit family that values education, creativity, and support, shaping my personal and professional growth.
Supportive Parents: My parents encouraged my interests in technology from a young age, providing resources for learning programming.
Siblings: I have a younger sister who is passionate about art, and we often collaborate on projects that blend technology and creativity.
Family Traditions: We have a ...
I come from a close-knit family that values education, creativity, and support, which has greatly influenced my career path.
Supportive Parents: My parents encouraged my interest in technology from a young age, providing me with resources like books and courses.
Siblings: I have a younger sister who is also in the tech field, and we often collaborate on projects, sharing ideas and learning from each other.
Family Values: ...
Handled a difficult project involving complex data migration and integration
Had to understand the existing data structure and map it to the new system
Dealt with multiple data sources and formats
Ensured data integrity and accuracy throughout the migration process
Collaborated with cross-functional teams to ensure successful integration
Implemented automated testing to validate data migration and integration
Managed project...
Consultant
67
salaries
| ₹5.5 L/yr - ₹16.5 L/yr |
Lead Consultant
60
salaries
| ₹14.5 L/yr - ₹25 L/yr |
Software Engineer
59
salaries
| ₹3.8 L/yr - ₹7.4 L/yr |
Senior Consultant
51
salaries
| ₹13 L/yr - ₹23 L/yr |
Associate Consultant
49
salaries
| ₹4 L/yr - ₹10.6 L/yr |
TCS
Accenture
Wipro
Capgemini