Search Header Logo

Unit #3 JavaScript

Authored by J C

Computers

12th Grade

Used 98+ times

Unit #3 JavaScript
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

31 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is proper syntax for declaring a array in JavaScript?

var arrayName =[ ];

var arrayName[ ] ={ };

array arrayName ={ };

obj var arrayName =[ ];

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which definition below best describe an array?

An array is a function identifier that can hold only one element.

An array is a beam of light.

An array is a special variable, which can hold more than one value at a time.

An array is a special program, which can hold more than one value at a time.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is first index value of an array in JavaScript?

-1

0

1

undefine

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The length() method for an array will return _____.

the number of elements in the array

the last index value of the array.

the length of the name of the array variable

the capacity of the array

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The push() method append to the _______ of the array.

beginning

middle

end

none of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The pop() method removes the _______ element of the array.

beginning

middle

end

none of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A condition is __________.

any expression that evaluates to True or False

a formula that is executed for a result

an operand that indicates both conditions are True or False

a built-in function that assigns a Boolean value to a variable

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?