Add office photos
Engaged Employer

Tatvasoft

3.9
based on 171 Reviews
Filter interviews by

St. Theresa's Hospital Interview Questions and Answers

Updated 1 Apr 2024

Q1. What is difference the between array map, array filter and for each?

Ans.

Array map transforms each element of an array, array filter filters elements based on a condition, and for each iterates over each element.

  • Array map returns a new array with transformed elements

  • Array filter returns a new array with elements that pass a condition

  • For each does not return anything, it just iterates over each element

  • All three methods do not modify the original array

  • Examples: map - doubling each element of an array, filter - getting all even numbers from an array,...read more

Add your answer

Q2. What is dependency injection?

Ans.

Dependency injection is a design pattern used to remove hard-coded dependencies and make code more flexible and testable.

  • Dependency injection is a way to provide objects with the dependencies they need to function.

  • It involves creating objects with their dependencies injected from outside rather than hard-coding them.

  • This makes code more flexible, reusable, and testable.

  • There are three types of dependency injection: constructor injection, setter injection, and interface inject...read more

Add your answer

Q3. Difference between useMemo and useCallback ?

Ans.

useMemo is used to memoize a value, while useCallback is used to memoize a function.

  • useMemo is used to optimize expensive computations by caching the result and returning it if the inputs haven't changed.

  • useCallback is used to optimize expensive function creation by caching the function instance and returning it if the inputs haven't changed.

  • useMemo returns a value, while useCallback returns a memoized function.

  • useMemo is useful for memoizing values that are expensive to comp...read more

Add your answer

Q4. What do you mean by ERD?

Ans.

ERD stands for Entity Relationship Diagram, a visual representation of entities and their relationships in a database.

  • ERD is used to design and model databases.

  • It shows the relationships between entities, such as one-to-one, one-to-many, and many-to-many.

  • Entities are represented as rectangles, and relationships are represented as lines connecting them.

  • Attributes of entities are also shown in ERD.

  • Example: A customer can have many orders, but an order can only belong to one cus...read more

View 1 answer
Discover St. Theresa's Hospital interview dos and don'ts from real experiences

Q5. What is redux & it's usage ?

Ans.

Redux is a predictable state container for JavaScript apps.

  • Redux is commonly used with React to manage the state of an application.

  • It helps in maintaining a single source of truth for the state.

  • Actions are dispatched to update the state in a predictable way.

  • Reducers are used to specify how the state changes in response to actions.

  • Selectors can be used to extract specific pieces of state from the store.

  • Example: Redux is used in e-commerce websites to manage the shopping cart s...read more

Add your answer

Q6. What is serverless?

Ans.

Serverless is a cloud computing model where the cloud provider manages the infrastructure and automatically allocates resources.

  • Serverless allows developers to focus on writing code without worrying about infrastructure management.

  • It is event-driven and scales automatically based on demand.

  • Examples include AWS Lambda, Azure Functions, and Google Cloud Functions.

Add your answer

Q7. What is hoisting?

Ans.

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

  • Variable declarations are hoisted but not their values

  • Function declarations are fully hoisted

  • Let and const declarations are not hoisted

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at St. Theresa's Hospital

based on 7 interviews
1 Interview rounds
Technical Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Engineer Interview Questions from Similar Companies

3.8
 • 57 Interview Questions
3.6
 • 25 Interview Questions
3.4
 • 17 Interview Questions
3.6
 • 15 Interview Questions
3.9
 • 12 Interview Questions
2.0
 • 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

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