Question Bank

1085 approved questions from the community

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
SINGLE CHOICE
30s
TypeScript
by Mohamed

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

EASY
SINGLE CHOICE
30s
.NET
by Mohamed

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

EASY
SINGLE 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
SINGLE CHOICE
30s
.NET
by Mohamed

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

EASY
SINGLE CHOICE
30s
.NET
by Mohamed

What distinguishes managed code from unmanaged code in .NET?

EASY
SINGLE CHOICE
30s
.NET
by Mohamed

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

EASY
SINGLE CHOICE
30s
.NET
by Mohamed

What is .NET?

EASY
SINGLE CHOICE
30s
.NET
by Mohamed

Which data structure is most suitable for frequent insertions/deletions in the middle, but has slow (O(n)) access time?

EASY
SINGLE CHOICE
30s
Algorithms & Data Structures
by Mohamed

A Doubly Linked List requires less memory per node than a Singly Linked List because it allows bi-directional traversal.

EASY
TRUE FALSE
20s
Algorithms & Data Structures
by Mohamed

Using basic character counting compression, what would the string 'aabbccc' become?

EASY
SINGLE CHOICE
30s
Algorithms & Data Structures
by Mohamed

Binary search can be performed on both sorted and unsorted arrays with O(log n) complexity.

EASY
TRUE FALSE
20s
Algorithms & Data Structures
by Mohamed

What is the time complexity of accessing an element by its index in a standard array?

EASY
SINGLE CHOICE
30s
Algorithms & Data Structures
by Mohamed

Which of the following describes an 'in-place' algorithm for reversing an array?

EASY
SINGLE CHOICE
30s
Algorithms & Data Structures
by Mohamed

Double curly braces {{ }} are used in Angular templates for interpolation, a one-way data binding from component to view.

EASY
TRUE FALSE
20s
by Mohamed

What is the difference between a Component and a Directive in terms of templates?

EASY
SINGLE CHOICE
30s
by Mohamed

What are the three essential parts of an Angular component?

EASY
SINGLE CHOICE
30s
by Mohamed

What is a major architectural difference between Angular and its predecessor, AngularJS?

EASY
SINGLE CHOICE
30s
by Mohamed
PreviousPage 53 of 55Next