
Web_FE_BASIC_SS25

Quiz
•
Information Technology (IT)
•
University
•
Medium
academy rikkei
Used 23+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cú pháp nào sau đây không phải là cách khai báo mảng hợp lệ?
A. let array = [1, 2, 3];
B. let array = new Array(1, 2, 3);
C. let array = Array(1, 2, 3);
D. let array = array(1, 2, 3);
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cách nào dưới đây tạo một mảng có độ dài 5 mà tất cả các phần tử đều là undefined?
A. let array = Array(5);
B. let array = [5];
C. let array = {length: 5}
D. let array = [undefined, undefined, undefined, undefined, undefined];
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Điều gì xảy ra khi bạn cố gắng truy cập vào phần tử không tồn tại trong mảng let array = [1, 2, 3];? Ví dụ: array[5]
A. Trình duyệt sẽ báo lỗi
B. Giá trị null sẽ được trả về
C. Giá trị undefined sẽ được trả về
D. Giá trị NaN sẽ được trả về
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã sau là gì?
let array = [1, 2, 3];
console.log(array[1 + 1]);
A. 1
B. 2
C. 3
D. undefined
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cách thêm một phần tử vào cuối mảng trong JavaScript là gì?
A. array.add('element');
B. array.push('element');
C. array.append('element');
D. array.insert('element');
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức nào sau đây loại bỏ phần tử cuối cùng của mảng?
A. array.remove();
B. array.pop();
C. array.shift();
D. array.delete();
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cách thêm một phần tử vào đầu mảng trong JavaScript là gì?
A. array.addFirst('element');
B. array.unshift('element');
C. array.push('element');
D. array.insertFirst('element');
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
Session 08: Array

Quiz
•
University
16 questions
Mảng 2 chiều trong C

Quiz
•
University
10 questions
Quiz Array

Quiz
•
10th Grade - University
10 questions
Sư phạm Tin học

Quiz
•
University
15 questions
MakeCode Arcade Questions

Quiz
•
10th Grade - University
10 questions
GENAI on AWS

Quiz
•
University
10 questions
3F_14042025_Verifica per orale Informatica

Quiz
•
11th Grade - University
10 questions
Quiz Meet 2 Mini SC Programing

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University