i
Tavant
Technologies
Filter interviews by
I appeared for an interview in Jun 2024.
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 { abs...
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
Dependency Injection in ASP.NET Core is registered in ConfigureServices method of Startup class.
Add services.AddSingleton
Add services.AddScoped
Add services.AddTransient
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...
Top trending discussions
I applied via LinkedIn and was interviewed in Jun 2023. There were 4 interview rounds.
Use lambda function to print greater number
Define a lambda function that takes two parameters
Use the max() function inside the lambda to compare the two numbers
Call the lambda function with two numbers to print the greater one
OOPs concepts refer to Object-Oriented Programming principles like inheritance, encapsulation, polymorphism, and abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Polymorphism: Ability to present the same interface for different data types.
Abstraction: Hiding the complex implementation detail...
Fibonacci series code in iterative and recursive methods
Iterative method: Use a loop to calculate Fibonacci numbers
Recursive method: Define a function that calls itself to calculate Fibonacci numbers
Example for iterative method: int fib(int n) { int a = 0, b = 1, c; for(int i = 2; i <= n; i++) { c = a + b; a = b; b = c; } return b; }
Example for recursive method: int fib(int n) { if(n <= 1) return n; return fib(n-1) + f...
Use two threads to print numbers 1-10 in correct order
Create two threads, one for printing odd numbers and one for printing even numbers
Use synchronization mechanisms like mutex or semaphore to ensure correct order
Example: Thread 1 prints 1, 3, 5, 7, 9 and Thread 2 prints 2, 4, 6, 8, 10
Unit testing in C++ involves writing test cases for individual units of code to ensure they work as expected.
Use a unit testing framework like Google Test or Catch2 to write and run test cases
Create separate test files for each unit of code being tested
Use assertions to check the expected behavior of the code under test
Mock dependencies or use dependency injection to isolate units for testing
Run tests regularly to catc...
I applied via Naukri.com
I applied via Naukri.com and was interviewed in Feb 2021. There were 4 interview rounds.
Implemented the Observer design pattern.
Used to maintain consistency between related objects
Allows for one-to-many relationships between objects
Used in event-driven systems
Example: Used to update UI when data changes in backend
I have implemented a microservices architecture for scalability and flexibility.
Implemented microservices architecture using Docker and Kubernetes
Used API Gateway for routing and load balancing
Implemented service discovery using Consul
Implemented circuit breaker pattern using Hystrix
Implemented centralized logging using ELK stack
Implemented distributed tracing using Zipkin
Implemented event-driven architecture using Kaf...
This code snippet demonstrates a simple algorithm to find the maximum value in an array.
Initialize a variable 'max' to the first element of the array.
Iterate through the array starting from the second element.
If the current element is greater than 'max', update 'max'.
Return 'max' after completing the iteration.
Example: For array [3, 5, 2, 8, 1], the output will be 8.
I improved stored procedure performance by optimizing queries and indexes.
Identified and removed unnecessary joins and subqueries
Used appropriate indexing to speed up query execution
Reduced the number of round trips to the database by using batch processing
Rewrote complex queries to simpler ones
Used stored procedure parameters instead of variables to avoid recompilation
Used SET NOCOUNT ON to reduce network traffic
Used ...
I applied via Referral and was interviewed before Feb 2023. There were 2 interview rounds.
Transaction propagation in Hibernate allows the management of multiple database operations within a single transaction.
Hibernate supports different transaction propagation modes such as REQUIRED, REQUIRES_NEW, SUPPORTS, MANDATORY, NOT_SUPPORTED, and NEVER.
The propagation mode determines how the transaction should be handled when a method is called within an existing transaction.
REQUIRED is the default propagation mode,...
Spring MVC is a framework for building web applications in Java.
Spring MVC is a part of the Spring Framework, which provides a model-view-controller architecture for developing web applications.
It follows the MVC design pattern, where the model represents the data, the view represents the user interface, and the controller handles the requests and manages the flow of data.
It provides features like request mapping, data...
I applied via Recruitment Consulltant and was interviewed before Feb 2023. There were 3 interview rounds.
Coding test on Angular to test the basic concepts
Promises are used for a single async operation while observables are used for multiple async operations and can be cancelled.
Promises are eager, meaning they start immediately upon creation.
Observables are lazy, meaning they only start when subscribed to.
Promises can only handle a single value or error, while observables can handle multiple values over time.
Observables can be cancelled, while promises cannot.
Promises a...
Call stack is a data structure that stores function calls in JavaScript, while event loop manages asynchronous operations.
Call stack is a mechanism for managing function invocation in JavaScript.
Functions are added to the call stack when they are invoked and removed when they are completed.
Event loop is responsible for handling asynchronous operations in JavaScript.
Event loop continuously checks the call stack and the ...
I applied via Naukri.com and was interviewed in Jun 2024. There were 3 interview rounds.
Prepare DSA, Programing and DB
I am looking for a competitive salary that reflects my skills and experience, ideally in the range of $X to $Y.
Research industry standards: For example, according to Glassdoor, similar roles in this area typically pay between $X and $Y.
Consider my experience: With over X years in the field, I believe a salary towards the higher end of the range is justified.
Discuss benefits: Salary is important, but I also value benefi...
I applied via LinkedIn and was interviewed before Jan 2024. There were 6 interview rounds.
I appeared for an interview in Mar 2025, where I was asked the following questions.
based on 1 interview experience
Difficulty level
Duration
based on 4 reviews
Rating in categories
Senior Software Engineer
931
salaries
| ₹10.9 L/yr - ₹20 L/yr |
Software Engineer
562
salaries
| ₹5 L/yr - ₹11.3 L/yr |
Technical Lead
519
salaries
| ₹16.8 L/yr - ₹30 L/yr |
Senior Quality Engineer
273
salaries
| ₹8 L/yr - ₹14 L/yr |
Associate Technical Architect
260
salaries
| ₹20.9 L/yr - ₹35 L/yr |
Xoriant
Photon Interactive
CitiusTech
Iris Software