i
Tech Mahindra
Filter interviews by
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
Use the built-in reverse() method to reverse an array in JavaScript.
Use the reverse() method on the array to reverse its elements in place.
Example: let arr = ['apple', 'banana', 'cherry']; arr.reverse(); // ['cherry', 'banana', 'apple']
posted on 21 Oct 2024
I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.
Class components are ES6 classes that extend from React.Component and have a render method, while functional components are simple functions that return JSX.
Class components are more feature-rich and have access to lifecycle methods like componentDidMount, componentDidUpdate, etc.
Functional components are simpler and easier to read, especially for simple UI components.
Functional components can use React Hooks to manage...
A basic function component in React
Create a function component using the 'function' keyword
Return JSX elements within the component function
Example: const MyComponent = () => { return
Virtual DOM is a lightweight copy of the actual DOM that allows for efficient updates and rendering in web applications.
Virtual DOM is a concept used in frameworks like React to improve performance by minimizing direct manipulation of the actual DOM.
When changes are made to the virtual DOM, a comparison is done with the actual DOM to identify the minimal number of updates needed.
This approach reduces the number of DOM ...
Foreign key in SQL is a field in a table that is a primary key in another table, establishing a relationship between the two tables.
A foreign key constraint ensures referential integrity between two related tables.
It helps maintain consistency and avoid orphan records.
Example: In a database with tables 'orders' and 'customers', the 'customer_id' in 'orders' table can be a foreign key referencing the 'id' column in 'cus
Props are read-only properties that are passed from a parent component to a child component in React.
Props allow data to be passed down the component tree.
Props are immutable and cannot be changed by the child component.
Props are accessed in the child component using this.props.
posted on 23 Aug 2024
Error handling middleware is a function that processes errors in an Express application.
Error handling middleware is defined with four parameters: err, req, res, and next.
It is used to catch errors that occur during the execution of route handlers or other middleware functions.
It is typically defined at the end of the middleware chain with app.use() and has a signature like (err, req, res, next) => {...}.
Example: app.u...
I would choose MongoDB for its flexibility and scalability in handling unstructured data.
MongoDB is a NoSQL database, making it easier to work with unstructured data compared to MySQL which is a relational database.
MongoDB is highly scalable and can handle large amounts of data and high traffic loads.
MongoDB is a good choice for applications that require frequent updates and real-time analytics.
MySQL is a better choice...
I applied via Naukri.com and was interviewed in Dec 2024. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Nov 2024. There were 2 interview rounds.
I am drawn to your company's innovative projects and collaborative work environment.
I am impressed by the cutting-edge technologies and projects your company is working on.
I value the opportunity to work in a collaborative and supportive team environment.
I believe that joining your company will provide me with the chance to further develop my skills and contribute meaningfully to impactful projects.
I prioritize tasks based on deadlines, importance, and dependencies.
I create a list of all tasks and categorize them based on deadlines.
I identify tasks that are critical to the project's success and prioritize them accordingly.
I consider dependencies between tasks and prioritize those that are dependent on others being completed first.
I regularly reassess priorities and adjust as needed based on changing circumstances...
I was interviewed in Sep 2024.
Good morning sir have a you sir my name is hemant Ramchandra narkhede
Java script simple frame
JavaScript has several data types including string, number, boolean, object, function, undefined, and null.
String: 'hello', '123'
Number: 123, 3.14
Boolean: true, false
Object: { key: 'value' }
Function: function() { }
Undefined: undefined
Null: null
var is function-scoped while let is block-scoped in JavaScript.
var keyword is function-scoped, meaning it is accessible throughout the function it is declared in.
let keyword is block-scoped, meaning it is only accessible within the block it is declared in.
Using var can lead to variable hoisting issues, while let provides more predictable behavior.
let allows for better variable scoping and reduces the risk of unintended
Pair programming promotes collaboration, knowledge sharing, and code quality.
Enhances code quality through immediate code review and feedback
Promotes knowledge sharing and learning from each other
Fosters collaboration and teamwork
Reduces the likelihood of bugs and errors
Increases productivity by leveraging two minds on the same problem
Helps in breaking down complex problems into smaller tasks
Improves communication skil
I use a combination of manual testing, unit testing, and debugging tools to identify bugs in my code.
Perform manual testing by running the code and checking for any unexpected behavior or errors.
Write unit tests to verify the functionality of individual components and catch any issues early on.
Utilize debugging tools like breakpoints, logging, and stack traces to track down the root cause of bugs.
Collaborate with team ...
I have been coding primarily in Python for 5 years.
I started learning Python in college and have been using it extensively in my professional career.
I have worked on various projects using Python, including web development, data analysis, and automation.
I am proficient in Python libraries such as NumPy, Pandas, and Django.
HR round full stack developer experience
Best atitude round questions
I applied via Company Website and was interviewed in Oct 2024. There were 3 interview rounds.
Regarding To My Full Stack
Regarding To My Full Stack
Interview experience
Software Engineer
26.4k
salaries
| ₹2 L/yr - ₹9.1 L/yr |
Senior Software Engineer
21.3k
salaries
| ₹5.5 L/yr - ₹23 L/yr |
Technical Lead
11.6k
salaries
| ₹9.2 L/yr - ₹37 L/yr |
Associate Software Engineer
5.5k
salaries
| ₹1.8 L/yr - ₹5.9 L/yr |
Team Lead
4.9k
salaries
| ₹5.2 L/yr - ₹17 L/yr |
Infosys
Cognizant
Accenture
Wipro