Đâu là cú pháp khai báo Array?

MD1_Array

Quiz
•
Education
•
1st - 5th Grade
•
Medium
Bach Nguyen
Used 3+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
let A = [1,2,true,false, "Hello"]
let todo = "go to work at 8"
let number = 120;
let todoList = {
name: Tiu,
age: 20 }
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
let monAn = ["com", "thit", "ca", "trung", "rau"];
Mảng có độ dài là 4 và có 4 chỉ số index
Mảng có độ dài là 6 và có 5 chỉ số index
Mảng có độ dài là 5 và có 4 chỉ số index
Mảng có độ dài là 5 và có 5 chỉ số index
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn code sau, đâu là đáp án đúng?
let number = [10, 20, 30, 40, 50, 60];
let indexArray = number[2];
console.log(indexArray);
10
20
30
40
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
let languages = ["Javascript", "ReactJS", "NodeJS", "NestJS", "HTML", "CSS"];
for (let i = 0; i < languages.length; i++) {
console.log(i);
}
6
Javascript, ReactJS, NodeJS, NestJS, HTML, CSS
5
Javascript, ReactJS, NodeJS
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả đoạn code sau là gì?
const myArray = ['item 0', 'item 1', 'item 2'];
myArray.push('item 3');
myArray.pop();
console.log(myArray);
['item 0', 'item 1', 'item 2'];
[ 'item 1', 'item 2', 'item 3'];
['item 0', 'item 1', 'item 2', 'item 3'];
myArray['item 0', 'item 1', 'item 2', 'item 3'];
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Có mấy cách thêm phần tử vào mảng? (sử dụng kiến thức đã học)
3
4
5
6
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Vị trí index các phần tử trong mảng được đếm bắt đầu từ số ?
1
2
3
Khác
Create a free account and access millions of resources
Similar Resources on Quizizz
11 questions
Identify the Rhythm 2!

Quiz
•
5th - 7th Grade
10 questions
Vocabulary Quiz

Quiz
•
3rd Grade
12 questions
Identify the Rhythm 1!

Quiz
•
4th - 6th Grade
10 questions
EXAMEN FILOSOFÍA 2do. BACH. II QUIMESTRE

Quiz
•
1st - 2nd Grade
17 questions
v-for em Vue.js

Quiz
•
3rd Grade
10 questions
Amazon

Quiz
•
1st - 12th Grade
14 questions
Bài 48 ôn tập

Quiz
•
1st Grade
10 questions
Programming Knowledge Quiz (Medium)

Quiz
•
5th Grade - Professio...
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Education
15 questions
Character Analysis

Quiz
•
4th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade
10 questions
Identifying equations

Quiz
•
KG - University
14 questions
IREAD-3 Practice Test

Quiz
•
3rd Grade
15 questions
Multiplication Facts

Quiz
•
4th Grade