Question Bank

3705 approved questions from the community

What is the primary role of a primary key in a database table?

EASY
SINGLE CHOICE
30s
Database
by Mohamed

Which of the following best describes a relational database schema?

MEDIUM
SINGLE CHOICE
30s
Database
by Mohamed

What is a primary distinction between SQL and NoSQL databases regarding their schema?

EASY
SINGLE CHOICE
30s
Database
by Mohamed

In the context of database transactions, which of the following are part of the ACID properties?

MEDIUM
MULTIPLE CHOICE
45s
Database
by Mohamed

What is a database management system (DBMS), and can you name some examples?

EASY
SINGLE CHOICE
30s
Database
by Mohamed

Which of the following are benefits of using TypeScript's type system?

MEDIUM
MULTIPLE CHOICE
45s
TypeScript
by Mohamed

What is a 'Parameter Property' in a TypeScript constructor?

MEDIUM
SINGLE CHOICE
40s
TypeScript
by Mohamed

In a TypeScript class, where can a 'readonly' property be assigned a value?

MEDIUM
SINGLE CHOICE
35s
TypeScript
by Mohamed

Abstract classes in TypeScript can be directly instantiated using the 'new' keyword.

MEDIUM
TRUE FALSE
25s
TypeScript
by Mohamed

Which command-line tool is used to compile TypeScript (.ts) files into JavaScript (.js)?

EASY
SINGLE CHOICE
30s
TypeScript
by Mohamed

TypeScript supports function overloads, allowing multiple signatures for a single function implementation.

MEDIUM
TRUE FALSE
25s
TypeScript
by Mohamed

Which symbol is used to denote an optional parameter in a TypeScript function declaration?

EASY
SINGLE CHOICE
30s
TypeScript
by Mohamed

How does 'Type Inference' work in TypeScript?

EASY
SINGLE CHOICE
30s
TypeScript
by Mohamed

Which type is best suited for representing a discrete set of named constants like HTTP methods or days of the week?

EASY
SINGLE CHOICE
30s
TypeScript
by Mohamed

What is the primary purpose of an 'Interface' in TypeScript?

EASY
SINGLE CHOICE
30s
TypeScript
by Mohamed

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

What does the 'never' type represent in TypeScript?

MEDIUM
SINGLE CHOICE
45s
TypeScript
by Mohamed

What is a 'Tuple' in TypeScript?

MEDIUM
SINGLE 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
SINGLE CHOICE
30s
TypeScript
by Mohamed
PreviousPage 180 of 186Next