0% found this document useful (0 votes)
2 views

Software developer Commoninterview questions for technical round

The document outlines key topics related to C and .NET Framework, including differences between abstract classes and interfaces, garbage collection, and extension methods. It also covers object-oriented programming principles, .NET Core features, practical problem-solving techniques, database handling with LINQ, design patterns, and behavioral interview questions. Each section poses specific questions aimed at assessing knowledge and practical application in these areas.

Uploaded by

Zak
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Software developer Commoninterview questions for technical round

The document outlines key topics related to C and .NET Framework, including differences between abstract classes and interfaces, garbage collection, and extension methods. It also covers object-oriented programming principles, .NET Core features, practical problem-solving techniques, database handling with LINQ, design patterns, and behavioral interview questions. Each section poses specific questions aimed at assessing knowledge and practical application in these areas.

Uploaded by

Zak
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

1. Basics of C and .

NET Framework
-----------------------------------------------------------------------------------
--------------------------------------------------------------------
a. What is the difference between `abstract` class and `interface` in C? When would
you use one over the other?
b. Explain how garbage collection works in .NET. What are the different generations
in the GC?
c. What are extension methods in C? Can you give a practical use case?
d. What is the role of `async` and `await` in C? How do they work under the hood?
-----------------------------------------------------------------------------------
--------------------------------------------------------------------
-----------------------------------------------------------------------------------
--------------------------------------------------------------------

2. Object-Oriented Programming (OOP)


-----------------------------------------------------------------------------------
--------------------------------------------------------------------
a. What are SOLID principles? Can you give an example of how you’ve applied one of
them in your previous project?
b. How do you implement polymorphism in C#?
-----------------------------------------------------------------------------------
--------------------------------------------------------------------
-----------------------------------------------------------------------------------
--------------------------------------------------------------------

3. .NET Core and Framework Features


-----------------------------------------------------------------------------------
--------------------------------------------------------------------
a. What are the main differences between .NET Framework and .NET Core? Why would
you choose one over the other?
b. How does ASP.NET Core handle dependency injection, Why is it useful? and what is
the purpose of middleware in the request pipeline?
c. What is the difference between a task, thread, and a process in .NET?
-----------------------------------------------------------------------------------
--------------------------------------------------------------------
-----------------------------------------------------------------------------------
--------------------------------------------------------------------

4. Practical Problem-Solving (Common functionalities handled)


-----------------------------------------------------------------------------------
--------------------------------------------------------------------
a. Pagination of Large Data Sets
b. Caching Frequently Accessed Data
c. Handling Asynchronous Operations
d. CRUD Operations (Create, Read, Update, Delete)
e. Securing APIs (Authentication and Authorization)
f. Handling File Uploads and Downloads
g. Exception Handling and Logging
h. data validation
i. Unit testing
j. Git operations
-----------------------------------------------------------------------------------
--------------------------------------------------------------------
-----------------------------------------------------------------------------------
--------------------------------------------------------------------

5. Database and LINQ


-----------------------------------------------------------------------------------
--------------------------------------------------------------------
a. What is the difference between `IEnumerable` and `IQueryable` in C?
b. How would you optimize an Entity Framework query for performance?
-----------------------------------------------------------------------------------
--------------------------------------------------------------------
-----------------------------------------------------------------------------------
--------------------------------------------------------------------

6. Design Patterns in .NET


-----------------------------------------------------------------------------------
--------------------------------------------------------------------
a. Explain the Singleton pattern and how to implement it in C. How would you avoid
common pitfalls like thread-safety issues?
b. Can you explain the Repository pattern and how it's used in .NET?
-----------------------------------------------------------------------------------
--------------------------------------------------------------------
-----------------------------------------------------------------------------------
--------------------------------------------------------------------

7. Behavioral Questions (for Work Experience and Problem Solving)


-----------------------------------------------------------------------------------
--------------------------------------------------------------------
a. Tell me about a challenging bug or performance issue you encountered in a past
project. How did you resolve it?
b. Describe a situation where you had to refactor a piece of code. What was wrong
with the original implementation, and what did you improve?
-----------------------------------------------------------------------------------
--------------------------------------------------------------------
-----------------------------------------------------------------------------------
--------------------------------------------------------------------

You might also like