Search Header Logo

Web Quiz 6 - Tutorial 10

Authored by Allison Crenshaw

Computers

University

Used 2+ times

Web Quiz 6 - Tutorial 10
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

​Identify a method that extracts array items that match a specified condition.

reverse()

sort()

splice()

filter()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

​The _____ method performs an action similar to the forEach() method except that the function it calls returns a value that can be used to match the contents of an existing array into a new array.

map()

splice()

find()

sort()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

​Identify a true statement of array .find(callback [, thisArg]) method.

​It tests whether the condition returned by the callback function holds for at least one item in array.

It returns the index of the first element in the array that passes a test in the callback function.

It tests whether the condition returned by the callback function holds for all items in array.

It returns the value of the first element in the array that passes a test in the callback function.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False: ​When each entry in an array matches the entry in another array, it is called a linear array.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

​Identify the general syntax of the forEach method.

array.forEach (value){

commands

}

array.forEach(callback [, thisArg])

array.forEach [, thisArg]() {

commands

}

array.forEach(callback [value])

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False: ​Statement labels are used to identify statements in JavaScript code so that the statements can be referenced elsewhere in a program.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

​Which of the following methods is used to determine the day of the week on which a month starts?

find.Day;

getDay()

day.calDay()

calDay;

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?