Congruent Solutions
UST Interview Questions and Answers
Q1. What is microservices and intercommunication btw various microservices with current project
Microservices are a software architecture design where applications are broken down into smaller, independent services that communicate with each other.
Microservices are small, independent services that focus on specific business functions.
Each microservice can be developed, deployed, and scaled independently.
Intercommunication between microservices is typically done through APIs or messaging queues.
Examples of intercommunication methods include RESTful APIs, gRPC, and messag...read more
Q2. How Dependency injection is configured in the project
Dependency injection is configured using a framework like Spring in Java projects.
Dependency injection is configured using annotations like @Autowired in Spring framework.
Beans are defined in configuration files like applicationContext.xml or using Java configuration classes.
Dependencies are injected into classes at runtime by the framework.
Constructor injection, setter injection, and field injection are common ways to inject dependencies.
Q3. What ORM is used in current project
Entity Framework is used as the ORM in the current project.
Entity Framework is a popular ORM framework for .NET applications
It provides a way to work with databases using .NET objects
Supports LINQ queries for database operations
Q4. Difference btw constant and readonly keyword
Constant keyword is used for compile-time constants, while readonly keyword is used for runtime constants.
Constant keyword is used for values that are known at compile time and cannot be changed.
Readonly keyword is used for values that are known at runtime and cannot be changed after initialization.
Constants are implicitly static, while readonly fields are not.
Constants are defined at the class level, while readonly fields can be defined at the instance level.
Q5. CQRS architecture with .Net Mediator pattern
CQRS architecture separates read and write operations using Mediator pattern in .Net
CQRS stands for Command Query Responsibility Segregation
Mediator pattern helps in decoupling components by introducing a mediator object
.Net MediatR library is commonly used for implementing Mediator pattern in CQRS architecture
Q6. Difference btw object and dynamic
Object is a static entity with predefined structure, while dynamic can change at runtime.
Object is a class or data structure with fixed properties and methods
Dynamic can change its properties or behavior during runtime
Example: Object - Car class with properties like color, model. Dynamic - User input changing the color of a car object
Q7. Explain OOPS with example
OOPS stands for Object-Oriented Programming. It is a programming paradigm based on the concept of objects.
OOPS focuses on creating objects that contain both data and methods to manipulate that data.
Encapsulation, inheritance, and polymorphism are key principles of OOPS.
Example: In a car simulation program, a 'Car' object can have properties like 'color' and 'speed', and methods like 'accelerate' and 'brake'.
Top Software Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month