Question Bank

246 approved questions from the community

Declaring an object with 'const' in TypeScript makes the internal state of that object immutable.

MEDIUM
TRUE FALSE
25s
TypeScript
by Mohamed

In TypeScript, which keyword is recommended for declaring variables within a block scope to ensure predictability and avoid hoisting issues?

EASY
MULTIPLE CHOICE
30s
TypeScript
by Mohamed

What does the 'never' type represent in TypeScript?

MEDIUM
MULTIPLE CHOICE
45s
TypeScript
by Mohamed

What is a 'Tuple' in TypeScript?

MEDIUM
MULTIPLE CHOICE
40s
TypeScript
by Mohamed

Which basic type in TypeScript is typically used as the return type for functions that do not return a value?

EASY
MULTIPLE CHOICE
30s
TypeScript
by Mohamed

Every valid JavaScript code is also valid TypeScript code because TypeScript is a superset of JavaScript.

EASY
TRUE FALSE
20s
TypeScript
by Mohamed

Which of the following best describes TypeScript's relationship to JavaScript?

EASY
MULTIPLE CHOICE
30s
TypeScript
by Mohamed

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

MEDIUM
MULTIPLE CHOICE
30s
.net
by Mohamed

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

MEDIUM
MULTIPLE CHOICE
40s
.net
by Mohamed

What is reflection in .NET used for?

HARD
MULTIPLE CHOICE
50s
.net
by Mohamed

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

MEDIUM
MULTIPLE CHOICE
45s
.net
by Mohamed

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

MEDIUM
MULTIPLE CHOICE
45s
.net
by Mohamed

What is a delegate in C#?

MEDIUM
MULTIPLE CHOICE
40s
.net
by Mohamed

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

MEDIUM
MULTIPLE CHOICE
45s
.net
by Mohamed

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

EASY
MULTIPLE CHOICE
30s
.net
by Mohamed

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

EASY
MULTIPLE CHOICE
30s
.net
by Mohamed

In C#, the 'finally' block in a try-catch-finally statement executes even if no exception is thrown.

EASY
TRUE FALSE
20s
.net
by Mohamed

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

EASY
MULTIPLE CHOICE
30s
.net
by Mohamed

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

EASY
MULTIPLE CHOICE
30s
.net
by Mohamed

What distinguishes managed code from unmanaged code in .NET?

EASY
MULTIPLE CHOICE
30s
.net
by Mohamed
PreviousPage 6 of 13Next