Dot Net Developer Trainee
10+ Dot Net Developer Trainee Interview Questions and Answers

Asked in KPIT Technologies

Q. What is a JOIN, and what are the different types of JOINs?
Join is used to combine rows from two or more tables based on a related column between them.
Types of joins include INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN.
INNER JOIN returns rows when there is at least one match in both tables.
LEFT JOIN returns all rows from the left table and the matched rows from the right table.
RIGHT JOIN returns all rows from the right table and the matched rows from the left table.
FULL JOIN returns rows when there is a match in one of the tables...read more

Asked in TCS

Q. What is the difference between a function and a stored procedure?
Functions return a single value while stored procedures can return multiple values. Functions can be called from SQL statements while stored procedures cannot.
Functions return a single value while stored procedures can return multiple values
Functions can be called from SQL statements while stored procedures cannot
Functions cannot modify the database state while stored procedures can
Functions are used for computations and return values, while stored procedures are used for exe...read more

Asked in TCS

Q. What is the difference between an interface and an abstract class?
Interface is a blueprint for a class, while abstract class can have some implementation.
Interface cannot have any implementation, only method signatures.
A class can implement multiple interfaces but can inherit only one abstract class.
Abstract class can have abstract and non-abstract methods, while interface can only have abstract methods.
Interfaces are used to achieve multiple inheritance in C#, while abstract classes are used to provide a common base for derived classes.
Asked in Devrabbit It Solutions

Q. What is MVC,Partial View,Routing,Html helpers,Stored Procedures,??
MVC is a software architectural pattern for implementing user interfaces, Partial View is a reusable view component, Routing is mapping URLs to controller actions, Html helpers are methods to generate HTML elements, Stored Procedures are precompiled SQL queries.
MVC is Model-View-Controller pattern for separating concerns in web applications
Partial View is a reusable component in MVC for rendering a portion of a view
Routing maps URLs to controller actions in MVC framework
Html ...read more

Asked in Infosys

Q. What is the difference between a procedure and a function?
Procedure is a set of SQL statements that performs a specific task, while function returns a value.
Procedure does not return a value, while function does.
Functions can be called from within SQL statements, while procedures cannot.
Functions can be used in SELECT, WHERE, and HAVING clauses, while procedures cannot.
Example: CREATE PROCEDURE sp_GetEmployeeDetails AS ... vs CREATE FUNCTION fn_GetEmployeeName() RETURNS VARCHAR(50) AS ...

Asked in IBM

Q. What is the ASP.NET page life cycle?
ASP.NET page life cycle is the series of events that occur from the time a page is requested to the time the page is fully rendered and sent to the client browser.
Page request is received by the server
Page is initialized, controls are created and their properties are set
Page is loaded with data and controls are rendered
Page is unloaded and disposed

Asked in Systenics Solutions

Q. What is method overloading and overriding
Method overloading is having multiple methods in the same class with the same name but different parameters. Method overriding is redefining a method in a subclass with the same name and parameters as in the superclass.
Method overloading allows a class to have multiple methods with the same name but different parameters.
Method overriding involves redefining a method in a subclass that is already defined in the superclass.
Overloading is resolved at compile-time while overridin...read more
Asked in India Bison

Q. Have you used Web API?
Yes, I have used WebApi in multiple projects to create RESTful APIs for web applications.
Used WebApi to build RESTful APIs for communication between client and server
Implemented CRUD operations using WebApi endpoints
Secured WebApi endpoints with authentication and authorization mechanisms
Utilized WebApi to integrate third-party services and data sources
Share interview questions and help millions of jobseekers 🌟

Asked in FreshersNow

Q. What are access modifiers?
Access modifiers are keywords in programming languages that define the accessibility of classes, methods, and other members.
Access modifiers control the visibility and accessibility of classes, methods, and variables in a program.
Common access modifiers include public, private, protected, and default (package-private).
Public access modifier allows a class, method, or variable to be accessed from any other class.
Private access modifier restricts access to the class or method w...read more

Asked in TCS

Q. What are joins in SQL?
Joins in SQL are used to combine rows from two or more tables based on a related column between them.
Joins are used to retrieve data from multiple tables based on a related column.
Common types of joins include INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN.
INNER JOIN returns rows when there is at least one match in both tables.
LEFT JOIN returns all rows from the left table and the matched rows from the right table.
RIGHT JOIN returns all rows from the right table and the mat...read more

Asked in TCS

Q. What are the concepts of OOPS?
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 details and showing only the necessary features.

Asked in TCS

Q. What is a stored procedure?
A stored procedure is a precompiled collection of SQL statements that can be executed by calling the procedure name.
Stored procedures can improve performance by reducing network traffic and increasing security.
They can be used to encapsulate business logic and promote code reusability.
Stored procedures are stored in the database and can be called from various applications or scripts.
Example: CREATE PROCEDURE GetEmployeeDetails AS SELECT * FROM Employees WHERE Department = 'IT...read more
Asked in India Bison

Q. What is a web.config file?
Web.config file is a configuration file used in ASP.NET applications to store settings and configurations.
Contains settings for the ASP.NET application
Can include connection strings, authentication settings, and custom error pages
Located in the root directory of the ASP.NET application
Can be used to specify custom error pages, session state settings, and more

Asked in Cognizant

Q. What is a dangling pointer?
A dangling pointer is a pointer that points to a memory location that has been deallocated, leading to undefined behavior.
Dangling pointers can occur when a pointer is not set to NULL after the memory it points to is freed.
Accessing a dangling pointer can result in a crash or unexpected behavior.
Example: int *ptr = new int; delete ptr; // ptr is now a dangling pointer

Asked in Systenics Solutions

Q. What is class and object,constructors
A class is a blueprint for creating objects, and objects are instances of classes. Constructors are special methods used to initialize objects.
Class is a template that defines the properties and behaviors of objects.
Object is an instance of a class that has its own state and behavior.
Constructors are special methods used to initialize objects when they are created.
Example: Class 'Car' defines properties like 'color' and behaviors like 'drive'. Object 'myCar' is an instance of...read more

Asked in Accenture

Q. What is an interface?
An interface in programming defines a contract for classes to implement, specifying methods and properties that must be included.
Interfaces in C# are similar to abstract classes but can only contain method signatures, properties, events, and indexers.
Classes can implement multiple interfaces, allowing for flexibility in defining behavior.
Interfaces are used to achieve polymorphism and decouple code, making it easier to maintain and extend.
Example: public interface IShape { vo...read more

Asked in Powerweave

Q. What is ASP.NET?
ASP.NET is a web application framework developed by Microsoft for building dynamic web sites, web applications, and web services.
Developed by Microsoft
Used for building dynamic web sites, web applications, and web services
Supports multiple programming languages like C# and VB.NET
Uses server-side scripting to generate dynamic web pages
Interview Questions of Similar Designations
Interview Experiences of Popular Companies






Calculate your in-hand salary
Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary


Reviews
Interviews
Salaries
Users

