Accion Labs
20+ LS Automotive India Interview Questions and Answers
Q1. .net core example . Singleton design patterns example
.NET Core Singleton Design Pattern Example
Singleton pattern ensures only one instance of a class is created
In .NET Core, Singleton can be implemented using Dependency Injection
Example: services.AddSingleton
(); This ensures only one instance of MyService is created and shared across the application
Q2. How to apply profile permissions in apex
Applying profile permissions in Apex
Use the Schema class to retrieve the profile object
Use the Profile object to access and modify the profile permissions
Use the Metadata API to deploy the updated profile permissions
Q3. What is SOLID Principal
SOLID is a set of five principles for designing object-oriented software to make it more maintainable, flexible, and scalable.
S - Single Responsibility Principle: A class should have only one reason to change.
O - Open/Closed Principle: Software entities should be open for extension but closed for modification.
L - Liskov Substitution Principle: Objects of a superclass should be replaceable with objects of its subclasses without affecting the functionality.
I - Interface Segrega...read more
Q4. Aura component implementation
Aura components are reusable UI elements in Salesforce. They are built using JavaScript and can be used in Lightning Experience and Communities.
Aura components are built using JavaScript and can be used in Lightning Experience and Communities.
They are reusable UI elements that can be easily customized and extended.
Aura components use a component-based architecture and can communicate with each other using events.
They can be created using the Aura framework or the Lightning We...read more
Q5. Explain Spring MVC
Spring MVC is a framework for building web applications in Java.
Model-View-Controller architecture
Central DispatcherServlet for handling requests
Support for RESTful web services
Annotation-based configuration
Integration with other Spring modules like Spring Security
Q6. How do you deal with an under performer despite multiple warnings?
I would follow a structured approach to address the issue.
I would review the performance expectations and goals with the under performer.
I would identify any obstacles or challenges that may be hindering their performance.
I would provide additional training or resources if necessary.
I would set clear and measurable improvement goals with a timeline for achieving them.
I would monitor progress and provide regular feedback and coaching.
If the under performer continues to not mee...read more
Q7. Are you familiar with management reporting tools and how do you report?
Yes, I am familiar with management reporting tools and have experience in creating reports using various tools.
I have experience in using tools like Microsoft Excel, Power BI, and Tableau for creating reports
I ensure that the reports are accurate, concise, and provide relevant information to stakeholders
I also have experience in customizing reports based on the requirements of the stakeholders
I regularly review and analyze the reports to identify areas of improvement and make...read more
Q8. Program Increment and how long it will be conducted with respect to Safe
Program Increment (PI) is a timeboxed event in SAFe that lasts for 8-12 weeks.
PI is a planning and execution event that aligns all the teams in the ART towards a common goal.
It includes a series of activities like planning, execution, review, and retrospective.
PI is a critical aspect of SAFe as it helps in achieving the ART's objectives and delivering value to the customers.
The duration of PI can vary depending on the organization's needs, but it typically lasts for 8-12 week...read more
Q9. How do you plan capacity at sprint level?
Capacity planning at sprint level involves analyzing team velocity, prioritizing backlog items, and adjusting resources as needed.
Analyze team velocity to determine how much work can be completed in a sprint
Prioritize backlog items based on business value and dependencies
Adjust resources as needed to ensure capacity is met
Consider factors such as team member availability, skill sets, and workload
Use tools such as burn-down charts and capacity planning spreadsheets to track pr...read more
Q10. What is difference between interface and abstract class
Interface defines only method signatures while abstract class can have both method signatures and implementations.
Interface cannot have method implementations, only method signatures.
Abstract class can have both method signatures and implementations.
A class can implement multiple interfaces but can only inherit from one abstract class.
Interfaces are used to define a contract for classes to implement, while abstract classes are used to provide a common base for subclasses.
Q11. Burn Down and Burn up charts and the components in X and Y axis
Burn Down and Burn up charts show progress of work over time. X-axis represents time and Y-axis represents work remaining or completed.
Burn Down chart shows the amount of work remaining over time.
Burn up chart shows the amount of work completed over time.
X-axis represents time, usually in days or sprints.
Y-axis represents work remaining or completed, usually in story points or hours.
The ideal line on the chart represents the expected progress.
Actual progress is shown by the l...read more
Q12. What is difference between InnoDB and MyIsam?
InnoDB is a transaction-safe storage engine for MySQL, while MyISAM is not transaction-safe.
InnoDB supports transactions with ACID properties, while MyISAM does not.
InnoDB supports foreign keys, while MyISAM does not.
InnoDB is more reliable and crash-safe compared to MyISAM.
InnoDB is the default storage engine for MySQL 5.5 and higher versions.
MyISAM is faster for read-heavy operations, while InnoDB is better for write-heavy operations.
Q13. What is MVC? Explain in detail.
MVC is a software design pattern that separates an application into three main components: Model, View, and Controller.
Model represents the data and business logic of the application.
View is responsible for displaying the data to the user.
Controller acts as an intermediary between Model and View, handling user input and updating the Model accordingly.
MVC helps in organizing code, improving maintainability, and promoting code reusability.
Popular PHP frameworks like Laravel and...read more
Q14. What does the array_map in PHP used for?
array_map in PHP is used to apply a callback function to each element of an array.
array_map() returns an array containing all the elements of the input array after applying the callback function to each one.
It is useful for applying a function to all elements of an array without using a loop.
Example: array_map('strtoupper', ['apple', 'banana', 'cherry']) will return ['APPLE', 'BANANA', 'CHERRY'].
Q15. What is callback function in PHP?
A callback function in PHP is a function that is passed as an argument to another function and is executed at a later time.
Callback functions are commonly used in PHP for event handling, asynchronous processing, and custom sorting.
Example: array_map() function in PHP takes a callback function as an argument to apply a user-defined function to each element of an array.
Another example: usort() function in PHP uses a callback function to define custom sorting logic for an array.
Q16. What are scrum ceremonies
Scrum ceremonies are essential meetings in the Scrum framework that help facilitate effective communication and collaboration within the team.
Scrum ceremonies are time-boxed events that occur at regular intervals during a sprint.
They provide opportunities for the Scrum team to inspect and adapt their work.
The main scrum ceremonies are Sprint Planning, Daily Stand-up, Sprint Review, and Sprint Retrospective.
Sprint Planning is held at the beginning of each sprint to determine t...read more
Q17. What is the regression testing?
Regression testing is the process of retesting modified software to ensure that previously working functionalities still work as expected.
Regression testing is performed after making changes to software to identify any new defects or issues introduced.
It helps ensure that existing functionalities are not affected by the changes made.
Regression testing can be done manually or using automated testing tools.
It involves re-executing test cases that cover the affected areas of the...read more
Q18. What is a static method?
A static method is a method that belongs to the class itself, rather than to instances of the class.
Static methods can be called directly on the class without needing to create an instance of the class.
Static methods are commonly used for utility functions that do not require access to instance-specific data.
Static methods are declared using the 'static' keyword in PHP.
Q19. Explain the steps to optimize SQL query
Optimizing SQL queries involves analyzing query performance, indexing, minimizing data retrieval, and using appropriate joins.
Analyze query performance using tools like EXPLAIN to identify bottlenecks
Use indexes on columns frequently used in WHERE clauses
Minimize data retrieval by selecting only necessary columns
Avoid using SELECT * and instead specify required columns
Use appropriate joins like INNER JOIN, LEFT JOIN, etc. based on data relationships
Q20. Explain the workflow of PHPUnit
PHPUnit workflow involves writing test cases, running tests, and analyzing results.
Write test cases using PHPUnit framework
Run tests using PHPUnit command line interface or IDE integration
Analyze test results to identify failures and errors
Make necessary code changes to fix failing tests
Repeat the process until all tests pass successfully
Q21. diff between overloading overriding
Overloading is having multiple methods in the same class with the same name but different parameters. Overriding is implementing a method in a subclass that is already defined in the parent class.
Overloading is resolved at compile time based on the method signature
Overriding is resolved at runtime based on the object type
Overloading does not require inheritance
Overriding requires inheritance
Example of overloading: public void print(int num) and public void print(String str)
Ex...read more
More about working at Accion Labs
Top HR Questions asked in LS Automotive India
Interview Process at LS Automotive India
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month