Add office photos
Employer?
Claim Account for FREE

Lowe's

4.2
based on 767 Reviews
Filter interviews by

10+ A P Hosiery Industries Interview Questions and Answers

Updated 19 Oct 2024
Popular Designations

Q1. What is the difference between virtual and real DOM?

Ans.

Virtual DOM is a lightweight copy of the real DOM, used for efficient updates.

  • Real DOM updates are slow and expensive, while virtual DOM updates are fast and efficient.

  • Virtual DOM is used in React to update the UI without reloading the entire page.

  • Real DOM is the actual HTML document, while virtual DOM is a JavaScript object.

  • Virtual DOM compares the previous and current states of the UI to determine the minimum number of changes needed.

  • Real DOM updates require direct manipula...read more

Add your answer

Q2. Create some dynamic buttons with a json data and whenever you click on that you need to maintain active and inactive states and also you need to show the content of the button based on the json data whenever yo...

read more
Ans.

Create dynamic buttons with JSON data, maintain active/inactive states, and show content on click

  • Create buttons dynamically using JSON data

  • Toggle between active and inactive states on click

  • Display button content based on JSON data on click

Add your answer

Q3. What is the difference between var, let and const?

Ans.

var is function scoped, let and const are block scoped. var can be redeclared and reassigned, let can be reassigned but not redeclared, const cannot be reassigned or redeclared.

  • var is hoisted to the top of the function, let and const are not

  • var can be redeclared within the same scope, let and const cannot

  • let and const have a temporal dead zone where they cannot be accessed before they are declared

  • const cannot be reassigned, but the properties of a const object can be modified...read more

Add your answer

Q4. Agile methodology and your previous projects

Ans.

I have experience working with Agile methodology in my previous projects.

  • I have worked in Scrum and Kanban frameworks.

  • I have experience in conducting daily stand-up meetings, sprint planning, and retrospectives.

  • I have worked in cross-functional teams and have experience in collaborating with product owners and stakeholders.

  • I have used tools like Jira and Trello to manage tasks and track progress.

  • In one of my previous projects, we used Agile methodology to develop a mobile app...read more

Add your answer
Discover A P Hosiery Industries interview dos and don'ts from real experiences

Q5. SQL queries to get 2nd highest salary

Ans.

SQL query to get 2nd highest salary

  • Use ORDER BY and LIMIT to get the highest salary

  • Use subquery to exclude the highest salary and get the 2nd highest

  • Example: SELECT salary FROM employees ORDER BY salary DESC LIMIT 1,1

Add your answer

Q6. Optimization techniques in React.

Ans.

Optimization techniques in React include code splitting, lazy loading, and memoization.

  • Code splitting: breaking down the code into smaller chunks to reduce load time.

  • Lazy loading: loading components only when they are needed, reducing initial load time.

  • Memoization: caching the results of expensive function calls to improve performance.

  • Using shouldComponentUpdate to prevent unnecessary re-renders.

  • Using React.PureComponent or implementing shouldComponentUpdate for functional co...read more

Add your answer
Are these interview questions helpful?

Q7. Immutable Class, Remove duplicates from string using java 8

Ans.

Immutable class, remove duplicates from string using Java 8

  • Create an immutable class to represent the string

  • Use Java 8 streams to remove duplicates from the string

  • Convert the string to a character array, use distinct() and collect() to remove duplicates

Add your answer

Q8. Internal working of hash map

Ans.

Hash map is a data structure that stores key-value pairs and uses a hash function to map keys to indices in an array.

  • Hash function is used to convert the key into an index in the array

  • Collisions occur when two keys map to the same index, which can be resolved using separate chaining or open addressing

  • Load factor is the ratio of number of elements to the size of the array, and affects the performance of hash map

  • Operations like insert, search and delete have an average time com...read more

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. Fallout Mechanism between the microservices

Ans.

Fallout mechanism between microservices refers to how failures in one microservice can impact other microservices.

  • Fallout can occur due to cascading failures when one microservice depends on another.

  • Implementing circuit breakers can help prevent fallout by isolating failures.

  • Monitoring and alerting systems are crucial for detecting and responding to fallout.

  • Using asynchronous communication can reduce the impact of fallout by decoupling services.

  • Implementing retries and timeou...read more

Add your answer

Q10. how do you resolve conflicts?

Ans.

I resolve conflicts by actively listening, understanding all perspectives, finding common ground, and proposing solutions.

  • Actively listen to all parties involved

  • Understand each perspective and the underlying reasons for conflict

  • Find common ground and areas of agreement

  • Propose solutions that address the concerns of all parties

Add your answer

Q11. Write code to add elements dynamically

Ans.

Adding elements dynamically to an array in code

  • Use push() method to add elements to an array in JavaScript

  • In Python, use append() method to add elements to a list

  • In Java, use ArrayList and add() method to dynamically add elements

Add your answer

Q12. Sort the array in one loop

Ans.

Use quicksort algorithm to sort array in one loop

  • Use quicksort algorithm to partition array and sort elements

  • Choose a pivot element and rearrange elements around pivot in one loop

  • Repeat process for subarrays until entire array is sorted

Add your answer

Q13. what is Hoisting

Ans.

Hoisting is a JavaScript mechanism where variable and function declarations are moved to the top of their containing scope.

  • Variable and function declarations are hoisted to the top of their scope during the compilation phase.

  • Only the declarations are hoisted, not the initializations.

  • Function declarations take precedence over variable declarations when hoisted.

Add your answer

Q14. What is expected CTC

Ans.

Expected CTC should be based on industry standards, experience, skills, and location.

  • Research industry standards for Software Engineer salaries

  • Consider your experience level and skills when determining expected CTC

  • Take into account the cost of living in the location of the job

  • Negotiate based on the job responsibilities and market demand

Add your answer

Q15. delete a node from a bst

Ans.

To delete a node from a binary search tree (BST), we need to handle three cases: node has no children, node has one child, and node has two children.

  • Start at the root and traverse the tree to find the node to be deleted.

  • Handle the three cases: node has no children, node has one child, and node has two children.

  • For a node with two children, find the inorder successor (smallest node in the right subtree) to replace the node to be deleted.

Add your answer

Q16. Sealed classes in java

Ans.

Sealed classes in Java restrict inheritance to a predefined set of subclasses.

  • Sealed classes were introduced in Java 15 to restrict inheritance to a predefined set of subclasses.

  • Subclasses of a sealed class must be declared in the same file as the sealed class.

  • Sealed classes are declared using the 'sealed' modifier before the 'class' keyword.

  • Example: sealed class Shape permits Circle, Square, Triangle;

Add your answer

Q17. internals of hashset

Ans.

HashSet is a collection that stores unique elements using a hash table.

  • Uses hashing to store elements

  • Does not allow duplicate elements

  • Provides constant-time performance for basic operations like add, remove, contains

Add your answer

More about working at Lowe's

#3 Best Retail Company - 2022
HQ - Mooresville, UnitedStates
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at A P Hosiery Industries

based on 12 interviews in the last 1 year
2 Interview rounds
Technical Round 1
Technical Round 2
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Engineer Interview Questions from Similar Companies

3.3
 • 36 Interview Questions
3.4
 • 24 Interview Questions
4.0
 • 14 Interview Questions
3.9
 • 14 Interview Questions
3.9
 • 10 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter