Mang 1

Mang 1

12th Grade

21 Qs

quiz-placeholder

Similar activities

Sports Quiz - Cognita

Sports Quiz - Cognita

7th Grade - Professional Development

25 Qs

Safer Internet

Safer Internet

6th - 12th Grade

20 Qs

(PIGGY) THINGS TO REMEBER

(PIGGY) THINGS TO REMEBER

KG - University

21 Qs

Anime

Anime

KG - Professional Development

19 Qs

Bible

Bible

KG - Professional Development

20 Qs

Roblox quiz

Roblox quiz

1st - 12th Grade

19 Qs

pokemon

pokemon

KG - Professional Development

19 Qs

MINI GAME - VÒNG 1

MINI GAME - VÒNG 1

1st - 12th Grade

20 Qs

Mang 1

Mang 1

Assessment

Quiz

Fun

12th Grade

Medium

Created by

Kiều Thị

Used 3+ times

FREE Resource

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Mảng trong JavaScript là gì?

Một biến đặc biệt có thể lưu nhiều giá trị

Một kiểu dữ liệu mới trong ES6

Một đối tượng chỉ chứa các số nguyên

Một phương thức dùng để sắp xếp dữ liệu

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cú pháp nào dưới đây khai báo mảng đúng trong JavaScript?

let arr = (1, 2, 3, 4);

let arr = [1, 2, 3, 4];

let arr = new Array(1;2;3;4);

let arr = {1, 2, 3, 4};

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Mảng trong JavaScript có chỉ số bắt đầu từ đâu?

0

1

-1

Không xác định

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cách nào dưới đây không hợp lệ để khai báo một mảng?

let arr = new Array(5);

let arr = [];

let arr = {};

let arr = [1, 2, 3];

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phương thức nào được sử dụng để lấy độ dài của một mảng?

arr.length

arr.size

arr.count()

arr.getLength()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả của đoạn mã sau là gì? let arr = [10, 20, 30]; console.log(arr[3]);

undefined

30

0

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phương thức nào thêm một phần tử vào cuối mảng?

push()

unshift()

concat()

append()

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?