Question Bank

1085 approved questions from the community

What is DOM-based XSS?

EASY
SINGLE CHOICE
30s
Web Security
by Mohamed

What is an SSL Certificate?

EASY
SINGLE CHOICE
30s
Web Security
by Mohamed

What is the role of a Certificate Authority (CA)?

EASY
SINGLE CHOICE
30s
Web Security
by Mohamed

Which port does HTTPS typically use?

EASY
SINGLE CHOICE
25s
Web Security
by Mohamed

Which port does HTTP typically use?

EASY
SINGLE CHOICE
25s
Web Security
by Mohamed

What is a botnet?

EASY
SINGLE CHOICE
30s
Web Security
by Mohamed

What is the main difference between HTTP and HTTPS?

EASY
SINGLE CHOICE
30s
Web Security
by Mohamed

What is the file extension for TypeScript source files?

EASY
SINGLE CHOICE
20s
TypeScript
by Mohamed

In TypeScript, the `any` type completely bypasses type checking and should be avoided when possible.

EASY
TRUE FALSE
20s
TypeScript
by Mohamed

In TypeScript, `let` provides block-level scoping while `var` provides function-level or global scoping.

EASY
TRUE FALSE
25s
TypeScript
by Mohamed

Abstract classes in TypeScript can be instantiated directly.

EASY
TRUE FALSE
20s
TypeScript
by Mohamed

TypeScript code can run directly in web browsers without compilation.

EASY
TRUE FALSE
20s
TypeScript
by Mohamed

Every valid JavaScript code is also valid TypeScript code.

EASY
TRUE FALSE
20s
TypeScript
by Mohamed

Static members in TypeScript classes belong to the class itself rather than to instances of the class.

EASY
TRUE FALSE
25s
TypeScript
by Mohamed

Which keyword in TypeScript is used to declare a variable with block-level scope that cannot be reassigned?

EASY
SINGLE CHOICE
25s
TypeScript
by Mohamed

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

EASY
SINGLE CHOICE
25s
TypeScript
by Mohamed

What command is used to compile TypeScript files into JavaScript?

EASY
SINGLE CHOICE
25s
TypeScript
by Mohamed

What keyword is used in TypeScript to inherit from a parent class?

EASY
SINGLE CHOICE
25s
TypeScript
by Mohamed

What is the default access modifier for class members in TypeScript?

EASY
SINGLE CHOICE
25s
TypeScript
by Mohamed

Which company developed and maintains TypeScript?

EASY
SINGLE CHOICE
20s
TypeScript
by Mohamed
PreviousPage 32 of 55Next