Search Header Logo

Arrays

Authored by Preethi Rajasekaran

Computers

4th Grade - Professional Development

Used 8+ times

Arrays
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Pick up the odd one

List

variable

array

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

positioning of values inside array is called as

position

index

number

values

3.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Choose the incorrect format of creating an array

array_name2=[];

array-name=[];

2arrayname=[];

array@name=[];

array$name=[];

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

var names= ["batMan", "spiderMan", "hulk", "Avengers"];

value = names[1];

console.log(value);

batMan

spiderMan

hulk

Avengers

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

var names= ["bat man", "spider man", "hulk", "Avengers"];

value = names[4];

console.log(value)

Avengers

hulk

undefined

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Pick the correct syntax to find the number of values inside an array

arrayname.values;

arrayname.length;

arrayname.length();

7.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Code to get the last value in this array


var names= ["bat man", "spider man", "hulk", "Avengers"];

names[(names.length)-1];

names[3];

(names.length)-1

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?