Search Header Logo

Arrray - Object

Authored by Lương Văn

Instructional Technology

Professional Development

Used 3+ times

Arrray - Object
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

Để tạo một mảng trong JavaScript, bạn sử dụng từ khóa nào sau đây?

new Array()

[ ]

array()

makeArray()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Làm thế nào để truy cập phần tử thứ n trong một mảng có tên "arr"?

arr(n);

arr[n];

arr.n

arr{ n }

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phương thức nào được sử dụng để thêm một phần tử vào cuối mảng trong JavaScript?

push()

add()

append()

insert()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Làm thế nào để lấy độ dài của một mảng trong JavaScript?

arr.length

arr.size

arr.length()

arr.size()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phương thức nào được sử dụng để loại bỏ phần tử cuối cùng của mảng trong JavaScript?

slice()

remove()

delete()

pop()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Làm thế nào để lấy phần tử đầu tiên của mảng trong JavaScript?

arr.getFirst()

arr[0]

arr.first()

arr.get(0)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đối tượng trong JavaScript được tạo bởi việc ghép các cặp khóa-giá trị nào sau đây?

keys()

pairs()

properties và values()

properties()

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?