Question Bank

133 approved questions from the community

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

How does the two-pointer technique find the middle of a linked list in a single pass?

MEDIUM
MULTIPLE CHOICE
40s
DSA
by Mohamed

What are the three pointers typically used in an iterative in-place linked list reversal?

MEDIUM
MULTIPLE CHOICE
30s
DSA
by Mohamed

What is the time complexity of deleting the last node of a Singly Linked List (without a tail pointer)?

MEDIUM
MULTIPLE CHOICE
30s
DSA
by Mohamed

In the Quickselect algorithm, what is the expected (average) time complexity for finding the kth largest element?

MEDIUM
MULTIPLE CHOICE
40s
DSA
by Mohamed

Why is inserting an element at the beginning of a standard fixed-size array an O(n) operation?

MEDIUM
MULTIPLE CHOICE
30s
DSA
by Mohamed

Which of the following is NOT typically stored in the underlying implementation of an array slice?

MEDIUM
MULTIPLE CHOICE
30s
DSA
by Mohamed

What are the two common mathematical steps to rotate a 2D matrix by 90 degrees clockwise in-place?

MEDIUM
MULTIPLE CHOICE
40s
DSA
by Mohamed

If you use the sorting approach to find duplicates in an array, what is the best possible average time complexity assuming an efficient sorting algorithm is used?

MEDIUM
MULTIPLE CHOICE
45s
DSA
by Mohamed

The async pipe automatically unsubscribes from Observables when a component is destroyed, preventing memory leaks.

MEDIUM
TRUE FALSE
25s
Angular
by Mohamed

What is the key difference between a 'pure' and an 'impure' pipe?

MEDIUM
MULTIPLE CHOICE
30s
Angular
by Mohamed

Which Angular Guard prevents a user from navigating away from a route (e.g., if they have unsaved form changes)?

MEDIUM
MULTIPLE CHOICE
30s
Angular
by Mohamed

What is the primary characteristic of a 'standalone' component introduced in Angular 14?

MEDIUM
MULTIPLE CHOICE
30s
Angular
by Mohamed

What mechanism allows you to project HTML content from a parent component into a child component?

MEDIUM
MULTIPLE CHOICE
30s
Angular
by Mohamed

Why is it recommended to perform initialization in ngOnInit() rather than the constructor?

MEDIUM
MULTIPLE CHOICE
40s
Angular
by Mohamed

Which property in the @NgModule decorator is used to list components that other modules can use?

MEDIUM
MULTIPLE CHOICE
30s
Angular
by Mohamed

In a standard Angular application, what is the sequence of bootstrapping?

MEDIUM
MULTIPLE CHOICE
40s
Angular
by Mohamed
PreviousPage 4 of 7Next