Add office photos
Engaged Employer

Tavant Technologies

3.8
based on 603 Reviews
Video summary
Filter interviews by

Polestar Solutions & Services India Interview Questions and Answers

Updated 19 Jul 2024
Popular Designations

Q1. How to register dependency Injection in asp.net core??

Ans.

Dependency Injection in ASP.NET Core is registered in ConfigureServices method of Startup class.

  • Add services.AddSingleton(); for singleton lifetime

  • Add services.AddScoped(); for scoped lifetime

  • Add services.AddTransient(); for transient lifetime

Add your answer

Q2. How to improve performance of an Stored procedure

Ans.

To improve performance of a Stored procedure, optimize query, use indexes, minimize data retrieval, and avoid cursors.

  • Optimize query by using proper indexing

  • Minimize data retrieval by fetching only required columns

  • Avoid using cursors for looping through data

  • Use SET NOCOUNT ON to stop the message indicating the number of rows affected by a Transact-SQL statement

Add your answer

Q3. Difference between read-only and const with an example

Ans.

Read-only variables can be modified by the program, while const variables cannot be changed.

  • Read-only variables can be modified by the program during runtime, while const variables cannot be changed at all.

  • Using 'const' keyword ensures that the value of the variable remains constant throughout the program.

  • Read-only variables are typically used when the value needs to be initialized at runtime, while const variables are used for values that should not change.

  • Example: int readO...read more

Add your answer

Q4. Write code on abstract class and interface?

Ans.

Abstract classes and interfaces are used in object-oriented programming to define common behavior and structure for classes.

  • Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.

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

  • Abstract classes can have constructors, while interfaces cannot.

  • Example: abstract class Animal { abstract void makeSound(); } interface Flyable { void fly(); ...read more

Add your answer
Discover Polestar Solutions & Services India interview dos and don'ts from real experiences

Q5. What is Polymorphism ?

Ans.

Polymorphism is the ability of a single function or method to operate on different types of data.

  • Polymorphism allows objects of different classes to be treated as objects of a common superclass.

  • There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).

  • Example of compile-time polymorphism: function overloading where multiple functions have the same name but different parameters.

  • Example of runtime polymorphism: method overriding wher...read more

Add your answer

Q6. What is inceptor in angular?

Ans.

Inceptor in Angular is a service that allows intercepting HTTP requests and responses.

  • Inceptor is used for modifying requests or responses before they are sent or received.

  • It can be used for adding headers, logging, error handling, etc.

  • Example: intercepting requests to add authentication token.

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.

  • Allows for easier testing by providing mock dependencies

  • Promotes loose coupling between components

  • Improves code reusability and maintainability

  • Commonly used in frameworks like Spring in Java

Add your answer

Q8. Explain abt JWT

Ans.

JWT stands for JSON Web Token, a compact and self-contained way for securely transmitting information between parties as a JSON object.

  • JWT is commonly used for authentication and information exchange in web development.

  • It consists of three parts: header, payload, and signature.

  • The header typically consists of the type of token and the signing algorithm being used.

  • The payload contains the claims, which are statements about an entity and additional data.

  • The signature is used to...read more

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

Interview Process at Polestar Solutions & Services India

based on 1 interviews
Interview experience
5.0
Excellent
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Team Lead Interview Questions from Similar Companies

3.8
 • 55 Interview Questions
3.5
 • 26 Interview Questions
3.7
 • 17 Interview Questions
3.7
 • 13 Interview Questions
3.7
 • 11 Interview Questions
4.0
 • 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