
Array + Function trong JavaScript
Quiz
•
Information Technology (IT)
•
University
•
Easy
Quý Ngọ
Used 8+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cú pháp nào sau đây dùng để tạo một mảng trong JavaScript?
let arr = ();
let arr = [];
let arr = {};
let arr = {};
2.
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?
shift()
pop()
push()
unshift()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cú pháp để truy cập phần tử đầu tiên của một mảng có tên arr?
arr[arr.length - 1]
arr[0]
arr[-1]
arr[1]
4.
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?
unshift()
pop()
push()
shift()
5.
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 đầu mảng?
pop()
unshift()
shift()
push()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã trên là gì?
3
5
7
6
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của câu lệnh sau đây là gì?
[1, 2, 3, 4, 5]
1-2-3-4-5
5
12345
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Ôn tập - Hệ thống tự động hóa - Robotics
Quiz
•
9th Grade - University
15 questions
Bài 25
Quiz
•
10th Grade - University
15 questions
01mcb
Quiz
•
12th Grade - University
17 questions
Session 19: Pointer
Quiz
•
University
15 questions
Bài 26
Quiz
•
10th Grade - University
15 questions
Quiz về Kiểu Dữ Liệu List và Set (1)
Quiz
•
7th Grade - University
15 questions
Session 12 + 13 + 14: Searching and Sorting Algorithms
Quiz
•
University
20 questions
Scratch session 13
Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games
Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines
Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22
Lesson
•
9th - 12th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
20 questions
US Constitution Quiz
Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Would you rather...
Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History
Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors
Interactive video
•
4th Grade - University
20 questions
Levels of Measurements
Quiz
•
11th Grade - University
16 questions
Water Modeling Activity
Lesson
•
11th Grade - University
10 questions
ACT English prep
Quiz
•
9th Grade - University
