Question Bank

3705 approved questions from the community

What is Data Annotations in ASP.NET Core?

MEDIUM
SINGLE CHOICE
35s
by Mohamed

What is the difference between .FirstOrDefault() and .SingleOrDefault() in LINQ?

HARD
SINGLE CHOICE
45s
by Mohamed

What is the difference between optimistic and pessimistic locking in databases?

HARD
SINGLE CHOICE
45s
by Mohamed

What is the Global Assembly Cache (GAC)?

HARD
SINGLE CHOICE
40s
by Mohamed

In .NET, what is Just-In-Time (JIT) compilation?

HARD
SINGLE CHOICE
40s
by Mohamed

What are attributes in C#?

MEDIUM
SINGLE CHOICE
35s
by Mohamed

In ASP.NET Core, Areas are used to organize related functionality into separate namespaces and folder structures within an application.

MEDIUM
TRUE FALSE
25s
by Mohamed

What is .NET?

EASY
SINGLE CHOICE
30s
by Mohamed

What is the primary role of the Common Language Runtime (CLR)?

EASY
SINGLE CHOICE
30s
by Mohamed

What distinguishes managed code from unmanaged code in .NET?

EASY
SINGLE CHOICE
30s
by Mohamed

In C#, where are Value Types typically stored in memory?

EASY
SINGLE CHOICE
30s
by Mohamed

Which phase of Garbage Collection identifies which objects in the heap are still in use?

EASY
SINGLE CHOICE
30s
by Mohamed

Which type of class in C# cannot be instantiated and is meant specifically to be inherited from?

EASY
SINGLE CHOICE
30s
by Mohamed

What is the primary purpose of encapsulation in object-oriented programming?

EASY
SINGLE CHOICE
30s
by Mohamed

Which type of polymorphism is achieved through method overriding in C#?

MEDIUM
SINGLE CHOICE
45s
by Mohamed

What is the primary difference between an abstract class and an interface in C#?

MEDIUM
SINGLE CHOICE
45s
by Mohamed

In the async/await pattern, what happens when the 'await' keyword is encountered?

MEDIUM
SINGLE CHOICE
45s
by Mohamed

What is reflection in .NET used for?

HARD
SINGLE CHOICE
50s
by Mohamed

Which ASP.NET Core component handles HTTP requests and responses in a pipeline?

MEDIUM
SINGLE CHOICE
40s
by Mohamed

In SQL, what is the 'ACID' property that ensures all operations in a transaction succeed or none at all?

MEDIUM
SINGLE CHOICE
30s
by Mohamed
PreviousPage 172 of 186Next