Question Bank

1899 approved questions from the community

await can only be used inside async functions.

MEDIUM
TRUE FALSE
25s
Javascript
by Mohamed

Object.seal() prevents adding or deleting properties but allows modification of existing properties.

MEDIUM
TRUE FALSE
30s
Javascript
by Mohamed

Service Workers can intercept network requests and enable offline functionality.

MEDIUM
TRUE FALSE
25s
Javascript
by Mohamed

What does Function.prototype.bind() return?

MEDIUM
SINGLE CHOICE
30s
Javascript
by Mohamed

What are Symbols used for in JavaScript?

MEDIUM
SINGLE CHOICE
35s
Javascript
by Mohamed

Anonymous functions can only be used as callback functions.

MEDIUM
TRUE FALSE
25s
Javascript
by Mohamed

ES6 classes are fundamentally different from ES5 function constructors.

MEDIUM
TRUE FALSE
30s
Javascript
by Mohamed

Template literals can span multiple lines without special characters.

MEDIUM
TRUE FALSE
25s
Javascript
by Mohamed

What are getters and setters used for?

MEDIUM
SINGLE CHOICE
35s
Javascript
by Mohamed

Debouncing delays function execution until after a specified time has elapsed since the last call.

MEDIUM
TRUE FALSE
30s
Javascript
by Mohamed

JSON.stringify() can serialize functions.

MEDIUM
TRUE FALSE
25s
Javascript
by Mohamed

What is prototypal inheritance in JavaScript?

MEDIUM
SINGLE CHOICE
40s
Javascript
by Mohamed

The finalize() method in Java is recommended for resource cleanup in modern Java applications.

MEDIUM
TRUE FALSE
25s
Java
by Mohamed

What is the difference between 'protected' and 'default' (package-private) access in Java?

MEDIUM
SINGLE CHOICE
35s
Java
by Mohamed

What is the purpose of the 'throws' keyword in Java?

MEDIUM
SINGLE CHOICE
30s
Java
by Mohamed

How does Java achieve security in its platform?

MEDIUM
SINGLE CHOICE
35s
Java
by Mohamed

What is the Java Native Interface (JNI)?

MEDIUM
SINGLE CHOICE
35s
Java
by Mohamed

What is polymorphism in Java?

MEDIUM
SINGLE CHOICE
35s
Java
by Mohamed

Java's architecture-neutral design allows it to scale across different hardware and software configurations.

MEDIUM
TRUE FALSE
25s
Java
by Mohamed

Why can't primitive types be used with Java generics?

MEDIUM
SINGLE CHOICE
35s
Java
by Mohamed
PreviousPage 70 of 95Next