Search Header Logo

Gold batch 2 Quiz 7

Authored by Gnaneshwar Reddy

Other

University

Used 2+ times

Gold batch 2 Quiz 7
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. What does CRUD stand for?

A. Create, Remove, Update, Deploy

B. Create, Read, Update, Delete

C. Copy, Rewrite, Undo, Delete

D. Compile, Run, Upload, Download

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. Which array method is commonly used to add a new item to a ToDo list?

A. push()

B. map()

C. slice()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. What does todos.splice(index, 1) do?

A. Reads one item

B. Updates one item

C. Deletes one item

D. Adds one item

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4. Which method is commonly used to update a specific ToDo in an array?

A. forEach()

B. splice()

C. pop()

D. split()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. What does todos.filter(todo => todo.id === 3) return?

A. Index of the todo

B. A filtered list

C. A boolean

D. The todo object with id 3

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

8. Which method is used to fetch data from an API in JavaScript?

A. get()

B. fetch()

C. callAPI()

D. receive()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

10. Which method converts a fetch response into usable JSON data?

A. response.toJSON()

B. response.asJSON()

C. response.json()

D. response.JSON()

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?