Search Header Logo

javascript-mid

Authored by Muhanned Noman

Professional Development

KG

Used 19+ times

javascript-mid
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What will be console logged into the terminal?

1

2

{number: 1}

3

2.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

What property tells you how many items are in an array?

count

sum

length

items

3.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Media Image

What will this code log?

3

undefined

1,2,3,4

arr

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the following code will return `undefined` using the following array?

const numbers = [3, 1];

numbers[0]

numbers[2-1]

numbers[3]

numbers[numbers.length -1]

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What is the output of the following code?

Undefined

function

number

ReferenceError: Barr is not defined

6.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

Given a number of elements that need to stay in order, would you use an Object or an Array?

Array

Object

7.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

All the elements in an array must be of the same type?

True

False

Yes

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?