Filter interviews by
I applied via LinkedIn and was interviewed before Nov 2023. There were 2 interview rounds.
Object Oriented Programming is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures.
OOP focuses on creating objects that interact with each other to solve problems.
It involves concepts like classes, objects, inheritance, polymorphism, and encapsulation.
Example: In a banking application, you can have classes like Account, Customer, and Tr...
The important pillars of OOPs are Inheritance, Encapsulation, Abstraction, and Polymorphism.
Inheritance allows a class to inherit properties and behavior from another class.
Encapsulation hides the internal state of an object and only exposes necessary information.
Abstraction focuses on the essential features of an object while hiding the implementation details.
Polymorphism allows objects to be treated as instances of t...
Encapsulation is the concept of bundling data and methods that operate on the data within a single unit.
Encapsulation helps in hiding the internal state of an object and restricting access to it.
Data hiding is achieved by making the variables private and providing public methods to access or modify them.
For example, a class 'Car' may have private variables like 'model' and 'year' with public methods like 'getModel()' a
Inheritance is a concept in object-oriented programming where a class inherits properties and behaviors from another class.
Allows a class to inherit attributes and methods from another class
Promotes code reusability and reduces redundancy
Creates a parent-child relationship between classes
Derived class can access public and protected members of the base class
Example: Class Car inherits from class Vehicle
Polymorphism is the ability of a single function or method to operate on different data types.
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: Inheritance allows a child class to override a method of its parent class, exhibiting polymorphic behavior.
Abstract class is a class that cannot be instantiated and may contain abstract methods.
Cannot be instantiated directly
May contain abstract methods that must be implemented by derived classes
Can have both abstract and non-abstract methods
Abstract class can have implementation details while interface cannot. Class can implement multiple interfaces but only inherit from one abstract class.
Abstract class can have method implementations while interface cannot.
A class can implement multiple interfaces but can only inherit from one abstract class.
Interfaces are used to define a contract for classes to implement, while abstract classes are used to provide a c...
Layout page in MVC is a shared template that defines the structure of the final output HTML.
Layout page contains common elements like header, footer, navigation menu, etc.
It allows for consistent design across multiple views.
Can be used to define sections that can be overridden by individual views.
Primary key is a unique identifier for each record in a database table.
Primary key ensures each record in a table is unique
It can be a single column or a combination of columns
Primary key constraints prevent duplicate or null values
Unique key is a column or a set of columns that uniquely identifies each row in a table.
A unique key constraint ensures that all values in a column or a set of columns are unique.
It can be used to enforce data integrity and prevent duplicate entries.
Example: Employee ID in an employee table can be a unique key.
Yes, a table can have multiple primary keys.
A table can have a composite primary key, which consists of multiple columns.
Each column in the composite primary key contributes to uniquely identifying each row.
Example: CREATE TABLE Employee (emp_id INT, dept_id INT, PRIMARY KEY (emp_id, dept_id));
Query to find ID and Name of employee with maximum salary
Use SQL query with MAX() function to find the maximum salary
Join the result with employee table to get ID and Name
The query selects the ID and Name of the employee with the highest salary.
The query uses a subquery to find the maximum salary in the Employee table.
The outer query then selects the ID and Name of the employee with that maximum salary.
Static constructor gets executed first before default constructor.
Static constructor is called only once, when the class is first accessed or instantiated.
Default constructor is called every time a new instance of the class is created.
Example: If a class has both static and default constructors, the static constructor will be executed before the default constructor.
No, static constructors cannot have multiple arguments.
Static constructors in C# do not take any arguments.
They are used to initialize static data members or perform any necessary setup for the class.
Example: public static MyClass() { // constructor code }
Yes, by using access modifiers like public or internal.
Yes, by changing the access modifier of the class to public or internal.
Private variables can be accessed within the same class but not outside. Use properties or methods to access them in other classes.
Example: class A has a private variable 'x'. In class B, create an instance of class A and access 'x' using a public method or property.
Create a form and do CRUD Operation
Top trending discussions
I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
I applied via Walk-in
There are various types of constraints in DOT NET development, including primary key, foreign key, unique, check, and default constraints.
Primary key constraints ensure each record in a table is unique.
Foreign key constraints enforce referential integrity between tables.
Unique constraints ensure that all values in a column are distinct.
Check constraints validate the data before it is inserted or updated.
Default constra...
Independent class can be instantiated while abstract class cannot be instantiated directly.
Independent class can be directly instantiated using the 'new' keyword.
Abstract class cannot be instantiated directly, it can only be used as a base class for other classes.
Independent class does not require any derived class to implement its members.
Abstract class can have abstract methods that must be implemented by derived cla
Seeking new challenges, growth opportunities, and a better work-life balance.
Looking for new challenges and opportunities to learn and grow.
Seeking a better work-life balance.
Interested in working with new technologies or in a different industry.
Wanting to advance my career and take on more responsibilities.
Company restructuring or changes in management.
I applied via Company Website and was interviewed in Nov 2024. There were 2 interview rounds.
Write prime number code
I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
Extension methods allow adding new methods to existing types without modifying the original type
Extension methods are static methods that can be called as if they were instance methods of the extended type
They are defined in static classes and must be in the same namespace as the extended type
They are commonly used to add functionality to existing types or interfaces without modifying them directly
Union combines and removes duplicates, Union All combines without removing duplicates.
Union removes duplicates from the result set, while Union All does not.
Union is slower than Union All because it has to perform an additional step to remove duplicates.
Union is used when you want to combine two result sets and remove duplicates, while Union All is used when you want to combine two result sets without removing duplicat
Constructor chaining is the process of calling one constructor from another constructor within the same class.
Allows for reusing code and avoiding duplication
Can be achieved using 'this' keyword in the constructor
Example: public MyClass(int x) : this(x, 0) {}
CTE stands for Common Table Expressions, which is a temporary result set that can be referenced within a SELECT, INSERT, UPDATE, or DELETE statement.
CTEs are defined using the WITH keyword in SQL.
They help improve readability and maintainability of complex queries.
CTEs can be recursive, allowing for hierarchical data querying.
Example: WITH CTE AS (SELECT * FROM table_name) SELECT * FROM CTE;
Example: WITH RECURSIVE CTE ...
A constructor is a special method in a class that is automatically called when an object of that class is created.
Constructors have the same name as the class they belong to.
They are used to initialize the object's state.
Constructors can be parameterized or default (no parameters).
Example: public class Person { public Person(string name) { this.Name = name; } }
Use bulk insert or batch processing to send large amounts of data through the database.
Use bulk insert operations provided by the database management system.
Consider using batch processing techniques to optimize performance.
Use stored procedures or parameterized queries for efficient data transfer.
I have used the MVC (Model-View-Controller) design pattern in my project.
Separates the application into three main components: Model, View, and Controller
Promotes code reusability, modularity, and maintainability
Example: ASP.NET MVC framework
Singleton pattern ensures a class has only one instance and provides a global point of access to it.
Characteristics include private constructor, static instance variable, static method to access instance, lazy initialization, and thread safety.
Example: public class Singleton { private static Singleton instance; private Singleton() {} public static Singleton getInstance() { if (instance == null) { instance = new Singlet
Use LINQ to fetch data from the 'students' table in ascending order of 'studentid'.
Use LINQ query syntax or method syntax to retrieve data from the 'students' table.
Order the data by 'studentid' in ascending order using the 'OrderBy' or 'OrderByDescending' method.
Ensure that the LINQ query is executed against the database to fetch the data.
I applied via Company Website and was interviewed in Nov 2024. There were 2 interview rounds.
web.config is specific to a web application and overrides settings in Machine.config
web.config is specific to a web application, while Machine.config is at the machine level
web.config can override settings in Machine.config for a specific application
Machine.config is located in the .NET framework folder, while web.config is in the application folder
State management in .NET refers to the process of storing and retrieving data during the lifecycle of an application.
State management can be achieved using various techniques such as session state, view state, cookies, and query strings.
Session state allows storing user-specific data across multiple pages during a user session.
View state stores the state of the page and its controls between postbacks.
Cookies can be use...
I applied via Naukri.com and was interviewed in Jul 2024. There was 1 interview round.
The .NET application code is compiled into Intermediate Language (IL) which is then executed by the Common Language Runtime (CLR).
Code is compiled into Intermediate Language (IL) by the compiler
IL is then converted into machine code by the Just-In-Time (JIT) compiler
The CLR manages memory, security, and other system resources during code execution
Stored procedures are precompiled SQL queries that can perform multiple operations, while functions are reusable code blocks that return a single value.
Stored procedures can execute multiple SQL statements and can perform complex operations.
Functions are reusable code blocks that return a single value and can be used in SQL queries.
Stored procedures can be called independently, while functions are typically called with...
CLR stands for Common Language Runtime, it is used to manage the execution of .NET programs.
CLR is a part of the .NET framework responsible for managing the execution of .NET programs.
It provides services such as memory management, exception handling, and security.
CLR converts the Intermediate Language (IL) code into machine code during runtime.
It allows for language interoperability, meaning different languages can be...
GC stands for Garbage Collection, a process in .NET to automatically manage memory by reclaiming unused objects.
GC is a feature in .NET that automatically manages memory by reclaiming unused objects.
It helps in preventing memory leaks and improving application performance.
GC can be used in .NET applications to free up memory occupied by objects that are no longer needed.
I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.
based on 1 review
Rating in categories
Flutter Developer
14
salaries
| ₹2.6 L/yr - ₹4.4 L/yr |
DOT NET Developer
12
salaries
| ₹1 L/yr - ₹3.8 L/yr |
Software Developer
8
salaries
| ₹1.2 L/yr - ₹5.5 L/yr |
Web Developer
4
salaries
| ₹3 L/yr - ₹3.8 L/yr |
Web Designer
3
salaries
| ₹0.9 L/yr - ₹1.6 L/yr |
TCS
Infosys
Wipro
HCLTech