
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
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
15 questions
Minigame CLB Tin học 20/10
Quiz
•
University
20 questions
Proses Komputasional dan Pseudocode
Quiz
•
10th Grade - University
10 questions
Posttest for UKIN
Quiz
•
10th Grade - University
10 questions
Berpikir Komputasional (BK)
Quiz
•
8th Grade - University
12 questions
Konteynerlar (C++)
Quiz
•
University
11 questions
Структурированный тип данных массив
Quiz
•
10th Grade - University
20 questions
Pemahaman Berfikir Komputasional
Quiz
•
9th Grade - University
15 questions
Lista de Exercícios – Vetores em Java - Parte I
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
