
Array
Authored by Kiều Thị
Fun
1st - 9th Grade
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đâu là cú pháp khai báo mảng đúng
let scores = new Array(10, 19, 19);
let scores = (10, 19, 19);
let scores = new List(10, 19, 19);
let *1 = new Array(10, 19, 19);
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đâu là cú pháp khai báo mảng đúng
let studentList = ("Hoàng Đức", "Thương", "Tuyết")
let studentList = {"Hoàng Đức", "Thương", "Tuyết"};
let studentList = ["Hoàng Đức", "Thương", "Tuyết"];
let studentList = new Array["Hoàng Đức", "Thương", "Tuyết"];
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cách duyệt mảng number nào sau đây đúng
for(let i = 0; i < numbers.length; i++)
{ console.log("element = " + numbers[i]); }
for(var i = 0; i <= numbers.length; i++){ console.log("element = " + numbers[i]); }
for(var i = 0; i < numbers.length; i--){ console.log("element = " + numbers[i]); }
for(var i = 0; i < numbers.length; i+2){ console.log("element = " + numbers[i]); }
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Cách duyệt mảng nào sau đây đúng
for (let element on array) { console.log("element = " + array[element]); }
for (let element in array) { console.log("element = " + array[element]); }
for (let element in array) { console.log("element = " + element); }
Tất cả đáp án trên đều sai
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu trả lời nào sau đây không đúng khi so sánh for và for-in
Có thể sử dụng for để duyệt theo các chiều khác nhau (từ đầu đến cuối, từ cuối đến đầu…)
For in chỉ duyệt từ đầu đến cuối mảng
For chỉ duyệt từ đầu đến cuối mảng
Tất cả đều sai
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào dùng để thay thế giá trị Thương bằng giá trị Uyên trong mảng s = ["Hoàng Đức", "Thương", "Tuyết"];
Thương = "Uyên"
s[1] = "Uyên"
s[2] = "Uyên"
Tất cả đều sai
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mảng scores = new Array(10, 9, 19);
khi sử dụng phương thức revese sẽ có kết quả là gì?
[10, 9, 19]
[19, 9, 10]
[10;9; 19]
(10, 9, 19)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Intensamente 2
Quiz
•
6th - 8th Grade
10 questions
Historia
Quiz
•
1st Grade - Professio...
12 questions
Chomiki
Quiz
•
1st - 12th Grade
12 questions
Fiestas Patrias Chilenas Tikitikití
Quiz
•
2nd Grade - Professio...
8 questions
Tiko tacky wacky
Quiz
•
2nd Grade
10 questions
Maal Hijrah 2021
Quiz
•
1st - 12th Grade
10 questions
Acivities for Holiday
Quiz
•
KG - 3rd Grade
10 questions
Cuestionario de Prueba
Quiz
•
6th Grade - Professio...
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Fun
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
10 questions
Christmas Trivia for Kids
Quiz
•
5th Grade
10 questions
Christmas/Winter
Quiz
•
KG - 2nd Grade
57 questions
Holiday Trivia
Quiz
•
5th Grade
20 questions
Christmas Song Emojis
Quiz
•
8th Grade
12 questions
Holiday Fun
Quiz
•
3rd Grade
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...