Add office photos
Employer?
Claim Account for FREE

MasterCard

3.9
based on 745 Reviews
Video summary
Filter interviews by

Zetwerk Interview Questions and Answers

Updated 17 Jun 2024
Popular Designations

Q1. What is difference between Interface and abstract class?

Ans.

Interface is a contract that defines the methods a class must implement, while abstract class can have both abstract and concrete methods.

  • Interface cannot have any implementation, while abstract class can have both abstract and concrete methods.

  • A class can implement multiple interfaces but can only inherit from one abstract class.

  • Interfaces are used to achieve multiple inheritance in Java, while abstract classes are used to provide a common base for subclasses.

  • Interfaces are ...read more

Add your answer

Q2. Parent child component communication in react?

Ans.

Parent child component communication in React involves passing data from parent to child components and triggering events from child to parent components.

  • Use props to pass data from parent to child components

  • Use callback functions to trigger events from child to parent components

  • Context API can be used for passing data to deeply nested components

Add your answer

Q3. Can abstract class instantiated?

Ans.

No, abstract classes cannot be instantiated.

  • Abstract classes are meant to be inherited and extended by other classes.

  • Attempting to instantiate an abstract class will result in a compilation error.

  • Abstract classes can have abstract methods that must be implemented by the subclass.

Add your answer

Q4. How to optimize react application?

Ans.

Optimizing a React application involves code splitting, lazy loading, minimizing bundle size, using memoization, and optimizing render performance.

  • Implement code splitting to load only necessary code for each route or component.

  • Utilize lazy loading to defer loading of non-essential components until they are needed.

  • Minimize bundle size by removing unused code, optimizing images, and using tree shaking.

  • Use memoization techniques like useMemo and useCallback to avoid unnecessary...read more

Add your answer
Discover Zetwerk interview dos and don'ts from real experiences

Q5. What is useRef, useMemo, useCallback?

Ans.

useRef is used to persist a value across renders, useMemo is used to memoize expensive calculations, useCallback is used to memoize functions.

  • useRef is commonly used to access DOM elements or persist values between renders.

  • useMemo is used to memoize expensive calculations to avoid re-computation.

  • useCallback is used to memoize functions to prevent unnecessary re-renders.

  • Example: useRef can be used to store a reference to an input element in a form.

  • Example: useMemo can be used ...read more

Add your answer

Q6. What is app.use in .net core?

Ans.

app.use in .NET Core is used to add middleware to the request pipeline.

  • app.use is a method used in ASP.NET Core to add middleware components to the request pipeline.

  • Middleware components are software components that are executed in the request pipeline to handle requests and responses.

  • Middleware components can perform tasks such as authentication, logging, error handling, and more.

  • Example: app.use(new MiddlewareComponent());

Add your answer

Q7. What is dependency injection?

Ans.

Dependency injection is a design pattern in which components are given their dependencies rather than creating them internally.

  • Dependency injection helps in achieving loose coupling between classes.

  • It allows for easier testing by mocking dependencies.

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

  • Example: Instead of a class creating an instance of another class it needs, the instance is provided to it through co...read more

Add your answer

Q8. Micro service design patterns

Ans.

Micro service design patterns are architectural patterns used to design and implement microservices.

  • Service discovery

  • Circuit breaker

  • API gateway

  • Event sourcing

  • Saga pattern

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

Interview Process at Zetwerk

based on 2 interviews
Interview experience
4.0
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Technical Lead Interview Questions from Similar Companies

3.6
 • 78 Interview Questions
3.3
 • 23 Interview Questions
3.5
 • 17 Interview Questions
3.7
 • 17 Interview Questions
3.3
 • 16 Interview Questions
3.6
 • 11 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
75 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