
Array + Function trong JavaScript
Quiz
•
Information Technology (IT)
•
University
•
Easy
Quý Ngọ
Used 9+ 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
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
16 questions
Mảng 2 chiều trong C
Quiz
•
University
14 questions
Session 17+18: String
Quiz
•
University
16 questions
Web_FE_BASIC_SS09
Quiz
•
University
10 questions
Data Structure Lab 1
Quiz
•
University
16 questions
Session 08: Array
Quiz
•
University
11 questions
Bài kiểm tra 15 phút môn tin học
Quiz
•
University
10 questions
GENAI on AWS
Quiz
•
University
19 questions
Kiểm tra kiến thức hệ thống thông tin
Quiz
•
University
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
Discover more resources for Information Technology (IT)
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
7 questions
Central Idea of Informational Text
Interactive video
•
4th Grade - University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
39 questions
Unit 7 Key Terms
Quiz
•
11th Grade - University
7 questions
Transition Words and Phrases
Interactive video
•
4th Grade - University
18 questions
Plotting Points on the Coordinate Plane
Quiz
•
KG - University
5 questions
Declaration of Independence
Interactive video
•
4th Grade - University
