Search Header Logo

UNIT 5 WD

Authored by Datascience_2024 Datascience_2024

Other

University

Used 1+ times

UNIT 5 WD
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a feature of modern JavaScript?

Closures

Prototypes

Promises & Async/Await

All of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to handle asynchronous operations in modern JavaScript?

setTimeout()

async/await

clearInterval()

document.write()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does `use strict` do in JavaScript?

Enables strict mode with stricter error handling

Disables all errors

Converts JavaScript to Java

Limits memory usage

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which JavaScript feature allows functions to remember variables from their scope?

Promises

Closures

Classes

Modules

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In JavaScript ES6, which keyword is used to create a block-scoped variable?

var

const

static

define

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Everything in JavaScript is based on:

Arrays

Functions

Objects

Classes

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The property of an object in JavaScript is a:

Function only

Variable only

Key-value pair

Array element

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?