Motherson Technology Services
MAPAL Interview Questions and Answers
Q1. What are hooks? Difference in class and functional components
Hooks are a feature in React that allow you to use state and other React features in functional components.
Hooks are functions that let you use state and other React features in functional components.
Class components use lifecycle methods, while functional components can use hooks to achieve the same functionality.
Hooks were introduced in React 16.8 to allow functional components to have state and lifecycle methods.
Examples of hooks include useState, useEffect, useContext, et...read more
Q2. Complete react component lifecycle
React component lifecycle includes mounting, updating, and unmounting phases.
Mounting phase: constructor, render, componentDidMount
Updating phase: shouldComponentUpdate, render, componentDidUpdate
Unmounting phase: componentWillUnmount
Q3. Create a login page in react
Create a login page in React
Use React Router for navigation
Create a form with input fields for username and password
Implement form validation for input fields
Use state to manage user input and form submission
Display error messages for invalid input or authentication failure
Q4. Expect CTC and current CTC?
Expected CTC and current CTC are common questions in job interviews to understand candidate's salary expectations and current compensation.
Be honest and provide a realistic range for expected CTC based on your experience and industry standards.
Research the average salary for Senior Engineers in your location to give a competitive range.
Consider factors like benefits, bonuses, and career growth opportunities when discussing expected CTC.
For current CTC, provide the exact figur...read more
Q5. Type of gate and runner?
The type of gate and runner used in injection molding process determines the flow of molten material into the mold cavity.
Common types of gates include sprue gate, edge gate, and hot runner gate
The type of gate chosen depends on the material being used, part design, and desired finish
Runners are channels that connect the gate to the mold cavity, allowing for proper flow and distribution of material
Q6. Design a login page
Design a user-friendly login page with input fields for username and password, a 'forgot password' link, and a 'sign up' option.
Include input fields for username and password
Add a 'forgot password' link for password recovery
Provide a 'sign up' option for new users
Implement validation for input fields
Consider adding a 'remember me' option for convenience
Q7. Write sql query
SQL query to retrieve all employees from a specific department
Use SELECT statement to retrieve data
Specify the columns to be selected
Use WHERE clause to filter by department
Top Senior Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month