Capita
20+ Interview Questions and Answers
You are given an array of integers 'ARR' of length 'N' and an integer Target. Your task is to return all pairs of elements such that they add up to Target.
Note:
We cannot use the element at a given inde...read more
You are given an array/list ARR consisting of N integers. Your task is to find the maximum possible sum of a non-empty subarray(contagious) of this array.
Note: An array C is a subarray of ...read more
What are the different ways in which a method can be Overloaded in C#?
What is LINQ and what are the advantages of using LINQ in Dataset?
What are the types of design patterns in Java?
What do you mean by data encapsulation?
What is Expression Tree in LINQ?
What is a delegate in .NET?
What is Abstraction and Data Encapsulation?
What is MIME in .NET?
Differentiate between LINQ and Stored Procedure.
Difference between Trigger and Procedure
Q13. Why we use wpf instead of windows?
WPF provides better UI design and development options than Windows Forms.
WPF allows for more flexible and customizable UI design.
WPF supports vector graphics and animations.
WPF has better data binding capabilities.
WPF is more modern and actively developed than Windows Forms.
WPF is better suited for creating modern desktop applications.
Q14. What is procedures and triggers?
Procedures and triggers are database objects used to automate tasks and enforce rules.
Procedures are a set of SQL statements that can be executed repeatedly.
Triggers are special types of procedures that are automatically executed in response to certain events.
Triggers can be used to enforce business rules, audit changes, or replicate data.
Procedures and triggers can be written in various programming languages such as SQL, PL/SQL, T-SQL, etc.
Q15. What is singleton design pattern?
Singleton design pattern restricts the instantiation of a class to a single instance.
Ensures only one instance of a class exists
Provides a global point of access to that instance
Used when only one object is needed to coordinate actions across the system
Example: Database connection manager
Q16. What is linq?
LINQ (Language Integrated Query) is a Microsoft technology that allows querying data from different sources using a common syntax.
LINQ provides a unified way to query data from different sources such as databases, XML documents, and collections.
It allows developers to write queries using a common syntax regardless of the data source.
LINQ queries are strongly typed and can be checked at compile time.
Examples of LINQ providers include LINQ to SQL, LINQ to XML, and LINQ to Objec...read more
Q17. What is encapsulation and abstraction.
Encapsulation is hiding implementation details while abstraction is showing only necessary details.
Encapsulation is achieved through access modifiers like private, protected, and public.
Abstraction is achieved through abstract classes and interfaces.
Encapsulation provides data security and prevents unauthorized access.
Abstraction helps in reducing complexity and improves maintainability.
Example of encapsulation: Class with private variables and public methods.
Example of abstr...read more
Q18. What is Mvc life cycle? explian
MVC life cycle is a series of steps that occur when a request is made to an MVC application.
Request is received by the routing engine
Routing engine determines the controller and action to handle the request
Controller is instantiated and action method is called
Action method returns a view
View is rendered and returned as a response
Q19. What is abstract class?
An abstract class is a class that cannot be instantiated and is used as a base class for other classes.
An abstract class can have abstract and non-abstract methods.
Abstract methods have no implementation and must be implemented by the derived class.
An abstract class can have constructors and fields.
An abstract class can be used to define a common interface for a group of related classes.
Example: Animal is an abstract class and Dog, Cat, and Bird are derived classes.
Q20. What is ado. Net?
ADO.NET is a data access technology used to connect applications to databases.
ADO.NET provides a set of classes to interact with databases.
It supports disconnected data architecture.
It uses Data Providers to connect to different databases.
It supports LINQ to SQL for querying databases.
Examples of Data Providers are SQL Server, Oracle, MySQL, etc.
Q21. What is wpf?
WPF stands for Windows Presentation Foundation. It is a graphical subsystem for rendering user interfaces in Windows-based applications.
WPF is a part of .NET Framework and provides a unified programming model for building desktop applications.
It uses XAML (eXtensible Application Markup Language) to define and create user interfaces.
WPF supports rich media, 2D and 3D graphics, animation, and data binding.
It allows for separation of UI design and development, making it easier f...read more
Top Software Developer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month